131 Commits

Author SHA1 Message Date
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
zack-shoylev
afefb7bf73 Ensuring pem files are properly split regardless of source OS 2013-06-30 18:19:40 +02:00
Ignasi Barrera
5f1f21341d JCLOUDS-107: Use Guice multibinding extensions 2013-06-06 17:35:52 +02:00
Ignasi Barrera
49dc46a080 JCLOUDS-38: Removed servlet project and unused constants 2013-06-04 17:47:41 +02:00
Ignasi Barrera
fab132da74 JCLOUDS-82: Use unwrapApi from View and remove custom method in ChefContext 2013-05-27 22:14:55 +02:00
Ignasi Barrera
1624b60140 JCLOUDS-58: Updated license headers and rat plugin configuration 2013-05-20 16:53:37 +02:00
Ignasi Barrera
66dd885280 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
6ab817766a JCLOUDS-30. Switch to 2 space indents for POM files. 2013-05-13 10:29:06 -07:00
Andrew Bayer
8441f497cf 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
13e26599d1 Merge pull request #85 from nacx/fix-test-config
Fix TransientChef and Strategy live tests
2013-04-29 02:26:58 -07:00
adriancole
0b126bbdb0 create property jclouds.version for upstream dependencies 2013-04-28 15:53:30 -07:00
Ignasi Barrera
4a91a28c6c Fix TransientChef and Strategy live tests 2013-04-29 00:22:34 +02:00
Ignasi Barrera
3db6ee4c27 Use Futures.getUnchecked to get strategy results 2013-04-25 16:42:28 +02:00
Ignasi Barrera
2576362e98 Fixed typo 2013-04-25 09:14:07 +02:00
Ignasi Barrera
5545de32fa Unasync Chef
* Removed all async apis
* Refactored strategies to avois using the async apis
* Removed references to awaitCompletion and use Guava helpers
* Added a method in ChefContext to access the underlying api (ChefApi,
  HostedChefApi or PrivateChefApi)
2013-04-24 23:47:16 +02:00
Ignasi Barrera
39d49978e5 Deprecate async apis. Fixes #70
* Deprecated all async apis.
* Refactored tests to extend BaseApiLiveTest.
* ChefContext now extends View.
* HostedChefApi now extends ChefApi.
* PatchedChefApi has been removed.
* Removed HostedChefContext and PrivateChefContext because they are now
  redundant. The concrete apis can be unwrapped from teh ChefContext
  view.
2013-04-22 19:00:53 +02:00
Ignasi Barrera
2763512e93 Do not use removed getXXX methods from jclouds Utils 2013-04-17 16:18:11 +02:00
adriancole
53c62631e4 dealt with a myriad of config issues causing chef build to fail 2013-04-10 12:18:35 -07:00
adriancole
8e881dceb1 added Closeable to top-level Chef apis 2013-04-08 16:12:34 -07:00
Ignasi Barrera
962937602a Remove InputSuppliers.of(String) 2013-04-05 09:12:58 +02:00
Ignasi Barrera
0cfb1029a1 Enforce the use of builders in Ruby and Chef statements 2013-04-03 10:41:16 +02:00
Ignasi Barrera
cfc650c9bf Bump master to 1.7.0-SNAPSHOT 2013-03-09 20:30:03 +01:00
Ignasi Barrera
219ff6a25a Fixed transient context creation and live tests 2013-03-09 19:30:19 +01:00
Ignasi Barrera
f05f9c3b67 [maven-release-plugin] prepare for next development iteration 2013-03-07 13:35:42 +01:00
Ignasi Barrera
eb58713b47 [maven-release-plugin] prepare release jclouds-chef-1.6.0-alpha.4 2013-03-07 13:35:42 +01:00
Ignasi Barrera
b0f8c3f468 Enable properties to configure Chef gems
Added context properties to allow users customize how RubyGems is
installed and also the version of the Chef gems that is installed when
bootstrapping nodes.
2013-03-07 12:29:21 +01:00
Ignasi Barrera
923e904ec7 There is no need to force the Chef version anymore 2013-03-02 10:57:38 +01:00
Adrian Cole
ab8a1ffc8e Merge pull request #61 from kulya/master
Ability to work with environments at chef > 0.10.0
2013-02-20 08:26:34 -08:00
Alexandr Kulik
191c3af53f Added support for chef environment api.
Change formating to jcloud standarts. Added SinceApiVersion annotation to new methods. Removed environmentExists method from api.

Added forgeted serializable name for attributes field of environment
2013-02-19 20:31:04 +02:00
Ignasi Barrera
fabd13acd7 Added helper method to generate only a run list 2013-02-17 00:02:56 +01:00
Ignasi Barrera
39ee5f1c1f [maven-release-plugin] prepare for next development iteration 2013-02-11 14:42:47 +01:00
Ignasi Barrera
25a4ff19e5 [maven-release-plugin] prepare release jclouds-chef-1.6.0-alpha.2 2013-02-11 14:42:46 +01:00
Ignasi Barrera
bcaea4ea20 [maven-release-plugin] prepare for next development iteration 2013-02-04 12:17:33 -08:00
Ignasi Barrera
7148b4ada3 [maven-release-plugin] prepare release jclouds-chef-1.6.0-alpha.1 2013-02-04 12:17:32 -08:00
Ignasi Barrera
80e3121af8 Fixed Ohai unit tests 2013-01-22 10:25:03 +01:00
Ignasi Barrera
bacb4245fd Issue #54: Allow to override attributes in node bootstrap 2013-01-20 13:18:37 +01:00
Ignasi Barrera
7cf428657e Removed all compile warnings and applied formatting to all classes 2013-01-20 13:10:23 +01:00
Adrian Cole
efb5190023 changes related to centralizing construction of invokables 2013-01-19 17:18:16 -08:00
Adrian Cole
22a301b640 centralize TypeToken creation 2013-01-19 12:11:12 -08:00
Ignasi Barrera
63d203325f Issue 1184 in jclouds: @Named annotations in all async api methods. 2013-01-19 11:32:39 +01:00
Adrian Cole
c1be4300a4 accomodate runtime credential changes 2013-01-15 21:43:21 -08:00
Adrian Cole
edb6d7b318 There can be only one retryable predicate; use Predicates2.retry decorator 2013-01-13 21:41:37 -08:00
Adrian Cole
5664eeb127 updated to use standard guava Futures and ListenableFuture 2013-01-13 09:34:19 -08:00