GitHub user crunk1 opened a pull request: https://github.com/apache/libcloud/pull/689
Addressing https://issues.apache.org/jira/browse/LIBCLOUD-800. Changed GoogleStorageConnection to not inherit from GoogleBaseConnection. Separated OAuth2 credential management from GoogleBaseConnection. This allows both GoogleBaseConnection and GoogleStorageConnection to use OAuth2. Modified and ran tests to validate changes. Also ran a few manual tests using GoogleStorageDriver and GCENodeDriver. GoogleStorageDriver works with either OAuth2 credentials or S3 Interoperability credentials. Tested setting the mime type on an uploaded GCS object. You can merge this pull request into a Git repository by running: $ git pull https://github.com/crunk1/libcloud trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/libcloud/pull/689.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #689 ---- commit 536d027a08b0a72a63d8ef8af58f84325c352054 Author: Scott Crunkleton <crunkle...@google.com> Date: 2016-02-02T00:03:44Z Addressing https://issues.apache.org/jira/browse/LIBCLOUD-800. Changed GoogleStorageConnection to not inherit from GoogleBaseConnection. Separated OAuth2 credential management from GoogleBaseConnection. This allows both GoogleBaseConnection and GoogleStorageConnection to use OAuth2. Modified and ran tests to validate changes. Also ran a few manual tests. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---