Commit Graph

121 Commits

Author SHA1 Message Date
Ignasi Barrera 5364ec33da Fixed admin parameter binding to the payload 2011-09-14 18:08:58 +02:00
Ignasi Barrera 5154ab2ee8 Refactored create client to be the jclouds way 2011-09-14 16:50:24 +02:00
Ignasi Barrera a9d425489f Added method to create a client with admin rights
This method creates a client with the 'admin' flag set, in an open source
Chef Server.

This does not work in Hosted Chef, since Opscode Platform
security design uses a different approach. By default a client is only
allowed to manage the node it's associated with, and setting this flag
in the POST or PUT request has no effect on the client permissions.
2011-09-09 17:36:58 +02:00
Ignasi Barrera 43669e8a8b Removed unused import 2011-08-24 13:29:40 +02:00
Ignasi Barrera be70cb3f67 Fixed Metadata deserialization
Metadata fields 'dependencies', 'conflicting', 'providing', 'platforms' and 'replacing' are
simple Map<String, String>, where the value is a version constraint like '>= 0.0.0', but not
a Json array.

See https://github.com/opscode/chef/blob/master/chef/lib/chef/cookbook/metadata.rb for more
details about Metadata format.
2011-08-24 13:15:02 +02:00
Chris Custine e2ab6bc791 Added OSGi headers.
Added dummy readme.
2011-05-23 02:30:08 -06:00
Chris Custine e191018c32 Fix broken test jars.
Fix installchefgem script and test.
2011-05-23 01:54:14 -06:00
Chris Custine f5b8186962 Fix AsyncClient test 2011-05-23 01:52:13 -06:00
Chris Custine 45a6ddbe39 Update location of bootstrap script to work with OSGi.
Update bootstrap script to match latest Chef releases.
2011-05-23 01:10:20 -06:00
Chris Custine 11c1f29e41 Fix for latest Chef versions. 2011-05-23 01:08:16 -06:00
Chris Custine c67105823b Refactor deprecated methods
Tidy up to remove dependency on guice package that is not exported in OSGi
General Cleanup of groupId and artifactId to match jclouds.
2011-05-23 01:05:55 -06:00
Adrian Cole 9ff37adbf7 Compilation error at InstallChefGems 2011-05-22 18:12:21 -07:00
Chris Custine f5e479a4b5 Fixed an overzealous refactor. 2011-03-13 23:08:38 -06:00
Chris Custine cdd1636514 - Brings JClouds Chef up to speed with latest JClouds 1.0-SNAPSHOT (approximately 1.0-beta-9b)
- Unit tests all pass
- Some broken live tests, will fix soon
2011-03-13 22:20:22 -06:00
Chris Custine 79ac66fbd4 Fixing broken links to parent pom... This will be temporary until this is merged with the master jclouds repo 2011-02-19 16:34:29 -07:00
Chris Custine 6d9cf7321e Updating to work with latest JClouds. Tests are borked, but that is unrelate to the API changes and the core code works. I'll fix the tests soon too 2011-02-13 12:32:24 -07:00
Adrian Cole 32c7ee4b31 updated to latest snapshot 2010-12-06 21:43:42 +00:00
Adrian Cole d0e842ed6e updated to latest jclouds snapshot 2010-10-25 21:07:58 -05:00
andrea b24b0aa87c refactoring due to org.jclouds.io.Payload and org.jclouds.scriptbuilder.domain.Statements changes 2010-09-28 16:17:35 +02:00
andrea b0e2085659 modified all binders from request.getPayload().setContentType() to request.getPayload().getContentMetadata().setContentType() 2010-09-24 17:49:55 +02:00
Adrian Cole f02607fc0b initial commit 2010-09-18 12:09:47 -07:00