Master API - Server Sent Events

In addition to the REST api defined in Master API, some Server-Sent-Event services are also provided.

Let us note that using these SSE endpoints is not compatible (yet) with a deployment in High Availability (HA) mode (with redundant masters).

/sse/jobs :

Receives a JobDefinition when any job status changes.

/sse/jobs/{jobId}/solution

Receives a JobSolution when a given job solution is completed.

/sse/jobs/{jobId}/execution

Receives a JobEvent whenever a job event is sent (KPI, Log etc…) for a given job.

/sse/tasks

Receives the Task list whenever any task is modified.

The received objects (JobDefinition, JobSolution, JobEvent and Task) are the same than the Master API.