diff options
-rw-r--r-- | docs/api/swagger.json | 2302 |
1 files changed, 2302 insertions, 0 deletions
diff --git a/docs/api/swagger.json b/docs/api/swagger.json new file mode 100644 index 0000000000..65d7ff0d11 --- /dev/null +++ b/docs/api/swagger.json @@ -0,0 +1,2302 @@ +{ + "swagger": "2.0", + "info": { + "version": "3.1.2", + "title": "SO Casablanca APIs" + }, + "tags": [ + { + "name": "e2eServiceInstances" + }, + { + "name": "globalhealthcheck" + }, + { + "name": "nodehealthcheck" + }, + { + "name": "onapsoinfraorchestrationRequests" + }, + { + "name": "onapsoinfraserviceInstantiation" + }, + { + "name": "onapsoinfratasks" + }, + { + "name": "onapsoinfracloudResources" + }, + { + "name": "onapsoinfracloudResourcesRequests" + }, + { + "name": "onapsoinframodelDistributions" + } + ], + "schemes": [ + "https" + ], + "paths": { + "/e2eServiceInstances/{version}": { + "post": { + "tags": [ + "e2eServiceInstances" + ], + "summary": "Create an E2E Service Instance on a version provided", + "description": "", + "operationId": "createE2EServiceInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][3-5]" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/e2eServiceInstances/{version}/{serviceId}": { + "put": { + "tags": [ + "e2eServiceInstances" + ], + "summary": "Update an E2E Service Instance on a version provided and serviceId", + "description": "", + "operationId": "updateE2EServiceInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][3-5]" + }, + { + "name": "serviceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + }, + "delete": { + "tags": [ + "e2eServiceInstances" + ], + "summary": "Delete E2E Service Instance on a specified version and serviceId", + "description": "", + "operationId": "deleteE2EServiceInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][3-5]" + }, + { + "name": "serviceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/e2eServiceInstances/{version}/{serviceId}/operations/{operationId}": { + "get": { + "tags": [ + "e2eServiceInstances" + ], + "summary": "Find e2eServiceInstances Requests for a given serviceId and operationId", + "description": "", + "operationId": "getE2EServiceInstances", + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "serviceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][3-5]" + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/e2eServiceInstances/{version}/{serviceId}/scale": { + "post": { + "tags": [ + "e2eServiceInstances" + ], + "summary": "Scale E2E Service Instance on a specified version", + "description": "", + "operationId": "scaleE2EServiceInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][3-5]" + }, + { + "name": "serviceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/e2eServiceInstances/{version}/{serviceId}/modeldifferences": { + "post": { + "tags": [ + "e2eServiceInstances" + ], + "summary": "Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId ", + "description": "", + "operationId": "compareModelwithTargetVersion", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "serviceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][3-5]" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/globalhealthcheck": { + "get": { + "tags": [ + "globalhealthcheck" + ], + "summary": "Performing global health check", + "description": "", + "operationId": "globalHealthcheck", + "produces": [ + "text/html" + ], + "parameters": [ + { + "name": "enableBpmn", + "in": "query", + "required": false, + "type": "boolean", + "default": true + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/nodehealthcheck": { + "get": { + "tags": [ + "nodehealthcheck" + ], + "summary": "Performing node health check", + "description": "", + "operationId": "nodeHealthcheck", + "produces": [ + "text/html" + ], + "parameters": [], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/orchestrationRequests/{version}": { + "get": { + "tags": [ + "onapsoinfraorchestrationRequests" + ], + "summary": "Find Orchestrated Requests for a URI Information", + "description": "", + "operationId": "getOrchestrationRequest", + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][4-7]" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/orchestrationRequests/{version}/{requestId}": { + "get": { + "tags": [ + "onapsoinfraorchestrationRequests" + ], + "summary": "Find Orchestrated Requests for a given requestId", + "description": "", + "operationId": "getOrchestrationRequestForReqId", + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "requestId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][4-7]" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/orchestrationRequests/{version}/{requestId}/unlock": { + "post": { + "tags": [ + "onapsoinfraorchestrationRequests" + ], + "summary": "Unlock Orchestrated Requests for a given requestId", + "description": "", + "operationId": "unlockOrchestrationRequest", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requestId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][4-7]" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Deactivate and Cloud Delete VfModule instance", + "description": "", + "operationId": "deactivateAndCloudDeleteVfModuleInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vnfInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vfmoduleInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Enable Port Mirroring", + "description": "", + "operationId": "enablePort", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "configurationInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Disable Port Mirroring", + "description": "", + "operationId": "disablePort", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "configurationInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Activate Port Mirroring", + "description": "", + "operationId": "activatePort", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "configurationInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Deactivate Port Mirroring", + "description": "", + "operationId": "deactivatePort", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "configurationInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/addRelationships": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Add Relationships to a Service Instance", + "description": "", + "operationId": "addRelationships", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][6-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "VF Auto Scale Out", + "description": "", + "operationId": "scaleOutVfModule", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vnfInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Perform VNF software update", + "description": "", + "operationId": "inPlaceSoftwareUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][6-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vnfInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Apply updated configuration", + "description": "", + "operationId": "applyUpdatedConfig", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][6-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vnfInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Create a Service Instance on a version provided", + "description": "", + "operationId": "createServiceInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/activate": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Activate provided Service Instance", + "description": "", + "operationId": "activateServiceInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/deactivate": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Deactivate provided Service Instance", + "description": "", + "operationId": "deactivateServiceInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}": { + "delete": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Delete provided Service Instance", + "description": "", + "operationId": "deleteServiceInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/assign": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Assign Service Instance", + "description": "", + "operationId": "assignServiceInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][7]" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/unassign": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Unassign Service Instance", + "description": "", + "operationId": "unassignServiceInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Create Port Mirroring Configuration", + "description": "", + "operationId": "createPortConfiguration", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}": { + "delete": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Delete provided Port", + "description": "", + "operationId": "deletePortConfiguration", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "configurationInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/removeRelationships": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Remove Relationships from Service Instance", + "description": "", + "operationId": "removeRelationships", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][6-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Create VNF on a specified version and serviceInstance", + "description": "", + "operationId": "createVnfInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Replace provided VNF instance", + "description": "", + "operationId": "replaceVnfInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vnfInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}": { + "put": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Update VNF on a specified version, serviceInstance and vnfInstance", + "description": "", + "operationId": "updateVnfInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vnfInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + }, + "delete": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Delete provided VNF instance", + "description": "", + "operationId": "deleteVnfInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vnfInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Create VfModule on a specified version, serviceInstance and vnfInstance", + "description": "", + "operationId": "createVfModuleInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vnfInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Create VfModule on a specified version, serviceInstance and vnfInstance", + "description": "", + "operationId": "replaceVfModuleInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vnfInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vfmoduleInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}": { + "put": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Update VfModule on a specified version, serviceInstance, vnfInstance and vfModule", + "description": "", + "operationId": "updateVfModuleInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vnfInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vfmoduleInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + }, + "delete": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Delete provided VfModule instance", + "description": "", + "operationId": "deleteVfModuleInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vnfInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vfmoduleInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Create VolumeGroup on a specified version, serviceInstance, vnfInstance", + "description": "", + "operationId": "createVolumeGroupInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vnfInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}": { + "put": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Update VolumeGroup on a specified version, serviceInstance, vnfInstance and volumeGroup", + "description": "", + "operationId": "updateVolumeGroupInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vnfInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "volumeGroupInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + }, + "delete": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Delete provided VolumeGroup instance", + "description": "", + "operationId": "deleteVolumeGroupInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "vnfInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "volumeGroupInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks": { + "post": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Create NetworkInstance on a specified version and serviceInstance ", + "description": "", + "operationId": "createNetworkInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}": { + "put": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Update VolumeGroup on a specified version, serviceInstance, networkInstance", + "description": "", + "operationId": "updateNetworkInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "networkInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + }, + "delete": { + "tags": [ + "onapsoinfraserviceInstantiation" + ], + "summary": "Delete provided Network instance", + "description": "", + "operationId": "deleteNetworkInstance", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][5-7]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "networkInstanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/tasks/{version}": { + "get": { + "tags": [ + "onapsoinfratasks" + ], + "summary": "Finds Manual Tasks", + "description": "", + "operationId": "queryFilters", + "parameters": [ + { + "name": "taskId", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "originalRequestId", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "subscriptionServiceType", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "nfRole", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "buildingBlockName", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "originalRequestDate", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "originalRequestorId", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV]1" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/cloudResources/{version}/operationalEnvironments": { + "post": { + "tags": [ + "onapsoinfracloudResources" + ], + "summary": "Create an Operational Environment", + "description": "", + "operationId": "createOperationEnvironment", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][1]" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/activate": { + "post": { + "tags": [ + "onapsoinfracloudResources" + ], + "summary": "Activate an Operational Environment", + "description": "", + "operationId": "activateOperationEnvironment", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][1]" + }, + { + "name": "operationalEnvironmentId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/deactivate": { + "post": { + "tags": [ + "onapsoinfracloudResources" + ], + "summary": "Deactivate an Operational Environment", + "description": "", + "operationId": "deactivateOperationEnvironment", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][1]" + }, + { + "name": "operationalEnvironmentId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/cloudResourcesRequests/{version}/{requestId}/unlock": { + "post": { + "tags": [ + "onapsoinfracloudResourcesRequests" + ], + "summary": "Unlock CloudOrchestration requests for a specified requestId", + "description": "", + "operationId": "unlockOrchestrationRequestForReqId", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requestId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][1]" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/cloudResourcesRequests/{version}": { + "get": { + "tags": [ + "onapsoinfracloudResourcesRequests" + ], + "summary": "Get status of an Operational Environment based on filter criteria", + "description": "", + "operationId": "getOperationEnvironmentStatusFilter", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][1]" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + }, + "/onap/so/infra/modelDistributions/{version}/distributions/{distributionId}": { + "post": { + "tags": [ + "onapsoinframodelDistributions" + ], + "summary": "Update model distribution status", + "description": "", + "operationId": "updateModelDistributionStatus", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][1]" + }, + { + "name": "distributionId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } + } + } +}
\ No newline at end of file |