Change-Id: Ib60726512e7f3a8704a323a92ed485175b1f43c1
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
properties:
Exception:
type: "string"
+
+ /trainingjob/pipelineNotification:
+ post:
+ tags:
+ - Training Job
+ summary: "Handle pipeline notification"
+ description: "Handles the notification from kf_adapter and updates the model download URL in the database."
+ parameters:
+ - name: "body"
+ in: "body"
+ required: true
+ schema:
+ type: "object"
+ properties:
+ trainingjob_name:
+ type: "string"
+ description: "Name of the training job"
+ run_status:
+ type: "string"
+ description: "Status of the run"
+ responses:
+ 200:
+ description: "Pipeline notification handled 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"