Java client for consuming Chef server API


#1

I have a requirement to mimic some knife commands in Java (fetch roles, assign
run list, assign custom node attributes to cite a few). These will become part
of a Java web application used for deploying applications. Does a Java client
exist for the REST API?
The authentication scheme detailed on the wiki is difficult to re-create even
with “REST client”, hence finding it difficult to port it to Java.

Any tips will be useful.

Thanks!


#2

Check out https://github.com/jclouds/jclouds-chef

–Noah

On Jul 23, 2012, at 5:37 PM, vin4gud@gmail.com wrote:

I have a requirement to mimic some knife commands in Java (fetch roles, assign
run list, assign custom node attributes to cite a few). These will become part
of a Java web application used for deploying applications. Does a Java client
exist for the REST API?
The authentication scheme detailed on the wiki is difficult to re-create even
with “REST client”, hence finding it difficult to port it to Java.

Any tips will be useful.

Thanks!