--- /dev/null
+[
+ {
+ "id": "9a85f16b.d93cd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1144,
+ "y": 667.2234153747559,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "97b09ce.37e6a6",
+ "3e48845d.1dee8c",
+ "7a75947e.dc19cc"
+ ]
+ ]
+ },
+ {
+ "id": "97b09ce.37e6a6",
+ "type": "set",
+ "name": "Set final indicator to Y",
+ "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1376.1924362182617,
+ "y": 716.0835227966309,
+ "z": "78f26cc2.346884",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3e48845d.1dee8c",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n\t<parameter name=\"networkId\" value=\"`$tmp.AnAI.l3network.network-id`\" />\n\t<parameter name=\"error-code\" value=\"200\" />",
+ "comments": "",
+ "x": 1355.73929977417,
+ "y": 766.4465789794922,
+ "z": "78f26cc2.346884",
+ "wires": []
+ },
+ {
+ "id": "7a75947e.dc19cc",
+ "type": "delete",
+ "name": "delete AnAI - l3-network",
+ "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1381.7546920776367,
+ "y": 668.0158958435059,
+ "z": "78f26cc2.346884",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6426b1cc.4346d",
+ "type": "switchNode",
+ "name": "switch: INPUT network-id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-information.network-id`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 262.6510238647461,
+ "y": 236.66913223266602,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "9751ef82.d9c77",
+ "bf204584.cdc938",
+ "1b3cf9d1.1a1ed6"
+ ]
+ ]
+ },
+ {
+ "id": "7698e3d.ad1ef1c",
+ "type": "switchNode",
+ "name": "switch: INPUT network-name",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-information.network-name`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 700.6512680053711,
+ "y": 410.12323570251465,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "c217c4b3.588c08",
+ "5789e661.35e1f8"
+ ]
+ ]
+ },
+ {
+ "id": "28116afa.ade786",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value=\"DisconnectNetworkRequest requires network-id or network-name \"/>",
+ "comments": "",
+ "x": 1085.651268005371,
+ "y": 409.12323570251465,
+ "z": "78f26cc2.346884",
+ "wires": []
+ },
+ {
+ "id": "28abb006.b3f25",
+ "type": "get-resource",
+ "name": "get AnAI - l3-network by network-name",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $network-topology-operation-input.network-request-information.network-name\" \n\t\tpfx=\"tmp.AnAI.l3network\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1168.1371955871582,
+ "y": 453.1300859451294,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "b4715be3.bcd0c8",
+ "5d878005.c41e6",
+ "89e70fc0.287a2"
+ ]
+ ]
+ },
+ {
+ "id": "6a7fc7cc.ee76d8",
+ "type": "get-resource",
+ "name": "get AnAI - l3-network by network-id",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $network-topology-operation-input.network-request-information.network-id\" \n\t\tpfx=\"tmp.AnAI.l3network\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 718.0410385131836,
+ "y": 237.04998779296875,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "690d7e4b.60bd3",
+ "b9af04da.c023e8",
+ "47d05050.d96c3"
+ ]
+ ]
+ },
+ {
+ "id": "690d7e4b.60bd3",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 947.9980697631836,
+ "y": 236.52020263671875,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "2ebce416.bdfaac"
+ ]
+ ]
+ },
+ {
+ "id": "2ebce416.bdfaac",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value=\"Failed to query AAI by network-id\"/>",
+ "comments": "",
+ "x": 1111.9981002807617,
+ "y": 236.51995849609375,
+ "z": "78f26cc2.346884",
+ "wires": []
+ },
+ {
+ "id": "b4715be3.bcd0c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1404.1373176574707,
+ "y": 453.1300859451294,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "b96fe1bf.ab29e"
+ ]
+ ]
+ },
+ {
+ "id": "b96fe1bf.ab29e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value=\"Failed to query AAI by network-name\"/>",
+ "comments": "",
+ "x": 1568.1373481750488,
+ "y": 453.1298418045044,
+ "z": "78f26cc2.346884",
+ "wires": []
+ },
+ {
+ "id": "1b3cf9d1.1a1ed6",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 496.7481002807617,
+ "y": 237.15521240234375,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "6a7fc7cc.ee76d8"
+ ]
+ ]
+ },
+ {
+ "id": "9751ef82.d9c77",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "outputs": 1,
+ "x": 496.6369857788086,
+ "y": 320.26629638671875,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "7698e3d.ad1ef1c"
+ ]
+ ]
+ },
+ {
+ "id": "bf204584.cdc938",
+ "type": "other",
+ "name": "0",
+ "xml": "<outcome value='0'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 496.7481002807617,
+ "y": 278.15521240234375,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "7698e3d.ad1ef1c"
+ ]
+ ]
+ },
+ {
+ "id": "c217c4b3.588c08",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "outputs": 1,
+ "x": 924.4981002807617,
+ "y": 409.65546226501465,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "28116afa.ade786"
+ ]
+ ]
+ },
+ {
+ "id": "5789e661.35e1f8",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 923.4981384277344,
+ "y": 453.655478477478,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "28abb006.b3f25"
+ ]
+ ]
+ },
+ {
+ "id": "b9af04da.c023e8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 955.9980697631836,
+ "y": 281.22381591796875,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "59b0c026.b692a"
+ ]
+ ]
+ },
+ {
+ "id": "5d878005.c41e6",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1412.137134552002,
+ "y": 499.8349199295044,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "9de2063e.c41718"
+ ]
+ ]
+ },
+ {
+ "id": "59b0c026.b692a",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status=\"success\">\n\t<parameter name=\"networkId\" value=\"`$network-topology-operation-input.network-request-information.network-id` not found\" />\n\t<parameter name=\"error-code\" value=\"200\" />",
+ "comments": "",
+ "x": 1122.9980697631836,
+ "y": 281.22381591796875,
+ "z": "78f26cc2.346884",
+ "wires": []
+ },
+ {
+ "id": "9de2063e.c41718",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status=\"success\">\n\t<parameter name=\"augmentation\" value=\"`$network-topology-operation-input.network-request-information.network-name` not found\" />\n\t<parameter name=\"error-code\" value=\"200\" />",
+ "comments": "",
+ "x": 1574.137134552002,
+ "y": 499.8349199295044,
+ "z": "78f26cc2.346884",
+ "wires": []
+ },
+ {
+ "id": "47d05050.d96c3",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 952.3224105834961,
+ "y": 325.90545654296875,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "9a85f16b.d93cd"
+ ]
+ ]
+ },
+ {
+ "id": "89e70fc0.287a2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1407.461353302002,
+ "y": 547.5165605545044,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "9a85f16b.d93cd"
+ ]
+ ]
+ },
+ {
+ "id": "bcbd8a.ad7d6278",
+ "type": "method",
+ "name": "method network-topology-delete",
+ "xml": "<method rpc=\"network-topology-delete\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 212.60881805419922,
+ "y": 109.03170585632324,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "acd387f9.1c0658"
+ ]
+ ]
+ },
+ {
+ "id": "eaea2109.ba78e",
+ "type": "service-logic",
+ "name": "VNF-API ${project.version}",
+ "module": "VNF-API",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='VNF-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 299.2754669189453,
+ "y": 47.142822265625,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "bcbd8a.ad7d6278"
+ ]
+ ]
+ },
+ {
+ "id": "93281b43.a28d38",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 135.1643524169922,
+ "y": 47.142822265625,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "eaea2109.ba78e"
+ ]
+ ]
+ },
+ {
+ "id": "acd387f9.1c0658",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 171.02154541015625,
+ "y": 172.30953216552734,
+ "z": "78f26cc2.346884",
+ "wires": [
+ [
+ "6426b1cc.4346d"
+ ]
+ ]
+ }
+]