At Inversoft, we like open source and we like Java.
When we built out our platform to support our new cloud product offerings we started using Chef to help us manage our deployment strategy.
While a well documented and easy to use API is good, that same API provided with native bindings is great. So I set out to find a Chef Client written in Java to simplify our integration.
I was unable to find anything that fit the bill, so I wrote it myself.
https://github.com/inversoft/barista
Building a properly authenticated HTTP request to Chef is not great fun, so I don’t suggest you do it yourself unless you enjoy the pain. We’ve done the heavy lifting for you and we did this without using any third party encryption libraries. This means you can pick up this library without dragging along any unnecessary dependencies.
I’ve only coded the methods I’ve needed thus far, but the pattern should be easy to follow for additional API calls. Feel free to open an issue if you’d like a specific API or submit a pull request.
We love writing great software for developers, so if you’re using it – let us know how we can make it better.
This client follows the pattern of our other client libraries using our REST client library Restify (https://github.com/inversoft/restify). Restify makes writing a client library around a REST API really easy.
