salt-netapi-client icon indicating copy to clipboard operation
salt-netapi-client copied to clipboard

Java bindings for the Salt API

Results 19 salt-netapi-client issues
Sort by recently updated
recently updated
newest added

This will allow us to use the call objects to generate input for functions like `state.high` and `state.low`.

I use Jobs.listJob(jid).callSync(saltClient) to get the JobInfo . If the jid is invalid for example 123 , I will get a IllegalStateException . com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was...

Unit tests are a great resource. But there should also be a way of verifying that API works correctly vs. real Salt server instead of just a wiremock. Recently, there...

The idea is to provide a low level interface to call salt modules without the need to have a `Call` object. This should make it easy to call functions that...

later
easy

The module classes and functions have not been documented so far since they are only bindings to the salt module functions and the documentation already exists there. Furthermore our library...

The current generically used [`DateAdapter`](https://github.com/SUSE/saltstack-netapi-client-java/blob/master/src/main/java/com/suse/saltstack/netapi/parser/JsonParser.java#L98) is _null-safe_ per default: whenever an expected date is missing in the returned JSON the library would just silently accept that. Instead we should probably...

Currently, com.suse.salt.netapi.utils.SaltErrorUtils will look for two classes of errors (FunctionNotAvailable, ModuleNotSupported). There are other classes that could be handled (I don't remember the circumstances for all of these, and some...

I have a minion function that can in some conditions return `None`. When this happens, the Result element for the minion is a Result(null) -- in other words, The Result's...

There are times where we want to use the [Salt Caller Client](https://docs.saltproject.io/en/latest/ref/clients/index.html#salt-caller) to directly invoke a minion function on the local minion (bypassing the master). I'm not sure that the...