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
+55 11 9991-3913
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
+55 11 9991-3913
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 danicuki@gmail.com 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
+55 11 9991-3913
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 ranjibd@thoughtworks.comwrote:
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.
ranjibOn Tue, Dec 27, 2011 at 10:11 PM, Daniel Cukier danicuki@gmail.comwrote:
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
+55 11 9991-3913
--
Daniel Cukier
Software Artist
+55 11 9991-3913
Hello,
On Tue, Dec 27, 2011 at 9:41 AM, Daniel Cukier danicuki@gmail.com 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?
Did you look at jclouds-chef?
Opscode, Inc
Joshua Timberman, Technical Program Manager
IRC, Skype, Twitter, Github: jtimberman
Thanks Joshua!
That is what I was looking for! I'll try it and get some feedback to say if
it worked for me.
Regards
Daniel
On Tue, Dec 27, 2011 at 3:36 PM, Joshua Timberman joshua@opscode.comwrote:
Hello,
On Tue, Dec 27, 2011 at 9:41 AM, Daniel Cukier danicuki@gmail.com 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?
Did you look at jclouds-chef?
GitHub - jclouds/jclouds-chef: Repo moved to https://github.com/apache/jclouds-chef
It says Chef support isn't finished yet, but I understand that it
works fairly well.Opscode, Inc
Joshua Timberman, Technical Program Manager
IRC, Skype, Twitter, Github: jtimberman
--
Daniel Cukier
Software Artist
+55 11 9991-3913