diff options
author | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2022-08-05 14:19:19 +0200 |
---|---|---|
committer | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2022-08-05 14:19:57 +0200 |
commit | b0f785e99096f230281d17e0fa89c21aca00fbac (patch) | |
tree | ecaa9d853037faa87310ab8c6562a3454e687179 /docs/api/swagger/swagger.json | |
parent | 0d39f06a571e48ee3c8a05aca0c244d2595468e8 (diff) | |
parent | 2ef42cd813c85015322da874de668b79e790c5eb (diff) |
Merge branch 'recursive-orch'
Issue-ID: SO-3980
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Ie0cd0f973800196d5cb1e038db4a49208a6c4a3b
Diffstat (limited to 'docs/api/swagger/swagger.json')
-rw-r--r-- | docs/api/swagger/swagger.json | 4102 |
1 files changed, 2481 insertions, 1621 deletions
diff --git a/docs/api/swagger/swagger.json b/docs/api/swagger/swagger.json index 0f2bd535b6..ac0e523d45 100644 --- a/docs/api/swagger/swagger.json +++ b/docs/api/swagger/swagger.json @@ -1,9 +1,14 @@ { - "swagger": "2.0", + "openapi": "3.0.1", "info": { - "version": "3.1.2", - "title": "SO Guilin APIs" + "title": "SO Guilin APIs", + "version": "3.1.2" }, + "servers": [ + { + "url": "/" + } + ], "tags": [ { "name": "e2eServiceInstances" @@ -45,9 +50,6 @@ "name": "onapsoinfrainstanceManagement" } ], - "schemes": [ - "http" - ], "paths": { "/onap/so/infra/e2eServiceInstances/{version}": { "post": { @@ -55,36 +57,35 @@ "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]" + "schema": { + "pattern": "[vV][3-5]", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/e2eServiceInstances/{version}/{serviceId}": { @@ -93,84 +94,86 @@ "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]" + "schema": { + "pattern": "[vV][3-5]", + "type": "string" + } }, { "name": "serviceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" }, "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]" + "schema": { + "pattern": "[vV][3-5]", + "type": "string" + } }, { "name": "serviceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/{operationType}": { @@ -179,49 +182,52 @@ "e2eServiceInstances" ], "summary": "Activate/Deactivate 5G slice Service on a specified version and serviceId", - "description": "", "operationId": "activateE2EServiceInstances", - "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]" + "schema": { + "pattern": "[vV][3-5]", + "type": "string" + } }, { "name": "serviceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "operationType", "in": "path", "required": true, - "type": "string", - "pattern": "activate/deactivate" + "schema": { + "pattern": "activate/deactivate", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/operations/{operationId}": { @@ -230,35 +236,38 @@ "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" + "schema": { + "type": "string" + } }, { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][3-5]" + "schema": { + "pattern": "[vV][3-5]", + "type": "string" + } }, { "name": "operationId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } } } @@ -269,42 +278,43 @@ "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]" + "schema": { + "pattern": "[vV][3-5]", + "type": "string" + } }, { "name": "serviceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/modeldifferences": { @@ -312,43 +322,44 @@ "tags": [ "e2eServiceInstances" ], - "summary": "Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId ", - "description": "", + "summary": "Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId", "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" + "schema": { + "type": "string" + } }, { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][3-5]" + "schema": { + "pattern": "[vV][3-5]", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/3gppservices/{version}/allocate": { @@ -357,39 +368,41 @@ "Onap3gppServiceInstances" ], "summary": "Create a 3GPP Service Instance on a version provided", - "description": "", "operationId": "allocate3gppService", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], "parameters": [ { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Allocate3gppService" - } - }, - { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][1]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Allocate3gppService" + } + } + }, + "required": true + }, "responses": { "default": { "description": "successful operation", - "schema": { - "$ref": "#/definitions/3gppServiceResponse" + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/3gppServiceResponse" + } + } } } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/3gppservices/{version}/deAllocate": { @@ -398,39 +411,41 @@ "Onap3gppServiceInstances" ], "summary": "Terminate/Deallocate a 3GPP Service Instance on a version provided", - "description": "", "operationId": "deallocate3gppService", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], "parameters": [ { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DeAllocate3gppService" - } - }, - { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][1]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeAllocate3gppService" + } + } + }, + "required": true + }, "responses": { "default": { "description": "successful operation", - "schema": { - "$ref": "#/definitions/3gppServiceResponse" + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/3gppServiceResponse" + } + } } } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/3gppservices/{version}/modify": { @@ -439,39 +454,41 @@ "Onap3gppServiceInstances" ], "summary": "Modify a 3GPP Service Instance on a version provided", - "description": "", "operationId": "modify3gppService", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], "parameters": [ { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Modify3gppService" - } - }, - { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][1]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Modify3gppService" + } + } + }, + "required": true + }, "responses": { "default": { "description": "successful operation", - "schema": { - "$ref": "#/definitions/3gppServiceResponse" + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/3gppServiceResponse" + } + } } } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/3gppservices/{version}/activate": { @@ -480,39 +497,41 @@ "Onap3gppServiceInstances" ], "summary": "Activate a 3GPP Service Instance on a version provided", - "description": "", "operationId": "activate3gppService", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], "parameters": [ { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/3gppServiceActivation" - } - }, - { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][1]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/3gppServiceActivation" + } + } + }, + "required": true + }, "responses": { "default": { "description": "successful operation", - "schema": { - "$ref": "#/definitions/3gppServiceResponse" + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/3gppServiceResponse" + } + } } } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/3gppservices/{version}/deActivate": { @@ -521,39 +540,41 @@ "Onap3gppServiceInstances" ], "summary": "Deactivate a 3GPP Service Instance on a version provided", - "description": "", "operationId": "deactivate3gppService", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], "parameters": [ { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/3gppServiceActivation" - } - }, - { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][1]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/3gppServiceActivation" + } + } + }, + "required": true + }, "responses": { "default": { "description": "successful operation", - "schema": { - "$ref": "#/definitions/3gppServiceResponse" + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/3gppServiceResponse" + } + } } } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/3gppservices/{version}/subnetCapabilityQuery": { @@ -562,39 +583,41 @@ "Onap3gppServiceInstances" ], "summary": "Provides subnet capability based on subnet types", - "description": "", "operationId": "querySubnetCapability", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], "parameters": [ { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/QuerySubnetCapability" - } - }, - { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][1]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/QuerySubnetCapability" + } + } + }, + "required": true + }, "responses": { "default": { "description": "successful operation with capabilities for the queried subnetTypes", - "schema": { - "type": "object" + "content": { + "application/json": { + "schema": { + "type": "object" + } + } } } - } + }, + "x-codegen-request-body-name": "body" } }, "/globalhealthcheck": { @@ -603,23 +626,21 @@ "globalhealthcheck" ], "summary": "Performing global health check", - "description": "", "operationId": "globalHealthcheck", - "produces": [ - "text/html" - ], "parameters": [ { "name": "enableBpmn", "in": "query", - "required": false, - "type": "boolean", - "default": true + "schema": { + "type": "boolean", + "default": true + } } ], "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } } } @@ -630,15 +651,11 @@ "nodehealthcheck" ], "summary": "Performing node health check", - "description": "", "operationId": "nodeHealthcheck", - "produces": [ - "text/html" - ], - "parameters": [], "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } } } @@ -649,23 +666,22 @@ "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]" + "schema": { + "pattern": "[vV][4-7]", + "type": "string" + } } ], "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } } } @@ -676,29 +692,30 @@ "onapsoinfraorchestrationRequests" ], "summary": "Find Orchestrated Requests for a given requestId", - "description": "", "operationId": "getOrchestrationRequestForReqId", - "produces": [ - "application/json" - ], "parameters": [ { "name": "requestId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][4-7]" + "schema": { + "pattern": "[vV][4-7]", + "type": "string" + } } ], "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } } } @@ -709,42 +726,43 @@ "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" + "schema": { + "type": "string" + } }, { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][4-7]" + "schema": { + "pattern": "[vV][4-7]", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/orchestrationTasks/{version}": { @@ -753,23 +771,22 @@ "onapsoinfraorchestrationTasks" ], "summary": "Get all orchestrationTasks", - "description": "", "operationId": "getAllOrchestrationTasks", - "produces": [ - "application/json" - ], "parameters": [ { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][4-7]" + "schema": { + "pattern": "[vV][4-7]", + "type": "string" + } } ], "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } } }, @@ -778,33 +795,35 @@ "onapsoinfraorchestrationTasks" ], "summary": "Create an orchestrationTask", - "description": "", "operationId": "createOrchestrationTask", - "produces": [ - "application/json" - ], "parameters": [ { - "in": "body", - "name": "body", - "required": false, - "schema": { - "type": "string" - } - }, - { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][4-7]" + "schema": { + "pattern": "[vV][4-7]", + "type": "string" + } } ], + "requestBody": { + "content": { + "*/*": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/orchestrationTasks/{version}/{taskId}": { @@ -813,29 +832,30 @@ "onapsoinfraorchestrationTasks" ], "summary": "Get orchestrationTask for a given taskId", - "description": "", "operationId": "getOrchestrationTask", - "produces": [ - "application/json" - ], "parameters": [ { "name": "taskId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][4-7]" + "schema": { + "pattern": "[vV][4-7]", + "type": "string" + } } ], "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } } }, @@ -844,68 +864,73 @@ "onapsoinfraorchestrationTasks" ], "summary": "update orchestrationTask for a given taskId", - "description": "", "operationId": "updateOrchestrationTask", - "produces": [ - "application/json" - ], "parameters": [ { "name": "taskId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][4-7]" - }, - { - "in": "body", - "name": "body", - "required": false, "schema": { + "pattern": "[vV][4-7]", "type": "string" } } ], + "requestBody": { + "content": { + "*/*": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "tags": [ "onapsoinfraorchestrationTasks" ], "summary": "delete orchestrationTask for a given taskId", - "description": "", "operationId": "deleteOrchestrationTask", - "produces": [ - "application/json" - ], "parameters": [ { "name": "taskId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][4-7]" + "schema": { + "pattern": "[vV][4-7]", + "type": "string" + } } ], "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } } } @@ -916,39 +941,43 @@ "onapsoinfraorchestrationTasks" ], "summary": "commit orchestrationTask for a given taskId", - "description": "", "operationId": "commitOrchestrationTask", - "produces": [ - "application/json" - ], "parameters": [ { - "in": "body", - "name": "body", - "required": false, - "schema": { - "type": "string" - } - }, - { "name": "taskId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][4-7]" + "schema": { + "pattern": "[vV][4-7]", + "type": "string" + } } ], + "requestBody": { + "content": { + "*/*": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/orchestrationTasks/{version}/{taskId}/abort": { @@ -957,39 +986,43 @@ "onapsoinfraorchestrationTasks" ], "summary": "abort orchestrationTask for a given taskId", - "description": "", "operationId": "abortOrchestrationTask", - "produces": [ - "application/json" - ], "parameters": [ { - "in": "body", - "name": "body", - "required": false, - "schema": { - "type": "string" - } - }, - { "name": "taskId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][4-7]" + "schema": { + "pattern": "[vV][4-7]", + "type": "string" + } } ], + "requestBody": { + "content": { + "*/*": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete": { @@ -998,54 +1031,59 @@ "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]" + "schema": { + "pattern": "[vV][7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vnfInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vfmoduleInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort": { @@ -1054,48 +1092,51 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "configurationInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort": { @@ -1104,48 +1145,51 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "configurationInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate": { @@ -1154,48 +1198,51 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "configurationInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate": { @@ -1204,48 +1251,51 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "configurationInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/addRelationships": { @@ -1254,42 +1304,43 @@ "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]" + "schema": { + "pattern": "[vV][6-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut": { @@ -1298,48 +1349,51 @@ "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]" + "schema": { + "pattern": "[vV][7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vnfInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate": { @@ -1348,48 +1402,51 @@ "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]" + "schema": { + "pattern": "[vV][6-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vnfInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig": { @@ -1398,86 +1455,453 @@ "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]" + "schema": { + "pattern": "[vV][6-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vnfInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances": { "post": { "tags": [ - "onapsoinfraserviceInstantiation" + "SO service Instantiation" ], "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CreateServiceInstanceParamaters" + } + }, + "examples": { + "cnf": { + "summary": "CNF", + "value": { + "requestDetails": { + "modelInfo": { + "modelInvariantId": "0b1f4362-fed9-45fc-a2e1-6fd3e52f4c1a", + "modelType": "service", + "modelName": "service_test_1", + "modelVersion": "2.0", + "modelVersionId": "beb1259e-dad8-4ee0-a40e-1af20f775d54", + "modelUuid": "beb1259e-dad8-4ee0-a40e-1af20f775d54", + "modelInvariantUuid": "0b1f4362-fed9-45fc-a2e1-6fd3e52f4c1a" + }, + "subscriberInfo": { + "globalSubscriberId": "basicnf-customer" + }, + "requestInfo": { + "suppressRollback": false, + "productFamilyId": "bb0838ec-2ef7-4382-820f-0d34efdb1ccd", + "requestorId": "Portal", + "instanceName": "ORAN_CU_3", + "source": "VID" + }, + "project": { + "projectName": "Project-5GCustomer" + }, + "owningEntity": { + "owningEntityId": "67f2e84c-734d-4e90-a1e4-d2ffa2e75849", + "owningEntityName": "OE-5GCustomer" + }, + "requestParameters": { + "subscriptionServiceType": "5G", + "aLaCarte": false, + "usePreload": false, + "userParams": [ + { + "Homing_Solution": false + }, + { + "service": { + "instanceParams": [ + {} + ], + "instanceName": "service_test_1", + "resources": { + "vnfs": [ + { + "modelInfo": { + "modelName": "cu_sim_1901", + "modelVersionId": "40f11fb2-931d-408d-a949-99e9289d3c02", + "modelInvariantUuid": "f6c202d8-94bd-496e-878e-448da0ed0a6a", + "modelVersion": "1.0", + "modelCustomizationId": "5a2eec30-80c5-47cc-9117-3d8659c38202", + "modelInstanceName": "cu_sim_2022 0" + }, + "cloudConfiguration": { + "cloudOwner": "k8scloudowner4", + "lcpCloudRegionId": "k8sregionfour", + "tenantId": "6bbd2981b210461dbc8fe846df1a7808" + }, + "platform": { + "platformName": "test" + }, + "lineOfBusiness": { + "lineOfBusinessName": "LOB-5G" + }, + "productFamilyId": "productFamilyId123", + "instanceName": "CUCP_1", + "instanceParams": [ + {} + ], + "vfModules": [ + { + "modelInfo": { + "modelName": "CuSim1901..helm_cucp..module-1", + "modelVersionId": "9b7723ff-25ac-44af-a7ac-9cfbf2d4285f", + "modelInvariantUuid": "63af164d-9276-4e08-98fb-059d1c5b80e4", + "modelVersion": 1, + "modelCustomizationId": "b7a0bd1d-4832-4ad3-9199-6e1eab543a45" + }, + "instanceName": "module-1", + "instanceParams": [ + {} + ] + } + ] + } + ] + }, + "modelInfo": { + "modelVersion": "2.0", + "modelVersionId": "77bea973-570b-4f73-9049-87c37d3de8ca", + "modelInvariantId": "b7a3f00b-8fb2-4791-b0ff-71d83f97ab0b", + "modelName": "service_model", + "modelType": "service" + } + } + } + ] + } + } + } + }, + "pnf": { + "summary": "PNF", + "value": { + "requestDetails": { + "modelInfo": { + "modelInvariantId": "040a21d5-b208-490b-9c69-c12ae2b2b958", + "modelName": "ORAN_RU_SIM_Service", + "modelType": "service", + "modelVersion": "2.0", + "modelVersionId": "2f40ddbd-0acc-4e59-8fb3-77a6f84ae28c" + }, + "owningEntity": { + "owningEntityId": "3804b4ac-4d9c-482a-ad0b-5806f8849907", + "owningEntityName": "oran_owner" + }, + "project": { + "projectName": "oran_project" + }, + "requestInfo": { + "instanceName": "ORAN_RU_SIM", + "productFamilyId": "oran-service", + "requestorId": "PORTAL", + "source": "PORTAL", + "suppressRollback": false + }, + "requestParameters": { + "aLaCarte": false, + "subscriptionServiceType": "oran_service", + "userParams": [ + { + "Homing_Solution": "none" + }, + { + "service": { + "instanceName": "ORAN_RU_SIM_Service_1", + "instanceParams": [], + "modelInfo": { + "modelInvariantId": "040a21d5-b208-490b-9c69-c12ae2b2b958", + "modelName": "ORAN_RU_SIM_Service", + "modelType": "service", + "modelVersion": "2.0", + "modelVersionId": "2f40ddbd-0acc-4e59-8fb3-77a6f84ae28c" + }, + "resources": { + "pnfs": [ + { + "instanceName": "ORAN_RU_PNF_1", + "instanceParams": [], + "lineOfBusiness": { + "lineOfBusinessName": "oran_lob" + }, + "modelInfo": { + "modelCustomizationId": "5e3a18ce-8bbd-40fc-a197-becca92ac05b", + "modelCustomizationName": "ORAN_RU_PNF_1", + "modelInstanceName": "ORAN_RU_PNF_ORAN_RU_SIM_Service", + "modelInvariantId": "486f38e8-1710-4875-b732-a8b3301a7786", + "modelName": "ORAN_RU_PNF", + "modelType": "pnf", + "modelVersion": "1.0", + "modelVersionId": "e95310e1-e1d2-471f-aa26-d24849a7e61a" + }, + "platform": { + "platformName": "oran_platform" + }, + "productFamilyId": "oran-service" + } + ], + "vnfs": [] + } + } + } + ] + }, + "subscriberInfo": { + "globalSubscriberId": "ORANTownCustomer" + } + } + } + }, + "Composed service in two clouds": { + "summary": "Composed service in two clouds", + "value": { + "requestDetails": { + "modelInfo": { + "modelInvariantId": "0592b699-3f7b-424f-857b-d956f15c9447", + "modelInvariantUuid": "0592b699-3f7b-424f-857b-d956f15c9447", + "modelName": "parent_svc_2912", + "modelType": "service", + "modelUuid": "1c889525-46c5-4b22-8f26-17913dd3172a", + "modelVersion": "2.0", + "modelVersionId": "1c889525-46c5-4b22-8f26-17913dd3172a" + }, + "owningEntity": { + "owningEntityId": "67f2e84c-734d-4e90-a1e4-d2ffa2e75849", + "owningEntityName": "OE-5GCustomer" + }, + "project": { + "projectName": "Project-5GCustomer" + }, + "requestInfo": { + "instanceName": "parent_two_k8s", + "productFamilyId": "productFamilyId123", + "requestorId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", + "source": "Postman", + "suppressRollback": false + }, + "requestParameters": { + "aLaCarte": false, + "subscriptionServiceType": "5G", + "usePreload": false, + "userParams": [ + { + "Homing_Solution": "none" + }, + { + "service": { + "instanceName": "parent_two_k8s", + "instanceParams": [ + {} + ], + "modelInfo": { + "modelInvariantId": "0592b699-3f7b-424f-857b-d956f15c9447", + "modelName": "parent_svc_2912", + "modelType": "service", + "modelVersion": "2.0", + "modelVersionId": "1c889525-46c5-4b22-8f26-17913dd3172a" + }, + "resources": { + "services": [ + { + "instanceName": "childsvc_1201_01", + "instanceParams": [ + {} + ], + "modelInfo": { + "modelInvariantId": "19d8f134-8bdb-46ed-84a9-046c9314d9a9", + "modelName": "childsvc_2912", + "modelType": "service", + "modelVersion": "2.0", + "modelVersionId": "b2ae12eb-3854-4405-a125-c63c16e6fa23" + }, + "resources": { + "vnfs": [ + { + "cloudConfiguration": { + "cloudOwner": "k8scloudowner4", + "lcpCloudRegionId": "k8sregionfour", + "tenantId": "6bbd2981b210461dbc8fe846df1a7808" + }, + "instanceName": "CUCP_1", + "instanceParams": [ + {} + ], + "lineOfBusiness": { + "lineOfBusinessName": "LOB-5GCustomer" + }, + "modelInfo": { + "modelCustomizationId": "26be9ecc-43b2-47e4-9666-915701b87cbc", + "modelInstanceName": "CUCP_2912 0", + "modelInvariantUuid": "a3c9fa51-ff3c-4b6e-a1bd-73eb1ffb06c0", + "modelName": "CUCP_2912", + "modelVersion": "1.0", + "modelVersionId": "4a7aa841-09a5-493b-a52f-26aaa1f62c20" + }, + "platform": { + "platformName": "test" + }, + "productFamilyId": "productFamilyId123", + "vfModules": [ + { + "instanceName": "module-1", + "instanceParams": [ + {} + ], + "modelInfo": { + "modelCustomizationId": "fe39f295-253c-41ef-b07c-607aec86ea52", + "modelInvariantUuid": "051d1f8a-d5bd-4509-9457-0ef756dc5a33", + "modelName": "Cucp2912..helm_cucp..module-1", + "modelVersion": "1", + "modelVersionId": "3f70da13-e246-4abd-8fe5-90d3f8fbc212" + } + } + ] + } + ] + } + }, + { + "instanceName": "childsvc_1201_02", + "instanceParams": [ + {} + ], + "modelInfo": { + "modelInvariantId": "19d8f134-8bdb-46ed-84a9-046c9314d9a9", + "modelName": "childsvc_2912", + "modelType": "service", + "modelVersion": "2.0", + "modelVersionId": "b2ae12eb-3854-4405-a125-c63c16e6fa23" + }, + "resources": { + "vnfs": [ + { + "cloudConfiguration": { + "cloudOwner": "k8scloudowner4", + "lcpCloudRegionId": "k8sregionone", + "tenantId": "3fd21203fd274e10a30f1fd4c355d80b" + }, + "instanceName": "CUCP_2", + "instanceParams": [ + {} + ], + "lineOfBusiness": { + "lineOfBusinessName": "LOB-5GCustomer" + }, + "modelInfo": { + "modelCustomizationId": "26be9ecc-43b2-47e4-9666-915701b87cbc", + "modelInstanceName": "CUCP_2912 0", + "modelInvariantUuid": "a3c9fa51-ff3c-4b6e-a1bd-73eb1ffb06c0", + "modelName": "CUCP_2912", + "modelVersion": "1.0", + "modelVersionId": "4a7aa841-09a5-493b-a52f-26aaa1f62c20" + }, + "platform": { + "platformName": "test" + }, + "productFamilyId": "productFamilyId123", + "vfModules": [ + { + "instanceName": "module-2", + "instanceParams": [ + {} + ], + "modelInfo": { + "modelCustomizationId": "fe39f295-253c-41ef-b07c-607aec86ea52", + "modelInvariantUuid": "051d1f8a-d5bd-4509-9457-0ef756dc5a33", + "modelName": "Cucp2912..helm_cucp..module-1", + "modelVersion": "1", + "modelVersionId": "3f70da13-e246-4abd-8fe5-90d3f8fbc212" + } + } + ] + } + ] + } + } + ] + } + } + } + ] + }, + "subscriberInfo": { + "globalSubscriberId": "5GCustomer" + } + } + } + } + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "requestBody" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/activate": { @@ -1486,42 +1910,43 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/deactivate": { @@ -1530,42 +1955,43 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}": { @@ -1574,42 +2000,43 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/assign": { @@ -1618,36 +2045,35 @@ "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]" + "schema": { + "pattern": "[vV][7]", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/unassign": { @@ -1656,42 +2082,43 @@ "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]" + "schema": { + "pattern": "[vV][7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations": { @@ -1700,42 +2127,43 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}": { @@ -1744,48 +2172,51 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "configurationInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/removeRelationships": { @@ -1794,42 +2225,43 @@ "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]" + "schema": { + "pattern": "[vV][6-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs": { @@ -1838,42 +2270,43 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace": { @@ -1882,48 +2315,51 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vnfInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}": { @@ -1932,96 +2368,102 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vnfInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" }, "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vnfInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules": { @@ -2030,48 +2472,51 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vnfInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace": { @@ -2080,54 +2525,59 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vnfInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vfmoduleInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}": { @@ -2136,108 +2586,118 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vnfInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vfmoduleInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" }, "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vnfInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vfmoduleInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups": { @@ -2246,48 +2706,51 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vnfInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}": { @@ -2296,108 +2759,118 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vnfInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "volumeGroupInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" }, "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "vnfInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "volumeGroupInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks": { @@ -2406,42 +2879,43 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}": { @@ -2450,96 +2924,102 @@ "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "networkInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" }, "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]" + "schema": { + "pattern": "[vV][5-7]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "networkInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/tasks/{version}": { @@ -2548,62 +3028,71 @@ "onapsoinfratasks" ], "summary": "Finds Manual Tasks", - "description": "", "operationId": "queryFilters", "parameters": [ { "name": "taskId", "in": "query", - "required": false, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "originalRequestId", "in": "query", - "required": false, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "subscriptionServiceType", "in": "query", - "required": false, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "nfRole", "in": "query", - "required": false, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "buildingBlockName", "in": "query", - "required": false, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "originalRequestDate", "in": "query", - "required": false, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "originalRequestorId", "in": "query", - "required": false, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV]1" + "schema": { + "pattern": "[vV]1", + "type": "string" + } } ], "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } } } @@ -2614,36 +3103,35 @@ "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]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/activate": { @@ -2652,42 +3140,43 @@ "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]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } }, { "name": "operationalEnvironmentId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/deactivate": { @@ -2696,42 +3185,43 @@ "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]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } }, { "name": "operationalEnvironmentId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/cloudResourcesRequests/{version}/{requestId}/unlock": { @@ -2740,42 +3230,43 @@ "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" + "schema": { + "type": "string" + } }, { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][1]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/cloudResourcesRequests/{version}": { @@ -2784,26 +3275,22 @@ "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]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } } ], "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } } } @@ -2814,42 +3301,43 @@ "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]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } }, { "name": "distributionId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/workflowSpecifications/{version}/workflows": { @@ -2858,34 +3346,34 @@ "onapsoinfraworkflowSpecifications" ], "summary": "Retrieve Workflow details based on the filter criteria", - "description": "", "operationId": "queryWorkflowSpecifications", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], "parameters": [ { "name": "resourceTarget", "in": "query", - "required": false, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][1]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } } ], "responses": { "default": { "description": "List of workflow specifications on successful operation", - "schema": { - "$ref": "#/definitions/RetrievingWorkflowResponse" + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RetrievingWorkflowResponse" + } + } } } } @@ -2897,48 +3385,51 @@ "onapsoinfrainstanceManagement" ], "summary": "Executing service level custom workflow", - "description": "", "operationId": "executeServiceLevelCustomWorkflow", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], "parameters": [ { - "in": "body", - "name": "body", - "required": false, - "schema": { - "$ref": "#/definitions/ServiceLevelWorkflowExecution" - } - }, - { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][1]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "workflow_UUID", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ServiceLevelWorkflowExecution" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } }, "/onap/so/infra/instanceManagement/{version}/serviceInstances/{serviceInstanceId}/pnfs/${pnfName}/workflows/${workflow_UUID}": { @@ -2947,469 +3438,838 @@ "onapsoinfrainstanceManagement" ], "summary": "Executing download/activate custom workflow", - "description": "", "operationId": "executePNFCustomWorkflow", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], "parameters": [ { - "in": "body", - "name": "body", - "required": false, - "schema": { - "$ref": "#/definitions/PNFCustomWorkflowExecution" - } - }, - { "name": "version", "in": "path", "required": true, - "type": "string", - "pattern": "[vV][1]" + "schema": { + "pattern": "[vV][1]", + "type": "string" + } }, { "name": "serviceInstanceId", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "pnfName", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } }, { "name": "workflow_UUID", "in": "path", "required": true, - "type": "string" + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PNFCustomWorkflowExecution" + } + } + }, + "required": false + }, "responses": { "default": { - "description": "successful operation" + "description": "successful operation", + "content": {} } - } + }, + "x-codegen-request-body-name": "body" } } }, - "definitions": { - "Allocate3gppService": { - "description": "This describes the request body for 3gpp service allocation", - "type": "object", - "properties": { - "name": { - "description": "Name of the service to allocate", - "type": "string" - }, - "modelInvariantUuid": { - "description": "Model Invariant UUID corresponding to the service. For E.g : NSST Model invariant uuid in case of NSSI creation", - "type": "string" - }, - "modelUuid": { - "description": "Model UUID corresponding to the service. For E.g : NSST Model uuid in case of NSSI creation", - "type": "string" - }, - "globalSubscriberId": { - "type": "string" - }, - "subscriptionServiceType": { - "description": "Service type for the subscription. For E.G :5G", - "type": "string" - }, - "networkType": { - "description": "Network type. For E.G :AN/CN/TN", - "type": "string" - }, - "additionalProperties": { - "description": "Map of additional properties required for service allocation", - "type": "object" - } - } - }, - "DeAllocate3gppService": { - "description": "This describes the request body for 3gpp service Termination/Deallocation", - "type": "object", - "properties": { - "serviceInstanceID": { - "description": "ID of the service to terminate", - "type": "string" - }, - "globalSubscriberId": { - "type": "string" - }, - "subscriptionServiceType": { - "description": "Service type for the subscription. For E.G :5G", - "type": "string" - }, - "networkType": { - "description": "Network type. For E.G :AN/CN/TN", - "type": "string" - }, - "additionalProperties": { - "description": "Map of additional properties required for service deallocation", - "type": "object" - } - } - }, - "Modify3gppService": { - "description": "This describes the request body for 3gpp service modification", - "type": "object", - "properties": { - "name": { - "description": "Name of the service to modify", - "type": "string" - }, - "serviceInstanceID": { - "description": "ID of the service to modify", - "type": "string" - }, - "globalSubscriberId": { - "type": "string" - }, - "subscriptionServiceType": { - "description": "Service type for the subscription. For E.G :5G", - "type": "string" - }, - "networkType": { - "description": "Network type. For E.G :AN/CN/TN", - "type": "string" - }, - "additionalProperties": { - "description": "Map of additional properties required for service modification", - "type": "object" - } - } - }, - "3gppServiceActivation": { - "description": "This describes the request body for 3gpp service activation/deactivation", - "type": "object", - "properties": { - "serviceInstanceID": { - "description": "ID of the service to be activated/deactivated", - "type": "string" - }, - "globalSubscriberId": { - "type": "string" - }, - "subscriptionServiceType": { - "description": "Service type for the subscription. For E.G :5G", - "type": "string" - }, - "networkType": { - "description": "Network type. For E.G :AN/CN/TN", - "type": "string" - }, - "additionalProperties": { - "description": "Map of additional properties required for service activation/deactivation", - "type": "object" - } - } - }, - "QuerySubnetCapability": { - "description": "This describes the subnet capabilities that can be queried", - "type": "object", - "properties": { - "subnetTypes": { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetTypes" - } - } - } - }, - "SubnetTypes": { - "description": "This describes allowed subnet types", - "type": "string", - "enum": [ - "AN", - "AN_NF", - "CN", - "TN_FH", - "TN_MH", - "TN_BH" - ] - }, - "3gppServiceResponse": { - "description": "This describes the response for 3gpp services", - "type": "object", - "properties": { - "jobId": { - "description": "Job ID to be used to identify the status of the job", - "type": "string" - }, - "status": { - "description": "status of the job", - "type": "string" - }, - "statusDescription": { - "description": "Description on status in case of erroneous response", - "type": "object" - } - } - }, - "RetrievingWorkflowResponse": { - "description": "Response body of fetching workflows using resource target", - "type": "object", - "properties": { - "workflowSpecificationList":{ - "description": "List of Workflow specification data", - "type": "array", - "items": { - "$ref": "#/definitions/WorkflowSpecification" + "components": { + "schemas": { + "Allocate3gppService": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the service to allocate" + }, + "modelInvariantUuid": { + "type": "string", + "description": "Model Invariant UUID corresponding to the service. For E.g : NSST Model invariant uuid in case of NSSI creation" + }, + "modelUuid": { + "type": "string", + "description": "Model UUID corresponding to the service. For E.g : NSST Model uuid in case of NSSI creation" + }, + "globalSubscriberId": { + "type": "string" + }, + "subscriptionServiceType": { + "type": "string", + "description": "Service type for the subscription. For E.G :5G" + }, + "networkType": { + "type": "string", + "description": "Network type. For E.G :AN/CN/TN" + }, + "additionalProperties": { + "type": "object", + "properties": {}, + "description": "Map of additional properties required for service allocation" } - } - } - }, - "WorkflowSpecification": { - "description": "This describes workflow specification object", - "type": "object", - "properties": { - "artifactInfo": { - "description": "Attributes related to artifact information ", - "type": "object", - "properties": { - "artifactType": { - "description": "Type of the artifact to be queried", - "type": "string" - }, - "artifactUuid": { - "description": "UUID of the artifact", - "type": "string" - }, - "artifactName": { - "description": "Name of the artifact", - "type": "string" - }, - "artifactVersion": { - "description": "Artifact's Version", - "type": "string" - }, - "artifactDescription": { - "description": "", - "type": "string" - }, - "workflowName": { - "description": "Name of the workflow fetched for the resource type", - "type": "string" - }, - "operationName": { - "description": "Mapped operation name of the corresponding workflow", - "type": "string" - }, - "workflowSource": { - "description": "", - "type": "string" - }, - "workflowResourceTarget": { - "description": "Type of Resource mapped against the workflow", - "type": "string" - } + }, + "description": "This describes the request body for 3gpp service allocation" + }, + "DeAllocate3gppService": { + "type": "object", + "properties": { + "serviceInstanceID": { + "type": "string", + "description": "ID of the service to terminate" + }, + "globalSubscriberId": { + "type": "string" + }, + "subscriptionServiceType": { + "type": "string", + "description": "Service type for the subscription. For E.G :5G" + }, + "networkType": { + "type": "string", + "description": "Network type. For E.G :AN/CN/TN" + }, + "additionalProperties": { + "type": "object", + "properties": {}, + "description": "Map of additional properties required for service deallocation" } - } - } - }, - "ServiceLevelWorkflowExecution": { - "description": "This describes the request body of service level custom workflow execution", - "type": "object", - "properties": { - "requestInfo": { - "description": "Request object contains source information", - "type": "object", - "properties": { - "source": { - "description": "Name of the sender", - "type": "string" - }, - "suppressRollback": { - "description": "Enable/disable rollback suppression", - "type": "boolean" - }, - "requestorId": { - "description": "Id of the sender", - "type": "string" - } + }, + "description": "This describes the request body for 3gpp service Termination/Deallocation" + }, + "Modify3gppService": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the service to modify" + }, + "serviceInstanceID": { + "type": "string", + "description": "ID of the service to modify" + }, + "globalSubscriberId": { + "type": "string" + }, + "subscriptionServiceType": { + "type": "string", + "description": "Service type for the subscription. For E.G :5G" + }, + "networkType": { + "type": "string", + "description": "Network type. For E.G :AN/CN/TN" + }, + "additionalProperties": { + "type": "object", + "properties": {}, + "description": "Map of additional properties required for service modification" } }, - "modelInfo": { - "description": "Parameters related to the service model", - "type": "object", - "properties": { - "modelType": { - "description": "Type of the model to be executed", - "type": "string" - }, - "modelInvariantUuid": { - "description": "Model invariant id corresponding to the service", - "type": "string" - }, - "modelUuid": { - "description": "Model uuid corresponding to the service", - "type": "string" - }, - "modelVersionId": { - "description": "Model version of the service instance", - "type": "string" - }, - "modelName": { - "description": "Name of the service", - "type": "string" - }, - "modelVersion": { - "description": "Version of the service instance", - "type": "string" - } + "description": "This describes the request body for 3gpp service modification" + }, + "3gppServiceActivation": { + "type": "object", + "properties": { + "serviceInstanceID": { + "type": "string", + "description": "ID of the service to be activated/deactivated" + }, + "globalSubscriberId": { + "type": "string" + }, + "subscriptionServiceType": { + "type": "string", + "description": "Service type for the subscription. For E.G :5G" + }, + "networkType": { + "type": "string", + "description": "Network type. For E.G :AN/CN/TN" + }, + "additionalProperties": { + "type": "object", + "properties": {}, + "description": "Map of additional properties required for service activation/deactivation" } }, - "requestParameters": { - "description": "User parameter object", - "type": "object", - "properties": { - "subscriptionServiceType": { - "description": "Type of service subscription", - "type": "string" + "description": "This describes the request body for 3gpp service activation/deactivation" + }, + "QuerySubnetCapability": { + "type": "object", + "properties": { + "subnetTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SubnetTypes" } } }, - "subscriberInfo": { - "description": "Subscriber id information", - "type": "object", - "properties": { - "globalSubscriberId": { - "description": "Id of the subscriber sending the request", - "type": "string" - } + "description": "This describes the subnet capabilities that can be queried" + }, + "SubnetTypes": { + "type": "string", + "description": "This describes allowed subnet types", + "enum": [ + "AN", + "AN_NF", + "CN", + "TN_FH", + "TN_MH", + "TN_BH" + ] + }, + "3gppServiceResponse": { + "type": "object", + "properties": { + "jobId": { + "type": "string", + "description": "Job ID to be used to identify the status of the job" + }, + "status": { + "type": "string", + "description": "status of the job" + }, + "statusDescription": { + "type": "object", + "properties": {}, + "description": "Description on status in case of erroneous response" } }, - "project": { - "description": "Information about the target project name", - "type": "object", - "properties": { - "projectName":{ - "description": "Name of the target project", - "type": "string" + "description": "This describes the response for 3gpp services" + }, + "RetrievingWorkflowResponse": { + "type": "object", + "properties": { + "workflowSpecificationList": { + "type": "array", + "description": "List of Workflow specification data", + "items": { + "$ref": "#/components/schemas/WorkflowSpecification" } } }, - "owningEntity": { - "description": "Object describes the entity details", - "type": "object", - "properties": { - "owningEntityId": { - "description": "Id of the owning Entity", - "type": "string" + "description": "Response body of fetching workflows using resource target" + }, + "WorkflowSpecification": { + "type": "object", + "properties": { + "artifactInfo": { + "type": "object", + "properties": { + "artifactType": { + "type": "string", + "description": "Type of the artifact to be queried" + }, + "artifactUuid": { + "type": "string", + "description": "UUID of the artifact" + }, + "artifactName": { + "type": "string", + "description": "Name of the artifact" + }, + "artifactVersion": { + "type": "string", + "description": "Artifact's Version" + }, + "artifactDescription": { + "type": "string", + "description": "" + }, + "workflowName": { + "type": "string", + "description": "Name of the workflow fetched for the resource type" + }, + "operationName": { + "type": "string", + "description": "Mapped operation name of the corresponding workflow" + }, + "workflowSource": { + "type": "string", + "description": "" + }, + "workflowResourceTarget": { + "type": "string", + "description": "Type of Resource mapped against the workflow" + } }, - "owningEntityName": { - "description": "Name of the owning Entity", - "type": "string" - } + "description": "Attributes related to artifact information " } - } - - } - }, - "PNFCustomWorkflowExecution": { - "description": "This describes the request body of PNF custom workflow execution", - "type": "object", - "properties": { - "requestInfo": { - "description": "Request object contains source information", - "type": "object", - "properties": { - "source": { - "description": "Name of the sender", - "type": "string" + }, + "description": "This describes workflow specification object" + }, + "ServiceLevelWorkflowExecution": { + "type": "object", + "properties": { + "requestInfo": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "Name of the sender" + }, + "suppressRollback": { + "type": "boolean", + "description": "Enable/disable rollback suppression" + }, + "requestorId": { + "type": "string", + "description": "Id of the sender" + } }, - "suppressRollback": { - "description": "Enable/disable rollback suppression", - "type": "boolean" + "description": "Request object contains source information" + }, + "modelInfo": { + "type": "object", + "properties": { + "modelType": { + "type": "string", + "description": "Type of the model to be executed" + }, + "modelInvariantUuid": { + "type": "string", + "description": "Model invariant id corresponding to the service" + }, + "modelUuid": { + "type": "string", + "description": "Model uuid corresponding to the service" + }, + "modelVersionId": { + "type": "string", + "description": "Model version of the service instance" + }, + "modelName": { + "type": "string", + "description": "Name of the service" + }, + "modelVersion": { + "type": "string", + "description": "Version of the service instance" + } }, - "requestorId": { - "description": "Id of the sender", - "type": "string" - } + "description": "Parameters related to the service model" + }, + "requestParameters": { + "type": "object", + "properties": { + "subscriptionServiceType": { + "type": "string", + "description": "Type of service subscription" + } + }, + "description": "User parameter object" + }, + "subscriberInfo": { + "type": "object", + "properties": { + "globalSubscriberId": { + "type": "string", + "description": "Id of the subscriber sending the request" + } + }, + "description": "Subscriber id information" + }, + "project": { + "type": "object", + "properties": { + "projectName": { + "type": "string", + "description": "Name of the target project" + } + }, + "description": "Information about the target project name" + }, + "owningEntity": { + "type": "object", + "properties": { + "owningEntityId": { + "type": "string", + "description": "Id of the owning Entity" + }, + "owningEntityName": { + "type": "string", + "description": "Name of the owning Entity" + } + }, + "description": "Object describes the entity details" } }, - "modelInfo": { - "description": "Parameters related to the service model", - "type": "object", - "properties": { - "modelType": { - "description": "Type of the model to be executed", - "type": "string" + "description": "This describes the request body of service level custom workflow execution" + }, + "PNFCustomWorkflowExecution": { + "type": "object", + "properties": { + "requestInfo": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "Name of the sender" + }, + "suppressRollback": { + "type": "boolean", + "description": "Enable/disable rollback suppression" + }, + "requestorId": { + "type": "string", + "description": "Id of the sender" + } }, - "modelInvariantUuid": { - "description": "Model invariant id corresponding to the service", - "type": "string" + "description": "Request object contains source information" + }, + "modelInfo": { + "type": "object", + "properties": { + "modelType": { + "type": "string", + "description": "Type of the model to be executed" + }, + "modelInvariantUuid": { + "type": "string", + "description": "Model invariant id corresponding to the service" + }, + "modelUuid": { + "type": "string", + "description": "Model uuid corresponding to the service" + }, + "modelVersionId": { + "type": "string", + "description": "Model version of the service instance" + }, + "modelName": { + "type": "string", + "description": "Name of the service" + }, + "modelVersion": { + "type": "string", + "description": "Version of the service instance" + } }, - "modelUuid": { - "description": "Model uuid corresponding to the service", - "type": "string" + "description": "Parameters related to the service model" + }, + "requestParameters": { + "type": "object", + "properties": { + "subscriptionServiceType": { + "type": "string", + "description": "Type of service subscription" + } }, - "modelVersionId": { - "description": "Model version of the service instance", - "type": "string" + "description": "User parameter object" + }, + "subscriberInfo": { + "type": "object", + "properties": { + "globalSubscriberId": { + "type": "string", + "description": "Id of the subscriber sending the request" + } }, - "modelName": { - "description": "Name of the service", - "type": "string" + "description": "Subscriber id information" + }, + "project": { + "type": "object", + "properties": { + "projectName": { + "type": "string", + "description": "Name of the target project" + } }, - "modelVersion": { - "description": "Version of the service instance", - "type": "string" - } - } - }, - "requestParameters": { - "description": "User parameter object", - "type": "object", - "properties": { - "subscriptionServiceType": { - "description": "Type of service subscription", - "type": "string" - } + "description": "Information about the target project name" + }, + "owningEntity": { + "type": "object", + "properties": { + "owningEntityId": { + "type": "string", + "description": "Id of the owning Entity" + }, + "owningEntityName": { + "type": "string", + "description": "Name of the owning Entity" + } + }, + "description": "Object describes the entity details" } }, - "subscriberInfo": { - "description": "Subscriber id information", - "type": "object", - "properties": { - "globalSubscriberId": { - "description": "Id of the subscriber sending the request", - "type": "string" + "description": "This describes the request body of PNF custom workflow execution" + }, + "CreateServiceInstanceParamaters": { + "type": "object", + "properties": { + "requestDetails": { + "type": "object", + "description": "Contains data associated with a request", + "properties": { + "requestParameters": { + "type": "object", + "description": "Contains all the parameters, associated with this request", + "properties": { + "subscriptionServiceType": { + "type": "string", + "description": "Type of service subscriptions of customer resource" + }, + "userParams": { + "type": "array", + "description": "Array of data that contains information about Service", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/CreateServiceInstParamsUserParamsHoming" + }, + { + "$ref": "#/components/schemas/CreateServiceInstParamsUserParamsService" + } + ] + } + }, + "aLaCarte": { + "type": "boolean", + "description": "Enable “A La Carte” mode. In this mode, the user creates and submits operations for each object to be created." + }, + "usePreload": { + "type": "boolean", + "description": "Special value required to use additional Policy settings" + } + } + }, + "modelInfo": { + "type": "object", + "description": "Contains information about the currently used Service Model model", + "properties": { + "modelInvariantId": { + "type": "string", + "description": "Unique identifier corresponding to the main definition of a model in SDC" + }, + "modelType": { + "type": "string", + "description": "Type of service model, created in SDC" + }, + "modelName": { + "type": "string", + "description": "Name of the model, which can change from version to version." + }, + "modelVersion": { + "type": "string", + "description": "Unique identifier corresponding to one version of a model in SDC" + }, + "modelVersionId": { + "type": "string", + "description": "The SDC model version for this resource or service model." + }, + "modelUuid": { + "type": "string", + "description": "Unique identifier corresponding to the main definition of a model in SDC" + }, + "modelInvariantUuid": { + "type": "string", + "description": "Unique identifier corresponding to the main definition of a model in SDC" + } + } + }, + "requestInfo": { + "type": "object", + "description": "Represents some information for the request", + "properties": { + "productFamilyId": { + "type": "string", + "description": "SDC catalog service type" + }, + "source": { + "type": "string", + "description": "Determines only the source from whom the request came" + }, + "instanceName": { + "type": "string", + "description": "Defines the name of the instance to be created" + }, + "suppressRollback": { + "type": "boolean", + "description": "If false – the rollback process will not start if something goes wrong in execution BB. If true - QueryRainyDayTable task will start and make querying policy in table rainy_day_handler_macro" + }, + "requestorId": { + "type": "string", + "description": "User Id or Application Id, initiating the Assessment" + } + } + }, + "subscriberInfo": { + "type": "object", + "description": "Represents the object that groups service instances used by a customer", + "properties": { + "globalSubscriberId": { + "type": "string", + "description": "Global Subscriber Id used across ONAP to uniquely identify subscriber." + } + } + }, + "project": { + "type": "object", + "description": "Represents the project, which will own the service instance", + "properties": { + "projectName": { + "type": "string", + "description": "Name of the project deploying a service" + } + } + }, + "owningEntity": { + "type": "object", + "description": "Represents the entity, which will own the service instance", + "properties": { + "owningEntityId": { + "type": "string", + "description": "UUID of an owning entity" + }, + "owningEntityName": { + "type": "string", + "description": "Owning entity name" + } + } + } } } - }, - "project": { - "description": "Information about the target project name", - "type": "object", - "properties": { - "projectName":{ - "description": "Name of the target project", - "type": "string" + } + }, + "CreateServiceInstParamsUserParamsHoming": { + "allOf": [ + { + "type": "object", + "properties": { + "Homing_Solution": { + "type": "string", + "description": "Switches on an optimization service to deploy services automatically across multiple sites and multiple clouds" + } } } - }, - "owningEntity": { - "description": "Object describes the entity details", - "type": "object", - "properties": { - "owningEntityId": { - "description": "Id of the owning Entity", - "type": "string" - }, - "owningEntityName": { - "description": "Name of the owning Entity", - "type": "string" + ] + }, + "CreateServiceInstParamsUserParamsService": { + "allOf": [ + { + "type": "object", + "properties": { + "service": { + "type": "object", + "description": "Includes information about all created instances", + "properties": { + "instanceParams": { + "type": "array", + "description": "Includes a set of specific parameters", + "items": { + "type": "object", + "properties": {} + } + }, + "instanceName": { + "type": "string", + "description": "Defines the name of the instance to be created" + }, + "resources": { + "type": "object", + "properties": { + "vnfs": { + "type": "array", + "description": "Contains information about VNF parameters", + "items": { + "type": "object", + "properties": { + "modelInfo": { + "type": "object", + "description": "Contains information about the currently used Service Model model", + "properties": { + "modelInvariantId": { + "type": "string", + "description": "Unique identifier corresponding to the main definition of a model in SDC" + }, + "modelType": { + "type": "string", + "description": "Type of Service Model, created in SDC" + }, + "modelName": { + "type": "string", + "description": "Name of the model, which can change from version to version." + }, + "modelVersion": { + "type": "string", + "description": "Unique identifier corresponding to one version of a model in SDC" + }, + "modelVersionId": { + "type": "string", + "description": "The SDC model version for this resource or service model." + }, + "modelUuid": { + "type": "string", + "description": "Unique identifier corresponding to the main definition of a model in SDC" + }, + "modelInvariantUuid": { + "type": "string", + "description": "Unique identifier corresponding to the main definition of a model in SDC" + } + } + }, + "cloudConfiguration": { + "type": "object", + "properties": { + "cloudOwner": { + "type": "string", + "description": "Identifies the vendor and cloud name. First part of composite key should be formatted as vendor-cloudname" + }, + "lcpCloudRegionId": { + "type": "string", + "description": "Cloud-owner defined type indicator (Openstack region)" + }, + "tenantId": { + "type": "string", + "description": "Unique id relative to the cloud-region." + } + } + }, + "platform": { + "type": "object", + "description": "Represents the platform, on which the VNFs/CNFs will run", + "properties": { + "platformName": { + "type": "string", + "description": "Name of the platform" + } + } + }, + "lineOfBusiness": { + "type": "object", + "description": "Represents the business line, owns the VNFs/CNFs instances", + "properties": { + "lineOfBusinessName": { + "type": "string", + "description": "Name of the line-of-business (product)" + } + } + }, + "productFamilyId": { + "type": "string", + "description": "Define SDC catalog service type" + }, + "instanceName": { + "type": "string", + "description": "Defines the name of the instance to be created" + }, + "instanceParams": { + "type": "array", + "description": "Includes a set of specific parameters of instance", + "items": { + "type": "object", + "properties": {} + } + }, + "vfModules": { + "type": "array", + "description": "Сontains a set of parameters of VF Modules", + "items": { + "type": "object", + "properties": { + "modelInfo": { + "type": "object", + "description": "Contains information about the currently used Service Model model", + "properties": { + "modelInvariantId": { + "type": "string", + "description": "Unique identifier corresponding to the main definition of a model in SDC" + }, + "modelType": { + "type": "string", + "description": "Type of service model, created in SDC" + }, + "modelName": { + "type": "string", + "description": "Name of the model, which can change from version to version." + }, + "modelVersion": { + "type": "string", + "description": "Unique identifier corresponding to one version of a model in SDC" + }, + "modelVersionId": { + "type": "string", + "description": "The SDC model version for this resource or service model." + }, + "modelUuid": { + "type": "string", + "description": "Unique identifier corresponding to the main definition of a model in SDC" + }, + "modelInvariantUuid": { + "type": "string", + "description": "Unique identifier corresponding to the main definition of a model in SDC" + } + } + }, + "instanceName": { + "type": "string", + "description": "Defines the name of the instance to be created" + }, + "instanceParams": { + "type": "array", + "description": "Includes a set of specific parameters", + "items": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + }, + "modelInfo": { + "type": "object", + "description": "Contains information about the currently used Service Model model", + "properties": { + "modelName": { + "type": "string", + "description": "Name of the model, which can change from version to version." + }, + "modelVersionId": { + "type": "string", + "description": "Unique identifier corresponding to one version of a model in SDC" + }, + "modelInvariantUuid": { + "type": "string", + "description": "Unique identifier corresponding to the main definition of a model in SDC" + }, + "modelVersion": { + "type": "string", + "description": "The SDC model version for this resource or service model." + }, + "modelCustomizationId": { + "type": "string", + "description": "Unique generated identifier of a model in SDC" + } + } + } + } + } } } - } - + ] } } } |