Two kinds of java clients are given.
First, java clients to easier HTTP calls to Optim Server Master REST API are generated with OpenAPI generator. Three different libraries are provided, whether the client has to use Jersey, Feign, or Spring to perform the HTTP calls:
Let us note that many other clients can be generated using the given OpenAPI file, including clients for other HTTP libraries, or even other languages.
Another kind of clients, able to listen for events coming from Optimization Server regarding job execution, were implemented. There are different ways to listen for events; among them, we chose to give implementations for Server Sent Events (through Jersey or Spring), Stomp (through Spring, or a Java Web Socket implementation), and AMQP:
These clients are not generated. This list may be extended in the future to support other protocols.