Mateo orchestrator repository
Mateo orchestrator is a standalone application that allows to orchestrate mateo instances.
The Mateo orchestrator has a list of Mateo instances (described in src/main/resources/mateoInstances.txt
).
Test scripts (path) can be passed to the orchestrator for execution via REST api.
An id of the started job is returned (with which the status of the job can be queried).
A job consists of:
- An uuid
- The test script name to execute (incl. path)
- A map of variables for the test script (input variables)
- A map of variables for the test script (output variables)
- The JobStatus (
QUEUED
,RUNNING
,FINISHED
,FAILED
) - A priority (
URGENT
,HIGH
,MEDIUM
,LOW
,DEFAULT
) - Create date
- Result of mateo
- At least one running Mateo instance
- Each Mateo instance must contain the same test scripts (use the same testfile directory)
First, a job is started via POST (and the corresponding parameters) with the endpoint /api/job/start
gestartet.
The Uuid of the created job is returned as the response.
With this uuid the job can be returned by GET via the endpoint /api/job{uuid}
.
For more information, see Rest documentation.
Body:
{ "inputVariable": "ValueWrittenToTheStorage" }
The returned Id can now be used to query the job:
GET:
http://localhost:8083/api/job?uuid=4c74d8c4-1c0c-4e43-8725-32e867e76b23
If you started the application you can access the Swagger UI via http://HOST:PORT/swagger-ui.html
.