X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=enrichment-coordinator-service%2Fdocs%2Fapi.yaml;h=48a65dd9254fa4385358e53e3f7ceb57b030908d;hb=b41c6e789ed381a31e2bd40d98e608d1d2dced50;hp=f3fa767b62c56a17effea59c2f6172322f100d63;hpb=13b5a8e1fce75882c2f0ea89e74c218e454ec05f;p=nonrtric.git diff --git a/enrichment-coordinator-service/docs/api.yaml b/enrichment-coordinator-service/docs/api.yaml index f3fa767b..48a65dd9 100644 --- a/enrichment-coordinator-service/docs/api.yaml +++ b/enrichment-coordinator-service/docs/api.yaml @@ -317,6 +317,26 @@ paths: required: true 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' @@ -599,7 +619,7 @@ paths: - Producer Simulator consumes: - application/json -host: 'localhost:43453' +host: 'localhost:40973' definitions: EiType: description: Information for an EI type @@ -677,6 +697,25 @@ definitions: ei_job_data_schema: description: Json schema for the job data type: object + 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 @@ -761,4 +800,6 @@ tags: description: Producer Controller - name: Producer Simulator description: Producer Simulator Controller + - name: Service status + description: Status Controller