UNPKG

@itentialopensource/adapter-onap_dcae

Version:

This adapter integrates with system described as: onap_dcae.

1,413 lines (1,412 loc) 124 kB
{ "openapi": "3.1.0", "info": { "title": "", "version": "1.0.0" }, "paths": { "/dcae-service-types": { "get": { "tags": [ "DcaeServiceTypes" ], "operationId": "dcaeServiceTypesGet", "description": "The parameters and request body are for method: dcaeServiceTypesGet. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "links": { "type": "object", "properties": { "previousLink": { "type": "object", "properties": { "title": { "type": "string" }, "rel": { "type": "string" }, "uri": { "type": "string" }, "uriBuilder": { "type": "object" }, "rels": { "type": "array", "items": { "type": "string" } }, "params": { "type": "object" }, "type": { "type": "string" } } }, "nextLink": { "type": "object", "properties": { "title": { "type": "string" }, "rel": { "type": "string" }, "uri": { "type": "string" }, "uriBuilder": { "type": "object" }, "rels": { "type": "array", "items": { "type": "string" } }, "params": { "type": "object" }, "type": { "type": "string" } } } } }, "totalCount": { "type": "number" }, "items": { "type": "array", "items": { "type": "object", "properties": { "owner": { "type": "string" }, "typeName": { "type": "string" }, "typeVersion": { "type": "number" }, "blueprintTemplate": { "type": "string" }, "serviceIds": { "type": "array", "items": { "type": "string" } }, "vnfTypes": { "type": "array", "items": { "type": "string" } }, "serviceLocations": { "type": "array", "items": { "type": "string" } }, "asdcServiceId": { "type": "string" }, "asdcResourceId": { "type": "string" }, "asdcServiceURL": { "type": "string" }, "typeId": { "type": "string" }, "selfLink": { "type": "object", "properties": { "title": { "type": "string" }, "rel": { "type": "string" }, "uri": { "type": "string" }, "uriBuilder": { "type": "object" }, "rels": { "type": "array", "items": { "type": "string" } }, "params": { "type": "object" }, "type": { "type": "string" } } }, "created": { "type": "string" }, "deactivated": { "type": "string" } } } } } }, "example": { "links": { "previousLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string" ], "params": {}, "type": "string" }, "nextLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string", "string", "string", "string", "string", "string" ], "params": {}, "type": "string" } }, "totalCount": 6, "items": [ { "owner": "string", "typeName": "string", "typeVersion": 5, "blueprintTemplate": "string", "serviceIds": [ "string", "string", "string", "string", "string", "string", "string" ], "vnfTypes": [ "string", "string", "string" ], "serviceLocations": [ "string", "string", "string", "string", "string" ], "asdcServiceId": "string", "asdcResourceId": "string", "asdcServiceURL": "string", "typeId": "string", "selfLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string", "string", "string", "string", "string", "string", "string", "string" ], "params": {}, "type": "string" }, "created": "string", "deactivated": "string" }, { "owner": "string", "typeName": "string", "typeVersion": 7, "blueprintTemplate": "string", "serviceIds": [ "string", "string", "string", "string", "string", "string", "string", "string", "string" ], "vnfTypes": [ "string", "string", "string", "string", "string", "string", "string", "string" ], "serviceLocations": [ "string", "string", "string", "string", "string", "string", "string" ], "asdcServiceId": "string", "asdcResourceId": "string", "asdcServiceURL": "string", "typeId": "string", "selfLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string", "string", "string", "string", "string" ], "params": {}, "type": "string" }, "created": "string", "deactivated": "string" } ] } } } } }, "parameters": [ { "name": "typeName", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "onlyLatest", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "onlyActive", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "vnfType", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "serviceId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "serviceLocation", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "asdcServiceId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "asdcResourceId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "offset", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "post": { "tags": [ "DcaeServiceTypes" ], "operationId": "dcaeServiceTypesTypeNamePut", "description": "The parameters and request body are for method: dcaeServiceTypesTypeNamePut. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "owner": { "type": "string" }, "typeName": { "type": "string" }, "typeVersion": { "type": "number" }, "blueprintTemplate": { "type": "string" }, "serviceIds": { "type": "array", "items": { "type": "string" } }, "vnfTypes": { "type": "array", "items": { "type": "string" } }, "serviceLocations": { "type": "array", "items": { "type": "string" } }, "asdcServiceId": { "type": "string" }, "asdcResourceId": { "type": "string" }, "asdcServiceURL": { "type": "string" }, "typeId": { "type": "string" }, "selfLink": { "type": "object", "properties": { "title": { "type": "string" }, "rel": { "type": "string" }, "uri": { "type": "string" }, "uriBuilder": { "type": "object" }, "rels": { "type": "array", "items": { "type": "string" } }, "params": { "type": "object" }, "type": { "type": "string" } } }, "created": { "type": "string" }, "deactivated": { "type": "string" } } }, "example": { "owner": "string", "typeName": "string", "typeVersion": 3, "blueprintTemplate": "string", "serviceIds": [ "string", "string", "string", "string", "string", "string", "string", "string" ], "vnfTypes": [ "string", "string", "string", "string", "string", "string" ], "serviceLocations": [ "string", "string", "string", "string", "string", "string", "string", "string" ], "asdcServiceId": "string", "asdcResourceId": "string", "asdcServiceURL": "string", "typeId": "string", "selfLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string", "string", "string", "string" ], "params": {}, "type": "string" }, "created": "string", "deactivated": "string" } } } } }, "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/dcae-service-types/{typeId}": { "get": { "tags": [ "DcaeServiceTypes" ], "operationId": "dcaeServiceTypesTypeIdGet", "description": "The parameters and request body are for method: dcaeServiceTypesTypeIdGet. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "owner": { "type": "string" }, "typeName": { "type": "string" }, "typeVersion": { "type": "number" }, "blueprintTemplate": { "type": "string" }, "serviceIds": { "type": "array", "items": { "type": "string" } }, "vnfTypes": { "type": "array", "items": { "type": "string" } }, "serviceLocations": { "type": "array", "items": { "type": "string" } }, "asdcServiceId": { "type": "string" }, "asdcResourceId": { "type": "string" }, "asdcServiceURL": { "type": "string" }, "typeId": { "type": "string" }, "selfLink": { "type": "object", "properties": { "title": { "type": "string" }, "rel": { "type": "string" }, "uri": { "type": "string" }, "uriBuilder": { "type": "object" }, "rels": { "type": "array", "items": { "type": "string" } }, "params": { "type": "object" }, "type": { "type": "string" } } }, "created": { "type": "string" }, "deactivated": { "type": "string" } } }, "example": { "owner": "string", "typeName": "string", "typeVersion": 5, "blueprintTemplate": "string", "serviceIds": [ "string", "string", "string", "string", "string" ], "vnfTypes": [ "string", "string", "string", "string" ], "serviceLocations": [ "string", "string", "string", "string", "string", "string", "string", "string", "string" ], "asdcServiceId": "string", "asdcResourceId": "string", "asdcServiceURL": "string", "typeId": "string", "selfLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string", "string", "string", "string" ], "params": {}, "type": "string" }, "created": "string", "deactivated": "string" } } } } }, "parameters": [ { "name": "typeId", "in": "path", "required": true, "schema": { "title": "typeId", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "delete": { "tags": [ "DcaeServiceTypes" ], "operationId": "dcaeServiceTypesTypeIdDelete", "description": "The parameters and request body are for method: dcaeServiceTypesTypeIdDelete. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "code": { "type": "number" }, "type": { "type": "string" }, "message": { "type": "string" } } }, "example": { "code": 6, "type": "string", "message": "string" } } } } }, "parameters": [ { "name": "typeId", "in": "path", "required": true, "schema": { "title": "typeId", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/dcae-services": { "get": { "tags": [ "DcaeServices" ], "operationId": "dcaeServicesGet", "description": "The parameters and request body are for method: dcaeServicesGet. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "links": { "type": "object", "properties": { "previousLink": { "type": "object", "properties": { "title": { "type": "string" }, "rel": { "type": "string" }, "uri": { "type": "string" }, "uriBuilder": { "type": "object" }, "rels": { "type": "array", "items": { "type": "string" } }, "params": { "type": "object" }, "type": { "type": "string" } } }, "nextLink": { "type": "object", "properties": { "title": { "type": "string" }, "rel": { "type": "string" }, "uri": { "type": "string" }, "uriBuilder": { "type": "object" }, "rels": { "type": "array", "items": { "type": "string" } }, "params": { "type": "object" }, "type": { "type": "string" } } } } }, "totalCount": { "type": "number" }, "items": { "type": "array", "items": { "type": "object", "properties": { "serviceId": { "type": "string" }, "selfLink": { "type": "object", "properties": { "title": { "type": "string" }, "rel": { "type": "string" }, "uri": { "type": "string" }, "uriBuilder": { "type": "object" }, "rels": { "type": "array", "items": { "type": "string" } }, "params": { "type": "object" }, "type": { "type": "string" } } }, "created": { "type": "string" }, "modified": { "type": "string" }, "typeLink": { "type": "object", "properties": { "title": { "type": "string" }, "rel": { "type": "string" }, "uri": { "type": "string" }, "uriBuilder": { "type": "object" }, "rels": { "type": "array", "items": { "type": "string" } }, "params": { "type": "object" }, "type": { "type": "string" } } }, "vnfId": { "type": "string" }, "vnfLink": { "type": "object", "properties": { "title": { "type": "string" }, "rel": { "type": "string" }, "uri": { "type": "string" }, "uriBuilder": { "type": "object" }, "rels": { "type": "array", "items": { "type": "string" } }, "params": { "type": "object" }, "type": { "type": "string" } } }, "vnfType": { "type": "string" }, "vnfLocation": { "type": "string" }, "deploymentRef": { "type": "string" }, "components": { "type": "array", "items": { "type": "object", "properties": { "componentId": { "type": "string" }, "componentLink": { "type": "object", "properties": { "title": { "type": "string" }, "rel": { "type": "string" }, "uri": { "type": "string" }, "uriBuilder": { "type": "object" }, "rels": { "type": "array", "items": { "type": "string" } }, "params": { "type": "object" }, "type": { "type": "string" } } }, "created": { "type": "string" }, "modified": { "type": "string" }, "componentType": { "type": "string" }, "componentSource": { "type": "string" }, "status": { "type": "string" }, "location": { "type": "string" }, "shareable": { "type": "number" } } } } } } } } }, "example": { "links": { "previousLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string", "string", "string", "string", "string", "string", "string", "string" ], "params": {}, "type": "string" }, "nextLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string", "string", "string", "string", "string", "string" ], "params": {}, "type": "string" } }, "totalCount": 2, "items": [ { "serviceId": "string", "selfLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string" ], "params": {}, "type": "string" }, "created": "string", "modified": "string", "typeLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string", "string", "string", "string", "string" ], "params": {}, "type": "string" }, "vnfId": "string", "vnfLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string", "string", "string", "string", "string" ], "params": {}, "type": "string" }, "vnfType": "string", "vnfLocation": "string", "deploymentRef": "string", "components": [ { "componentId": "string", "componentLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string", "string", "string", "string", "string" ], "params": {}, "type": "string" }, "created": "string", "modified": "string", "componentType": "string", "componentSource": "DCAEController", "status": "string", "location": "string", "shareable": 9 }, { "componentId": "string", "componentLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string" ], "params": {}, "type": "string" }, "created": "string", "modified": "string", "componentType": "string", "componentSource": "DMaaPController", "status": "string", "location": "string", "shareable": 5 }, { "componentId": "string", "componentLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string" ], "params": {}, "type": "string" }, "created": "string", "modified": "string", "componentType": "string", "componentSource": "DMaaPController", "status": "string", "location": "string", "shareable": 10 }, { "componentId": "string", "componentLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string", "string", "string", "string", "string", "string", "string", "string" ], "params": {}, "type": "string" }, "created": "string", "modified": "string", "componentType": "string", "componentSource": "DMaaPController", "status": "string", "location": "string", "shareable": 2 }, { "componentId": "string", "componentLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string" ], "params": {}, "type": "string" }, "created": "string", "modified": "string", "componentType": "string", "componentSource": "DCAEController", "status": "string", "location": "string", "shareable": 8 }, { "componentId": "string", "componentLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string", "string", "string", "string", "string", "string" ], "params": {}, "type": "string" }, "created": "string", "modified": "string", "componentType": "string", "componentSource": "DCAEController", "status": "string", "location": "string", "shareable": 1 }, { "componentId": "string", "componentLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string" ], "params": {}, "type": "string" }, "created": "string", "modified": "string", "componentType": "string", "componentSource": "DCAEController", "status": "string", "location": "string", "shareable": 4 } ] }, { "serviceId": "string", "selfLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string", "string", "string", "string", "string", "string", "string", "string" ], "params": {}, "type": "string" }, "created": "string", "modified": "string", "typeLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string" ], "params": {}, "type": "string" }, "vnfId": "string", "vnfLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string", "string", "string", "string" ], "params": {}, "type": "string" }, "vnfType": "string", "vnfLocation": "string", "deploymentRef": "string", "components": [ { "componentId": "string", "componentLink": { "title": "string", "rel": "string", "uri": "string", "uriBuilder": {}, "rels": [ "string" ], "params": {}, "type": "string" }, "created": "string", "modified": "string", "componentType": "string", "componentSource": "DCAEController", "status": "string", "location": "string",