X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vfc%2Fnfvo%2Flcm.git;a=blobdiff_plain;f=lcm%2Fswagger%2Fvfc.others.swagger.json;h=16d70c0b1443d19a22297a77693d41f43bd5ce61;hp=f6b48fbb35d7a34e30e7d1b719bb1f75e8d53904;hb=HEAD;hpb=6064cbde7436bfcba7407b307d390fcdfd045339 diff --git a/lcm/swagger/vfc.others.swagger.json b/lcm/swagger/vfc.others.swagger.json deleted file mode 100644 index f6b48fbb..00000000 --- a/lcm/swagger/vfc.others.swagger.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "1.0.0", - "title": "ONAP VFC Service Internal Rest API" - }, - "basePath": "/api/nslcm/v1", - "paths": { - "/ns/{nsInstanceId}/postdeal": { - "post": { - "tags": [ - "postdeal" - ], - "summary": "ns postdeal", - "description": "", - "operationId": "ns_postdeal", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "required": true, - "type": "string", - "description": "", - "name": "nsInstanceId", - "in": "path" - }, - { - "in": "body", - "name": "body", - "description": "request param", - "required": true, - "schema": { - "$ref": "#/definitions/NSInstPostDetailRequest" - } - } - ], - "responses": { - "202": { - "description": "" - } - } - } - }, - "/mandb/{modelName}": { - "get": { - "tags": [ - "db" - ], - "summary": "query ns table info", - "description": "query ns table info", - "operationId": "query_ns_table", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "required": true, - "type": "string", - "description": "model Name.", - "name": "modelName", - "in": "path" - } - ], - "responses": { - "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/TableInfo" - } - }, - "500": { - "description": "the url is invalid" - } - } - }, - "delete": { - "tags": [ - "db" - ], - "summary": "ns table delete", - "description": "ns table delete", - "operationId": "ns_table_delete", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "required": true, - "type": "string", - "description": "model Name.", - "name": "modelName", - "in": "path" - } - ], - "responses": { - "204": { - "description": "The tables were deleted successfully." - } - } - } - }, - "/jobs/{jobId}": { - "post": { - "tags": [ - "job" - ], - "summary": "jobstatus", - "description": "", - "operationId": "post_jobprogress", - "parameters": [ - { - "required": true, - "type": "string", - "description": "", - "name": "jobId", - "in": "path" - }, - { - "in": "body", - "name": "body", - "description": "request param", - "required": true, - "schema": { - "$ref": "#/definitions/JobProgressRequest" - } - } - ], - "responses": { - "202": { - "description": "" - } - } - } - } - }, - "definitions": { - - "NSInstPostDetailRequest": { - "type": "object", - "properties": { - "status": { - "type": "string" - } - } - }, - "JobProgressRequest": { - "type": "object", - "properties": { - "progress": { - "type": "string" - }, - "desc": { - "type": "string" - }, - "errcode": { - "type": "string" - } - } - }, - "TableInfo": { - "type": "object", - "properties": { - "count": { - "type": "string" - } - } - } - } -} \ No newline at end of file