This client is Spring connector the SSE implementation of the job execution asynchronous API described here.
<dependency>
<groupId>com.decisionbrain</groupId>
<artifactId>spring-boot-starter-optimserver-sse-client</artifactId>
<version>3.3.0</version>
<scope>compile</scope>
</dependency>
implementation "com.decisionbrain:spring-boot-starter-optimserver-sse-client:3.3.0"
optim-server:
url: https://master-host/
keycloak:
url:
realm: decisionbrain
clientId: optimserver
user: optimserver
password: optimserver
The client is enabled by adding the @EnableOptimServerClient
annotation to your SpringBoot Application
@SpringBootApplication
@EnableOptimServerClient
public class ApiSseClientApplication {
public static void main(String[] args) {
SpringApplication.run(ApiSseClientApplication.class, args);
}
}
1 bean is available in the SSE implementation: JobExecutionAsyncApi