@itentialopensource/adapter-eai
Version:
Itential Ericsson Adaptive Inventory Adapter
182 lines • 4.93 kB
JSON
{
"actions": [
{
"name": "getPorts",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/oci/port/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "withpathv1",
"key": "",
"mockFile": "mockdatafiles/getSinglePort.json"
},
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getMultiplePorts.json"
}
]
},
{
"name": "createPort",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/oci/port?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createPort.json"
}
]
},
{
"name": "updatePort",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/oci/port/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/updatePort.json"
}
]
},
{
"name": "deletePort",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/oci/port/{pathv1}/cascadeDelete?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/deletePort.json"
}
]
},
{
"name": "getPortTemplates",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/oci/porttemplate/{pathv1}?{query}",
"requestSchema": "templateschema.json",
"responseSchema": "templateschema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "withpathv1",
"key": "",
"mockFile": "mockdatafiles/getSinglePortTemplate.json"
},
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getMultiplePortTemplates.json"
}
]
},
{
"name": "createPortTemplate",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/oci/porttemplate?{query}",
"requestSchema": "templateschema.json",
"responseSchema": "templateschema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createPortTemplate.json"
}
]
},
{
"name": "updatePortTemplate",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/oci/porttemplate/{pathv1}?{query}",
"requestSchema": "templateschema.json",
"responseSchema": "templateschema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/updatePortTemplate.json"
}
]
},
{
"name": "deletePortTemplate",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/oci/porttemplate/{pathv1}?{query}",
"requestSchema": "templateschema.json",
"responseSchema": "templateschema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/deletePortTemplate.json"
}
]
}
]
}