[chef] Re: Re: Access chef server API using Java code


Chronological Thread 
  • From: Daniel Cukier < >
  • To:
  • Subject: [chef] Re: Re: Access chef server API using Java code
  • Date: Tue, 27 Dec 2011 15:13:34 -0200

Yes, it is a pure Java implementation. 

I'm having problems with the authenticated access to the API (keys, base64 encoding, etc) , which is pretty boring...

For the REST HTTP client, I'm using the org.apache.cxf.jaxrs.client.WebClient class

Thanks

Daniel

On Tue, Dec 27, 2011 at 2:47 PM, Ranjib Dey < "> > wrote:
hi dan,
what exactly you are trying to do? 
for a pure java implementation you have to implement the mixlib auth like functionality to talk to chef server, else you can try using the che gem using jruby. i have not tried it myself.. but it should be possible.
ranjib


On Tue, Dec 27, 2011 at 10:11 PM, Daniel Cukier < " target="_blank"> > wrote:
Is there any library or code snippet that I could use to access the chef server from a Java system?

I did not find anything ready to use. Does anybody have any idea?

Thanks

Daniel Cukier
Software Artist





--
Daniel Cukier
Software Artist
+55 11 9991-3913




Archive powered by MHonArc 2.6.16.

§