You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by Ignasi Barrera <no...@github.com> on 2015/04/15 11:28:05 UTC

[jclouds] JCLOUDS-683: Promote the OAuth v2 API (#730)

https://issues.apache.org/jira/browse/JCLOUDS-683

Promotes the OAuth v2 API from the jclouds-labs-google repository.

It respects the commit history (details [here](https://cwiki.apache.org/confluence/display/JCLOUDS/How+to+Promote+a+Provider)). The important commits are the last two commits: one is the merge commit that brings the OAuth API to this repository along with all its commits, and the last one fixes the Maven coordinates in the oauth pom.xml and adds it to the apis pom.

/cc @zack-shoylev @danbroudy
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds/pull/730

-- Commit Summary --

  * organized google code into its own subdir
  * JCLOUDS-23. Switch groupId to org.apache.jclouds, change parent POM, remove old distributionManagement content, add ASF repos.
  * JCLOUDS-30. Switch to 2 space indents for POM files.
  * JCLOUDS-80. Inherit apache-rat plugin config.
  * JCLOUDS-64: Update license headers
  * JCLOUDS-31. License header cleanup
  * fix for JCLOUDS-360, replace platform-dependent assumption that nanosecond resolution ticker uses epoch 1970 as origin with guaranteed behaviour at millisecond-level resolution of System.currentTimeMillis
  * JCLOUDS-372: changing OAuth timeout from MINUTES to SECONDS
  * Fix Live Tests for JCLOUDS-360 which rely on platform-dependent nanoseconds.
  * Address Checkstyle violations
  * Enforce no unused imports via Checkstyle
  * Updating to 1.8.0-SNAPSHOT
  * Make constants final classes instead of interfaces
  * Migrate InputSupplier callers to ByteSource
  * Prefer Guava Files over FileInputStream
  * JCLOUDS-546: Remove Javadoc @author annotations
  * Updating project and jclouds.version to 2.0.0-SNAPSHOT
  * JCLOUDS-653: Address Guava 18 deprecations
  * JCLOUDS-643: Fix Google and OAuth tests
  * JCLOUDS-633: Support passing bearer token directly for OAuth2
  * Remove stale javadoc references to AsyncApi.
  * Revert "JCLOUDS-653: Address Guava 18 deprecations"
  * JCLOUDS-750 At the cost of fiddling with type hierarchy adapters, remove lots of junk with google auto.
  * Use AutoValue to reduce bulk of Google Storage value types.
  * Decomplicate OAuth a little.
  * JCLOUDS-750 Remove need for custom json type adapters on OAuth.
  * Fix support for bearer tokens
  * * Refactor OAuth so that it doesn't require private keys when we aren't signing anything.
  * * Change OAuthScopes into an interface as opposed to boilerplating annotations.
  * Dedupe code between google cloud products.
  * * Refactor OAuth to be less complex.
  * Apache jclouds 1.9.0 release
  * Next development version 2.0.0-SNAPSHOT
  * Promote the OAuth v2 API
  * Amended OAuth API pom.xml

-- File Changes --

    A apis/oauth/README (16)
    A apis/oauth/pom.xml (135)
    A apis/oauth/src/main/java/org/jclouds/oauth/v2/AuthorizationApi.java (46)
    A apis/oauth/src/main/java/org/jclouds/oauth/v2/config/Authorization.java (30)
    A apis/oauth/src/main/java/org/jclouds/oauth/v2/config/CredentialType.java (38)
    A apis/oauth/src/main/java/org/jclouds/oauth/v2/config/OAuthModule.java (83)
    A apis/oauth/src/main/java/org/jclouds/oauth/v2/config/OAuthProperties.java (41)
    A apis/oauth/src/main/java/org/jclouds/oauth/v2/config/OAuthScopes.java (72)
    A apis/oauth/src/main/java/org/jclouds/oauth/v2/config/PrivateKeySupplier.java (100)
    A apis/oauth/src/main/java/org/jclouds/oauth/v2/domain/Claims.java (55)
    A apis/oauth/src/main/java/org/jclouds/oauth/v2/domain/Token.java (41)
    A apis/oauth/src/main/java/org/jclouds/oauth/v2/filters/BearerTokenFromCredentials.java (44)
    A apis/oauth/src/main/java/org/jclouds/oauth/v2/filters/JWTBearerTokenFlow.java (113)
    A apis/oauth/src/main/java/org/jclouds/oauth/v2/filters/OAuthFilter.java (23)
    A apis/oauth/src/main/java/org/jclouds/oauth/v2/functions/ClaimsToAssertion.java (87)
    A apis/oauth/src/test/java/org/jclouds/oauth/v2/AuthorizationApiLiveTest.java (94)
    A apis/oauth/src/test/java/org/jclouds/oauth/v2/AuthorizationApiMockTest.java (125)
    A apis/oauth/src/test/java/org/jclouds/oauth/v2/OAuthTestUtils.java (89)
    A apis/oauth/src/test/java/org/jclouds/oauth/v2/config/PrivateKeySupplierTest.java (67)
    A apis/oauth/src/test/java/org/jclouds/oauth/v2/functions/ClaimsToAssertionTest.java (48)
    A apis/oauth/src/test/resources/logback.xml (56)
    A apis/oauth/src/test/resources/testpk.pem (15)
    M apis/pom.xml (1)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/730.patch
https://github.com/jclouds/jclouds/pull/730.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/730

Re: [jclouds] JCLOUDS-683: Promote the OAuth v2 API (#730)

Posted by Zack Shoylev <no...@github.com>.
+1

Thanks @nacx 

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/730#issuecomment-93467176