From: Denes Nemeth Date: Tue, 7 Nov 2017 11:30:44 +0000 (+0100) Subject: Fix URL in VIM and VNFM query X-Git-Tag: v1.0.1~4^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=bd74c85c3f8dbd725109cd8838b2265aa3802e89;p=vfc%2Fnfvo%2Flcm.git Fix URL in VIM and VNFM query Change-Id: I532256afc3b7303f0672c8d1f792eb2b160cc48d Issue-Id: VFC-585 Signed-off-by: Denes Nemeth --- diff --git a/lcm/swagger/vfc.vnfdriver.swagger.json b/lcm/swagger/vfc.vnfdriver.swagger.json index 068ecc90..ef805ce3 100644 --- a/lcm/swagger/vfc.vnfdriver.swagger.json +++ b/lcm/swagger/vfc.vnfdriver.swagger.json @@ -461,7 +461,7 @@ } } }, - "/nslcm/vl/vnfms/{vnfmid}":{ + "/nslcm/v1/vnfms/{vnfmid}":{ "get": { "tags": [ "NSLCM" @@ -500,7 +500,7 @@ } } }, - "/nslcm/vl/vims/{vimid}":{ + "/nslcm/v1/vims/{vimid}":{ "get": { "tags": [ "NSLCM" @@ -561,6 +561,17 @@ } } }, + "JobStatus" : { + "description": "The status of the job", + "type": "string", + "enum": [ + "started", + "processing", + "finished", + "error", + "timeout" + ] + }, "JobDetailInfo": { "type": "object", "properties": { @@ -571,13 +582,16 @@ "type": "object", "properties": { "status": { - "type": "string" + "$ref": "#/definitions/JobStatus", + "description": "The status of the job" }, "progress": { - "type": "string" + "type": "string", + "description": "The progress of the job. Value between 0 and 100." }, "statusDescription": { - "type": "string" + "type": "string", + "description": "The reason of the current status of the job." }, "errorCode": { "type": "string" @@ -595,17 +609,26 @@ } } }, + "ChangeType" : { + "description": "The type of the change", + "type": "string", + "enum": [ + "VDU" + ] + }, "ResourceChange" : { "type": "object", "properties": { "type": { - "type": "string", - "description": " The value should be VDU,VL,CP,Strorage." + "$ref": "#/definitions/ChangeType", + "description": "The type of the resource." }, "resourceDefinitionId": { + "description": "The identifier of the resource within the grant request.", "type": "string" }, "vdu": { + "description": "The identifier of the VDU.", "type": "string" } } @@ -1319,7 +1342,7 @@ }, "sslCacert": { "type": "string", - "description": "CA file content if enabled ssl on auth-url" + "description": "The collection of trusted certificates towards the VIM connection." }, "sslInsecure": { "type": "string",