X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Fswagger%2Fvfc.nslcm.swagger.json;h=528ec67250d3c2b8fbc98b22ef5a568b49288371;hb=6064cbde7436bfcba7407b307d390fcdfd045339;hp=75cc6baba3d284df35102fb9fb41f10147f312a3;hpb=7b9e5905ddc78b76783dd948fb179ed6f581405a;p=vfc%2Fnfvo%2Flcm.git diff --git a/lcm/swagger/vfc.nslcm.swagger.json b/lcm/swagger/vfc.nslcm.swagger.json index 75cc6bab..528ec672 100644 --- a/lcm/swagger/vfc.nslcm.swagger.json +++ b/lcm/swagger/vfc.nslcm.swagger.json @@ -249,34 +249,35 @@ } }, "/jobs/{jobId}": { - "post": { + "get": { "tags": [ "job" ], "summary": "jobstatus", "description": "", - "operationId": "jobstatus", + "operationId": "get_jobstatus", "parameters": [ { "required": true, "type": "string", - "description": "", + "description": "job Id", "name": "jobId", "in": "path" }, { - "in": "body", - "name": "body", - "description": "request param", "required": true, - "schema": { - "$ref": "#/definitions/JobProgressRequest" - } + "type": "string", + "description": "job response message id", + "name": "responseId", + "in": "query" } ], "responses": { "202": { - "description": "" + "description": "", + "schema": { + "$ref": "#/definitions/JobDetailInfo" + } } } } @@ -410,20 +411,7 @@ } } }, - "JobProgressRequest": { - "type": "object", - "properties": { - "progress": { - "type": "string" - }, - "desc": { - "type": "string" - }, - "errcode": { - "type": "string" - } - } - }, + "NsInfo": { "type": "object", "properties": { @@ -532,6 +520,61 @@ "type": "string" } } + }, + "jobResponseInfo": { + "type": "object", + "properties": { + "status": { + "type": "string" + }, + "progress":{ + "type": "string" + }, + "statusDescription": { + "type": "string" + }, + "errorCode": { + "type": "string" + }, + "responseId": { + "type": "string" + } + } + }, + "JobDetailInfo":{ + "type": "object", + "properties": { + "jobId": { + "type": "string" + }, + "responseDescriptor": + { + "type":"object", + "properties": { + "status": { + "type": "string" + }, + "progress":{ + "type": "string" + }, + "statusDescription": { + "type": "string" + }, + "errorCode": { + "type": "string" + }, + "responseId": { + "type": "string" + }, + "responseHistoryList": { + "type": "array", + "items": { + "$ref": "#/definitions/jobResponseInfo" + } + } + } + } + } } } } \ No newline at end of file