Commit Graph

53 Commits

Author SHA1 Message Date
andreaturli d17487b223 fix typo in project.version
- from 2.2.0-SNAPSHOST to 2.2.0-SNAPSHOT
2018-02-21 16:45:43 +01:00
andreaturli a5db565581 Next development version 2.2.0-SNAPSHOST 2018-02-16 11:23:12 +01:00
andreaturli 9273bd56ad Apache jclouds 2.1.0-rc3 release 2018-02-16 11:20:21 +01:00
Ignasi Barrera 624367dfbf OAuth filter customization per request 2017-11-30 09:07:20 +01:00
Andrew Gaul 517323fbd5 JCLOUDS-1225: Address Guava 18 MoreExecutors changes
Fixed with:

find -name \*.java | xargs sed -i 's/sameThreadExecutor/newDirectExecutorService/g'
2017-08-22 17:14:22 -07:00
Ignasi Barrera d290705419 Next development version 2.1.0-SNAPSHOT 2016-11-15 01:12:59 +01:00
Ignasi Barrera 6a3a37f4e0 Apache jclouds 2.0.0-rc3 release 2016-11-09 22:30:45 +01:00
Ignasi Barrera 0fd013da06 Fixed OAuth instructions for Azure 2016-09-01 09:56:16 +02:00
Daniel Haeser Rech 913fdeb168 JCLOUDS-1148: Fix token caches in OAuth flows 2016-09-01 09:55:23 +02:00
Iván Lomba 79e95c5a4c JCLOUDS-482: Add support for arbitrary CPU and RAM
This is a combination of 16 commits:

* First approach to ArbitraryCpuRamTemplateBuilderImpl
* Several fixes: refactoring some names, format, identation problems, some missing license headers and generateId method
* Refactored parse utility
* Added GoogleComputeEngineArbitraryCpuRamTemplateBuilderImpl to support GCE custom machine URI
* extracted hardware creation to automaticHardwareForCpuAndRam method
* Fixed ide automatic asterisk imports
* correcting WIP base case PR according to comments
* added machineTypeUriToHardware to set custom hardware in nodes
* fix checkstyle violations and other PR comments
* Set the providerId to custom machineType URI and fix adding node log
* Arbitrary hardware tests added to BaseTemplateBuilderLiveTest and GoogleComputeEngineTemplateBuilderLiveTest
* Added two more tests to BaseTemplateBuilderLiveTest
* Move repeated constants to TestUtils to reuse code
* Fix full path in the Hardware id and URI
* Add custom hardware tests to BaseComputeServiceLiveTest and GCEServiceLiveTest
* Change customHardware test to use buildTemplate and fix identation
2016-08-16 02:44:04 +02:00
Jim Spring f46b38dd89 client credentials JWT support 2016-05-20 00:10:37 +02:00
Andrew Gaul 66cda12b50 Avoid eager evaluation of Preconditions messages
Found via error-prone.
2016-04-24 23:28:55 -07:00
Ignasi Barrera 819141a608 Fixed OAuth authentication flow injections 2016-04-07 10:10:10 +02:00
Jim Spring 0420741690 Add support for Azure AD authentication using Service Principal and Password 2016-04-01 14:50:09 +02:00
Andrew Gaul 6360023f09 Remove unnecessary static imports
Found via error-prone.
2016-01-29 09:14:55 -08:00
Ignasi Barrera ef7b85130e JCLOUDS-1056: Configure OSGi packaging 2016-01-22 11:34:07 +01:00
Ignasi Barrera 0e7283e191 Convert logback.xml to unix format 2015-10-28 23:15:28 +01:00
Andrew Gaul 86f47394bf Correct FindBugs violations 2015-07-31 14:53:58 -07:00
Ignasi Barrera 97c160879e Propagate an AuthorizationException on OAuth client errors 2015-06-05 14:32:49 +02:00
Ignasi Barrera ba93170813 Amended OAuth API pom.xml 2015-04-15 11:03:26 +02:00
Ignasi Barrera 2a12587bf2 Next development version 2.0.0-SNAPSHOT 2015-03-24 11:07:27 +01:00
Ignasi Barrera 225c45fd4f Apache jclouds 1.9.0 release 2015-03-24 11:06:18 +01:00
Adrian Cole 46a7351a8a * Refactor OAuth to be less complex.
* Remove oauth as a standalone api.
 * Rename redundant OAuthAuthenticationFilter to OAuthFilter.
 * Make AuthorizationApi more simple by using form semantics.
 * Simplified OAuth by only permitting RS256 and none algos.
2014-11-18 10:43:33 -08:00
Adrian Cole a35d73c6d0 Dedupe code between google cloud products. 2014-11-13 11:02:44 -08:00
Adrian Cole 19e2cdd5d2 * Change OAuthScopes into an interface as opposed to boilerplating annotations.
* Fixed errors because of boilerplating annotations.
2014-11-12 20:29:16 -08:00
Adrian Cole 7a644f8b6e * Refactor OAuth so that it doesn't require private keys when we aren't signing anything.
* Rename constant serviceAccountCredentials to p12PrivateKeyCredentials as this better describes the credential value.
2014-11-11 16:20:58 -08:00
Chris Custine 639b480650 Fix support for bearer tokens 2014-11-07 17:44:24 -07:00
Adrian Cole eb8b154869 JCLOUDS-750 Remove need for custom json type adapters on OAuth. 2014-11-02 08:28:42 -08:00
Adrian Cole 35156560dc Decomplicate OAuth a little. 2014-10-31 08:50:50 -07:00
Adrian Cole cd8aeed16d Use AutoValue to reduce bulk of Google Storage value types. 2014-10-30 09:40:44 -07:00
Adrian Cole 07d7a5a749 JCLOUDS-750 At the cost of fiddling with type hierarchy adapters, remove lots of junk with google auto. 2014-10-27 09:27:54 -07:00
Adrian Cole f94d0caf3b Revert "JCLOUDS-653: Address Guava 18 deprecations"
This reverts commit e2e288ee86d537d249c7e58c782a66b0201f2134.

Many conflicts on account of lots of changes since the original commit.
2014-10-24 10:54:47 -07:00
Adrian Cole 52cf5555db Remove stale javadoc references to AsyncApi. 2014-10-05 13:22:35 -07:00
Chris Custine d728e0343a JCLOUDS-633: Support passing bearer token directly for OAuth2 2014-08-13 16:11:44 -06:00
Chris Custine 00d9edc1e6 JCLOUDS-643: Fix Google and OAuth tests 2014-08-13 13:47:55 -06:00
Andrew Gaul 5c1e36e5d1 JCLOUDS-653: Address Guava 18 deprecations
Mostly renaming Objects.toStringHelper to MoreObjects.toStringHelper.
2014-08-08 11:55:25 -07:00
Andrew Phillips a6ad6d463d Updating project and jclouds.version to 2.0.0-SNAPSHOT 2014-08-05 11:46:53 +02:00
Andrew Gaul e608c35a02 JCLOUDS-546: Remove Javadoc @author annotations
Annotations removed with:

find -name \*.java | xargs sed -i /@author/d

Empty Javadoc removed with multiple iterations of:

find -name \*.java | xargs sed -i -z 's/ \*\n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/ \* \n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/\/\*\*\n \*\/\n//'
2014-06-07 21:15:00 -07:00
Andrew Gaul 289197a560 Prefer Guava Files over FileInputStream
This ensures proper resource handling.
2014-05-22 00:26:03 -07:00
Andrew Gaul a85b91904f Migrate InputSupplier callers to ByteSource
A future version of Guava will remove InputSupplier.
2014-05-17 00:39:09 -07:00
Andrew Gaul 1e48a1daea Make constants final classes instead of interfaces
This commit prohibits implementation of the empty interface and
instantiation of the class.  Refer to _Effective Java_ item 19 for
more background.
2014-05-16 09:49:16 -07:00
Andrew Bayer e2e61c4885 Updating to 1.8.0-SNAPSHOT 2013-12-17 11:51:02 -08:00
Andrew Gaul f6dc1f39a3 Enforce no unused imports via Checkstyle
Removed with:

mvn checkstyle:checkstyle --quiet -Dcheckstyle.output.file=/dev/stdout -Dcheckstyle.output.format=plain | tac | while read i; do echo $i | sed -n 's/\([^:]*\):\([^:]*\):.*/sed -i \2d \1/p' | bash; done
2013-12-11 17:29:36 -08:00
Andrew Gaul b17adea879 Address Checkstyle violations 2013-12-01 23:22:47 -08:00
Rick Wright 61b99641ac Fix Live Tests for JCLOUDS-360 which rely on platform-dependent nanoseconds. 2013-11-20 15:26:30 -05:00
Alex Heneveld f6f901065e JCLOUDS-372: changing OAuth timeout from MINUTES to SECONDS 2013-11-12 12:06:19 +01:00
Alex Heneveld 7e2cebaec5 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 2013-10-29 23:18:55 -07:00
Andrew Bayer deafad060c JCLOUDS-31. License header cleanup 2013-05-24 12:01:40 -07:00
Ignasi Barrera 32279289c0 JCLOUDS-64: Update license headers 2013-05-24 01:06:46 +02:00
Andrew Bayer a2d8925f02 JCLOUDS-80. Inherit apache-rat plugin config. 2013-05-22 10:29:56 -04:00