90 Commits

Author SHA1 Message Date
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
Adrian Cole
6a728f8cb3 refactored tests and internal code due to removing custom guava code 2013-01-08 20:37:13 -08:00
Adrian Cole
e31a42eab7 changes corresponding to jclouds/jclouds/invokable-with-enclosing 2013-01-08 01:11:17 -08:00
Adrian Cole
ca8127abad changes for FunctionalReflection 2013-01-07 00:00:10 -08:00
Adrian Cole
93e66ee3f6 moved off j.l.r.Method -> Invokable 2013-01-05 18:53:02 -08:00
Adrian Cole
f47d7ba2c4 fixed covariance and warnings on ApiMetadata subclasses 2012-12-31 19:43:18 -08:00
Adrian Cole
359b6b88d0 Move to Guava 14 BaseEncoding and Hashing 2012-12-31 14:22:54 -08:00
Adrian Cole
2ce689cc1a removed unnecessary type specifier 2012-12-30 22:46:10 -08:00
Adrian Cole
607a96b258 removed use of static fields to share type mapping info 2012-12-30 17:37:39 -08:00
Adrian Cole
aa28a5248c replaced @Timeout w/explicit properties 2012-12-30 10:26:28 -08:00
Ignasi Barrera
32fd255432 Use CacheLoader instead of MapMaker.makeComputingMap
Use CacheLoader instead of MapMaker.makeComputingMap and removed all
deprecated stuff.
2012-12-30 00:11:29 +01:00
Ignasi Barrera
aeff972b7c Fixed test after the PEM refactor in jclouds core 2012-12-29 23:07:56 +01:00
Ignasi Barrera
42f2f39574 Updated to latest version of the InstallChefGems script 2012-12-29 00:40:59 +01:00
Adrian Cole
389936cbbd migrate to guava fallbacks 2012-12-27 17:00:10 -08:00
Adrian Cole
b9fee2d8fe chef doesn't need an explicit bouncycastle dep 2012-12-20 13:12:06 -08:00
Ignasi Barrera
f37c5991ff Issue #30 Add support for Group api in Hosted Chef
Adds support for the Group api in Hosted Chef. CRUD operations and the
management of the members of the group are now available.

Also cleaned up Private Chef, and will leave only those methods that are
proven to work and have a working live test.
2012-12-13 01:06:30 +01:00
Ignasi Barrera
41f671e1fa Removed unused import 2012-11-12 19:45:35 +01:00
Ignasi Barrera
f0fe60dbd2 Updated install gems test to the last version of the InstallChefGems statement 2012-11-11 20:34:46 +01:00
Ignasi Barrera
d9a0035d58 InstallChefGems script is now in jclouds/scriptbuilder
Moved the InstallChefGems statement to jclouds/scriptbuilder to
implement there the Chef Solo support, since Solo does not require a
connection to a Chef server.

Fixes #28
2012-11-06 16:56:47 +01:00
Ignasi Barrera
59c1db6bf6 Propagate TimeoutException in awaitCompletion 2012-11-02 16:11:58 +01:00
Ignasi Barrera
c6d57446e9 Made install chef gems script portable
Made install chef gems script portable to yum based
distributions.

This was tested with CentOS 5.6 with the apache2 recipe.
Everything works fine except the startup of the apache
server due to an issue in the apache2 recipe. When it creates
the httpd.conf file it does no set the right permissions.
2012-10-08 19:15:36 +02:00
Ignasi Barrera
31683b3f5a Provide the existing validator credentials in context creation
This commit fixes #12.

Now when bootstrapping nodes using Chef, the validator credentials
must be provided in context creation. Since we cannot create validator
clients, having those credentials is a requirement to make the nodes
be able to autoregister to the Chef server during bootstrap.
When using this feature, the following properties must be set:
    ChefProperties.CHEF_VALIDATOR_NAME
    ChefProperties.CHEF_VALIDATOR_CREDENTIAL

Also refactored ChefConstants class into ChefProperties to follow the
new conventions.
2012-10-08 16:17:48 +02:00
Ignasi Barrera
88c65bb816 Updated RunListForGroup to new DataBagItem parser 2012-10-07 17:57:31 +02:00
Ignasi Barrera
416a5f90aa Added 'name' parameter to ChefContext and PrivatChefContext 2012-10-07 17:40:31 +02:00
Ignasi Barrera
3b361b4ed1 Fixed DatabagItem parser for search api.
The search api returns the databag item inside a 'raw_data'
object instead of returning it directly.
With this commit all live tests for the search api are passing
except the searchClients one for hosted and private chef due
to an existing issue in the target platform. Once it is fixed (by
opscode) the live test will pass.
2012-10-01 15:09:36 +02:00
Ignasi Barrera
4852e03237 Deal with index population delay in search api live tests 2012-10-01 14:11:14 +02:00
Ignasi Barrera
bc733860a2 Added live test for search api methods 2012-09-30 21:08:59 +02:00
Ignasi Barrera
4c6e48fc47 Added SearchOptions to all search methods
Added a SearchOptions parameter to all search
methods in ChefApi. This way every search can be
customized and limited. Fixes #1.

This is still a WIP until the appropriate live tests
are added.
2012-09-29 16:28:50 +02:00
Ignasi Barrera
c82de486dc Deprecate the jclouds.version property
Deprecated the jclouds.version property and used
project.version instead. This way should be easier
to keep in sync with core jclouds versioning.
2012-09-21 12:42:34 +02:00
Adrian Cole
3cb6e25929 bumped to 1.6.0-SNAPSHOT 2012-09-17 01:59:03 -07:00
Adrian Cole
0eaa946348 [maven-release-plugin] prepare for next development iteration 2012-09-15 08:48:33 -07:00
Adrian Cole
e72f2789e2 [maven-release-plugin] prepare release jclouds-chef-1.5.0-rc.1 2012-09-15 08:48:32 -07:00
Garrett Eardley
1425e92538 added search query test case 2012-08-31 04:18:00 +01:00
Garrett Eardley
6d1b4f0bbf added node search chefapi 2012-08-30 23:02:32 +01:00
Adrian Cole
727e749296 [maven-release-plugin] prepare for next development iteration 2012-08-17 17:55:08 -07:00
Adrian Cole
9347c265fd [maven-release-plugin] prepare release jclouds-chef-1.5.0-beta.10 2012-08-17 17:55:07 -07:00
Adrian Cole
a3053b41e6 updated to jclouds 1.5.0-beta.10 2012-08-17 17:53:33 -07:00
Jeff Gehlbach
ef1dc56484 More changes in support of Chef environments
- Add and update constructors for org.jclouds.chef.domain.Node
- Make Node.chefEnvironment nullable
- Add JavaDoc indicating environments apply since Chef 0.10
- Update unit tests
2012-07-25 12:49:43 -07:00
Jeff Gehlbach
a75d816ad7 Add support for chef_environment on Node domain object 2012-07-25 12:49:29 -07:00
Ignasi Barrera
0a4362c561 Fixed transient blobStorage build.
Refactored to use LocalAsyncBlobStore to be aligned with:
562f8277d3
2012-07-24 19:07:41 +02:00
Adrian Cole
4113cadb24 changed to group naming conventions and updated runScript syntax 2012-07-16 23:30:00 -04:00
Adrian Cole
4c1f8f8414 switched to new naming conventions 2012-07-15 23:36:15 -07:00