fix topology discovery bug for ccvpn
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_esr-thirdparty-sdnc-discovery.json
index aef6205..5596f88 100644 (file)
 [\r
-  {\r
-    "id": "1d39536e.bcea8d",\r
-    "type": "other",\r
-    "name": "update",\r
-    "xml": "<outcome value='Update'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 630.0000991821289,\r
-    "y": 392.6666978597641,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "eb33b12.26d255"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "e7963432.3c05f8",\r
-    "type": "other",\r
-    "name": "delete",\r
-    "xml": "<outcome value='delete'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 666.2222137451172,\r
-    "y": 594.3334935903549,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "bdac689.e471598"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "bdac689.e471598",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">",\r
-    "atomic": "true",\r
-    "outputs": 1,\r
-    "x": 816.6668586730957,\r
-    "y": 589.3335460424423,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "27946419.4db7ac",\r
-    "type": "comment",\r
-    "name": "TODO: Delete topology from AAI",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 774.3335266113281,\r
-    "y": 545.0001710653305,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "1b12380b.1bb078",\r
-    "type": "switchNode",\r
-    "name": "switch aai-event-trigger",\r
-    "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 422.5556640625,\r
-    "y": 461.2222236394882,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "1d39536e.bcea8d",\r
-        "e7963432.3c05f8"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "8b3f9b57.fb7ca8",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">",\r
-    "atomic": "true",\r
-    "outputs": 1,\r
-    "x": 1224.333854675293,\r
-    "y": 386.11125123500824,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "6bd0a191.4d206",\r
-        "1e8929fa.00dd96",\r
-        "f740e66d.fb9468"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "d4ab9cef.99595",\r
-    "type": "execute",\r
-    "name": "execute RestApiCallNode Get token",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1480.9933624267578,\r
-    "y": 248.0305026769638,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "9a5236ed.1ea128",\r
-        "5a03214d.f8c65"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "9a5236ed.1ea128",\r
-    "type": "success",\r
-    "name": "success",\r
-    "xml": "<outcome value='success'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1715.9933624267578,\r
-    "y": 226.0305026769638,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "8343226c.c2c78"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "5a03214d.f8c65",\r
-    "type": "failure",\r
-    "name": "failure",\r
-    "xml": "<outcome value='failure'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1708.2433624267578,\r
-    "y": 279.67338597774506,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "194b3286.c3d03d"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "8343226c.c2c78",\r
-    "type": "set",\r
-    "name": "set token-id",\r
-    "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
-    "comments": "",\r
-    "x": 1869.9933624267578,\r
-    "y": 227.0305026769638,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "6bd0a191.4d206",\r
-    "type": "execute",\r
-    "name": "execute RestApiCallNode Get Topology",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1484.326789855957,\r
-    "y": 341.7342404127121,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "7690c31d.5032fc",\r
-        "3ee8b658.f04c7a"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "7690c31d.5032fc",\r
-    "type": "success",\r
-    "name": "success",\r
-    "xml": "<outcome value='success'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1742.882122039795,\r
-    "y": 319.7342222929001,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "5faa0ea5.47b54"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "5faa0ea5.47b54",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">",\r
-    "atomic": "true",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1918.4376525878906,\r
-    "y": 317.40094459056854,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "30f38062.10fc2",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",\r
-    "comments": "",\r
-    "x": 1926.659927368164,\r
-    "y": 391.6230581998825,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "3ee8b658.f04c7a",\r
-    "type": "failure",\r
-    "name": "failure",\r
-    "xml": "<outcome value='failure'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1748.3266067504883,\r
-    "y": 390.8452876806259,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "30f38062.10fc2"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "d6f1376d.103958",\r
-    "type": "dgstart",\r
-    "name": "DGSTART",\r
-    "outputs": 1,\r
-    "x": 77,\r
-    "y": 168.00000381469727,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "b042ac6b.0b2f5"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "b042ac6b.0b2f5",\r
-    "type": "service-logic",\r
-    "name": "DataChange ${project.version}",\r
-    "module": "DataChange",\r
-    "version": "${project.version}",\r
-    "comments": "",\r
-    "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='DataChange' version='${project.version}'>",\r
-    "outputs": 1,\r
-    "x": 201.11112594604492,\r
-    "y": 242.44445884227753,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "fa0cd6cd.4d3678"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "fa0cd6cd.4d3678",\r
-    "type": "method",\r
-    "name": "method esr-thirdparty-sdnc-discovery",\r
-    "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 297.5556869506836,\r
-    "y": 353.2222398519516,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "17dbe4b2.90a36b"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "17dbe4b2.90a36b",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 205.77791595458984,\r
-    "y": 462.11121785640717,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "1b12380b.1bb078"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "1e8929fa.00dd96",\r
-    "type": "for",\r
-    "name": "for each Network",\r
-    "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1416.481559753418,\r
-    "y": 469.2221792936325,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "7ac7e4f1.ee6b4c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "7ac7e4f1.ee6b4c",\r
-    "type": "block",\r
-    "name": "block",\r
-    "xml": "<block>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1606.4815216064453,\r
-    "y": 476.99997222423553,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "1bdd6882.262a87",\r
-        "73f341e0.4fb9a"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "1bdd6882.262a87",\r
-    "type": "call",\r
-    "name": "call update-network-to-aai",\r
-    "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1859.8149433135986,\r
-    "y": 540.3333424329758,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "73f341e0.4fb9a",\r
-    "type": "set",\r
-    "name": "set network",\r
-    "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",\r
-    "comments": "",\r
-    "x": 1812.0370635986328,\r
-    "y": 458.11108672618866,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "194b3286.c3d03d",\r
-    "type": "block",\r
-    "name": "block",\r
-    "xml": "<block>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1869.8147583007812,\r
-    "y": 274.77776515483856,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "f5a2b8a2.ec17c8",\r
-    "type": "comment",\r
-    "name": "Do Nothing",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 2005.3703320821123,\r
-    "y": 273.66664090421466,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "86797eba.6e658",\r
-    "type": "switchNode",\r
-    "name": "switch type",\r
-    "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 905.0002479553223,\r
-    "y": 395.00002896785736,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "5d555655.1a63b8",\r
-        "698c0c25.f99474"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "eb33b12.26d255",\r
-    "type": "block",\r
-    "name": "block",\r
-    "xml": "<block>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 760.0000839233398,\r
-    "y": 393.00001752376556,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "86797eba.6e658"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "5d555655.1a63b8",\r
-    "type": "other",\r
-    "name": "SOTN",\r
-    "xml": "<outcome value='SOTN'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1059.0000305175781,\r
-    "y": 350.99999940395355,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "8b3f9b57.fb7ca8"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "698c0c25.f99474",\r
-    "type": "other",\r
-    "name": "other",\r
-    "xml": "<outcome value='Other'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1056.0000305175781,\r
-    "y": 475.0000070333481,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      [\r
-        "8899e728.ec90b8"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "8899e728.ec90b8",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",\r
-    "comments": "",\r
-    "x": 1204.7727355957031,\r
-    "y": 474.4391750097275,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "f740e66d.fb9468",\r
-    "type": "execute",\r
-    "name": "execute Properties",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1423.03125,\r
-    "y": 193.03125,\r
-    "z": "5f9799f8.016aa8",\r
-    "wires": [\r
-      []\r
-    ]\r
-  }\r
-]\r
+    {\r
+        "id": "d475c812.9568", \r
+        "type": "other", \r
+        "name": "update", \r
+        "xml": "<outcome value='Update'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 917.5001220703125, \r
+        "y": 308.66668701171875, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "862fb7d.5b86948"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "db86e1b3.d2fca", \r
+        "type": "other", \r
+        "name": "delete", \r
+        "xml": "<outcome value='delete'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 953.7222366333008, \r
+        "y": 510.33348274230957, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "fe617bb2.76a2f"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "fe617bb2.76a2f", \r
+        "type": "block", \r
+        "name": "block : atomic", \r
+        "xml": "<block atomic=\"true\">", \r
+        "atomic": "true", \r
+        "outputs": 1, \r
+        "x": 1104.1668815612793, \r
+        "y": 505.333535194397, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "4e140ca7.1e24fc", \r
+        "type": "comment", \r
+        "name": "TODO: Delete topology from AAI", \r
+        "info": "", \r
+        "comments": "", \r
+        "x": 1061.8335494995117, \r
+        "y": 461.00016021728516, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "e5982995.970cf8", \r
+        "type": "switchNode", \r
+        "name": "switch aai-event-trigger", \r
+        "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 733.0556640625, \r
+        "y": 366.22222900390625, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "d475c812.9568", \r
+                "db86e1b3.d2fca"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "8a1c1f7b.785ba8", \r
+        "type": "block", \r
+        "name": "block : atomic", \r
+        "xml": "<block atomic=\"true\">", \r
+        "atomic": "true", \r
+        "outputs": 1, \r
+        "x": 1647.8338623046875, \r
+        "y": 283.1112365722656, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "1484b190.f94a66", \r
+                "c753c3aa.4b9268", \r
+                "10dba5fc.1f2eea"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "d24d0442.140af", \r
+        "type": "execute", \r
+        "name": "execute RestApiCallNode Get token", \r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1904.4933700561523, \r
+        "y": 145.0304880142212, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "90c83fb.7fc86c", \r
+                "22fbfc42.b90c4c"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "90c83fb.7fc86c", \r
+        "type": "success", \r
+        "name": "success", \r
+        "xml": "<outcome value='success'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 2139.4933700561523, \r
+        "y": 123.03048801422119, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "1ae1babb.3695fd"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "22fbfc42.b90c4c", \r
+        "type": "failure", \r
+        "name": "failure", \r
+        "xml": "<outcome value='failure'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 2131.7433700561523, \r
+        "y": 176.67337131500244, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "852e8da1.a42b5"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "1ae1babb.3695fd", \r
+        "type": "set", \r
+        "name": "set token-id", \r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n", \r
+        "comments": "", \r
+        "x": 2293.4933700561523, \r
+        "y": 124.03048801422119, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "1484b190.f94a66", \r
+        "type": "execute", \r
+        "name": "execute RestApiCallNode Get Topology", \r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1907.8267974853516, \r
+        "y": 238.73422574996948, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "dbe293a7.043a2", \r
+                "a63584b7.766e"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "dbe293a7.043a2", \r
+        "type": "success", \r
+        "name": "success", \r
+        "xml": "<outcome value='success'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 2166.3821296691895, \r
+        "y": 216.73420763015747, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "7fa6d3d4.bce844"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "7fa6d3d4.bce844", \r
+        "type": "block", \r
+        "name": "block : atomic", \r
+        "xml": "<block atomic=\"true\">", \r
+        "atomic": "true", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 2341.937660217285, \r
+        "y": 214.40092992782593, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "d0d18db8.ed66f8", \r
+        "type": "returnFailure", \r
+        "name": "return failure", \r
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n", \r
+        "comments": "", \r
+        "x": 2350.1599349975586, \r
+        "y": 288.6230435371399, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "a63584b7.766e", \r
+        "type": "failure", \r
+        "name": "failure", \r
+        "xml": "<outcome value='failure'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 2171.826614379883, \r
+        "y": 287.8452730178833, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "d0d18db8.ed66f8"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "6ee6436a.1b0ed4", \r
+        "type": "dgstart", \r
+        "name": "DGSTART", \r
+        "outputs": 1, \r
+        "x": 63.5, \r
+        "y": 89, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "4d5494e5.395574"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "4d5494e5.395574", \r
+        "type": "service-logic", \r
+        "name": "DataChange ${project.version}", \r
+        "module": "DataChange", \r
+        "version": "${project.version}", \r
+        "comments": "", \r
+        "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='DataChange' version='${project.version}'>", \r
+        "outputs": 1, \r
+        "x": 187.61112594604492, \r
+        "y": 163.44445502758026, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "d235572.293ffa8"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "d235572.293ffa8", \r
+        "type": "method", \r
+        "name": "method esr-thirdparty-sdnc-discovery", \r
+        "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 284.0556869506836, \r
+        "y": 274.22223603725433, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "2c06decb.37ee5a"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "2c06decb.37ee5a", \r
+        "type": "block", \r
+        "name": "block : atomic", \r
+        "xml": "<block atomic=\"true\">\n", \r
+        "atomic": "false", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 554.2779541015625, \r
+        "y": 274.1112060546875, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "d189d7d4.74d5b"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "c753c3aa.4b9268", \r
+        "type": "for", \r
+        "name": "for each Network", \r
+        "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1839.9815673828125, \r
+        "y": 366.2221646308899, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "fad4c2c5.6c19f"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "fad4c2c5.6c19f", \r
+        "type": "block", \r
+        "name": "block", \r
+        "xml": "<block>\n", \r
+        "atomic": "false", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 2029.9815292358398, \r
+        "y": 373.9999575614929, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "5e7867ab.174a4", \r
+                "49f09644.3fa498"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "5e7867ab.174a4", \r
+        "type": "call", \r
+        "name": "call update-network-to-aai", \r
+        "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 2283.314950942993, \r
+        "y": 437.33332777023315, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "49f09644.3fa498", \r
+        "type": "set", \r
+        "name": "set network", \r
+        "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n", \r
+        "comments": "", \r
+        "x": 2235.5370712280273, \r
+        "y": 355.11107206344604, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "852e8da1.a42b5", \r
+        "type": "block", \r
+        "name": "block", \r
+        "xml": "<block>\n", \r
+        "atomic": "false", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 2293.314765930176, \r
+        "y": 171.77775049209595, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "11d97c9a.87eb33", \r
+        "type": "comment", \r
+        "name": "Do Nothing", \r
+        "info": "", \r
+        "comments": "", \r
+        "x": 1991.8703320821123, \r
+        "y": 194.6666370895174, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "5d5e7563.297f54", \r
+        "type": "switchNode", \r
+        "name": "switch type", \r
+        "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1192.5002708435059, \r
+        "y": 311.000018119812, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "dd19d5ef.82e67", \r
+                "910a4106.a8c08"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "862fb7d.5b86948", \r
+        "type": "block", \r
+        "name": "block", \r
+        "xml": "<block>\n", \r
+        "atomic": "false", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1047.5001068115234, \r
+        "y": 309.0000066757202, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "5d5e7563.297f54"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "dd19d5ef.82e67", \r
+        "type": "other", \r
+        "name": "SOTN", \r
+        "xml": "<outcome value='SOTN'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1346.5000534057617, \r
+        "y": 266.9999885559082, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "8a1c1f7b.785ba8"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "910a4106.a8c08", \r
+        "type": "other", \r
+        "name": "other", \r
+        "xml": "<outcome value='Other'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1343.5000534057617, \r
+        "y": 390.99999618530273, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "1d17a4fa.d8a8b3"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "1d17a4fa.d8a8b3", \r
+        "type": "returnFailure", \r
+        "name": "return failure", \r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n", \r
+        "comments": "", \r
+        "x": 1628.2727432250977, \r
+        "y": 371.43916034698486, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "10dba5fc.1f2eea", \r
+        "type": "execute", \r
+        "name": "execute Properties", \r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1846.5312576293945, \r
+        "y": 90.03123533725739, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "d189d7d4.74d5b", \r
+        "type": "switchNode", \r
+        "name": "switch", \r
+        "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 319, \r
+        "y": 367, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "f26cd837.1040d", \r
+                "15dc9b27.b3cb25"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "f26cd837.1040d", \r
+        "type": "outcomeFalse", \r
+        "name": "false", \r
+        "xml": "<outcome value='false'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 506, \r
+        "y": 367, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "e5982995.970cf8"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "15dc9b27.b3cb25", \r
+        "type": "outcomeTrue", \r
+        "name": "true", \r
+        "xml": "<outcome value='true'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 507, \r
+        "y": 492, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [\r
+                "ffd3dc3f.377368"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "ffd3dc3f.377368", \r
+        "type": "call", \r
+        "name": "call esr-thirdparty-sdnc-of-zte", \r
+        "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 736, \r
+        "y": 492, \r
+        "z": "17972140.ae79b7", \r
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }\r
+]
\ No newline at end of file