@itentialopensource/adapter-onap_sdc
Version:
This adapter integrates with system described as: onap_sdc.
193 lines • 5.66 kB
JSON
{
"actions": [
{
"name": "uploadArtifact",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/v1/catalog/{pathv1}/{pathv2}/artifacts?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/uploadArtifact-default.json"
}
]
},
{
"name": "downloadComponentArtifact",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/v1/catalog/{pathv1}/{pathv2}/artifacts/{pathv3}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "updateArtifact",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/v1/catalog/{pathv1}/{pathv2}/artifacts/{pathv3}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/updateArtifact-default.json"
}
]
},
{
"name": "deleteArtifact",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/v1/catalog/{pathv1}/{pathv2}/artifacts/{pathv3}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/deleteArtifact-default.json"
}
]
},
{
"name": "uploadArtifactToInstance",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/v1/catalog/{pathv1}/{pathv2}/resourceInstances/{pathv3}/artifacts?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/uploadArtifactToInstance-default.json"
}
]
},
{
"name": "downloadResourceInstanceArtifact",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/v1/catalog/{pathv1}/{pathv2}/resourceInstances/{pathv3}/artifacts/{pathv4}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "updateArtifactOnResourceInstance",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/v1/catalog/{pathv1}/{pathv2}/resourceInstances/{pathv3}/artifacts/{pathv4}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/updateArtifactOnResourceInstance-default.json"
}
]
},
{
"name": "deleteArtifactOnResourceInstance",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/v1/catalog/{pathv1}/{pathv2}/resourceInstances/{pathv3}/artifacts/{pathv4}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/deleteArtifactOnResourceInstance-default.json"
}
]
},
{
"name": "uploadInterfaceOperationArtifact",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/v1/catalog/resources/{pathv1}/interfaces/{pathv2}/artifacts/{pathv3}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/uploadInterfaceOperationArtifact-default.json"
}
]
}
]
}