diff options
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-deactivate.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-deactivate.json | 310 |
1 files changed, 310 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-deactivate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-deactivate.json new file mode 100644 index 00000000..11eb0b77 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-deactivate.json @@ -0,0 +1,310 @@ +[ + { + "id": "eccff5d7.133008", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 197.57144165039062, + "y": 164.71429443359375, + "z": "ff7b9140.00847", + "wires": [ + [ + "6e5507cf.91aaf8" + ] + ] + }, + { + "id": "6e5507cf.91aaf8", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>", + "outputs": 1, + "x": 458.5714416503906, + "y": 235.71429443359375, + "z": "ff7b9140.00847", + "wires": [ + [ + "794cc996.86b338" + ] + ] + }, + { + "id": "794cc996.86b338", + "type": "method", + "name": "method network-topology-operation-deactivate", + "xml": "<method rpc='network-topology-operation-deactivate' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 348.5714416503906, + "y": 320.71429443359375, + "z": "ff7b9140.00847", + "wires": [ + [ + "27ce9933.d83166" + ] + ] + }, + { + "id": "27ce9933.d83166", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 647.5714416503906, + "y": 314.71429443359375, + "z": "ff7b9140.00847", + "wires": [ + [ + "8fe3f7a2.701c08", + "f07d07dd.0f82f8", + "52830e26.ad7cf", + "5dce8f7d.a2317", + "b970ed31.468f1", + "b9373240.46c8d", + "95a62a7c.6a59d8" + ] + ] + }, + { + "id": "8fe3f7a2.701c08", + "type": "call", + "name": "call GENERIC-RESOURCE-API:validate-network-input-parameters", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 1018.5714416503906, + "y": 189.71429443359375, + "z": "ff7b9140.00847", + "wires": [ + [] + ] + }, + { + "id": "f07d07dd.0f82f8", + "type": "get-resource", + "name": "get-resource l3-dci-connects", + "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-dci-connects\" \n\t\tkey=\"l3-dci-connects.id AND depth = '1'\"\n pfx='tmp.aai.l3-dci-connects' local-only='false' >\n", + "comments": "", + "outputs": 1, + "x": 905.5714416503906, + "y": 291.71429443359375, + "z": "ff7b9140.00847", + "wires": [ + [ + "ab4b1556.54b4e8", + "5e6324b6.a19cdc", + "cfaa7aaf.305588" + ] + ] + }, + { + "id": "ab4b1556.54b4e8", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1154.5714416503906, + "y": 255.71429443359375, + "z": "ff7b9140.00847", + "wires": [ + [ + "d103d67c.2efc28" + ] + ] + }, + { + "id": "5e6324b6.a19cdc", + "type": "not-found", + "name": "not-found", + "xml": "<outcome value='not-found'>\n", + "comments": "", + "outputs": 1, + "x": 1161.5714416503906, + "y": 293.71429443359375, + "z": "ff7b9140.00847", + "wires": [ + [ + "da6bfe10.2594" + ] + ] + }, + { + "id": "cfaa7aaf.305588", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1153.5714416503906, + "y": 335.71429443359375, + "z": "ff7b9140.00847", + "wires": [ + [ + "557aad8d.aa8554" + ] + ] + }, + { + "id": "d103d67c.2efc28", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1319.5714416503906, + "y": 244.71429443359375, + "z": "ff7b9140.00847", + "wires": [ + [] + ] + }, + { + "id": "da6bfe10.2594", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n", + "comments": "", + "x": 1318.5714416503906, + "y": 297.71429443359375, + "z": "ff7b9140.00847", + "wires": [] + }, + { + "id": "557aad8d.aa8554", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n", + "comments": "", + "x": 1311.5714416503906, + "y": 344.71429443359375, + "z": "ff7b9140.00847", + "wires": [] + }, + { + "id": "52830e26.ad7cf", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"Time\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"Method\" value=\"network-topology-operation-deactivate\"/>\n<parameter name=\"SubMethod\" value=\"l3-dci-connects\"/>\n<parameter name=\"L3DciConnectsId\" value=\"`$l3-dci-connects.id`\"/>\n", + "comments": "", + "outputs": 1, + "x": 843.5714416503906, + "y": 355.71429443359375, + "z": "ff7b9140.00847", + "wires": [ + [] + ] + }, + { + "id": "5dce8f7d.a2317", + "type": "set", + "name": "set controller data", + "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.serviceUrl`\" />\n<parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.password`\" />\n\n", + "comments": "", + "x": 876.5714416503906, + "y": 416.71429443359375, + "z": "ff7b9140.00847", + "wires": [] + }, + { + "id": "b9373240.46c8d", + "type": "execute", + "name": "execute RestApiCallNode Deactivate Vxlan Tunnel", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url + '/v2.0/l3-dci-connects/' + $prop.l3-dci-connects.id\"/>\n<parameter name=\"restapiUser\" value=\"$prop.sdncRestApi.thirdpartySdnc.user\"/>\n<parameter name=\"restapiPassword\" value=\"$prop.sdncRestApi.thirdpartySdnc.password\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n", + "comments": "", + "outputs": 1, + "x": 986.5714416503906, + "y": 587.7142944335938, + "z": "ff7b9140.00847", + "wires": [ + [] + ] + }, + { + "id": "b970ed31.468f1", + "type": "switchNode", + "name": "switch id is null", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.l3-dci-connects.id`\">\n", + "comments": "", + "outputs": 1, + "x": 866.5714416503906, + "y": 473.71429443359375, + "z": "ff7b9140.00847", + "wires": [ + [ + "8114f571.7eeb08", + "3c8b92a1.c3746e" + ] + ] + }, + { + "id": "8114f571.7eeb08", + "type": "outcome", + "name": "outcome null", + "xml": "<outcome value=''>\n", + "comments": "", + "outputs": 1, + "x": 1040.5714416503906, + "y": 474.71429443359375, + "z": "ff7b9140.00847", + "wires": [ + [ + "219cc125.de633e" + ] + ] + }, + { + "id": "219cc125.de633e", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n", + "comments": "", + "x": 1211.5714416503906, + "y": 471.71429443359375, + "z": "ff7b9140.00847", + "wires": [] + }, + { + "id": "3c8b92a1.c3746e", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1019.5714416503906, + "y": 523.7142944335938, + "z": "ff7b9140.00847", + "wires": [ + [ + "ef920fd.f106df" + ] + ] + }, + { + "id": "ef920fd.f106df", + "type": "set", + "name": "set id", + "xml": "<set>\n<parametername='prop.l3-dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.l3-dci-connects.id.value`' />\n", + "comments": "", + "x": 1196.5714416503906, + "y": 518.7142944335938, + "z": "ff7b9140.00847", + "wires": [] + }, + { + "id": "95a62a7c.6a59d8", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n", + "comments": "", + "x": 872.5714416503906, + "y": 655.7142944335938, + "z": "ff7b9140.00847", + "wires": [] + } +]
\ No newline at end of file |