"required": true
},
{
- "schema": {"type": "string"},
- "in": "body",
+ "in": "query",
+ "allowEmptyValue": false,
"name": "owner",
"description": "identifies the owner of the job",
+ "type": "string",
"required": false
}
],
}],
"tags": ["Enrichment Data Producer API"]
}},
+ "/status": {"get": {
+ "summary": "Returns status and statistics of this service",
+ "deprecated": false,
+ "produces": ["application/json"],
+ "operationId": "getStatusUsingGET",
+ "responses": {
+ "200": {
+ "schema": {"$ref": "#/definitions/status_info"},
+ "description": "Service is living"
+ },
+ "401": {"description": "Unauthorized"},
+ "403": {"description": "Forbidden"},
+ "404": {"description": "Not Found"}
+ },
+ "tags": ["Service status"]
+ }},
"/producer_simulator/job_created_error": {"post": {
"summary": "Callback for EI job creation, returns error",
"deprecated": false,
"consumes": ["application/json"]
}}
},
- "host": "localhost:43453",
+ "host": "localhost:45709",
"definitions": {
"EiType": {
"description": "Information for an EI type",
}
}
},
+ "status_info": {
+ "type": "object",
+ "title": "status_info",
+ "properties": {
+ "no_of_producers": {
+ "format": "int32",
+ "description": "Number of EI producers",
+ "type": "integer"
+ },
+ "no_of_jobs": {
+ "format": "int32",
+ "description": "Number of EI jobs",
+ "type": "integer"
+ },
+ "no_of_types": {
+ "format": "int32",
+ "description": "Number of EI types",
+ "type": "integer"
+ },
+ "status": {
+ "description": "status text",
+ "type": "string"
+ }
+ }
+ },
"EiJobStatus": {
"description": "Status for an EI Job",
"type": "object",
{
"name": "Producer Simulator",
"description": "Producer Simulator Controller"
+ },
+ {
+ "name": "Service status",
+ "description": "Status Controller"
}
]
}
\ No newline at end of file