@itentialopensource/adapter-onap_appc
Version:
This adapter integrates with system: sample.
1,147 lines • 32.8 kB
JSON
{
"openapi": "3.1.0",
"info": {
"title": "",
"version": "1.0.0"
},
"paths": {
"/restconf/operations/appc-provider-lcm:health-check": {
"post": {
"tags": [
"Restconf"
],
"operationId": "healthCheckAppc",
"description": "The parameters and request body are for method: healthCheckAppc. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"identifier": {
"type": "string"
},
"state": {
"type": "string"
},
"time": {
"type": "string"
}
}
},
"example": {
"identifier": "scope represented",
"state": "healthy",
"time": "01-01-1000:0000"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:config-modify": {
"post": {
"tags": [
"Restconf"
],
"operationId": "configModify",
"description": "The parameters and request body are for method: configModify. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"input": {
"type": "object",
"properties": {
"common-header": {
"type": "object",
"properties": {
"timestamp": {
"type": "string"
},
"api-ver": {
"type": "string"
},
"originator-id": {
"type": "string"
},
"request-id": {
"type": "string"
},
"sub-request-id": {
"type": "string"
},
"flags": {
"type": "object",
"properties": {
"force": {
"type": "string"
},
"ttl": {
"type": "number"
}
}
}
}
},
"action": {
"type": "string"
},
"action-identifiers": {
"type": "object",
"properties": {
"vnf-id": {
"type": "string"
}
}
},
"payload": {
"type": "object",
"properties": {
"config-url": {
"type": "string"
},
"config-json": {
"type": "object",
"properties": {
"pg-streams": {
"type": "object",
"properties": {
"pg-stream": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"is-enabled": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}
},
"example": {
"input": {
"common-header": {
"timestamp": "2017-10-25T11:10:04.244Z",
"api-ver": "2.00",
"originator-id": "664be3d2-6c12-4f4b-a3e7-c349acced200",
"request-id": "664be3d2-6c12-4f4b-a3e7-c349acced200",
"sub-request-id": "1",
"flags": {
"force": "TRUE",
"ttl": 60000
}
},
"action": "ConfigModify",
"action-identifiers": {
"vnf-id": "<VNF_ID>"
},
"payload": {
"config-url": "5f517fd4-bf3d-43bc-8147-1b61776d7ded",
"config-json": {
"pg-streams": {
"pg-stream": [
{
"id": "fw_udp1",
"is-enabled": "true"
},
{
"id": "fw_udp2",
"is-enabled": "true"
},
{
"id": "fw_udp3",
"is-enabled": "true"
},
{
"id": "fw_udp4",
"is-enabled": "true"
},
{
"id": "fw_udp5",
"is-enabled": "true"
}
]
}
}
}
}
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:configure": {
"post": {
"tags": [
"Restconf"
],
"operationId": "configure",
"description": "The parameters and request body are for method: configure. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:config-scale-out": {
"post": {
"tags": [
"Restconf"
],
"operationId": "configScaleOut",
"description": "The parameters and request body are for method: configScaleOut. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:action-status": {
"post": {
"tags": [
"Restconf"
],
"operationId": "actionStatus",
"description": "The parameters and request body are for method: actionStatus. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:attach-volume": {
"post": {
"tags": [
"Restconf"
],
"operationId": "attachVolume",
"description": "The parameters and request body are for method: attachVolume. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:audit": {
"post": {
"tags": [
"Restconf"
],
"operationId": "audit",
"description": "The parameters and request body are for method: audit. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:checklock": {
"post": {
"tags": [
"Restconf"
],
"operationId": "checkLock",
"description": "The parameters and request body are for method: checkLock. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:config-backup": {
"post": {
"tags": [
"Restconf"
],
"operationId": "configBackup",
"description": "The parameters and request body are for method: configBackup. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:config-restore": {
"post": {
"tags": [
"Restconf"
],
"operationId": "configRestore",
"description": "The parameters and request body are for method: configRestore. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:detach-volume": {
"post": {
"tags": [
"Restconf"
],
"operationId": "detachVolume",
"description": "The parameters and request body are for method: detachVolume. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:evacuate": {
"post": {
"tags": [
"Restconf"
],
"operationId": "evacuate",
"description": "The parameters and request body are for method: evacuate. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:lock": {
"post": {
"tags": [
"Restconf"
],
"operationId": "lock",
"description": "The parameters and request body are for method: lock. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:migrate": {
"post": {
"tags": [
"Restconf"
],
"operationId": "migrate",
"description": "The parameters and request body are for method: migrate. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:quiesce-traffic": {
"post": {
"tags": [
"Restconf"
],
"operationId": "quiesceTraffic",
"description": "The parameters and request body are for method: quiesceTraffic. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:reboot": {
"post": {
"tags": [
"Restconf"
],
"operationId": "reboot",
"description": "The parameters and request body are for method: reboot. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:rebuild": {
"post": {
"tags": [
"Restconf"
],
"operationId": "rebuild",
"description": "The parameters and request body are for method: rebuild. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:restart": {
"post": {
"tags": [
"Restconf"
],
"operationId": "restart",
"description": "The parameters and request body are for method: restart. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:resume-traffic": {
"post": {
"tags": [
"Restconf"
],
"operationId": "resumeTraffic",
"description": "The parameters and request body are for method: resumeTraffic. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:snapshot": {
"post": {
"tags": [
"Restconf"
],
"operationId": "snapshot",
"description": "The parameters and request body are for method: snapshot. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:start": {
"post": {
"tags": [
"Restconf"
],
"operationId": "start",
"description": "The parameters and request body are for method: start. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:start-application": {
"post": {
"tags": [
"Restconf"
],
"operationId": "startApplication",
"description": "The parameters and request body are for method: startApplication. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:stop": {
"post": {
"tags": [
"Restconf"
],
"operationId": "stop",
"description": "The parameters and request body are for method: stop. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:stop-application": {
"post": {
"tags": [
"Restconf"
],
"operationId": "stopApplication",
"description": "The parameters and request body are for method: stopApplication. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:sync": {
"post": {
"tags": [
"Restconf"
],
"operationId": "sync",
"description": "The parameters and request body are for method: sync. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:unlock": {
"post": {
"tags": [
"Restconf"
],
"operationId": "unlock",
"description": "The parameters and request body are for method: unlock. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:upgrade-backout": {
"post": {
"tags": [
"Restconf"
],
"operationId": "upgradeBackout",
"description": "The parameters and request body are for method: upgradeBackout. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:upgrade-backup": {
"post": {
"tags": [
"Restconf"
],
"operationId": "upgradeBackup",
"description": "The parameters and request body are for method: upgradeBackup. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:upgrade-post-check": {
"post": {
"tags": [
"Restconf"
],
"operationId": "upgradePostCheck",
"description": "The parameters and request body are for method: upgradePostCheck. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:upgrade-pre-check": {
"post": {
"tags": [
"Restconf"
],
"operationId": "upgradePreCheck",
"description": "The parameters and request body are for method: upgradePreCheck. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/restconf/operations/appc-provider-lcm:upgrade-software": {
"post": {
"tags": [
"Restconf"
],
"operationId": "upgradeSoftware",
"description": "The parameters and request body are for method: upgradeSoftware. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
}
},
"components": {
"schemas": {}
}
}