From e38c46131978e8a0d502aead3ba9e905182db45e Mon Sep 17 00:00:00 2001 From: Swaraj Kumar Date: Fri, 18 Oct 2024 10:42:16 +0530 Subject: [PATCH] Swagger file:data extrac notif for TM Change-Id: I0cdd231d16073dc99ab4cfea2b2881a3fc482e98 Signed-off-by: Swaraj Kumar --- API_docs/training-manager.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/API_docs/training-manager.yaml b/API_docs/training-manager.yaml index 687c0fd..b00f0fe 100644 --- a/API_docs/training-manager.yaml +++ b/API_docs/training-manager.yaml @@ -232,3 +232,42 @@ paths: properties: Exception: type: "string" + + /trainingjob/dataExtractionNotification: + post: + tags: + - Training Job + summary: "Handle data extraction notification" + description: "Handles the notification that data extraction is finished and invokes further training steps." + parameters: + - name: "body" + in: "body" + required: true + schema: + type: "object" + properties: + trainingjob_name: + type: "string" + description: "JSON object containing the name of the training job" + responses: + 200: + description: "Pipeline is scheduled successfully" + schema: + type: "object" + properties: + result: + type: "string" + 400: + description: "Invalid training job name or request" + schema: + type: "object" + properties: + Exception: + type: "string" + 500: + description: "Internal server error" + schema: + type: "object" + properties: + Exception: + type: "string" -- 2.16.6