Commit Graph

173 Commits

Author SHA1 Message Date
Adrian Cole 35c1df4cef JCLOUDS-534 Avoid runtime incompatibility introduced by Guava's closeQuietly. 2014-10-29 18:39:25 -07:00
Andrew Phillips a48ea89d85 [maven-release-plugin] prepare for next development iteration 2014-10-10 14:22:16 -04:00
Andrew Phillips 415e6252ae [maven-release-plugin] prepare release jclouds-chef-1.8.1-rc1 2014-10-10 14:22:15 -04:00
Adrian Cole df5a674f48 Fix drift due to unasyncing 2014-10-05 20:24:18 -07:00
Andrew Phillips c230f2c337 Using openStream() to read Payload contents
Payload is no longer an InputSupplier, which was deprecated in Guava 16.
See https://github.com/jclouds/jclouds/commit/80a0256c
2014-08-11 17:06:57 -04:00
Andrew Phillips 742e3eb65c Addressing Checkstyle violations 2014-08-11 17:06:28 -04:00
Andrew Phillips 22d8a38d83 [maven-release-plugin] prepare for next development iteration 2014-07-29 19:53:30 -04:00
Andrew Phillips 34b6f4aac6 [maven-release-plugin] prepare release jclouds-chef-1.8.0-rc1 2014-07-29 19:53:29 -04:00
Luciano P. Sabenca(luciano.sabenca@movile.com) fc09c4eb46 JCLOUDS-624 - Fixed bug in ListNodes
To fix this bug, I used the approach debated in the above issue: create
new methods to do the operation using an ExecutorService provided by the
user.The the old methods are still working, but now the operations in
those methods are not concurrent anymore.
2014-07-28 15:31:11 +02:00
Andrew Gaul 1908f02e04 Correct typo 2014-07-24 23:41:13 -07:00
Andrew Gaul 2681a8e19d Prefer ByteStreams2 over ByteSources.asByteSource
The latter breaks the contract of ByteSource which specifies that
openStream can produce multiple independent streams.
2014-07-22 16:56:00 -07:00
Ignasi Barrera d082995cf7 Remove unused imports to make checkstyle happy 2014-07-02 17:54:33 +02:00
Ignasi Barrera cd0f21d86b JCLOUDS-617: Use the configured JCE provider in the Cipher payloads 2014-07-02 17:54:33 +02:00
Andrew Gaul 1fe6bca62d Address removal of calculateMD5 2014-06-07 21:39:21 -07:00
Andrew Gaul 2982d99670 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:09:23 -07:00
Andrew Gaul ad47e24f8f Migrate InputSupplier callers to ByteSource
A future version of Guava will remove InputSupplier.
2014-05-17 00:44:17 -07:00
Andrew Gaul 7ada0c7924 Prefer Guava HttpHeaders over JAX-RS
jclouds code contains more instances of the former and Guava has
additional constants like CONTENT_MD5.
2014-05-15 02:06:39 -07:00
Andrew Bayer 1e37c67620 Updating to 1.8.0-SNAPSHOT 2013-12-17 11:51:11 -08:00
Andrew Gaul a02b61fd82 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:27:59 -08:00
Noorul Islam K M 0ae9519ac0 JCLOUDS-368: Remove methods which are not exposed to public and hence not used. 2013-11-06 18:03:18 -05:00
Noorul Islam K M 89a2b8ab36 JCLOUDS-274 Implement listCookbookVersionsInEnvironment in ChefService API 2013-11-05 12:10:58 +01:00
Noorul Islam K M d786daa70e Fix checkstyle warnings 2013-11-04 11:30:16 +01:00
Noorul Islam K M 4711f6bae1 Remove public keyword from interface method. 2013-10-30 23:20:11 +01:00
Noorul Islam K M 8ed8aad1a7 Remove public keyword from interface methods. 2013-10-30 08:31:34 -07:00
Noorul Islam K M c1ff33d1b9 JCLOUDS-272: Migrate list roles, cookbooks and databags tests from ChefApiTest to ChefApiExpectTest. 2013-10-15 23:09:23 +02:00
Ignasi Barrera 8f205479ad JCLOUDS-335: Properly deserialize the deleteDatabagItem response 2013-10-04 10:56:15 +02:00
Noorul Islam K M eee53e38db JCLOUDS-272: Migrate search role tests from ChefApiTest to ChefApiExpectTest. 2013-09-23 09:24:43 +02:00
Noorul Islam K M 223540a48c Rename test method names to reflect what is being tested. 2013-09-20 09:31:20 +02:00
Ignasi Barrera 373f9ead72 JCLOUDS-286: Use by default the Omnibus installer 2013-09-19 23:45:06 +02:00
Noorul Islam K M c9b5656425 Make listCookbooksInEnvironment return an empty set on 404
Added tests to validate above.
Also factored out some duplicate code in test.
2013-09-19 15:48:05 +02:00
Ignasi Barrera c7bea4dc37 Removed unused imports 2013-09-19 15:21:36 +02:00
Noorul Islam K M 996a47783a JCLOUDS-285: Add name field in CookbookDefinition domain 2013-09-19 15:13:25 +02:00
Noorul Islam K M 18a3b77edb Use meaningful parameter name in ParseSearchResultFromJson and ParseSearchDatabagFromJson.
Also use static import for Sets and Iterables.
2013-09-19 08:38:24 +02:00
Noorul Islam K M f8c0659988 Use meaningful parameter name in ParseKeySetFromJson 2013-09-17 14:45:06 +02:00
Noorul Islam K M 694cfdf441 Renamed test methods and file names to match the new api naming convention 2013-09-17 14:44:23 +02:00
Noorul Islam K M 7b28bbe61c Renamed test methods to match the new api naming convention 2013-09-16 15:43:22 +02:00
Noorul Islam K M 7c4cf02c16 JCLOUDS-272: Migrate unit tests from ChefApiTest to ChefApiExpectTest. 2013-09-16 15:06:24 +02:00
Ignasi Barrera 39d83e7d17 Improved javadoc and parameter naming 2013-09-16 09:52:46 +02:00
Ignasi Barrera 47e4508fc6 Cleaned up ChefApi and ChefService interfaces
Cleaned up and renamed some methods to have a more consistent naming,
and improved the javadocs.
2013-09-13 17:55:02 +02:00
Ignasi Barrera da047831f1 JCLOUDS-253: Properly parse Chef Server version 2013-09-13 17:47:57 +02:00
Ignasi Barrera 043b03d8cc Cleanup tests
* Use TestNG assertions
* Formatted code in compute tests
* Removed unnecessary local variables in tests to avoid using them by
  mistake between independent tests.
2013-09-10 14:25:05 +02:00
Noorul Islam K M 752b3e43d5 JCLOUDS-265: Add listEnvironmentNodes API in ChefService 2013-09-10 13:27:16 +02:00
Noorul Islam K M 8c6fc65978 Use TestNG asserts 2013-09-09 16:22:28 +02:00
Noorul Islam K M 023ca1c696 Fix typo. 2013-09-09 16:22:24 +02:00
Ignasi Barrera 745b15bb6e Removed redundant binders 2013-09-04 10:44:32 +02:00
Noorul Islam K M e7d62d18c2 JCLOUDS-256: Add missing API to list environment nodes 2013-09-04 10:39:35 +02:00
Noorul Islam K M b5809e9d07 JCLOUDS-256: Add missing API to list environment recipes 2013-09-04 10:39:31 +02:00
Ignasi Barrera 5d6ed8144b JCLOUDS-245/JCLOUDS-254: Fix live tests
Refactored the domain model to be immutable and addressed some
inconsistences with the Chef Server API model.

Removed all HEAD methods, as they have been removed from newer versions
of Chef. They were used to test the existance of a given resource, and
with newer versions the only way to do that is via a GET operation.

Now all live tests are passing for Community Chef 0.10.8, 11.0.6 and
Enterprise Chef.
2013-09-03 09:37:37 +02:00
Andrew Phillips 77b19312c5 JCLOUDS-244: Aligning jclouds-chef project structure with main
* JClouds Chef -> Apache jclouds Chef in names
* chef-parent -> chef-project to match jclouds-project
2013-08-17 17:40:46 -04:00
Ignasi Barrera aee5b33c11 JCLOUDS-149: Reuse checkstyle configuration 2013-07-02 18:10:27 +02:00