Salt API client library for Java

569 views
Skip to first unread message

Johannes Renner

unread,
May 27, 2015, 10:58:46 AM5/27/15
to salt-...@googlegroups.com
Hello Salt users,

at SUSE we are working with Salt and one of the recent outcomes of that is a Java library that can be used to easily connect any Java program to SaltStack (via the API):

https://github.com/SUSE/saltstack-netapi-client-java

There are two releases so far, most of the netapi endpoints are covered by the current code, please see the Javadoc (1).

I hope this is useful for someone. Please let me know what you think and of course feel free to help us improving and extending the code by sending your pull requests.

Best regards,
Johannes

(1) http://suse.github.io/saltstack-netapi-client-java/docs/master/com/suse/saltstack/netapi/client/SaltStackClient.html

Mike Place

unread,
May 27, 2015, 11:04:19 AM5/27/15
to salt-...@googlegroups.com
This is way cool! Nice work.

-mp
> --
> You received this message because you are subscribed to the Google Groups
> "Salt-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to salt-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Seth House

unread,
May 27, 2015, 11:55:19 AM5/27/15
to salt users list
Johannes, thanks for sharing this! With your permission I would like
to add a link to it from the rest_cherrypy docs.

On Wed, May 27, 2015 at 8:58 AM, Johannes Renner
<renner....@gmail.com> wrote:

Johannes Renner

unread,
May 27, 2015, 12:17:36 PM5/27/15
to salt-...@googlegroups.com, se...@eseth.com
Sure Seth, feel free to do add a link there. I would appreciate that very much, thanks!

Seth House

unread,
May 27, 2015, 9:13:27 PM5/27/15
to salt users list
Added here: https://github.com/saltstack/salt/pull/24201

Thanks again!

Cosmic Interloper

unread,
Oct 25, 2015, 12:17:20 PM10/25/15
to Salt-users
Sorry to wake a dead thread, but are there any good repos of example code using this library i can look at? 

Johannes Renner

unread,
Nov 2, 2015, 7:17:46 AM11/2/15
to Salt-users
On Sunday, October 25, 2015 at 5:17:20 PM UTC+1, Cosmic Interloper wrote:
Sorry to wake a dead thread, but are there any good repos of example code using this library i can look at?

Hello, Cosmic Interlooper!

Don't worry, I am glad to help you (hopefully). Unfortunately we are currently not aware of any repos with example code, please let us know if there is any! We will provide some example code within the project soon, we are just not there yet as you can see. This is also because the API is currently still under development and subject to change from time to time.

Working with the library is very easy though: just create an instance of the SaltStackClient class and start working with it. Please have a look at the Javadoc for SaltStackClient to find out what you can do. Let me know if you have any specific questions!

Regards,
Johannes
Reply all
Reply to author
Forward
0 new messages