Andrew Gaul
011aed71ed
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
18467a118f
Remove unused imports to make checkstyle happy
2014-07-02 17:54:33 +02:00
Ignasi Barrera
73929940d9
JCLOUDS-617: Use the configured JCE provider in the Cipher payloads
2014-07-02 17:54:33 +02:00
Andrew Gaul
c0d16e79f0
Address removal of calculateMD5
2014-06-07 21:39:21 -07:00
Andrew Gaul
88a6a26b80
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
58021604a9
Migrate InputSupplier callers to ByteSource
...
A future version of Guava will remove InputSupplier.
2014-05-17 00:44:17 -07:00
Andrew Gaul
3b7d657a6d
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
4f22884c48
Updating to 1.8.0-SNAPSHOT
2013-12-17 11:51:11 -08:00
Andrew Gaul
4375bdaec0
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
a08b91af73
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
3724ee6749
JCLOUDS-274 Implement listCookbookVersionsInEnvironment in ChefService API
2013-11-05 12:10:58 +01:00
Noorul Islam K M
6697e0ae90
Fix checkstyle warnings
2013-11-04 11:30:16 +01:00
Noorul Islam K M
6182a7e3b1
Remove public keyword from interface method.
2013-10-30 23:20:11 +01:00
Noorul Islam K M
5354b680f8
Remove public keyword from interface methods.
2013-10-30 08:31:34 -07:00
Noorul Islam K M
b2c44b4a53
JCLOUDS-272: Migrate list roles, cookbooks and databags tests from ChefApiTest to ChefApiExpectTest.
2013-10-15 23:09:23 +02:00
Ignasi Barrera
2b3bcaf034
JCLOUDS-335: Properly deserialize the deleteDatabagItem response
2013-10-04 10:56:15 +02:00
Noorul Islam K M
92b3f5942c
JCLOUDS-272: Migrate search role tests from ChefApiTest to ChefApiExpectTest.
2013-09-23 09:24:43 +02:00
Noorul Islam K M
d9a79366fa
Rename test method names to reflect what is being tested.
2013-09-20 09:31:20 +02:00
Ignasi Barrera
61258a64f6
JCLOUDS-286: Use by default the Omnibus installer
2013-09-19 23:45:06 +02:00
Noorul Islam K M
0e4d32b98e
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
ce1cba6f85
Removed unused imports
2013-09-19 15:21:36 +02:00
Noorul Islam K M
65b64b0f28
JCLOUDS-285: Add name field in CookbookDefinition domain
2013-09-19 15:13:25 +02:00
Noorul Islam K M
e780bf2404
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
288b236087
Use meaningful parameter name in ParseKeySetFromJson
2013-09-17 14:45:06 +02:00
Noorul Islam K M
10261f7417
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
15b1da6014
Renamed test methods to match the new api naming convention
2013-09-16 15:43:22 +02:00
Noorul Islam K M
58784cc492
JCLOUDS-272: Migrate unit tests from ChefApiTest to ChefApiExpectTest.
2013-09-16 15:06:24 +02:00
Ignasi Barrera
174531ed13
Improved javadoc and parameter naming
2013-09-16 09:52:46 +02:00
Ignasi Barrera
353651d31a
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
285b6530d7
JCLOUDS-253: Properly parse Chef Server version
2013-09-13 17:47:57 +02:00
Ignasi Barrera
9cadf008f6
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
2a8b1d3513
JCLOUDS-265: Add listEnvironmentNodes API in ChefService
2013-09-10 13:27:16 +02:00
Noorul Islam K M
0853a45526
Use TestNG asserts
2013-09-09 16:22:28 +02:00
Noorul Islam K M
d4e2b339c3
Fix typo.
2013-09-09 16:22:24 +02:00
Ignasi Barrera
f5804867b3
Removed redundant binders
2013-09-04 10:44:32 +02:00
Noorul Islam K M
05e8d32d03
JCLOUDS-256: Add missing API to list environment nodes
2013-09-04 10:39:35 +02:00
Noorul Islam K M
c75c3b9e63
JCLOUDS-256: Add missing API to list environment recipes
2013-09-04 10:39:31 +02:00
Ignasi Barrera
72122753f4
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
5c63ec4451
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
44ea490c1e
JCLOUDS-149: Reuse checkstyle configuration
2013-07-02 18:10:27 +02:00
zack-shoylev
2792975ebe
Ensuring pem files are properly split regardless of source OS
2013-06-30 18:19:40 +02:00
Ignasi Barrera
2701655f91
JCLOUDS-107: Use Guice multibinding extensions
2013-06-06 17:35:52 +02:00
Ignasi Barrera
ea262c3995
JCLOUDS-38: Removed servlet project and unused constants
2013-06-04 17:47:41 +02:00
Ignasi Barrera
543dc025c4
JCLOUDS-82: Use unwrapApi from View and remove custom method in ChefContext
2013-05-27 22:14:55 +02:00
Ignasi Barrera
474f7fffad
JCLOUDS-58: Updated license headers and rat plugin configuration
2013-05-20 16:53:37 +02:00
Ignasi Barrera
4455b9daf4
JCLOUDS-3: Bootstrap nodes in a custom environment
...
Added the environment where the nodes in a group must be created in the
bootstrap data bag. This way the configuration is persisted and can be
used between runs, such as the node run list.
To accomodate the new bootstrap parameter, the method in the ChefService
used to create the data bag has been refactored and a the new
BootstrapConfig object has been created. This way, we'll be able to
extend the information in the bootstrap databag in the future without
changing the ChefService interface.
2013-05-14 23:39:45 +02:00
Andrew Bayer
a4ee5ba496
JCLOUDS-30. Switch to 2 space indents for POM files.
2013-05-13 10:29:06 -07:00
Andrew Bayer
3760cc09ae
JCLOUDS-17. Switch groupId to org.apache.jclouds, change parent POM, remove old distributionManagement content, add ASF repos.
2013-05-13 10:28:43 -07:00
Ignasi Barrera
2afa950cb2
Merge pull request #85 from nacx/fix-test-config
...
Fix TransientChef and Strategy live tests
2013-04-29 02:26:58 -07:00
adriancole
397349f50e
create property jclouds.version for upstream dependencies
2013-04-28 15:53:30 -07:00