fix topology discovery bug for ccvpn
authorwsx25289 <10200860@zte.com.cn>
Mon, 3 Dec 2018 02:12:15 +0000 (21:12 -0500)
committerwsx25289 <10200860@zte.com.cn>
Mon, 3 Dec 2018 02:13:14 +0000 (21:13 -0500)
Issue-ID: SDNC-354

Change-Id: I3c3d0a464af933da449f009690085d778bbb4614
Signed-off-by: Wsx25289 <10200860@zte.com.cn>
platform-logic/datachange/src/main/json/DataChange_data-change-notification.json
platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery-of-zte.json
platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json
platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-of-zte.json
platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc.json
platform-logic/datachange/src/main/xml/DataChange_data-change-notification.xml
platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery-of-zte.xml
platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml
platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-of-zte.xml
platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc.xml

index eb1e8fd..6d33aa4 100644 (file)
 [\r
     {\r
-        "id": "c9438469.7f9978", \r
-        "type": "dgstart", \r
-        "name": "DGSTART", \r
-        "outputs": 1, \r
-        "x": 86.5, \r
-        "y": 81, \r
-        "z": "31e69f1c.704108", \r
+        "id": "4153f9c1.51e918",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 121.03125,\r
+        "y": 50.99999761581421,\r
+        "z": "351662fa.1d559e",\r
         "wires": [\r
             [\r
-                "80aeb8.8187b148"\r
+                "c35543aa.9c0db"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "80aeb8.8187b148", \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": 249.61114883422852, \r
-        "y": 182.44447135925293, \r
-        "z": "31e69f1c.704108", \r
-        "wires": [\r
-            [\r
-                "b8c8b6e.8e24748"\r
-            ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "b8c8b6e.8e24748", \r
-        "type": "method", \r
-        "name": "method data-change-notification", \r
-        "xml": "<method rpc='data-change-notification' mode='sync'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 247.0556983947754, \r
-        "y": 346.2222566604614, \r
-        "z": "31e69f1c.704108", \r
+    },\r
+    {\r
+        "id": "c35543aa.9c0db",\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": 284.14239501953125,\r
+        "y": 153.44447326660156,\r
+        "z": "351662fa.1d559e",\r
         "wires": [\r
             [\r
-                "e44b2680.5f0e1"\r
+                "ddb1e250.e70de"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "e44b2680.5f0e1", \r
-        "type": "block", \r
-        "name": "block : atomic", \r
-        "xml": "<block atomic=\"true\">\n", \r
-        "atomic": "false", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 292.2779846191406, \r
-        "y": 461.1113269329071, \r
-        "z": "31e69f1c.704108", \r
+    },\r
+    {\r
+        "id": "ddb1e250.e70de",\r
+        "type": "method",\r
+        "name": "method data-change-notification",\r
+        "xml": "<method rpc='data-change-notification' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 281.5869483947754,\r
+        "y": 316.22225427627563,\r
+        "z": "351662fa.1d559e",\r
         "wires": [\r
             [\r
-                "5f1a41d8.25b23", \r
-                "7978a5db.d860ec"\r
+                "d8e6317c.7d1e4"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "5f1a41d8.25b23", \r
-        "type": "returnSuccess", \r
-        "name": "return success", \r
-        "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", \r
-        "comments": "", \r
-        "x": 499.8338432312012, \r
-        "y": 548.556131362915, \r
-        "z": "31e69f1c.704108", \r
-        "wires": [ ]\r
-    }, \r
-    {\r
-        "id": "bca5a9bf.c1ce98", \r
-        "type": "call", \r
-        "name": "call esr-thirdparty-sdnc", \r
-        "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc' mode='sync' >\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1420.8341064453125, \r
-        "y": 325.6667785644531, \r
-        "z": "31e69f1c.704108", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "7978a5db.d860ec", \r
-        "type": "switchNode", \r
-        "name": "switch aai-node-type", \r
-        "xml": "<switch test='`$data-change-notification-input.aai-node-type`'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 503.3827209472656, \r
-        "y": 424.88262820243835, \r
-        "z": "31e69f1c.704108", \r
+    },\r
+    {\r
+        "id": "d8e6317c.7d1e4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 326.8092346191406,\r
+        "y": 431.1113245487213,\r
+        "z": "351662fa.1d559e",\r
         "wires": [\r
             [\r
-                "1e0b8434.23a404", \r
-                "d0750bdf.e570e"\r
+                "3e65d07f.a9ae2",\r
+                "ed2d48f6.216158"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "1e0b8434.23a404", \r
-        "type": "other", \r
-        "name": "esr-thirdparty-sdnc", \r
-        "xml": "<outcome value='esr-thirdparty-sdnc'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 678.4146728515625, \r
-        "y": 183.0572509765625, \r
-        "z": "31e69f1c.704108", \r
+    },\r
+    {\r
+        "id": "3e65d07f.a9ae2",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "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",\r
+        "comments": "",\r
+        "x": 534.3650932312012,\r
+        "y": 518.5561289787292,\r
+        "z": "351662fa.1d559e",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b5c4485f.b2ff78",\r
+        "type": "call",\r
+        "name": "call esr-thirdparty-sdnc",\r
+        "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1162.3653564453125,\r
+        "y": 152.66677856445312,\r
+        "z": "351662fa.1d559e",\r
         "wires": [\r
-            [\r
-                "e6b3f0d5.83e4a8"\r
-            ]\r
+            []\r
         ]\r
-    }, \r
-    {\r
-        "id": "d0750bdf.e570e", \r
-        "type": "other", \r
-        "name": "other", \r
-        "xml": "<outcome value='Other'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 743.3827857971191, \r
-        "y": 423.8826608657837, \r
-        "z": "31e69f1c.704108", \r
+    },\r
+    {\r
+        "id": "ed2d48f6.216158",\r
+        "type": "switchNode",\r
+        "name": "switch aai-node-type",\r
+        "xml": "<switch test='`$data-change-notification-input.aai-node-type`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 537.9139709472656,\r
+        "y": 394.88262581825256,\r
+        "z": "351662fa.1d559e",\r
         "wires": [\r
             [\r
-                "9c41362c.9d7948"\r
+                "a7d7c4e8.cc6678",\r
+                "c25d5c15.d569e"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "9c41362c.9d7948", \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=\"AAI node type not supported\" />", \r
-        "comments": "", \r
-        "x": 898.8273048400879, \r
-        "y": 423.99376010894775, \r
-        "z": "31e69f1c.704108", \r
-        "wires": [ ]\r
-    }, \r
-    {\r
-        "id": "dc8e805f.967db", \r
-        "type": "block", \r
-        "name": "block : atomic", \r
-        "xml": "<block atomic=\"true\">\n", \r
-        "atomic": "false", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1324.500244140625, \r
-        "y": 241.8262939453125, \r
-        "z": "31e69f1c.704108", \r
+    },\r
+    {\r
+        "id": "a7d7c4e8.cc6678",\r
+        "type": "other",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 712.9459228515625,\r
+        "y": 153.0572485923767,\r
+        "z": "351662fa.1d559e",\r
         "wires": [\r
             [\r
-                "bca5a9bf.c1ce98"\r
+                "dfa0cb23.be8c58"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "e6b3f0d5.83e4a8", \r
-        "type": "for", \r
-        "name": "for", \r
-        "xml": "<for index='idx' start='0' end='`$data-change-notification-input.key-data_length`' >\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 865.5, \r
-        "y": 183, \r
-        "z": "31e69f1c.704108", \r
+    },\r
+    {\r
+        "id": "c25d5c15.d569e",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 777.9140357971191,\r
+        "y": 393.8826584815979,\r
+        "z": "351662fa.1d559e",\r
         "wires": [\r
             [\r
-                "ba8b2793.6bb91"\r
+                "f4eb1449.fa4908"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "ba8b2793.6bb91", \r
-        "type": "switchNode", \r
-        "name": "switch", \r
-        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-value == 'ZTE'`\">\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1005.5, \r
-        "y": 183, \r
-        "z": "31e69f1c.704108", \r
+    },\r
+    {\r
+        "id": "f4eb1449.fa4908",\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=\"AAI node type not supported\" />",\r
+        "comments": "",\r
+        "x": 933.3585548400879,\r
+        "y": 393.99375772476196,\r
+        "z": "351662fa.1d559e",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dfa0cb23.be8c58",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 929.53125,\r
+        "y": 153,\r
+        "z": "351662fa.1d559e",\r
         "wires": [\r
             [\r
-                "891233f8.add168", \r
-                "810b885f.a9b34"\r
+                "b5c4485f.b2ff78"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "5b501f1b.fad328", \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": 1619.5, \r
-        "y": 236, \r
-        "z": "31e69f1c.704108", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "891233f8.add168", \r
-        "type": "outcomeTrue", \r
-        "name": "true", \r
-        "xml": "<outcome value='true'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1159.5, \r
-        "y": 183, \r
-        "z": "31e69f1c.704108", \r
-        "wires": [\r
-            [\r
-                "fb1086e7.fe9d98"\r
-            ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "810b885f.a9b34", \r
-        "type": "outcomeFalse", \r
-        "name": "false", \r
-        "xml": "<outcome value='false'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1159.5, \r
-        "y": 242, \r
-        "z": "31e69f1c.704108", \r
-        "wires": [\r
-            [\r
-                "dc8e805f.967db"\r
-            ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "fb1086e7.fe9d98", \r
-        "type": "block", \r
-        "name": "block : atomic", \r
-        "xml": "<block atomic=\"true\">\n", \r
-        "atomic": "false", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1322, \r
-        "y": 183, \r
-        "z": "31e69f1c.704108", \r
-        "wires": [\r
-            [\r
-                "6a42dcf4.2a86a4", \r
-                "5b501f1b.fad328"\r
-            ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "6a42dcf4.2a86a4", \r
-        "type": "set", \r
-        "name": "set vendor", \r
-        "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.vendor' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n", \r
-        "comments": "", \r
-        "x": 1547, \r
-        "y": 183, \r
-        "z": "31e69f1c.704108", \r
-        "wires": [ ]\r
     }\r
 ]
\ No newline at end of file
index f7332e8..4de0399 100644 (file)
 [\r
     {\r
-        "id": "15787234.124136", \r
-        "type": "dgstart", \r
-        "name": "DGSTART", \r
-        "outputs": 1, \r
-        "x": 101, \r
-        "y": 108, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "5f902aaa.7aa9a4",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 96,\r
+        "y": 111,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "65c08ccc.a64284"\r
+                "a24e36d1.cffe88"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "65c08ccc.a64284", \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": 205, \r
-        "y": 197, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "a24e36d1.cffe88",\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": 200,\r
+        "y": 200,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "24732328.986984"\r
+                "62181046.00897"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "24732328.986984", \r
-        "type": "method", \r
-        "name": "method esr-thirdparty-sdnc-discovery-of-zte", \r
-        "xml": "<method rpc='esr-thirdparty-sdnc-discovery-of-zte' mode='sync'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 273, \r
-        "y": 295, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "62181046.00897",\r
+        "type": "method",\r
+        "name": "method esr-thirdparty-sdnc-discovery-of-zte",\r
+        "xml": "<method rpc='esr-thirdparty-sdnc-discovery-of-zte' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 268,\r
+        "y": 298,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "255730f2.067e3"\r
+                "bc55b20f.579c9"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "255730f2.067e3", \r
-        "type": "block", \r
-        "name": "block : atomic", \r
-        "xml": "<block atomic='true'>", \r
-        "atomic": "true", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 197, \r
-        "y": 402, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "bc55b20f.579c9",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 192,\r
+        "y": 405,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "52a3f44e.4fe8d4"\r
+                "f7cce3b7.da11f"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "52a3f44e.4fe8d4", \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": 399, \r
-        "y": 402, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "f7cce3b7.da11f",\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": 394,\r
+        "y": 405,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "a7ad4b32.3232d", \r
-                "7ca795d2.5ae15c"\r
+                "feebd6bc.652fa8",\r
+                "274f1a37.9e7186"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "a7ad4b32.3232d", \r
-        "type": "outcome", \r
-        "name": "update", \r
-        "xml": "<outcome value='Update'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 627, \r
-        "y": 357, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "feebd6bc.652fa8",\r
+        "type": "outcome",\r
+        "name": "update",\r
+        "xml": "<outcome value='Update'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 622,\r
+        "y": 360,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "6a7a4af2.cbffc4"\r
+                "3a6c0212.670f4e"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "7ca795d2.5ae15c", \r
-        "type": "outcome", \r
-        "name": "delete", \r
-        "xml": "<outcome value='delete'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 625, \r
-        "y": 525, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "274f1a37.9e7186",\r
+        "type": "outcome",\r
+        "name": "delete",\r
+        "xml": "<outcome value='delete'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 620,\r
+        "y": 528,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "3084a5a8.99639a"\r
+                "9093c48f.404368"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "3084a5a8.99639a", \r
-        "type": "block", \r
-        "name": "block : atomic", \r
-        "xml": "<block atomic='true'>", \r
-        "atomic": "true", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 800, \r
-        "y": 525, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "6a7a4af2.cbffc4", \r
-        "type": "block", \r
-        "name": "block", \r
-        "xml": "<block>\n", \r
-        "atomic": "false", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 779, \r
-        "y": 357, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "9093c48f.404368",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 795,\r
+        "y": 528,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3a6c0212.670f4e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 774,\r
+        "y": 360,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "9521c124.e5b908"\r
+                "8c1f6548.e5e568"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "9521c124.e5b908", \r
-        "type": "switchNode", \r
-        "name": "switch type", \r
-        "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 948, \r
-        "y": 357, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "8c1f6548.e5e568",\r
+        "type": "switchNode",\r
+        "name": "switch type",\r
+        "xml": "<switch test=\"`$zte.prop.sdncRestApi.type`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 943,\r
+        "y": 360,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "b1b8ddba.d5362", \r
-                "b2791c8d.f92988"\r
+                "74951572.ebdc6c",\r
+                "eaaeda12.faa678"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "b1b8ddba.d5362", \r
-        "type": "outcome", \r
-        "name": "SOTN", \r
-        "xml": "<outcome value='SOTN'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1124, \r
-        "y": 292, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "74951572.ebdc6c",\r
+        "type": "outcome",\r
+        "name": "SOTN",\r
+        "xml": "<outcome value='SOTN'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1119,\r
+        "y": 295,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "2476cb54.ee54e4"\r
+                "c610ea22.d44298"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "b2791c8d.f92988", \r
-        "type": "outcome", \r
-        "name": "other", \r
-        "xml": "<outcome value='Other'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1118, \r
-        "y": 414, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "eaaeda12.faa678",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1113,\r
+        "y": 417,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "615692ea.bd454c"\r
+                "c3125ba4.7ffdb8"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "615692ea.bd454c", \r
-        "type": "returnFailure", \r
-        "name": "return failure", \r
-        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value=\"500\" />\n<parameter name='error-message' value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n", \r
-        "comments": "", \r
-        "x": 1310, \r
-        "y": 414, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [ ]\r
-    }, \r
-    {\r
-        "id": "2476cb54.ee54e4", \r
-        "type": "block", \r
-        "name": "block : atomic", \r
-        "xml": "<block atomic='true'>", \r
-        "atomic": "true", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1310, \r
-        "y": 292, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "c3125ba4.7ffdb8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value=\"500\" />\n<parameter name='error-message' value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n",\r
+        "comments": "",\r
+        "x": 1305,\r
+        "y": 417,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c610ea22.d44298",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1305,\r
+        "y": 295,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "58ffaa94.11ecc4", \r
-                "876baee.788865"\r
+                "93e42ee3.ef7c9",\r
+                "14a63f8c.fb75e",\r
+                "16563079.8d5e2"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "58ffaa94.11ecc4", \r
-        "type": "execute", \r
-        "name": "execute RestApiCallNode Get ZTE Topology", \r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutopotemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-topology-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopology\"/>", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1630, \r
-        "y": 200, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "93e42ee3.ef7c9",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode Get ZTE Topology",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutopotemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-topology-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopology\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1625,\r
+        "y": 203,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "1cff6c99.978523", \r
-                "8b1af88f.90711"\r
+                "7009dab5.0199f4",\r
+                "e43c55f6.204948"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "1cff6c99.978523", \r
-        "type": "success", \r
-        "name": "success", \r
-        "xml": "<outcome value='success'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1912, \r
-        "y": 145, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "7009dab5.0199f4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1907,\r
+        "y": 148,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "3c98a053.587f4"\r
+                "2945e727.0d1da8"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "8b1af88f.90711", \r
-        "type": "failure", \r
-        "name": "failure", \r
-        "xml": "<outcome value='failure'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1910, \r
-        "y": 245, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "e43c55f6.204948",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1905,\r
+        "y": 248,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "f7875e10.0e8698"\r
+                "775e4e34.10584"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "3c98a053.587f4", \r
-        "type": "block", \r
-        "name": "block : atomic", \r
-        "xml": "<block atomic=\"true\">", \r
-        "atomic": "true", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2111, \r
-        "y": 144, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "f7875e10.0e8698", \r
-        "type": "returnFailure", \r
-        "name": "return failure", \r
-        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing Get odutopo rest api\" />\n", \r
-        "comments": "", \r
-        "x": 2106, \r
-        "y": 245, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [ ]\r
-    }, \r
-    {\r
-        "id": "876baee.788865", \r
-        "type": "for", \r
-        "name": "for each oduTopology", \r
-        "xml": "<for index='nidx' start='0' end='`$ztetopology.output.topology.node-ref-id_length`' >", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1538, \r
-        "y": 333, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "2945e727.0d1da8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2106,\r
+        "y": 147,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "775e4e34.10584",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing Get odutopo rest api\" />\n",\r
+        "comments": "",\r
+        "x": 2101,\r
+        "y": 248,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "14a63f8c.fb75e",\r
+        "type": "for",\r
+        "name": "for each topology",\r
+        "xml": "<for index='nidx' start='0' end='`$ztetopology.output.topology.node-ref-id_length`' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1533,\r
+        "y": 336,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "8b00f3a6.5f00a"\r
+                "5cd977af.6d2188"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "b480d508.259ad", \r
-        "type": "update", \r
-        "name": "save network-resource", \r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='network-resource'  \n     key='network-resource.network-id = $prop.zte.network-id' >\n<parameter name='network-id' value='`$prop.zte.network-id`' />\n<parameter name='client-id' value='`$prop.zte.client-id`' />\n<parameter name='te-topo-id' value='`$prop.zte.topo-id`' />\n<parameter name='provider-id' value='`$prop.zte.provider-id`' />", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1993, \r
-        "y": 381, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "8b00f3a6.5f00a", \r
-        "type": "block", \r
-        "name": "block : atomic", \r
-        "xml": "<block atomic='true'>", \r
-        "atomic": "true", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1736, \r
-        "y": 333, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "4b8d1cd8.c32504",\r
+        "type": "update",\r
+        "name": "save network-resource",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='network-resource'  \n     key='network-resource.network-id = $prop.zte.network-id' >\n<parameter name='network-id' value='`$prop.zte.network-id`' />\n<parameter name='client-id' value='`$prop.zte.client-id`' />\n<parameter name='te-topo-id' value='`$prop.zte.topo-id`' />\n<parameter name='provider-id' value='`$prop.zte.provider-id`' />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1637,\r
+        "y": 664,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a607014.a17fa",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1362,\r
+        "y": 562,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d5e9d41.c00664",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode Get ZTE oduTopology",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutoponodetemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-topology-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopologynode\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2023,\r
+        "y": 414,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "5a3bb265.58783c", \r
-                "9645ad1c.475eb", \r
-                "b480d508.259ad"\r
+                "ddc8baae.4921b8",\r
+                "66e109c3.50ba98"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "5a3bb265.58783c", \r
-        "type": "execute", \r
-        "name": "execute RestApiCallNode Get ZTE oduTopology", \r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutoponodetemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-topology-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopologynode\"/>", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2075, \r
-        "y": 437, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "66e109c3.50ba98",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2321,\r
+        "y": 495,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "942544d4.b8ec58", \r
-                "8acdf237.4dae08"\r
+                "6aaa8b79.149894"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "8acdf237.4dae08", \r
-        "type": "success", \r
-        "name": "success", \r
-        "xml": "<outcome value='success'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1509, \r
-        "y": 689, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "ddc8baae.4921b8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2319,\r
+        "y": 414,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "6d8d547d.f1dd64"\r
+                "72846c1a.17d914"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "942544d4.b8ec58", \r
-        "type": "failure", \r
-        "name": "failure", \r
-        "xml": "<outcome value='failure'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1510, \r
-        "y": 564, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "72846c1a.17d914",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing Get odutopo node rest api\" />\n",\r
+        "comments": "",\r
+        "x": 2510,\r
+        "y": 414,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "48652b97.2fedc4",\r
+        "type": "for",\r
+        "name": "for each oduTopology node",\r
+        "xml": "<for index='pidx' start='0' end='`$ztetopologynode.output.topology.node-ref-id_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1649,\r
+        "y": 749,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "faf343d1.9734d"\r
+                "2d5905b0.3495ea"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "faf343d1.9734d", \r
-        "type": "returnFailure", \r
-        "name": "return failure", \r
-        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing Get odutopo node rest api\" />\n", \r
-        "comments": "", \r
-        "x": 1701, \r
-        "y": 564, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [ ]\r
-    }, \r
-    {\r
-        "id": "6d8d547d.f1dd64", \r
-        "type": "for", \r
-        "name": "for each oduTopology node", \r
-        "xml": "<for index='pidx' start='0' end='`$ztetopologynode.output.topology.node-ref-id_length`' >\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1735, \r
-        "y": 689, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "453fd3.8bd4502c",\r
+        "type": "update",\r
+        "name": "save pnf",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='admin-status' value=\"up\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2738,\r
+        "y": 818,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c9e69fe4.50fcd",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode Get ZTE oduTopology Node details",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutoponodedetailstemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-node-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopologynodedetails\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2251,\r
+        "y": 748,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "a25bc521.5bb6a"\r
+                "e85faec3.821",\r
+                "68392c6a.4e1674"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "f538452a.143d98", \r
-        "type": "update", \r
-        "name": "save pnf", \r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n      key='pnf.pnf-name = $ztetopologynodedetails.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='admin-status' value=\"up\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2743, \r
-        "y": 815, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "e85faec3.821",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1711,\r
+        "y": 833,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
-            [ ]\r
+            [\r
+                "854a7fc2.bfea9"\r
+            ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "11d1e28b.963c9d", \r
-        "type": "execute", \r
-        "name": "execute RestApiCallNode Get ZTE oduTopology Node details", \r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutoponodedetailstemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-node-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopologynodedetails\"/>", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2337, \r
-        "y": 688, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "854a7fc2.bfea9",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing Get odutopo node details rest api\" />\n",\r
+        "comments": "",\r
+        "x": 1861,\r
+        "y": 833,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "68392c6a.4e1674",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1709,\r
+        "y": 938,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "55658f39.4a8e78", \r
-                "c9a1df1.d5a80a"\r
+                "109fc05a.9da5c"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "55658f39.4a8e78", \r
-        "type": "failure", \r
-        "name": "failure", \r
-        "xml": "<outcome value='failure'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1716, \r
-        "y": 830, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "109fc05a.9da5c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1892,\r
+        "y": 938,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "fd93d8e1.2313b"\r
+                "588ee473.9cb17c",\r
+                "6075f692.b2caa8",\r
+                "22a310d5.11293",\r
+                "7e2199ff.99b1c8"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "fd93d8e1.2313b", \r
-        "type": "returnFailure", \r
-        "name": "return failure", \r
-        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing Get odutopo node details rest api\" />\n", \r
-        "comments": "", \r
-        "x": 1866, \r
-        "y": 830, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [ ]\r
-    }, \r
-    {\r
-        "id": "c9a1df1.d5a80a", \r
-        "type": "success", \r
-        "name": "success", \r
-        "xml": "<outcome value='success'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1714, \r
-        "y": 935, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "6075f692.b2caa8",\r
+        "type": "save",\r
+        "name": "save pnf relationship to network-resource in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"network-resource\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $prop.zte.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"network-resource.network-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.zte.network-id`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2187,\r
+        "y": 1027,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "22a310d5.11293",\r
+        "type": "save",\r
+        "name": "save pnf relation with esr-thirdparty-sdnc",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='esr-thirdparty-sdnc:relationship-list' \n      key='esr-thirdparty-sdnc.thirdparty-sdnc-id = $zte.prop.sdncRestApi.thirdpartySdnc.id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $ztetopologynodedetails.output.node.uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$ztetopologynodedetails.output.node.uuid`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2161,\r
+        "y": 1094,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f00776db.4dbaf8",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode Get ZTE oduTopology Node edge point details",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutoponodenepdetailstemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-node-edge-point-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopologynodenepdetails\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2792,\r
+        "y": 1275,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "77de9cee.930a9c"\r
+                "345328c1.c40d08",\r
+                "72be01d7.1258c"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "77de9cee.930a9c", \r
-        "type": "block", \r
-        "name": "block", \r
-        "xml": "<block>\n", \r
-        "atomic": "false", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1897, \r
-        "y": 935, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "6e627eca.00e4a",\r
+        "type": "for",\r
+        "name": "for each oduTopology node nep name",\r
+        "xml": "<for index='tidx' start='0' end='`$ztetopologynodenepdetails.output.node-edge-point.name_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2663,\r
+        "y": 1510,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "1b4283dd.592abc", \r
-                "eecb4617.57e91", \r
-                "7e0ea1c3.cc762", \r
-                "61c3b72.b4d2c48"\r
+                "7cffba09.0e7a94"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "1b4283dd.592abc", \r
-        "type": "save", \r
-        "name": "save pnf relationship to network-resource in AAI", \r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n      key='pnf.pnf-name = $ztetopologynodedetails.node.uuid' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"network-resource\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"'/network/network-resources/network-resource/' + 'zteNetwork'\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"network-resource.network-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"zteNetwork\" />", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2192, \r
-        "y": 1024, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "eecb4617.57e91", \r
-        "type": "save", \r
-        "name": "save pnf relation with esr-thirdparty-sdnc", \r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='esr-thirdparty-sdnc:relationship-list' \n      key='esr-thirdparty-sdnc.thirdparty-sdnc-id = $zte.prop.sdncRestApi.thirdpartySdnc.id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $ztetopologynodedetails.node.uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$ztetopologynodedetails.node.uuid`\" />\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2166, \r
-        "y": 1091, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "7f6ccbfa.b45a74", \r
-        "type": "execute", \r
-        "name": "execute RestApiCallNode Get ZTE oduTopology Node edge point details", \r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutoponodenepdetailstemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-node-edge-point-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopologynodenepdetails\"/>", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2797, \r
-        "y": 1272, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "7cffba09.0e7a94",\r
+        "type": "execute",\r
+        "name": "contains client",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$ztetopologynodenepdetails.node-edge-point.name[tidx].value`\"/>\n    <parameter name=\"target\" value=\"client\"/>\n    ",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2976,\r
+        "y": 1510,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "38b0f2d1.620906", \r
-                "7b5490b3.a1044"\r
+                "36d5c2cc.d55c4e",\r
+                "c6db88ea.32d128"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "df44c30b.78cdc", \r
-        "type": "for", \r
-        "name": "for each oduTopology node nep name", \r
-        "xml": "<for index='tidx' start='0' end='`$ztetopologynodenepdetails.output.node-edge-point.name_length`' >\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2687, \r
-        "y": 1507, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "72be01d7.1258c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2386,\r
+        "y": 1510,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "a99510c.7985ef"\r
+                "6e627eca.00e4a"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "a99510c.7985ef", \r
-        "type": "execute", \r
-        "name": "contains client", \r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$ztetopologynodenepdetails.node-edge-point.name[tidx].value`\"/>\n    <parameter name=\"target\" value=\"client\"/>\n    ", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 3028, \r
-        "y": 1507, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "345328c1.c40d08",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2386,\r
+        "y": 1419,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "81ab5973.689e", \r
-                "3487141b.53f6bc"\r
+                "fc122084.5176a"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "81ab5973.689e", \r
-        "type": "outcomeTrue", \r
-        "name": "true", \r
-        "xml": "<outcome value='true'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 3240, \r
-        "y": 1507, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "fc122084.5176a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing Get odutopo node edge point details rest api\" />\n",\r
+        "comments": "",\r
+        "x": 2739,\r
+        "y": 1417,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2aeff331.c3498c",\r
+        "type": "set",\r
+        "name": "set zte unique-ltpId",\r
+        "xml": "<set>\n<parameter name='zte-unique-ltpId' value=\"`'nodeId-' + $ztetopologynodedetails.output.node.uuid + '-ltpId-' + $ztetopologynodenepdetails.output.node-edge-point.uuid`\" />\n",\r
+        "comments": "",\r
+        "x": 3687,\r
+        "y": 1510,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "62e34399.97db9c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3473,\r
+        "y": 1510,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "ce449c28.7c7b3"\r
+                "2aeff331.c3498c",\r
+                "873e3131.8335a",\r
+                "f75f21b7.efa77"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "7b5490b3.a1044", \r
-        "type": "success", \r
-        "name": "success", \r
-        "xml": "<outcome value='success'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2391, \r
-        "y": 1507, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "e8680f6b.26d67",\r
+        "type": "update",\r
+        "name": "save p-interface",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid\n      AND p-interface.interface-name = $zte-unique-ltpId' >      \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='in-maint' value=\"true\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4112,\r
+        "y": 1702,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            [\r
+                "eed25adb.58f488",\r
+                "67b16207.7b846c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "209b7c79.7331c4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3469,\r
+        "y": 1436,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "eed25adb.58f488",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4300,\r
+        "y": 1636,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "df44c30b.78cdc"\r
+                "e4358a9c.200a58"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "38b0f2d1.620906", \r
-        "type": "failure", \r
-        "name": "failure", \r
-        "xml": "<outcome value='failure'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2391, \r
-        "y": 1416, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "67b16207.7b846c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4300,\r
+        "y": 1701,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "e2cba4e6.c2e7a"\r
+                "6efad235.03a13c"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "e2cba4e6.c2e7a", \r
-        "type": "returnFailure", \r
-        "name": "return failure", \r
-        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing Get odutopo node edge point details rest api\" />\n", \r
-        "comments": "", \r
-        "x": 2763, \r
-        "y": 1416, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [ ]\r
-    }, \r
-    {\r
-        "id": "3bf4d883.90249", \r
-        "type": "set", \r
-        "name": "set zte unique-ltpId", \r
-        "xml": "<set>\n<parameter name='zte-unique-ltpId' value=\"`'nodeId-' + $ztetopologynodedetails.node.uuid + '-ltpId-' + $ztetopologynodenepdetails.node-edge-point.uuid`\" />\n", \r
-        "comments": "", \r
-        "x": 3692, \r
-        "y": 1507, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [ ]\r
-    }, \r
-    {\r
-        "id": "ce449c28.7c7b3", \r
-        "type": "block", \r
-        "name": "block", \r
-        "xml": "<block>\n", \r
-        "atomic": "false", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 3478, \r
-        "y": 1507, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "e4358a9c.200a58",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4489,\r
+        "y": 1635,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "588ee473.9cb17c",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test=\"`$ztetopologynodedetails.output.node.global-state-pac.operational-state == 'ENABLED'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2062,\r
+        "y": 937,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "3bf4d883.90249", \r
-                "613c2ada.da8a7c", \r
-                "ab8b449e.5887e"\r
+                "e2329ee1.9a7b6",\r
+                "eaec1cbd.8f432"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "d2080e42.04e638", \r
-        "type": "update", \r
-        "name": "save p-interface", \r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n      key='pnf.pnf-name = $ztetopologynodedetails.node.uuid\n      AND p-interface.interface-name = $zte-unique-ltpId' >      \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='in-maint' value=\"true\" />\n\"`'nodeId-' + $node.node-id + '-ltpId-' + $tp.te-tp-id`\"", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 4117, \r
-        "y": 1699, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "e2329ee1.9a7b6",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2263,\r
+        "y": 886,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "768c64d0.f7a43c", \r
-                "1c2dd58d.1dea72"\r
+                "67b87346.c6a5bc"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "3487141b.53f6bc", \r
-        "type": "outcomeFalse", \r
-        "name": "false", \r
-        "xml": "<outcome value='false'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 3239, \r
-        "y": 1433, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "eaec1cbd.8f432",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2262,\r
+        "y": 957,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "c0e9d951.a60da8"\r
+                "a037a75a.ae6708"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "c0e9d951.a60da8", \r
-        "type": "block", \r
-        "name": "block", \r
-        "xml": "<block>\n", \r
-        "atomic": "false", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 3474, \r
-        "y": 1433, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "768c64d0.f7a43c", \r
-        "type": "success", \r
-        "name": "success", \r
-        "xml": "<outcome value='success'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 4305, \r
-        "y": 1633, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "67b87346.c6a5bc",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test=\"`$ztetopologynodedetails.output.node.global-state-pac.administrative-state == 'LOCKED'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2419,\r
+        "y": 886,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "faf97108.30335"\r
+                "ba21f30c.c4435",\r
+                "ab98b4e0.12a4f8"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "1c2dd58d.1dea72", \r
-        "type": "failure", \r
-        "name": "failure", \r
-        "xml": "<outcome value='failure'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 4305, \r
-        "y": 1698, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "a037a75a.ae6708",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test=\"`$ztetopologynodedetails.output.node.global-state-pac.administrative-state == 'LOCKED'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2420,\r
+        "y": 957,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "48e7c11a.010d9"\r
+                "90096244.386ff",\r
+                "b1e15aa1.abad48"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "faf97108.30335", \r
-        "type": "block", \r
-        "name": "block", \r
-        "xml": "<block>\n", \r
-        "atomic": "false", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 4494, \r
-        "y": 1632, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "7e0ea1c3.cc762", \r
-        "type": "switchNode", \r
-        "name": "switch", \r
-        "xml": "<switch test=\"`$ztetopologynodedetails.node.global-state-pac.operational-state == 'ENABLED'`\">\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2067, \r
-        "y": 934, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "ba21f30c.c4435",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2582,\r
+        "y": 818,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "c9232bab.411fe", \r
-                "a6b9bca2.6fc2b"\r
+                "453fd3.8bd4502c"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "c9232bab.411fe", \r
-        "type": "outcomeTrue", \r
-        "name": "true", \r
-        "xml": "<outcome value='true'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2268, \r
-        "y": 883, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "ab98b4e0.12a4f8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2585,\r
+        "y": 886,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "18266e26.721f3a"\r
+                "1c144406.5ea9fc"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "a6b9bca2.6fc2b", \r
-        "type": "outcomeFalse", \r
-        "name": "false", \r
-        "xml": "<outcome value='false'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2267, \r
-        "y": 954, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "90096244.386ff",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2586,\r
+        "y": 957,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "3e090a83.a9b3c6"\r
+                "65322994.d1f668"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "18266e26.721f3a", \r
-        "type": "switchNode", \r
-        "name": "switch", \r
-        "xml": "<switch test=\"`$ztetopologynodedetails.node.global-state-pac.administrative-state == 'LOCKED'`\">\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2424, \r
-        "y": 883, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "b1e15aa1.abad48",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2587,\r
+        "y": 1026,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            [\r
+                "97879765.7b8ac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1c144406.5ea9fc",\r
+        "type": "update",\r
+        "name": "save pnf",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='admin-status' value=\"down\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2738,\r
+        "y": 886,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "65322994.d1f668",\r
+        "type": "update",\r
+        "name": "save pnf",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='operational-status' value=\"down\" />\n<parameter name='admin-status' value=\"up\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2735,\r
+        "y": 957,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "97879765.7b8ac8",\r
+        "type": "update",\r
+        "name": "save pnf",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='operational-status' value=\"down\" />\n<parameter name='admin-status' value=\"down\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2736,\r
+        "y": 1026,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "873e3131.8335a",\r
+        "type": "switchNode",\r
+        "name": "test operational-state",\r
+        "xml": "<switch test=\"`$ztetopologynodedetails.output.node.global-state-pac.operational-state == 'ENABLED'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3687,\r
+        "y": 1699,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "18fde8e6.1e96f7", \r
-                "1bdb1333.5ff0dd"\r
+                "dad7304e.123b4",\r
+                "cce973ee.e8539"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "3e090a83.a9b3c6", \r
-        "type": "switchNode", \r
-        "name": "switch", \r
-        "xml": "<switch test=\"`$ztetopologynodedetails.node.global-state-pac.administrative-state == 'LOCKED'`\">\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2425, \r
-        "y": 954, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "dad7304e.123b4",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3903,\r
+        "y": 1702,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "9439c895.756d", \r
-                "c071256a.4164e8"\r
+                "e8680f6b.26d67"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "18fde8e6.1e96f7", \r
-        "type": "outcomeTrue", \r
-        "name": "true", \r
-        "xml": "<outcome value='true'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2587, \r
-        "y": 815, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "cce973ee.e8539",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3906,\r
+        "y": 1816,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "f538452a.143d98"\r
+                "a9bffbab.0baeb8"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "1bdb1333.5ff0dd", \r
-        "type": "outcomeFalse", \r
-        "name": "false", \r
-        "xml": "<outcome value='false'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2590, \r
-        "y": 883, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "a9bffbab.0baeb8",\r
+        "type": "update",\r
+        "name": "save p-interface",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid\n      AND p-interface.interface-name = $zte-unique-ltpId' >      \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"down\" />\n<parameter name='in-maint' value=\"true\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4113,\r
+        "y": 1816,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "5f1efe1e.eaa66"\r
+                "a6acf286.7190a",\r
+                "655a7457.79319c"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "9439c895.756d", \r
-        "type": "outcomeTrue", \r
-        "name": "true", \r
-        "xml": "<outcome value='true'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2591, \r
-        "y": 954, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "a6acf286.7190a",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4301,\r
+        "y": 1816,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "e6e244a4.0300f"\r
+                "f73009af.d52ca8"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "c071256a.4164e8", \r
-        "type": "outcomeFalse", \r
-        "name": "false", \r
-        "xml": "<outcome value='false'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2592, \r
-        "y": 1023, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "655a7457.79319c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4298,\r
+        "y": 1877,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "79274805.8fd178"\r
+                "367baa79.63cc46"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "5f1efe1e.eaa66", \r
-        "type": "update", \r
-        "name": "save pnf", \r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n      key='pnf.pnf-name = $ztetopologynodedetails.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='admin-status' value=\"down\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2743, \r
-        "y": 883, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "e6e244a4.0300f", \r
-        "type": "update", \r
-        "name": "save pnf", \r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n      key='pnf.pnf-name = $ztetopologynodedetails.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='operational-status' value=\"down\" />\n<parameter name='admin-status' value=\"up\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2740, \r
-        "y": 954, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "79274805.8fd178", \r
-        "type": "update", \r
-        "name": "save pnf", \r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n      key='pnf.pnf-name = $ztetopologynodedetails.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='operational-status' value=\"down\" />\n<parameter name='admin-status' value=\"down\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2741, \r
-        "y": 1023, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "613c2ada.da8a7c", \r
-        "type": "switchNode", \r
-        "name": "test operational-state", \r
-        "xml": "<switch test=\"`$ztetopologynodedetails.node.global-state-pac.operational-state == 'ENABLED'`\">\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 3692, \r
-        "y": 1696, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "f73009af.d52ca8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4487,\r
+        "y": 1816,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6efad235.03a13c",\r
+        "type": "update",\r
+        "name": "save p-interface",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid\n      AND p-interface.interface-name = $zte-unique-ltpId' >      \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='in-maint' value=\"true\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4520,\r
+        "y": 1701,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "367baa79.63cc46",\r
+        "type": "update",\r
+        "name": "save p-interface",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid\n      AND p-interface.interface-name = $zte-unique-ltpId' >      \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='in-maint' value=\"true\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4514,\r
+        "y": 1877,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bcbc6e2c.3314",\r
+        "type": "set",\r
+        "name": "set params",\r
+        "xml": "<set>\n<parameter name='prop.zte.network-id' value=\"zteNetwork\" />\n<parameter name='prop.zte.client-id' value=\"zteClient1\" />\n<parameter name='prop.zte.topo-id' value=\"zteTopo1\" />\n<parameter name='prop.zte.provider-id' value=\"zteProvider1\" />\n",\r
+        "comments": "",\r
+        "x": 1604,\r
+        "y": 597,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2d5905b0.3495ea",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1871,\r
+        "y": 749,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "e65d9fab.c131f", \r
-                "fc04748b.c0e76"\r
+                "c9e69fe4.50fcd",\r
+                "69930609.325f68"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "e65d9fab.c131f", \r
-        "type": "outcomeTrue", \r
-        "name": "true", \r
-        "xml": "<outcome value='true'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 3908, \r
-        "y": 1699, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "69930609.325f68",\r
+        "type": "set",\r
+        "name": "set odutopo node name",\r
+        "xml": "<set>\n<parameter name='prop.zte.odutopo.node.name' value='`$ztetopologynode.output.topology.node-ref-id[$pidx]`' />\n",\r
+        "comments": "",\r
+        "x": 2135,\r
+        "y": 674,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e65cd4cb.61e0c8",\r
+        "type": "set",\r
+        "name": "set odutopo node nep uuid",\r
+        "xml": "<set>\n<parameter name='prop.zte.odutopo.node.nep.uuid' value='`$ztetopologynodedetails.output.node.node-edge-point-id[$ridx]`' />\n",\r
+        "comments": "",\r
+        "x": 2652,\r
+        "y": 1158,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7e2199ff.99b1c8",\r
+        "type": "for",\r
+        "name": "for each oduTopology node nep",\r
+        "xml": "<for index='ridx' start='0' end='`$ztetopologynodedetails.output.node.node-edge-point-id_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2132,\r
+        "y": 1159,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "d2080e42.04e638"\r
+                "cf240b59.497fb8"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "fc04748b.c0e76", \r
-        "type": "outcomeFalse", \r
-        "name": "false", \r
-        "xml": "<outcome value='false'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 3911, \r
-        "y": 1813, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "cf240b59.497fb8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2397,\r
+        "y": 1158,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            [\r
+                "e65cd4cb.61e0c8",\r
+                "f00776db.4dbaf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f75f21b7.efa77",\r
+        "type": "set",\r
+        "name": "set zte bandwidth",\r
+        "xml": "<set>\n<parameter name='zte-bandwidth' value='`1250000000 * $ztetopologynodenepdetails.output.node-edge-point.lp[0].odu-nep-pac.odu-capacity`' />\n",\r
+        "comments": "",\r
+        "x": 3679,\r
+        "y": 1598,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "16563079.8d5e2",\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": 1551,\r
+        "y": 114,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ca881019.9ce88",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1353,\r
+        "y": 664,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "278d5ea5.1b82ca"\r
+                "bcbc6e2c.3314",\r
+                "4b8d1cd8.c32504",\r
+                "48652b97.2fedc4"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "278d5ea5.1b82ca", \r
-        "type": "update", \r
-        "name": "save p-interface", \r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n      key='pnf.pnf-name = $ztetopologynodedetails.node.uuid\n      AND p-interface.interface-name = $zte-unique-ltpId' >      \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"down\" />\n<parameter name='in-maint' value=\"true\" />\n\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 4118, \r
-        "y": 1813, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "6aaa8b79.149894",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test=\"`$ztetopologynode.output.topology.layer-protocol-name[0] == 'ODU'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1059,\r
+        "y": 562,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "775b7d93.cb0874", \r
-                "ee21bf18.cecaa"\r
+                "3cbcd27b.e8a5ce",\r
+                "e7e2532e.34e23"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "775b7d93.cb0874", \r
-        "type": "success", \r
-        "name": "success", \r
-        "xml": "<outcome value='success'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 4306, \r
-        "y": 1813, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "e7e2532e.34e23",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1204,\r
+        "y": 664,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "c0aead49.1958f8"\r
+                "ca881019.9ce88"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "ee21bf18.cecaa", \r
-        "type": "failure", \r
-        "name": "failure", \r
-        "xml": "<outcome value='failure'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 4303, \r
-        "y": 1874, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "3cbcd27b.e8a5ce",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1206,\r
+        "y": 562,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "54ef23c0.7c3d8c"\r
+                "4a607014.a17fa"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "c0aead49.1958f8", \r
-        "type": "block", \r
-        "name": "block", \r
-        "xml": "<block>\n", \r
-        "atomic": "false", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 4492, \r
-        "y": 1813, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "48e7c11a.010d9", \r
-        "type": "update", \r
-        "name": "save p-interface", \r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n      key='pnf.pnf-name = $ztetopologynodedetails.node.uuid\n      AND p-interface.interface-name = $zte-unique-ltpId' >      \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='in-maint' value=\"true\" />\n\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 4525, \r
-        "y": 1698, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "54ef23c0.7c3d8c", \r
-        "type": "update", \r
-        "name": "save p-interface", \r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n      key='pnf.pnf-name = $ztetopologynodedetails.node.uuid\n      AND p-interface.interface-name = $zte-unique-ltpId' >      \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='in-maint' value=\"true\" />\n\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 4519, \r
-        "y": 1874, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "9645ad1c.475eb", \r
-        "type": "set", \r
-        "name": "set params", \r
-        "xml": "<set>\n<parameter name='prop.zte.network-id' value=\"zteNetwork\" />\n<parameter name='prop.zte.client-id' value=\"zteClient1\" />\n<parameter name='prop.zte.topo-id' value=\"zteTopo1\" />\n<parameter name='prop.zte.provider-id' value=\"zteProvider1\" />\n<parameter name='prop.zte.odutopo.name' value='`$ztetopology.output.topology.node-ref-id[$nidx]`' />\n", \r
-        "comments": "", \r
-        "x": 1957, \r
-        "y": 333, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [ ]\r
-    }, \r
-    {\r
-        "id": "a25bc521.5bb6a", \r
-        "type": "block", \r
-        "name": "block", \r
-        "xml": "<block>\n", \r
-        "atomic": "false", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 1957, \r
-        "y": 689, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "9b66d171.8f74a",\r
+        "type": "set",\r
+        "name": "set topo name",\r
+        "xml": "<set>\n<parameter name='prop.zte.odutopo.name' value='`$ztetopology.output.topology.node-ref-id[$nidx]`' />\n",\r
+        "comments": "",\r
+        "x": 1916,\r
+        "y": 336,\r
+        "z": "540d3add.6d0b44",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5cd977af.6d2188",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1725,\r
+        "y": 336,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "11d1e28b.963c9d", \r
-                "9403cfc0.48bae8"\r
+                "9b66d171.8f74a",\r
+                "5d5e9d41.c00664"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "9403cfc0.48bae8", \r
-        "type": "set", \r
-        "name": "set odutopo node name", \r
-        "xml": "<set>\n<parameter name='prop.zte.odutopo.node.name' value='`$ztetopologynode.output.topology.node-ref-id[$pidx]`' />\n", \r
-        "comments": "", \r
-        "x": 2221, \r
-        "y": 614, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [ ]\r
-    }, \r
-    {\r
-        "id": "d1f5b2ac.93ca5", \r
-        "type": "set", \r
-        "name": "set odutopo node nep uuid", \r
-        "xml": "<set>\n<parameter name='prop.zte.odutopo.node.nep.uuid' value='`$ztetopologynodedetails.output.node.node-edge-point-id[$ridx]`' />\n", \r
-        "comments": "", \r
-        "x": 2657, \r
-        "y": 1155, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [ ]\r
-    }, \r
-    {\r
-        "id": "61c3b72.b4d2c48", \r
-        "type": "for", \r
-        "name": "for each oduTopology node nep", \r
-        "xml": "<for index='ridx' start='0' end='`$ztetopologynodedetails.output.node.node-edge-point-id_length`' >\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2137, \r
-        "y": 1156, \r
-        "z": "5c3ac6a5.48ce2", \r
+    },\r
+    {\r
+        "id": "36d5c2cc.d55c4e",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3216,\r
+        "y": 1510,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "ba3d5d3.bbc9ca"\r
+                "62e34399.97db9c"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "ba3d5d3.bbc9ca", \r
-        "type": "block", \r
-        "name": "block", \r
-        "xml": "<block>\n", \r
-        "atomic": "false", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 2402, \r
-        "y": 1155, \r
-        "z": "5c3ac6a5.48ce2", \r
+        "id": "c6db88ea.32d128",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3210,\r
+        "y": 1437,\r
+        "z": "540d3add.6d0b44",\r
         "wires": [\r
             [\r
-                "d1f5b2ac.93ca5", \r
-                "7f6ccbfa.b45a74"\r
+                "209b7c79.7331c4"\r
             ]\r
         ]\r
-    }, \r
-    {\r
-        "id": "ab8b449e.5887e", \r
-        "type": "set", \r
-        "name": "set zte bandwidth", \r
-        "xml": "<set>\n<parameter name='zte-bandwidth' value='`1000 * 1000000 * 1.25 * $ztetopologynodenepdetails.node-edge-point.lp[0].odu-nep-pac.oducapacity`' />\n", \r
-        "comments": "", \r
-        "x": 3684, \r
-        "y": 1595, \r
-        "z": "5c3ac6a5.48ce2", \r
-        "wires": [ ]\r
     }\r
 ]
\ No newline at end of file
index ba7a989..c502687 100644 (file)
-[
-    {
-        "id": "197ffd5b.105fa3",
-        "type": "other",
-        "name": "update",
-        "xml": "<outcome value='Update'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 310,
-        "y": 360,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "8298d18a.63e4b"
-            ]
-        ]
-    },
-    {
-        "id": "3bcc844d.917dbc",
-        "type": "other",
-        "name": "delete",
-        "xml": "<outcome value='delete'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 310,
-        "y": 440,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "9a40237.2d204e"
-            ]
-        ]
-    },
-    {
-        "id": "9a40237.2d204e",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "outputs": 1,
-        "x": 451.5,
-        "y": 440,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "7bf268a7.980d48",
-        "type": "comment",
-        "name": "TODO: Delete topology from AAI",
-        "info": "",
-        "comments": "",
-        "x": 384.3335189819336,
-        "y": 407.96899485588074,
-        "z": "a54d391e.88f7d8",
-        "wires": []
-    },
-    {
-        "id": "9d107456.f08fe8",
-        "type": "switchNode",
-        "name": "switch aai-event-trigger",
-        "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 140.5,
-        "y": 400,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "197ffd5b.105fa3",
-                "3bcc844d.917dbc"
-            ]
-        ]
-    },
-    {
-        "id": "68d03f9b.5e646",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "outputs": 1,
-        "x": 871.5,
-        "y": 240,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "608a6bc.8344d94",
-                "7a11c3b.828ac3c",
-                "365e44a4.701f6c",
-                "a3a71589.3e7428",
-                "c3222caa.a5e2a"
-            ]
-        ]
-    },
-    {
-        "id": "7a11c3b.828ac3c",
-        "type": "execute",
-        "name": "execute RestApiCallNode Get token",
-        "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\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1144.5001983642578,
-        "y": 161.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "15e6e327.6bb24d",
-                "b8526c6a.21372"
-            ]
-        ]
-    },
-    {
-        "id": "15e6e327.6bb24d",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1358.0001983642578,
-        "y": 141.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "eada649a.e312c8"
-            ]
-        ]
-    },
-    {
-        "id": "b8526c6a.21372",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1354.0001983642578,
-        "y": 181.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "bf5d38a1.f76208"
-            ]
-        ]
-    },
-    {
-        "id": "eada649a.e312c8",
-        "type": "set",
-        "name": "set token-id",
-        "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
-        "comments": "",
-        "x": 1508.5001983642578,
-        "y": 141.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": []
-    },
-    {
-        "id": "3ad01439.f9afec",
-        "type": "execute",
-        "name": "execute RestApiCallNode Get Topology",
-        "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`\" />",
-        "comments": "",
-        "outputs": 1,
-        "x": 1575.5001983642578,
-        "y": 261.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "a2f37f5d.3d152",
-                "76d94eec.78391"
-            ]
-        ]
-    },
-    {
-        "id": "a2f37f5d.3d152",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1818.0001983642578,
-        "y": 281.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "f2edc52a.829ae8"
-            ]
-        ]
-    },
-    {
-        "id": "f2edc52a.829ae8",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 1975.5001983642578,
-        "y": 281.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "2876228a.bd45de"
-            ]
-        ]
-    },
-    {
-        "id": "f0deaa8b.a77c48",
-        "type": "returnFailure",
-        "name": "return failure",
-        "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",
-        "comments": "",
-        "x": 1952.0001983642578,
-        "y": 181.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": []
-    },
-    {
-        "id": "76d94eec.78391",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1814.0001983642578,
-        "y": 181.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "f0deaa8b.a77c48"
-            ]
-        ]
-    },
-    {
-        "id": "a45743c4.fd9ac",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 98,
-        "y": 100,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "4069c94b.4e3178"
-            ]
-        ]
-    },
-    {
-        "id": "4069c94b.4e3178",
-        "type": "service-logic",
-        "name": "DataChange ${project.version}",
-        "module": "DataChange",
-        "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='DataChange' version='${project.version}'>",
-        "outputs": 1,
-        "x": 164,
-        "y": 160,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "a97cf7f0.905958"
-            ]
-        ]
-    },
-    {
-        "id": "a97cf7f0.905958",
-        "type": "method",
-        "name": "method esr-thirdparty-sdnc-discovery",
-        "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 184,
-        "y": 240,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "8d013bc1.d159b8"
-            ]
-        ]
-    },
-    {
-        "id": "8d013bc1.d159b8",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 431.5,
-        "y": 240,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "9d107456.f08fe8"
-            ]
-        ]
-    },
-    {
-        "id": "2876228a.bd45de",
-        "type": "for",
-        "name": "for each Network",
-        "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1401.5002136230469,
-        "y": 380.0000247955322,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "ef7b8418.bcb8e8"
-            ]
-        ]
-    },
-    {
-        "id": "ef7b8418.bcb8e8",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1550.0002136230469,
-        "y": 380.0000247955322,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "64202ed1.e0b41",
-                "93269044.8fece"
-            ]
-        ]
-    },
-    {
-        "id": "64202ed1.e0b41",
-        "type": "call",
-        "name": "call update-network-to-aai",
-        "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1729.0002136230469,
-        "y": 400.0000247955322,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "93269044.8fece",
-        "type": "set",
-        "name": "set network",
-        "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",
-        "comments": "",
-        "x": 1684.0002136230469,
-        "y": 360.0000247955322,
-        "z": "a54d391e.88f7d8",
-        "wires": []
-    },
-    {
-        "id": "bf5d38a1.f76208",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1474.0001983642578,
-        "y": 181.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "9588f43b.0d44f8",
-        "type": "comment",
-        "name": "Do Nothing",
-        "info": "",
-        "comments": "",
-        "x": 1644.0001983642578,
-        "y": 221.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": []
-    },
-    {
-        "id": "60d84913.695d78",
-        "type": "switchNode",
-        "name": "switch type",
-        "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 563,
-        "y": 360,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "de59227b.bacf9",
-                "1a34048f.8eca2b"
-            ]
-        ]
-    },
-    {
-        "id": "8298d18a.63e4b",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 430,
-        "y": 360,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "60d84913.695d78"
-            ]
-        ]
-    },
-    {
-        "id": "de59227b.bacf9",
-        "type": "other",
-        "name": "SOTN",
-        "xml": "<outcome value='SOTN'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 710,
-        "y": 240,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "68d03f9b.5e646"
-            ]
-        ]
-    },
-    {
-        "id": "1a34048f.8eca2b",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 725.0000076293945,
-        "y": 479.00003242492676,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "7faf207a.622e5"
-            ]
-        ]
-    },
-    {
-        "id": "7faf207a.622e5",
-        "type": "returnFailure",
-        "name": "return failure",
-        "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",
-        "comments": "",
-        "x": 903.0000076293945,
-        "y": 479.00003242492676,
-        "z": "a54d391e.88f7d8",
-        "wires": []
-    },
-    {
-        "id": "608a6bc.8344d94",
-        "type": "execute",
-        "name": "execute Properties",
-        "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",
-        "comments": "",
-        "outputs": 1,
-        "x": 1091.0001983642578,
-        "y": 121.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "365e44a4.701f6c",
-        "type": "switchNode",
-        "name": "switch prop.sdncRestApi.token_id",
-        "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1137.5001983642578,
-        "y": 241.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "b737a6fe.87cf68",
-                "878b1fd0.506dd"
-            ]
-        ]
-    },
-    {
-        "id": "b737a6fe.87cf68",
-        "type": "other",
-        "name": "Null",
-        "xml": "<outcome value=''>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1354.0001983642578,
-        "y": 221.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "de7d499c.f87aa8"
-            ]
-        ]
-    },
-    {
-        "id": "878b1fd0.506dd",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1354.0001983642578,
-        "y": 261.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "3ad01439.f9afec"
-            ]
-        ]
-    },
-    {
-        "id": "de7d499c.f87aa8",
-        "type": "execute",
-        "name": "execute RestApiCallNode Get Topology",
-        "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",
-        "comments": "",
-        "outputs": 1,
-        "x": 1575.5001983642578,
-        "y": 221.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            [
-                "76d94eec.78391",
-                "a2f37f5d.3d152"
-            ]
-        ]
-    },
-    {
-        "id": "c3222caa.a5e2a",
-        "type": "execute",
-        "name": "execute RestconfDiscoveryNode",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscription' >\n<parameter name=\"subscriberId\" value=\"sotn-controller\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\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`\" />\n<parameter name=\"module\" value=\"DataChange\" />\n<parameter name=\"rpc\" value=\"sotn-notification-handler\" />\n<parameter name=\"mode\" value=\"sync\" />",
-        "comments": "",
-        "outputs": 1,
-        "x": 1134.0001983642578,
-        "y": 381.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "a3a71589.3e7428",
-        "type": "set",
-        "name": "set encoding-format",
-        "xml": "<set>\n<parameter name='input' value='ietf-subscribed-notifications:establish-subscription.input.' />\n<parameter name=\"`$input + 'encoding'`\" value=\"encode-json\" />",
-        "comments": "",
-        "x": 1094.0001983642578,
-        "y": 341.00000953674316,
-        "z": "a54d391e.88f7d8",
-        "wires": []
-    },
-    {
-        "id": "98c18166.4a0f3",
-        "type": "comment",
-        "name": "Notification subscription",
-        "info": "",
-        "comments": "",
-        "x": 1099.000343322754,
-        "y": 298.00000858306885,
-        "z": "a54d391e.88f7d8",
-        "wires": []
-    }
+[\r
+    {\r
+        "id": "26c72de4.f15082", \r
+        "type": "other", \r
+        "name": "update", \r
+        "xml": "<outcome value='Update'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 666, \r
+        "y": 254, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "414d6ccb.3d26fc"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "41138058.b8876", \r
+        "type": "other", \r
+        "name": "delete", \r
+        "xml": "<outcome value='delete'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 666, \r
+        "y": 334, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "25011722.26281"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "25011722.26281", \r
+        "type": "block", \r
+        "name": "block : atomic", \r
+        "xml": "<block atomic=\"true\">", \r
+        "atomic": "true", \r
+        "outputs": 1, \r
+        "x": 807.5, \r
+        "y": 334, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "8fedb811.8ebe38", \r
+        "type": "comment", \r
+        "name": "TODO: Delete topology from AAI", \r
+        "info": "", \r
+        "comments": "", \r
+        "x": 740.3335189819336, \r
+        "y": 301.96899485588074, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "fc46fa0c.31e87", \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": 496.5, \r
+        "y": 294, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "26c72de4.f15082", \r
+                "41138058.b8876"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "73bed9ba.1eeb9", \r
+        "type": "block", \r
+        "name": "block : atomic", \r
+        "xml": "<block atomic=\"true\">", \r
+        "atomic": "true", \r
+        "outputs": 1, \r
+        "x": 1193.5, \r
+        "y": 165, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "ebd26579.8d9818", \r
+                "7c364355.c7d31c", \r
+                "6bff7a95.f6b11c", \r
+                "e40bbeb2.1466c", \r
+                "257a5269.7c0d86"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "7c364355.c7d31c", \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": 1466.5001983642578, \r
+        "y": 86.00000953674316, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "460f203b.a3333", \r
+                "2634113c.c7fc8e"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "460f203b.a3333", \r
+        "type": "success", \r
+        "name": "success", \r
+        "xml": "<outcome value='success'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1756.000244140625, \r
+        "y": 78, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "964773.4acb289"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "2634113c.c7fc8e", \r
+        "type": "failure", \r
+        "name": "failure", \r
+        "xml": "<outcome value='failure'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1752.000244140625, \r
+        "y": 118, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "67cff30a.da3b54"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "964773.4acb289", \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": 1906.500244140625, \r
+        "y": 78, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "3bf66a70.af3866", \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": 1973.500244140625, \r
+        "y": 198, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "83daffef.93261", \r
+                "9a6001a7.b0681"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "83daffef.93261", \r
+        "type": "success", \r
+        "name": "success", \r
+        "xml": "<outcome value='success'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 2216.000244140625, \r
+        "y": 218, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "815ae1d4.60f8"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "815ae1d4.60f8", \r
+        "type": "block", \r
+        "name": "block : atomic", \r
+        "xml": "<block atomic=\"true\">", \r
+        "atomic": "true", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 2373.500244140625, \r
+        "y": 218, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "a1b0634d.e55008"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "56a034a.503e6cc", \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.000244140625, \r
+        "y": 118, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "9a6001a7.b0681", \r
+        "type": "failure", \r
+        "name": "failure", \r
+        "xml": "<outcome value='failure'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 2212.000244140625, \r
+        "y": 118, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "56a034a.503e6cc"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "39a13bfe.fb4444", \r
+        "type": "dgstart", \r
+        "name": "DGSTART", \r
+        "outputs": 1, \r
+        "x": 66, \r
+        "y": 29, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "5147cfad.5c3908"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "5147cfad.5c3908", \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": 132, \r
+        "y": 89, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "15128d59.469f9b"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "15128d59.469f9b", \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": 152, \r
+        "y": 169, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "1baee5be.1b11da"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "1baee5be.1b11da", \r
+        "type": "block", \r
+        "name": "block : atomic", \r
+        "xml": "<block atomic=\"true\">\n", \r
+        "atomic": "false", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 399.5, \r
+        "y": 169, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "f40069ea.6c541"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "a1b0634d.e55008", \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": 1799.500259399414, \r
+        "y": 317.00001525878906, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "e7339f4e.4a45b8"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "e7339f4e.4a45b8", \r
+        "type": "block", \r
+        "name": "block", \r
+        "xml": "<block>\n", \r
+        "atomic": "false", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1948.000259399414, \r
+        "y": 317.00001525878906, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "e39a1349.d59948", \r
+                "a69e5196.594768"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "e39a1349.d59948", \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": 2127.000259399414, \r
+        "y": 337.00001525878906, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "a69e5196.594768", \r
+        "type": "set", \r
+        "name": "set network", \r
+        "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n", \r
+        "comments": "", \r
+        "x": 2082.000259399414, \r
+        "y": 297.00001525878906, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "67cff30a.da3b54", \r
+        "type": "block", \r
+        "name": "block", \r
+        "xml": "<block>\n", \r
+        "atomic": "false", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1872.000244140625, \r
+        "y": 118, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "86d88e9f.569c1", \r
+        "type": "comment", \r
+        "name": "Do Nothing", \r
+        "info": "", \r
+        "comments": "", \r
+        "x": 2042.000244140625, \r
+        "y": 158, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "9b7ecf5d.bb983", \r
+        "type": "switchNode", \r
+        "name": "switch type", \r
+        "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 919, \r
+        "y": 254, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "d7810e52.09a7a8", \r
+                "ef809a67.dde878"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "414d6ccb.3d26fc", \r
+        "type": "block", \r
+        "name": "block", \r
+        "xml": "<block>\n", \r
+        "atomic": "false", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 786, \r
+        "y": 254, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "9b7ecf5d.bb983"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "d7810e52.09a7a8", \r
+        "type": "other", \r
+        "name": "SOTN", \r
+        "xml": "<outcome value='SOTN'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1032, \r
+        "y": 165, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "73bed9ba.1eeb9"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "ef809a67.dde878", \r
+        "type": "other", \r
+        "name": "other", \r
+        "xml": "<outcome value='Other'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1047.0000076293945, \r
+        "y": 404.00003242492676, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "ad793f5e.17f88"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "ad793f5e.17f88", \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=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n", \r
+        "comments": "", \r
+        "x": 1225.0000076293945, \r
+        "y": 404.00003242492676, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "ebd26579.8d9818", \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": 1413.0001983642578, \r
+        "y": 46.000009536743164, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "6bff7a95.f6b11c", \r
+        "type": "switchNode", \r
+        "name": "switch prop.sdncRestApi.token_id", \r
+        "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1459.5001983642578, \r
+        "y": 166.00000953674316, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "baf46d81.bf5f6", \r
+                "789590c1.ea5428"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "baf46d81.bf5f6", \r
+        "type": "other", \r
+        "name": "Null", \r
+        "xml": "<outcome value=''>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1752.000244140625, \r
+        "y": 158, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "fe0ff87c.8c90c"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "789590c1.ea5428", \r
+        "type": "other", \r
+        "name": "other", \r
+        "xml": "<outcome value='Other'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1752.000244140625, \r
+        "y": 198, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "3bf66a70.af3866"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "fe0ff87c.8c90c", \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", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1973.500244140625, \r
+        "y": 158, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "9a6001a7.b0681", \r
+                "83daffef.93261"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "257a5269.7c0d86", \r
+        "type": "execute", \r
+        "name": "execute RestconfDiscoveryNode", \r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscription' >\n<parameter name=\"subscriberId\" value=\"sotn-controller\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\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`\" />\n<parameter name=\"module\" value=\"DataChange\" />\n<parameter name=\"rpc\" value=\"sotn-notification-handler\" />\n<parameter name=\"mode\" value=\"sync\" />", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1456.0001983642578, \r
+        "y": 306.00000953674316, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "e40bbeb2.1466c", \r
+        "type": "set", \r
+        "name": "set encoding-format", \r
+        "xml": "<set>\n<parameter name='input' value='ietf-subscribed-notifications:establish-subscription.input.' />\n<parameter name=\"`$input + 'encoding'`\" value=\"encode-json\" />", \r
+        "comments": "", \r
+        "x": 1416.0001983642578, \r
+        "y": 266.00000953674316, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "d34b58fb.df8cd", \r
+        "type": "comment", \r
+        "name": "Notification subscription", \r
+        "info": "", \r
+        "comments": "", \r
+        "x": 1421.000343322754, \r
+        "y": 223.00000858306885, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "f40069ea.6c541", \r
+        "type": "switchNode", \r
+        "name": "switch", \r
+        "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 106, \r
+        "y": 294, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "5e28a0df.7fabe", \r
+                "39367b0f.d19614"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "5e28a0df.7fabe", \r
+        "type": "outcomeFalse", \r
+        "name": "false", \r
+        "xml": "<outcome value='false'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 293, \r
+        "y": 294, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "fc46fa0c.31e87"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "39367b0f.d19614", \r
+        "type": "outcomeTrue", \r
+        "name": "true", \r
+        "xml": "<outcome value='true'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 294, \r
+        "y": 419, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [\r
+                "8828fa0f.91d7c8"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "8828fa0f.91d7c8", \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": 517, \r
+        "y": 419, \r
+        "z": "1a9b8475.da0d2c", \r
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }\r
 ]
\ No newline at end of file
index 4212c38..756bc61 100644 (file)
 [\r
     {\r
-        "id": "78797449.a69d64", \r
-        "type": "dgstart", \r
-        "name": "DGSTART", \r
-        "outputs": 1, \r
-        "x": 95, \r
-        "y": 72, \r
-        "z": "eab52334.be231", \r
+        "id": "909bed3c.217f8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 197,\r
+        "y": 85,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "77d260.33eeb5a"\r
+                "42a75c1a.2a0054"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "77d260.33eeb5a", \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": 239, \r
-        "y": 185, \r
-        "z": "eab52334.be231", \r
+        "id": "42a75c1a.2a0054",\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": 341,\r
+        "y": 198,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "63d24477.5e1d24"\r
+                "d3b58cb6.7be93"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "63d24477.5e1d24", \r
-        "type": "method", \r
-        "name": "method esr-thirdparty-sdnc-of-zte", \r
-        "xml": "<method rpc='esr-thirdparty-sdnc-of-zte' mode='sync'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 164, \r
-        "y": 299, \r
-        "z": "eab52334.be231", \r
+        "id": "d3b58cb6.7be93",\r
+        "type": "method",\r
+        "name": "method esr-thirdparty-sdnc-of-zte",\r
+        "xml": "<method rpc='esr-thirdparty-sdnc-of-zte' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 266,\r
+        "y": 312,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "f10c2099.6d37a"\r
+                "d96a4272.22b2d"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "f10c2099.6d37a", \r
-        "type": "block", \r
-        "name": "block : atomic", \r
-        "xml": "<block atomic='true'>", \r
-        "atomic": "true", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 93, \r
-        "y": 433, \r
-        "z": "eab52334.be231", \r
+        "id": "d96a4272.22b2d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 195,\r
+        "y": 446,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "c6e14b97.61ebb8", \r
-                "336b2c1.b23ca54", \r
-                "ebdf7595.352788", \r
-                "bd214a4f.a0427"\r
+                "81ed8292.6b82",\r
+                "68becb2a.3bd784",\r
+                "d51d2b6.59965d8",\r
+                "33f265dc.9b698a"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "c6e14b97.61ebb8", \r
-        "type": "call", \r
-        "name": "call validate-esr-thirdparty-sdnc-input", \r
-        "xml": "<call module='DataChange' rpc='validate-esr-thirdparty-sdnc-input' mode='sync' >\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 451, \r
-        "y": 368, \r
-        "z": "eab52334.be231", \r
-        "wires": [\r
-            [ ]\r
-        ]\r
-    }, \r
-    {\r
-        "id": "336b2c1.b23ca54", \r
-        "type": "for", \r
-        "name": "for 0..key-data_length", \r
-        "xml": "<for index='idx' start='0' end='`$data-change-notification-input.key-data_length`' >\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 354, \r
-        "y": 438, \r
-        "z": "eab52334.be231", \r
+        "id": "81ed8292.6b82",\r
+        "type": "for",\r
+        "name": "for 0..key-data_length",\r
+        "xml": "<for index='idx' start='0' end='`$data-change-notification-input.key-data_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 456,\r
+        "y": 451,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "75c90043.ea9e58"\r
+                "f198696d.07cc58"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "75c90043.ea9e58", \r
-        "type": "block", \r
-        "name": "block", \r
-        "xml": "<block>\n", \r
-        "atomic": "false", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 545, \r
-        "y": 439, \r
-        "z": "eab52334.be231", \r
+        "id": "f198696d.07cc58",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 647,\r
+        "y": 452,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "128f1b66.00dc0d", \r
-                "c1d27f5c.c264f8", \r
-                "1a08949.79fd66b", \r
-                "8cc1f05e.92f468", \r
-                "25639564.010e22", \r
-                "7b8ba016.fbb3e8"\r
+                "15a59c73.3ad834",\r
+                "557fb41a.fc54ec",\r
+                "2c8b7b9f.b0acf4",\r
+                "25227c9b.d556a4",\r
+                "efe677e5.fc6308",\r
+                "8d2d3c75.3a0c9"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "128f1b66.00dc0d", \r
-        "type": "switchNode", \r
-        "name": "switch service-url", \r
-        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'service-url'`\">\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 754, \r
-        "y": 370, \r
-        "z": "eab52334.be231", \r
+        "id": "15a59c73.3ad834",\r
+        "type": "switchNode",\r
+        "name": "switch service-url",\r
+        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'service-url'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 856,\r
+        "y": 383,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "a2c28074.c9e3a8"\r
+                "b5b04925.886a28"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "c1d27f5c.c264f8", \r
-        "type": "switchNode", \r
-        "name": "switch user-name", \r
-        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'user-name'`\">\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 754, \r
-        "y": 433, \r
-        "z": "eab52334.be231", \r
+        "id": "557fb41a.fc54ec",\r
+        "type": "switchNode",\r
+        "name": "switch user-name",\r
+        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'user-name'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 856,\r
+        "y": 446,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "1403e272.365546"\r
+                "bfe7936.c0f7f7"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "1a08949.79fd66b", \r
-        "type": "switchNode", \r
-        "name": "switch password", \r
-        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'password'`\">\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 750, \r
-        "y": 492, \r
-        "z": "eab52334.be231", \r
+        "id": "2c8b7b9f.b0acf4",\r
+        "type": "switchNode",\r
+        "name": "switch password",\r
+        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'password'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 852,\r
+        "y": 505,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "ad2ddd93.50432"\r
+                "3e6f0e11.6ee952"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "8cc1f05e.92f468", \r
-        "type": "switchNode", \r
-        "name": "switch esr-system-info-id", \r
-        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'esr-system-info-id'`\">\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 777, \r
-        "y": 555, \r
-        "z": "eab52334.be231", \r
+        "id": "25227c9b.d556a4",\r
+        "type": "switchNode",\r
+        "name": "switch esr-system-info-id",\r
+        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'esr-system-info-id'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 879,\r
+        "y": 568,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "e0b54647.aef0b8"\r
+                "329a080c.012238"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "25639564.010e22", \r
-        "type": "switchNode", \r
-        "name": "switch thirdparty-sdnc-id", \r
-        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'thirdparty-sdnc-id'`\">\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 776, \r
-        "y": 616, \r
-        "z": "eab52334.be231", \r
+        "id": "efe677e5.fc6308",\r
+        "type": "switchNode",\r
+        "name": "switch thirdparty-sdnc-id",\r
+        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'thirdparty-sdnc-id'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 878,\r
+        "y": 629,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "ec3c7d9e.1913d8"\r
+                "93ea3ac5.6755a8"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "7b8ba016.fbb3e8", \r
-        "type": "switchNode", \r
-        "name": "switch type", \r
-        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'type'`\">\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 735, \r
-        "y": 683, \r
-        "z": "eab52334.be231", \r
+        "id": "8d2d3c75.3a0c9",\r
+        "type": "switchNode",\r
+        "name": "switch type",\r
+        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'type'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 837,\r
+        "y": 696,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "10575d8e.fe0d6a"\r
+                "840db98b.49b268"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "a2c28074.c9e3a8", \r
-        "type": "outcomeTrue", \r
-        "name": "true", \r
-        "xml": "<outcome value='true'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 973, \r
-        "y": 370, \r
-        "z": "eab52334.be231", \r
+        "id": "b5b04925.886a28",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1075,\r
+        "y": 383,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "767b34d1.0a080c"\r
+                "2d9eaf7b.6319e"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "1403e272.365546", \r
-        "type": "outcomeTrue", \r
-        "name": "true", \r
-        "xml": "<outcome value='true'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 972, \r
-        "y": 432, \r
-        "z": "eab52334.be231", \r
+        "id": "bfe7936.c0f7f7",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1074,\r
+        "y": 445,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "92e73df5.564cf"\r
+                "2b796aae.5b34a6"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "ad2ddd93.50432", \r
-        "type": "outcomeTrue", \r
-        "name": "true", \r
-        "xml": "<outcome value='true'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 972, \r
-        "y": 491, \r
-        "z": "eab52334.be231", \r
+        "id": "3e6f0e11.6ee952",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1074,\r
+        "y": 504,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "9fc08956.e0f9c"\r
+                "34eaee93.2338c2"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "e0b54647.aef0b8", \r
-        "type": "outcomeTrue", \r
-        "name": "true", \r
-        "xml": "<outcome value='true'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 972, \r
-        "y": 555, \r
-        "z": "eab52334.be231", \r
+        "id": "329a080c.012238",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1074,\r
+        "y": 568,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "1343e358.22771d"\r
+                "c6a07788.15af18"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "ec3c7d9e.1913d8", \r
-        "type": "outcomeTrue", \r
-        "name": "true", \r
-        "xml": "<outcome value='true'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 969, \r
-        "y": 616, \r
-        "z": "eab52334.be231", \r
+        "id": "93ea3ac5.6755a8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1071,\r
+        "y": 629,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "223f6129.11e8ee"\r
+                "4b734f80.6eb31"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "10575d8e.fe0d6a", \r
-        "type": "outcomeTrue", \r
-        "name": "true", \r
-        "xml": "<outcome value='true'>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 968, \r
-        "y": 682, \r
-        "z": "eab52334.be231", \r
+        "id": "840db98b.49b268",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1070,\r
+        "y": 695,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
             [\r
-                "a24c3d6c.c679f8"\r
+                "2ea57fe6.0f677"\r
             ]\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "767b34d1.0a080c", \r
-        "type": "set", \r
-        "name": "set service-url", \r
-        "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.url' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n", \r
-        "comments": "", \r
-        "x": 1151, \r
-        "y": 370, \r
-        "z": "eab52334.be231", \r
-        "wires": [ ]\r
-    }, \r
+        "id": "2d9eaf7b.6319e",\r
+        "type": "set",\r
+        "name": "set service-url",\r
+        "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.url' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",\r
+        "comments": "",\r
+        "x": 1253,\r
+        "y": 383,\r
+        "z": "6337c566.8d383c",\r
+        "wires": []\r
+    },\r
     {\r
-        "id": "92e73df5.564cf", \r
-        "type": "set", \r
-        "name": "set user", \r
-        "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.user' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n", \r
-        "comments": "", \r
-        "x": 1151, \r
-        "y": 432, \r
-        "z": "eab52334.be231", \r
-        "wires": [ ]\r
-    }, \r
+        "id": "2b796aae.5b34a6",\r
+        "type": "set",\r
+        "name": "set user",\r
+        "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.user' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",\r
+        "comments": "",\r
+        "x": 1253,\r
+        "y": 445,\r
+        "z": "6337c566.8d383c",\r
+        "wires": []\r
+    },\r
     {\r
-        "id": "9fc08956.e0f9c", \r
-        "type": "set", \r
-        "name": "set password", \r
-        "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.password' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n", \r
-        "comments": "", \r
-        "x": 1152, \r
-        "y": 491, \r
-        "z": "eab52334.be231", \r
-        "wires": [ ]\r
-    }, \r
+        "id": "34eaee93.2338c2",\r
+        "type": "set",\r
+        "name": "set password",\r
+        "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.password' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",\r
+        "comments": "",\r
+        "x": 1254,\r
+        "y": 504,\r
+        "z": "6337c566.8d383c",\r
+        "wires": []\r
+    },\r
     {\r
-        "id": "1343e358.22771d", \r
-        "type": "set", \r
-        "name": "set system-info-id", \r
-        "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.system-info-id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n", \r
-        "comments": "", \r
-        "x": 1150, \r
-        "y": 555, \r
-        "z": "eab52334.be231", \r
-        "wires": [ ]\r
-    }, \r
+        "id": "c6a07788.15af18",\r
+        "type": "set",\r
+        "name": "set system-info-id",\r
+        "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.system-info-id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",\r
+        "comments": "",\r
+        "x": 1252,\r
+        "y": 568,\r
+        "z": "6337c566.8d383c",\r
+        "wires": []\r
+    },\r
     {\r
-        "id": "223f6129.11e8ee", \r
-        "type": "set", \r
-        "name": "set thirdparty-sdnc-id", \r
-        "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n", \r
-        "comments": "", \r
-        "x": 1148, \r
-        "y": 616, \r
-        "z": "eab52334.be231", \r
-        "wires": [ ]\r
-    }, \r
+        "id": "4b734f80.6eb31",\r
+        "type": "set",\r
+        "name": "set thirdparty-sdnc-id",\r
+        "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",\r
+        "comments": "",\r
+        "x": 1250,\r
+        "y": 629,\r
+        "z": "6337c566.8d383c",\r
+        "wires": []\r
+    },\r
     {\r
-        "id": "a24c3d6c.c679f8", \r
-        "type": "set", \r
-        "name": "set type", \r
-        "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.type' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n", \r
-        "comments": "", \r
-        "x": 1148, \r
-        "y": 682, \r
-        "z": "eab52334.be231", \r
-        "wires": [ ]\r
-    }, \r
+        "id": "2ea57fe6.0f677",\r
+        "type": "set",\r
+        "name": "set type",\r
+        "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.type' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",\r
+        "comments": "",\r
+        "x": 1250,\r
+        "y": 695,\r
+        "z": "6337c566.8d383c",\r
+        "wires": []\r
+    },\r
     {\r
-        "id": "ebdf7595.352788", \r
-        "type": "record", \r
-        "name": "record", \r
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/zte.svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"data-change-notification\"/>\n<parameter name=\"field3\" value=\"Config\"/>\n<parameter name=\"field4\" value=\"`service-url`\"/>\n<parameter name=\"field5\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url`\"/>\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 304, \r
-        "y": 525, \r
-        "z": "eab52334.be231", \r
+        "id": "68becb2a.3bd784",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/zte.svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"data-change-notification\"/>\n<parameter name=\"field3\" value=\"Config\"/>\n<parameter name=\"field4\" value=\"`service-url`\"/>\n<parameter name=\"field5\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 406,\r
+        "y": 538,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
-            [ ]\r
+            []\r
         ]\r
-    }, \r
+    },\r
     {\r
-        "id": "bd214a4f.a0427", \r
-        "type": "call", \r
-        "name": "call esr-thirdparty-sdnc-discovery-of-zte", \r
-        "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-discovery-of-zte' mode='sync' >\n", \r
-        "comments": "", \r
-        "outputs": 1, \r
-        "x": 395, \r
-        "y": 615, \r
-        "z": "eab52334.be231", \r
+        "id": "d51d2b6.59965d8",\r
+        "type": "call",\r
+        "name": "call esr-thirdparty-sdnc-discovery-of-zte",\r
+        "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-discovery-of-zte' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 497,\r
+        "y": 628,\r
+        "z": "6337c566.8d383c",\r
         "wires": [\r
-            [ ]\r
+            []\r
         ]\r
+    },\r
+    {\r
+        "id": "33f265dc.9b698a",\r
+        "type": "set",\r
+        "name": "set zte vendor",\r
+        "xml": "<set>\n<parameter name='prop.zte.sdncRestApi.vendor' value='`$prop.sdncRestApi.vendor`' />\n",\r
+        "comments": "",\r
+        "x": 433,\r
+        "y": 384,\r
+        "z": "6337c566.8d383c",\r
+        "wires": []\r
     }\r
 ]
\ No newline at end of file
index 2f759b4..4e0b325 100644 (file)
-[
-  {
-    "id": "49a378ca.1b3478",
-    "type": "dgstart",
-    "name": "DGSTART",
-    "outputs": 1,
-    "x": 121,
-    "y": 56,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "b3ec7247.15b52"
-      ]
-    ]
-  },
-  {
-    "id": "b3ec7247.15b52",
-    "type": "service-logic",
-    "name": "DataChange ${project.version}",
-    "module": "DataChange",
-    "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='DataChange' version='${project.version}'>",
-    "outputs": 1,
-    "x": 307.1111488342285,
-    "y": 160.44447135925293,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "7535c6a7.f3b5e8"
-      ]
-    ]
-  },
-  {
-    "id": "7535c6a7.f3b5e8",
-    "type": "method",
-    "name": "method esr-thirdparty-sdnc",
-    "xml": "<method rpc='esr-thirdparty-sdnc' mode='sync'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 304.5556983947754,
-    "y": 324.2222566604614,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "1400578.235a6a9"
-      ]
-    ]
-  },
-  {
-    "id": "1400578.235a6a9",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">\n",
-    "atomic": "false",
-    "comments": "",
-    "outputs": 1,
-    "x": 259.7779655456543,
-    "y": 459.1113119125366,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "25a04fbf.4bd09",
-        "8d1e2cc2.dc3cf",
-        "2d8a913.fdd0d6e",
-        "77f3068a.362d28"
-      ]
-    ]
-  },
-  {
-    "id": "2d8a913.fdd0d6e",
-    "type": "record",
-    "name": "record",
-    "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"data-change-notification\"/>\n<parameter name=\"field3\" value=\"Config\"/>\n<parameter name=\"field4\" value=\"`service-url`\"/>\n<parameter name=\"field5\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url`\"/>",
-    "comments": "",
-    "outputs": 1,
-    "x": 549,
-    "y": 530,
-    "z": "cbb28df7.1359",
-    "wires": [
-      []
-    ]
-  },
-  {
-    "id": "25a04fbf.4bd09",
-    "type": "call",
-    "name": "call validate-esr-thirdparty-sdnc-input",
-    "xml": "<call module='DataChange' rpc='validate-esr-thirdparty-sdnc-input' mode='sync' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 662.7776336669922,
-    "y": 392.9998035430908,
-    "z": "cbb28df7.1359",
-    "wires": [
-      []
-    ]
-  },
-  {
-    "id": "8d1e2cc2.dc3cf",
-    "type": "for",
-    "name": "for 0..key-data_length",
-    "xml": "<for index='idx' start='0' end='`$data-change-notification-input.key-data_length`' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 597.4441070556641,
-    "y": 475.19078826904297,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "8470a3b8.c68bb"
-      ]
-    ]
-  },
-  {
-    "id": "8470a3b8.c68bb",
-    "type": "block",
-    "name": "block",
-    "xml": "<block>\n",
-    "atomic": "false",
-    "comments": "",
-    "outputs": 1,
-    "x": 769.3335723876953,
-    "y": 474.4130334854126,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "2e5df795.078a08",
-        "6a42fb20.98a2b4",
-        "554fdd88.9dce84",
-        "a2362617.a38ac8",
-        "bbbe7cd.1d5138",
-        "2a8b4597.cff4ba",
-        "884a9190.06299"
-      ]
-    ]
-  },
-  {
-    "id": "2e5df795.078a08",
-    "type": "switchNode",
-    "name": "switch service-url",
-    "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'service-url'`\">\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 981.5552749633789,
-    "y": 384.5241861343384,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "1b6eea6.229c916"
-      ]
-    ]
-  },
-  {
-    "id": "1b6eea6.229c916",
-    "type": "outcomeTrue",
-    "name": "true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1145.5553970336914,
-    "y": 383.5554189682007,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "fd22b9a9.c98888"
-      ]
-    ]
-  },
-  {
-    "id": "fd22b9a9.c98888",
-    "type": "set",
-    "name": "set service-url",
-    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
-    "comments": "",
-    "x": 1299.5554885864258,
-    "y": 383.1554126739502,
-    "z": "cbb28df7.1359",
-    "wires": []
-  },
-  {
-    "id": "6a42fb20.98a2b4",
-    "type": "switchNode",
-    "name": "switch user-name",
-    "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'user-name'`\">\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 978.8450202941895,
-    "y": 453.7712459564209,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "7cf30c0f.3d4904"
-      ]
-    ]
-  },
-  {
-    "id": "7cf30c0f.3d4904",
-    "type": "outcomeTrue",
-    "name": "true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1147.8450088500977,
-    "y": 451.8024892807007,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "9353bb00.5c78e8"
-      ]
-    ]
-  },
-  {
-    "id": "9353bb00.5c78e8",
-    "type": "set",
-    "name": "set user",
-    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
-    "comments": "",
-    "x": 1283.8451614379883,
-    "y": 451.40248012542725,
-    "z": "cbb28df7.1359",
-    "wires": []
-  },
-  {
-    "id": "554fdd88.9dce84",
-    "type": "switchNode",
-    "name": "switch password",
-    "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'password'`\">\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 976.6228523254395,
-    "y": 519.3267955780029,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "a74025be.af1718"
-      ]
-    ]
-  },
-  {
-    "id": "a74025be.af1718",
-    "type": "outcomeTrue",
-    "name": "true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1148.6228103637695,
-    "y": 519.3580408096313,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "dba0cf08.2438c"
-      ]
-    ]
-  },
-  {
-    "id": "dba0cf08.2438c",
-    "type": "set",
-    "name": "set password",
-    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
-    "comments": "",
-    "x": 1303.6230545043945,
-    "y": 517.9580202102661,
-    "z": "cbb28df7.1359",
-    "wires": []
-  },
-  {
-    "id": "77f3068a.362d28",
-    "type": "call",
-    "name": "call esr-thirdparty-sdnc-discovery",
-    "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-discovery' mode='sync' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 620.4377593994141,
-    "y": 601.5490007400513,
-    "z": "cbb28df7.1359",
-    "wires": [
-      []
-    ]
-  },
-  {
-    "id": "a2362617.a38ac8",
-    "type": "switchNode",
-    "name": "switch esr-system-info-id",
-    "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'esr-system-info-id'`\">\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 998.4441528320312,
-    "y": 573.3331909179688,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "5cab102b.8494d"
-      ]
-    ]
-  },
-  {
-    "id": "5cab102b.8494d",
-    "type": "outcomeTrue",
-    "name": "true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1173.4441375732422,
-    "y": 571.3643522262573,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "71f47e13.cb288"
-      ]
-    ]
-  },
-  {
-    "id": "71f47e13.cb288",
-    "type": "set",
-    "name": "set esr-system-info-id",
-    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.system-info-id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
-    "comments": "",
-    "x": 1339.444107055664,
-    "y": 572.964376449585,
-    "z": "cbb28df7.1359",
-    "wires": []
-  },
-  {
-    "id": "bbbe7cd.1d5138",
-    "type": "switchNode",
-    "name": "switch thirdparty-sdnc-id",
-    "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'thirdparty-sdnc-id'`\">\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 993,
-    "y": 618,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "750fb82f.3c8b28"
-      ]
-    ]
-  },
-  {
-    "id": "750fb82f.3c8b28",
-    "type": "outcomeTrue",
-    "name": "true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1167.999984741211,
-    "y": 616.0311613082886,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "6331f258.3f8f8c"
-      ]
-    ]
-  },
-  {
-    "id": "6331f258.3f8f8c",
-    "type": "set",
-    "name": "set thirdparty-sdnc-id",
-    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
-    "comments": "",
-    "x": 1333.9999542236328,
-    "y": 617.6311855316162,
-    "z": "cbb28df7.1359",
-    "wires": []
-  },
-  {
-    "id": "2a8b4597.cff4ba",
-    "type": "switchNode",
-    "name": "switch type",
-    "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'type'`\">\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 943.0000305175781,
-    "y": 667.0000200271606,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "cc8e7403.36ff88"
-      ]
-    ]
-  },
-  {
-    "id": "cc8e7403.36ff88",
-    "type": "outcomeTrue",
-    "name": "true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1088.0000343322754,
-    "y": 666.0311889648438,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "d672d4f.959ba28"
-      ]
-    ]
-  },
-  {
-    "id": "d672d4f.959ba28",
-    "type": "set",
-    "name": "set type",
-    "xml": "<set>\n<parameter name='prop.sdncRestApi.type' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
-    "comments": "",
-    "x": 1220.0000381469727,
-    "y": 665.6312046051025,
-    "z": "cbb28df7.1359",
-    "wires": []
-  },
-  {
-    "id": "884a9190.06299",
-    "type": "switchNode",
-    "name": "switch vendor",
-    "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'vendor'`\">\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 944.0000267028809,
-    "y": 723.0000219345093,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "874c4c0f.cf42b"
-      ]
-    ]
-  },
-  {
-    "id": "874c4c0f.cf42b",
-    "type": "outcomeTrue",
-    "name": "true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1089.0000305175781,
-    "y": 722.0311908721924,
-    "z": "cbb28df7.1359",
-    "wires": [
-      [
-        "84239301.8f5d"
-      ]
-    ]
-  },
-  {
-    "id": "84239301.8f5d",
-    "type": "set",
-    "name": "set vendor",
-    "xml": "<set>\n<parameter name='prop.sdncRestApi.vendor' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
-    "comments": "",
-    "x": 1221.0000343322754,
-    "y": 721.6312065124512,
-    "z": "cbb28df7.1359",
-    "wires": []
-  }
-]
+[\r
+    {\r
+        "id": "99e701a0.2410d",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 136,\r
+        "y": 137,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "6330fb87.7056d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6330fb87.7056d4",\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": 322.1111488342285,\r
+        "y": 241.44447135925293,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "5d3152d6.fc261c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d3152d6.fc261c",\r
+        "type": "method",\r
+        "name": "method esr-thirdparty-sdnc",\r
+        "xml": "<method rpc='esr-thirdparty-sdnc' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 319.5556983947754,\r
+        "y": 405.2222566604614,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "fd1dfef.d4b4b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fd1dfef.d4b4b",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 274.7779655456543,\r
+        "y": 540.1113119125366,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "9b412bae.4b0eb8",\r
+                "cceae5d2.b0de18",\r
+                "ec471744.eb69b8",\r
+                "ca9b8814.58fc88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cceae5d2.b0de18",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"data-change-notification\"/>\n<parameter name=\"field3\" value=\"Config\"/>\n<parameter name=\"field4\" value=\"`service-url`\"/>\n<parameter name=\"field5\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 564,\r
+        "y": 611,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9b412bae.4b0eb8",\r
+        "type": "for",\r
+        "name": "for 0..key-data_length",\r
+        "xml": "<for index='idx' start='0' end='`$data-change-notification-input.key-data_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 612.4441070556641,\r
+        "y": 556.190788269043,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "d38c4e0c.d3a8e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d38c4e0c.d3a8e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 784.3335723876953,\r
+        "y": 555.4130334854126,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "923e10da.3124e",\r
+                "ad127485.a941f8",\r
+                "39c9791a.a004c6",\r
+                "2bf6fbdd.98dd24",\r
+                "e16dffa9.206d5",\r
+                "74936d17.d58244",\r
+                "f60efc3e.9d559"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "923e10da.3124e",\r
+        "type": "switchNode",\r
+        "name": "switch service-url",\r
+        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'service-url'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 996.5552749633789,\r
+        "y": 465.5241861343384,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "62882f3b.f43fb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "62882f3b.f43fb",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1160.5553970336914,\r
+        "y": 464.5554189682007,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "d288b1fe.c97e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d288b1fe.c97e8",\r
+        "type": "set",\r
+        "name": "set service-url",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",\r
+        "comments": "",\r
+        "x": 1314.5554885864258,\r
+        "y": 464.1554126739502,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ad127485.a941f8",\r
+        "type": "switchNode",\r
+        "name": "switch user-name",\r
+        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'user-name'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 993.8450202941895,\r
+        "y": 534.7712459564209,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "32e92192.48f84e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "32e92192.48f84e",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1162.8450088500977,\r
+        "y": 532.8024892807007,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "e32de5c0.443f28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e32de5c0.443f28",\r
+        "type": "set",\r
+        "name": "set user",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",\r
+        "comments": "",\r
+        "x": 1298.8451614379883,\r
+        "y": 532.4024801254272,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "39c9791a.a004c6",\r
+        "type": "switchNode",\r
+        "name": "switch password",\r
+        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'password'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 991.6228523254395,\r
+        "y": 600.3267955780029,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "699a3ade.cb3b24"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "699a3ade.cb3b24",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1163.6228103637695,\r
+        "y": 600.3580408096313,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "b4409b06.1c7a48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b4409b06.1c7a48",\r
+        "type": "set",\r
+        "name": "set password",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",\r
+        "comments": "",\r
+        "x": 1318.6230545043945,\r
+        "y": 598.9580202102661,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ec471744.eb69b8",\r
+        "type": "call",\r
+        "name": "call esr-thirdparty-sdnc-discovery",\r
+        "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-discovery' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 635.4377593994141,\r
+        "y": 682.5490007400513,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2bf6fbdd.98dd24",\r
+        "type": "switchNode",\r
+        "name": "switch esr-system-info-id",\r
+        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'esr-system-info-id'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1013.4441528320312,\r
+        "y": 654.3331909179688,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "6b800452.92b53c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b800452.92b53c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1188.4441375732422,\r
+        "y": 652.3643522262573,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "5fb25642.fe13a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5fb25642.fe13a8",\r
+        "type": "set",\r
+        "name": "set esr-system-info-id",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.system-info-id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",\r
+        "comments": "",\r
+        "x": 1354.444107055664,\r
+        "y": 653.964376449585,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e16dffa9.206d5",\r
+        "type": "switchNode",\r
+        "name": "switch thirdparty-sdnc-id",\r
+        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'thirdparty-sdnc-id'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1008,\r
+        "y": 699,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "c89a0c6d.1572e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c89a0c6d.1572e",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1182.999984741211,\r
+        "y": 697.0311613082886,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "a9287f8e.79595"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a9287f8e.79595",\r
+        "type": "set",\r
+        "name": "set thirdparty-sdnc-id",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",\r
+        "comments": "",\r
+        "x": 1348.9999542236328,\r
+        "y": 698.6311855316162,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "74936d17.d58244",\r
+        "type": "switchNode",\r
+        "name": "switch type",\r
+        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'type'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 958.0000305175781,\r
+        "y": 748.0000200271606,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "b33cf82.eefe308"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b33cf82.eefe308",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1103.0000343322754,\r
+        "y": 747.0311889648438,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "dfc8eb6b.f283a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dfc8eb6b.f283a8",\r
+        "type": "set",\r
+        "name": "set type",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.type' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",\r
+        "comments": "",\r
+        "x": 1235.0000381469727,\r
+        "y": 746.6312046051025,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f60efc3e.9d559",\r
+        "type": "switchNode",\r
+        "name": "switch vendor",\r
+        "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'vendor'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 959.0000267028809,\r
+        "y": 804.0000219345093,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "f02e6468.4f1ca8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f02e6468.4f1ca8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1104.0000305175781,\r
+        "y": 803.0311908721924,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            [\r
+                "4287418.30ed9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4287418.30ed9c",\r
+        "type": "set",\r
+        "name": "set vendor",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.vendor' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",\r
+        "comments": "",\r
+        "x": 1236.0000343322754,\r
+        "y": 802.6312065124512,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ca9b8814.58fc88",\r
+        "type": "call",\r
+        "name": "call validate-esr-thirdparty-sdnc-input",\r
+        "xml": "<call module='DataChange' rpc='validate-esr-thirdparty-sdnc-input' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 677.7776336669922,\r
+        "y": 473.9998035430908,\r
+        "z": "3ca15a5b.03f956",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]
\ No newline at end of file
index 529b849..76f2fe8 100644 (file)
@@ -1,41 +1,27 @@
 <service-logic\r
-  xmlns='http://www.onap.org/sdnc/svclogic'\r
-  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
-  <method rpc='data-change-notification' mode='sync'> \r
-    <block atomic="true"> \r
-      <switch test='`$data-change-notification-input.aai-node-type`'> \r
-        <outcome value='esr-thirdparty-sdnc'> \r
-          <for index='idx' start='0' end='`$data-change-notification-input.key-data_length`'> \r
-            <switch test='`$data-change-notification-input.key-data[$idx].key-value == 'ZTE'`'> \r
-              <outcome value='true'> \r
-                <block atomic="true"> \r
-                  <set> \r
-                    <parameter name='zte.prop.sdncRestApi.vendor' value='`$data-change-notification-input.key-data[$idx].key-value`'/> \r
-                  </set>\r
-                  <call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync'></call>\r
-                </block>\r
-              </outcome>\r
-              <outcome value='false'> \r
-                <block atomic="true"> \r
-                  <call module='DataChange' rpc='esr-thirdparty-sdnc' mode='sync'></call>\r
-                </block>\r
-              </outcome>\r
+    xmlns='http://www.onap.org/sdnc/svclogic'\r
+    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
+    <method rpc='data-change-notification' mode='sync'>\r
+        <block atomic="true">\r
+            <switch test='`$data-change-notification-input.aai-node-type`'>\r
+                <outcome value='esr-thirdparty-sdnc'>\r
+                    <block atomic="true">\r
+                        <call module='DataChange' rpc='esr-thirdparty-sdnc' mode='sync' ></call>\r
+                    </block>\r
+                </outcome>\r
+                <outcome value='Other'>\r
+                    <return status='failure'>\r
+                        <parameter name='ack-final' value='Y'/>\r
+                        <parameter name="error-code" value="500" />\r
+                        <parameter name="error-message" value="AAI node type not supported" />\r
+                    </return>\r
+                </outcome>\r
             </switch>\r
-          </for>\r
-        </outcome>\r
-        <outcome value='Other'> \r
-          <return status='failure'> \r
-            <parameter name='ack-final' value='Y'/>  \r
-            <parameter name="error-code" value="500"/>  \r
-            <parameter name="error-message" value="AAI node type not supported"/>\r
-          </return>\r
-        </outcome>\r
-      </switch>\r
-      <return status='success'> \r
-        <parameter name="ack-final-indicator" value="Y"/>  \r
-        <parameter name="error-code" value="200"/>  \r
-        <parameter name="error-message" value="`$error-message`"/> \r
-      </return>\r
-    </block>\r
-  </method>\r
+            <return status='success'>\r
+                <parameter name="ack-final-indicator" value="Y" />\r
+                <parameter name="error-code" value="200" />\r
+                <parameter name="error-message" value="`$error-message`" />\r
+            </return>\r
+        </block>\r
+    </method>\r
 </service-logic>
\ No newline at end of file
index 77c83bb..4ffb73e 100644 (file)
-<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
-  <method rpc="esr-thirdparty-sdnc-discovery-of-zte" mode="sync"> \r
-    <block atomic="true">\r
-      <switch test="`$data-change-notification-input.aai-event-trigger`"> \r
-        <outcome value="Update"> \r
-          <block> \r
-            <switch test="`$prop.sdncRestApi.type`"> \r
-              <outcome value="SOTN"> \r
-                <block atomic="true">\r
-                  <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest"> \r
-                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/getzteodutopotemplate.json'`"/>  \r
-                    <parameter name="restapiUrl" value="`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-topology-details'`"/>  \r
-                    <parameter name="restapiUser" value="`$zte.prop.sdncRestApi.thirdpartySdnc.user`"/>  \r
-                    <parameter name="restapiPassword" value="`$zte.prop.sdncRestApi.thirdpartySdnc.password`"/>  \r
-                    <parameter name="format" value="json"/>  \r
-                    <parameter name="httpMethod" value="POST"/>  \r
-                    <parameter name="responsePrefix" value="ztetopology"/>\r
-                    <outcome value="success"> \r
-                      <block atomic="true"/>\r
-                    </outcome>\r
-                    <outcome value="failure"> \r
-                      <return status="failure"> \r
-                        <parameter name="ack-final" value="Y"/>  \r
-                        <parameter name="error-code" value="500"/>  \r
-                        <parameter name="error-message" value="Error executing Get odutopo rest api"/> \r
-                      </return>\r
-                    </outcome>\r
-                  </execute>\r
-                  <for index="nidx" start="0" end="`$ztetopology.output.topology.node-ref-id_length`">\r
-                    <block atomic="true">\r
-                      <set> \r
-                        <parameter name="prop.zte.network-id" value="zteNetwork"/>  \r
-                        <parameter name="prop.zte.client-id" value="zteClient1"/>  \r
-                        <parameter name="prop.zte.topo-id" value="zteTopo1"/>  \r
-                        <parameter name="prop.zte.provider-id" value="zteProvider1"/>  \r
-                        <parameter name="prop.zte.odutopo.name" value="`$ztetopology.output.topology.node-ref-id[$nidx]`"/> \r
-                      </set>\r
-                      <save plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" resource="network-resource" key="network-resource.network-id = $prop.zte.network-id"> \r
-                        <parameter name="network-id" value="`$prop.zte.network-id`"/>  \r
-                        <parameter name="client-id" value="`$prop.zte.client-id`"/>  \r
-                        <parameter name="te-topo-id" value="`$prop.zte.topo-id`"/>  \r
-                        <parameter name="provider-id" value="`$prop.zte.provider-id`"/>\r
-                      </save>\r
-                      <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest"> \r
-                        <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/getzteodutoponodetemplate.json'`"/>  \r
-                        <parameter name="restapiUrl" value="`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-topology-details'`"/>  \r
-                        <parameter name="restapiUser" value="`$zte.prop.sdncRestApi.thirdpartySdnc.user`"/>  \r
-                        <parameter name="restapiPassword" value="`$zte.prop.sdncRestApi.thirdpartySdnc.password`"/>  \r
-                        <parameter name="format" value="json"/>  \r
-                        <parameter name="httpMethod" value="POST"/>  \r
-                        <parameter name="responsePrefix" value="ztetopologynode"/>\r
-                        <outcome value="failure"> \r
-                          <return status="failure"> \r
-                            <parameter name="ack-final" value="Y"/>  \r
-                            <parameter name="error-code" value="500"/>  \r
-                            <parameter name="error-message" value="Error executing Get odutopo node rest api"/> \r
-                          </return>\r
-                        </outcome>\r
-                        <outcome value="success"> \r
-                          <for index="pidx" start="0" end="`$ztetopologynode.output.topology.node-ref-id_length`"> \r
-                            <block> \r
-                              <set> \r
-                                <parameter name="prop.zte.odutopo.node.name" value="`$ztetopologynode.output.topology.node-ref-id[$pidx]`"/> \r
-                              </set>\r
-                              <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest"> \r
-                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/getzteodutoponodedetailstemplate.json'`"/>  \r
-                                <parameter name="restapiUrl" value="`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-node-details'`"/>  \r
-                                <parameter name="restapiUser" value="`$zte.prop.sdncRestApi.thirdpartySdnc.user`"/>  \r
-                                <parameter name="restapiPassword" value="`$zte.prop.sdncRestApi.thirdpartySdnc.password`"/>  \r
-                                <parameter name="format" value="json"/>  \r
-                                <parameter name="httpMethod" value="POST"/>  \r
-                                <parameter name="responsePrefix" value="ztetopologynodedetails"/>\r
-                                <outcome value="failure"> \r
-                                  <return status="failure"> \r
-                                    <parameter name="ack-final" value="Y"/>  \r
-                                    <parameter name="error-code" value="500"/>  \r
-                                    <parameter name="error-message" value="Error executing Get odutopo node details rest api"/> \r
-                                  </return>\r
-                                </outcome>\r
-                                <outcome value="success"> \r
-                                  <block> \r
-                                    <switch test="`$ztetopologynodedetails.node.global-state-pac.operational-state == 'ENABLED'`"> \r
-                                      <outcome value="true"> \r
-                                        <switch test="`$ztetopologynodedetails.node.global-state-pac.administrative-state == 'LOCKED'`"> \r
-                                          <outcome value="true"> \r
-                                            <save plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" resource="pnf" key="pnf.pnf-name = $ztetopologynodedetails.node.uuid"> \r
-                                              <parameter name="pnf-name" value="`$ztetopologynodedetails.node.uuid`"/>  \r
-                                              <parameter name="pnf-id" value="`$ztetopologynodedetails.node.uuid`"/>  \r
-                                              <parameter name="operational-status" value="up"/>  \r
-                                              <parameter name="admin-status" value="up"/>  \r
-                                              <parameter name="in-maint" value="true"/> \r
-                                            </save>\r
-                                          </outcome>\r
-                                          <outcome value="false"> \r
-                                            <save plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" resource="pnf" key="pnf.pnf-name = $ztetopologynodedetails.node.uuid"> \r
-                                              <parameter name="pnf-name" value="`$ztetopologynodedetails.node.uuid`"/>  \r
-                                              <parameter name="pnf-id" value="`$ztetopologynodedetails.node.uuid`"/>  \r
-                                              <parameter name="operational-status" value="up"/>  \r
-                                              <parameter name="admin-status" value="down"/>  \r
-                                              <parameter name="in-maint" value="true"/> \r
-                                            </save>\r
-                                          </outcome>\r
-                                        </switch>\r
-                                      </outcome>\r
-                                      <outcome value="false"> \r
-                                        <switch test="`$ztetopologynodedetails.node.global-state-pac.administrative-state == 'LOCKED'`"> \r
-                                          <outcome value="true"> \r
-                                            <save plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" resource="pnf" key="pnf.pnf-name = $ztetopologynodedetails.node.uuid"> \r
-                                              <parameter name="pnf-name" value="`$ztetopologynodedetails.node.uuid`"/>  \r
-                                              <parameter name="pnf-id" value="`$ztetopologynodedetails.node.uuid`"/>  \r
-                                              <parameter name="operational-status" value="down"/>  \r
-                                              <parameter name="admin-status" value="up"/>  \r
-                                              <parameter name="in-maint" value="true"/> \r
-                                            </save>\r
-                                          </outcome>\r
-                                          <outcome value="false"> \r
-                                            <save plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" resource="pnf" key="pnf.pnf-name = $ztetopologynodedetails.node.uuid"> \r
-                                              <parameter name="pnf-name" value="`$ztetopologynodedetails.node.uuid`"/>  \r
-                                              <parameter name="pnf-id" value="`$ztetopologynodedetails.node.uuid`"/>  \r
-                                              <parameter name="operational-status" value="down"/>  \r
-                                              <parameter name="admin-status" value="down"/>  \r
-                                              <parameter name="in-maint" value="true"/> \r
-                                            </save>\r
-                                          </outcome>\r
-                                        </switch>\r
-                                      </outcome>\r
-                                    </switch>\r
-                                    <save plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" resource="pnf:relationship-list" key="pnf.pnf-name = $ztetopologynodedetails.node.uuid" force="true" pfx="tmp.AnAI-data"> \r
-                                      <parameter name="relationship-list.relationship[0].related-to" value="network-resource"/>  \r
-                                      <parameter name="relationship-list.relationship[0].related-link" value="'/network/network-resources/network-resource/' + 'zteNetwork'"/>  \r
-                                      <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="network-resource.network-id"/>  \r
-                                      <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="zteNetwork"/>\r
-                                    </save>\r
-                                    <save plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" resource="esr-thirdparty-sdnc:relationship-list" key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $zte.prop.sdncRestApi.thirdpartySdnc.id" force="true" pfx="tmp.AnAI-data"> \r
-                                      <parameter name="relationship-list.relationship[0].related-to" value="pnf"/>  \r
-                                      <parameter name="relationship-list.relationship[0].related-link" value="`'/network/pnfs/pnf/' + $ztetopologynodedetails.node.uuid`"/>  \r
-                                      <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="pnf.pnf-name"/>  \r
-                                      <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$ztetopologynodedetails.node.uuid`"/> \r
-                                    </save>\r
-                                    <for index="ridx" start="0" end="`$ztetopologynodedetails.output.node.node-edge-point-id_length`"> \r
-                                      <block> \r
-                                        <set> \r
-                                          <parameter name="prop.zte.odutopo.node.nep.uuid" value="`$ztetopologynodedetails.output.node.node-edge-point-id[$ridx]`"/> \r
-                                        </set>\r
-                                        <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest"> \r
-                                          <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/getzteodutoponodenepdetailstemplate.json'`"/>  \r
-                                          <parameter name="restapiUrl" value="`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-node-edge-point-details'`"/>  \r
-                                          <parameter name="restapiUser" value="`$zte.prop.sdncRestApi.thirdpartySdnc.user`"/>  \r
-                                          <parameter name="restapiPassword" value="`$zte.prop.sdncRestApi.thirdpartySdnc.password`"/>  \r
-                                          <parameter name="format" value="json"/>  \r
-                                          <parameter name="httpMethod" value="POST"/>  \r
-                                          <parameter name="responsePrefix" value="ztetopologynodenepdetails"/>\r
-                                          <outcome value="failure"> \r
-                                            <return status="failure"> \r
-                                              <parameter name="ack-final" value="Y"/>  \r
-                                              <parameter name="error-code" value="500"/>  \r
-                                              <parameter name="error-message" value="Error executing Get odutopo node edge point details rest api"/> \r
+<service-logic\r
+    xmlns='http://www.onap.org/sdnc/svclogic'\r
+    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
+    <method rpc='esr-thirdparty-sdnc-discovery-of-zte' mode='sync'>\r
+        <block atomic='true'>\r
+            <switch test="`$data-change-notification-input.aai-event-trigger`">\r
+                <outcome value='Update'>\r
+                    <block>\r
+                        <switch test="`$zte.prop.sdncRestApi.type`">\r
+                            <outcome value='SOTN'>\r
+                                <block atomic='true'>\r
+                                    <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\r
+                                        <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\r
+                                        <parameter name='contextPrefix' value='prop' />\r
+                                    </execute>\r
+                                    <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
+                                        <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/getzteodutopotemplate.json'`" />\r
+                                        <parameter name="restapiUrl" value="`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-topology-details'`" />\r
+                                        <parameter name="restapiUser" value="`$zte.prop.sdncRestApi.thirdpartySdnc.user`" />\r
+                                        <parameter name="restapiPassword" value="`$zte.prop.sdncRestApi.thirdpartySdnc.password`" />\r
+                                        <parameter name="format" value="json"/>\r
+                                        <parameter name="httpMethod" value="POST"/>\r
+                                        <parameter name="responsePrefix" value="ztetopology"/>\r
+                                        <outcome value='success'>\r
+                                            <block atomic="true"></block>\r
+                                        </outcome>\r
+                                        <outcome value='failure'>\r
+                                            <return status='failure'>\r
+                                                <parameter name='ack-final' value='Y'/>\r
+                                                <parameter name="error-code" value="500" />\r
+                                                <parameter name="error-message" value="Error executing Get odutopo rest api" />\r
                                             </return>\r
-                                          </outcome>\r
-                                          <outcome value="success"> \r
-                                            <for index="tidx" start="0" end="`$ztetopologynodenepdetails.output.node-edge-point.name_length`"> \r
-                                              <execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils" method="contains"> \r
-                                                <parameter name="source" value="`$ztetopologynodenepdetails.node-edge-point.name[tidx].value`"/>  \r
-                                                <parameter name="target" value="client"/>  \r
-                                                <outcome value="false"> \r
-                                                  <block></block>\r
+                                        </outcome>\r
+                                    </execute>\r
+                                    <for index='nidx' start='0' end='`$ztetopology.output.topology.node-ref-id_length`' >\r
+                                        <block>\r
+                                            <set>\r
+                                                <parameter name='prop.zte.odutopo.name' value='`$ztetopology.output.topology.node-ref-id[$nidx]`' />\r
+                                            </set>\r
+                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
+                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/getzteodutoponodetemplate.json'`" />\r
+                                                <parameter name="restapiUrl" value="`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-topology-details'`" />\r
+                                                <parameter name="restapiUser" value="`$zte.prop.sdncRestApi.thirdpartySdnc.user`" />\r
+                                                <parameter name="restapiPassword" value="`$zte.prop.sdncRestApi.thirdpartySdnc.password`" />\r
+                                                <parameter name="format" value="json"/>\r
+                                                <parameter name="httpMethod" value="POST"/>\r
+                                                <parameter name="responsePrefix" value="ztetopologynode"/>\r
+                                                <outcome value='failure'>\r
+                                                    <return status='failure'>\r
+                                                        <parameter name='ack-final' value='Y'/>\r
+                                                        <parameter name="error-code" value="500" />\r
+                                                        <parameter name="error-message" value="Error executing Get odutopo node rest api" />\r
+                                                    </return>\r
                                                 </outcome>\r
-                                                <outcome value="true"> \r
-                                                  <block> \r
-                                                    <set> \r
-                                                      <parameter name="zte-unique-ltpId" value="`'nodeId-' + $ztetopologynodedetails.node.uuid + '-ltpId-' + $ztetopologynodenepdetails.node-edge-point.uuid`"/> \r
-                                                    </set>\r
-                                                    <set> \r
-                                                      <parameter name="zte-bandwidth" value="`1000 * 1000000 * 1.25 * $ztetopologynodenepdetails.node-edge-point.lp[0].odu-nep-pac.oducapacity`"/> \r
-                                                    </set>\r
-                                                    <switch test="`$ztetopologynodedetails.node.global-state-pac.operational-state == 'ENABLED'`"> \r
-                                                      <outcome value="true"> \r
-                                                        <save plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" resource="p-interface" key="pnf.pnf-name = $ztetopologynodedetails.node.uuid       AND p-interface.interface-name = $zte-unique-ltpId"> \r
-                                                          <parameter name="interface-name" value="`$zte-unique-ltpId`"/>  \r
-                                                          <parameter name="network-ref" value="`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`"/>  \r
-                                                          <parameter name="transparent" value="true"/>  \r
-                                                          <parameter name="speed-value" value="`$zte-bandwidth`"/>  \r
-                                                          <parameter name="operational-status" value="up"/>  \r
-                                                          <parameter name="in-maint" value="true"/> "`'nodeId-' + $node.node-id + '-ltpId-' + $tp.te-tp-id`"\r
-                                                          <outcome value="success"> \r
+                                                <outcome value='success'>\r
+                                                    <switch test="`$ztetopologynode.output.topology.layer-protocol-name[0] == 'ODU'`">\r
+                                                        <outcome value='false'>\r
                                                             <block></block>\r
-                                                          </outcome>\r
-                                                          <outcome value="failure"> \r
-                                                            <save plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" resource="p-interface" key="pnf.pnf-name = $ztetopologynodedetails.node.uuid       AND p-interface.interface-name = $zte-unique-ltpId"> \r
-                                                              <parameter name="interface-name" value="`$zte-unique-ltpId`"/>  \r
-                                                              <parameter name="network-ref" value="`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`"/>  \r
-                                                              <parameter name="transparent" value="true"/>  \r
-                                                              <parameter name="speed-value" value="`$zte-bandwidth`"/>  \r
-                                                              <parameter name="operational-status" value="up"/>  \r
-                                                              <parameter name="in-maint" value="true"/> \r
-                                                            </save>\r
-                                                          </outcome>\r
-                                                        </save>\r
-                                                      </outcome>\r
-                                                      <outcome value="false"> \r
-                                                        <save plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" resource="p-interface" key="pnf.pnf-name = $ztetopologynodedetails.node.uuid       AND p-interface.interface-name = $zte-unique-ltpId"> \r
-                                                          <parameter name="interface-name" value="`$zte-unique-ltpId`"/>  \r
-                                                          <parameter name="network-ref" value="`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`"/>  \r
-                                                          <parameter name="transparent" value="true"/>  \r
-                                                          <parameter name="speed-value" value="`$zte-bandwidth`"/>  \r
-                                                          <parameter name="operational-status" value="down"/>  \r
-                                                          <parameter name="in-maint" value="true"/>  \r
-                                                          <outcome value="success"> \r
-                                                            <block></block>\r
-                                                          </outcome>\r
-                                                          <outcome value="failure"> \r
-                                                            <save plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" resource="p-interface" key="pnf.pnf-name = $ztetopologynodedetails.node.uuid       AND p-interface.interface-name = $zte-unique-ltpId"> \r
-                                                              <parameter name="interface-name" value="`$zte-unique-ltpId`"/>  \r
-                                                              <parameter name="network-ref" value="`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`"/>  \r
-                                                              <parameter name="transparent" value="true"/>  \r
-                                                              <parameter name="speed-value" value="`$zte-bandwidth`"/>  \r
-                                                              <parameter name="operational-status" value="up"/>  \r
-                                                              <parameter name="in-maint" value="true"/> \r
-                                                            </save>\r
-                                                          </outcome>\r
-                                                        </save>\r
-                                                      </outcome>\r
+                                                        </outcome>\r
+                                                        <outcome value='true'>\r
+                                                            <block>\r
+                                                                <set>\r
+                                                                    <parameter name='prop.zte.network-id' value="zteNetwork" />\r
+                                                                    <parameter name='prop.zte.client-id' value="zteClient1" />\r
+                                                                    <parameter name='prop.zte.topo-id' value="zteTopo1" />\r
+                                                                    <parameter name='prop.zte.provider-id' value="zteProvider1" />\r
+                                                                </set>\r
+                                                                <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='network-resource'  \r
+     key='network-resource.network-id = $prop.zte.network-id' >\r
+                                                                    <parameter name='network-id' value='`$prop.zte.network-id`' />\r
+                                                                    <parameter name='client-id' value='`$prop.zte.client-id`' />\r
+                                                                    <parameter name='te-topo-id' value='`$prop.zte.topo-id`' />\r
+                                                                    <parameter name='provider-id' value='`$prop.zte.provider-id`' />\r
+                                                                </save>\r
+                                                                <for index='pidx' start='0' end='`$ztetopologynode.output.topology.node-ref-id_length`' >\r
+                                                                    <block>\r
+                                                                        <set>\r
+                                                                            <parameter name='prop.zte.odutopo.node.name' value='`$ztetopologynode.output.topology.node-ref-id[$pidx]`' />\r
+                                                                        </set>\r
+                                                                        <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
+                                                                            <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/getzteodutoponodedetailstemplate.json'`" />\r
+                                                                            <parameter name="restapiUrl" value="`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-node-details'`" />\r
+                                                                            <parameter name="restapiUser" value="`$zte.prop.sdncRestApi.thirdpartySdnc.user`" />\r
+                                                                            <parameter name="restapiPassword" value="`$zte.prop.sdncRestApi.thirdpartySdnc.password`" />\r
+                                                                            <parameter name="format" value="json"/>\r
+                                                                            <parameter name="httpMethod" value="POST"/>\r
+                                                                            <parameter name="responsePrefix" value="ztetopologynodedetails"/>\r
+                                                                            <outcome value='failure'>\r
+                                                                                <return status='failure'>\r
+                                                                                    <parameter name='ack-final' value='Y'/>\r
+                                                                                    <parameter name="error-code" value="500" />\r
+                                                                                    <parameter name="error-message" value="Error executing Get odutopo node details rest api" />\r
+                                                                                </return>\r
+                                                                            </outcome>\r
+                                                                            <outcome value='success'>\r
+                                                                                <block>\r
+                                                                                    <switch test="`$ztetopologynodedetails.output.node.global-state-pac.operational-state == 'ENABLED'`">\r
+                                                                                        <outcome value='true'>\r
+                                                                                            <switch test="`$ztetopologynodedetails.output.node.global-state-pac.administrative-state == 'LOCKED'`">\r
+                                                                                                <outcome value='true'>\r
+                                                                                                    <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \r
+      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' >\r
+                                                                                                        <parameter name='pnf-name' value='`$ztetopologynodedetails.output.node.uuid`' />\r
+                                                                                                        <parameter name='pnf-id' value='`$ztetopologynodedetails.output.node.uuid`' />\r
+                                                                                                        <parameter name='operational-status' value="up" />\r
+                                                                                                        <parameter name='admin-status' value="up" />\r
+                                                                                                        <parameter name='in-maint' value='true' />\r
+                                                                                                    </save>\r
+                                                                                                </outcome>\r
+                                                                                                <outcome value='false'>\r
+                                                                                                    <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \r
+      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' >\r
+                                                                                                        <parameter name='pnf-name' value='`$ztetopologynodedetails.output.node.uuid`' />\r
+                                                                                                        <parameter name='pnf-id' value='`$ztetopologynodedetails.output.node.uuid`' />\r
+                                                                                                        <parameter name='operational-status' value="up" />\r
+                                                                                                        <parameter name='admin-status' value="down" />\r
+                                                                                                        <parameter name='in-maint' value='true' />\r
+                                                                                                    </save>\r
+                                                                                                </outcome>\r
+                                                                                            </switch>\r
+                                                                                        </outcome>\r
+                                                                                        <outcome value='false'>\r
+                                                                                            <switch test="`$ztetopologynodedetails.output.node.global-state-pac.administrative-state == 'LOCKED'`">\r
+                                                                                                <outcome value='true'>\r
+                                                                                                    <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \r
+      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' >\r
+                                                                                                        <parameter name='pnf-name' value='`$ztetopologynodedetails.output.node.uuid`' />\r
+                                                                                                        <parameter name='pnf-id' value='`$ztetopologynodedetails.output.node.uuid`' />\r
+                                                                                                        <parameter name='operational-status' value="down" />\r
+                                                                                                        <parameter name='admin-status' value="up" />\r
+                                                                                                        <parameter name='in-maint' value='true' />\r
+                                                                                                    </save>\r
+                                                                                                </outcome>\r
+                                                                                                <outcome value='false'>\r
+                                                                                                    <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \r
+      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' >\r
+                                                                                                        <parameter name='pnf-name' value='`$ztetopologynodedetails.output.node.uuid`' />\r
+                                                                                                        <parameter name='pnf-id' value='`$ztetopologynodedetails.output.node.uuid`' />\r
+                                                                                                        <parameter name='operational-status' value="down" />\r
+                                                                                                        <parameter name='admin-status' value="down" />\r
+                                                                                                        <parameter name='in-maint' value='true' />\r
+                                                                                                    </save>\r
+                                                                                                </outcome>\r
+                                                                                            </switch>\r
+                                                                                        </outcome>\r
+                                                                                    </switch>\r
+                                                                                    <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \r
+      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' force="true" pfx="tmp.AnAI-data">\r
+                                                                                        <parameter name="relationship-list.relationship[0].related-to" value="network-resource" />\r
+                                                                                        <parameter name="relationship-list.relationship[0].related-link" value="`'/network/network-resources/network-resource/' + $prop.zte.network-id`" />\r
+                                                                                        <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="network-resource.network-id" />\r
+                                                                                        <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.zte.network-id`" />\r
+                                                                                    </save>\r
+                                                                                    <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='esr-thirdparty-sdnc:relationship-list' \r
+      key='esr-thirdparty-sdnc.thirdparty-sdnc-id = $zte.prop.sdncRestApi.thirdpartySdnc.id' \r
+      force="true" pfx="tmp.AnAI-data">\r
+                                                                                        <parameter name="relationship-list.relationship[0].related-to" value="pnf" />\r
+                                                                                        <parameter name="relationship-list.relationship[0].related-link" value="`'/network/pnfs/pnf/' + $ztetopologynodedetails.output.node.uuid`" />\r
+                                                                                        <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="pnf.pnf-name" />\r
+                                                                                        <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$ztetopologynodedetails.output.node.uuid`" />\r
+                                                                                    </save>\r
+                                                                                    <for index='ridx' start='0' end='`$ztetopologynodedetails.output.node.node-edge-point-id_length`' >\r
+                                                                                        <block>\r
+                                                                                            <set>\r
+                                                                                                <parameter name='prop.zte.odutopo.node.nep.uuid' value='`$ztetopologynodedetails.output.node.node-edge-point-id[$ridx]`' />\r
+                                                                                            </set>\r
+                                                                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
+                                                                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/getzteodutoponodenepdetailstemplate.json'`" />\r
+                                                                                                <parameter name="restapiUrl" value="`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-node-edge-point-details'`" />\r
+                                                                                                <parameter name="restapiUser" value="`$zte.prop.sdncRestApi.thirdpartySdnc.user`" />\r
+                                                                                                <parameter name="restapiPassword" value="`$zte.prop.sdncRestApi.thirdpartySdnc.password`" />\r
+                                                                                                <parameter name="format" value="json"/>\r
+                                                                                                <parameter name="httpMethod" value="POST"/>\r
+                                                                                                <parameter name="responsePrefix" value="ztetopologynodenepdetails"/>\r
+                                                                                                <outcome value='failure'>\r
+                                                                                                    <return status='failure'>\r
+                                                                                                        <parameter name='ack-final' value='Y'/>\r
+                                                                                                        <parameter name="error-code" value="500" />\r
+                                                                                                        <parameter name="error-message" value="Error executing Get odutopo node edge point details rest api" />\r
+                                                                                                    </return>\r
+                                                                                                </outcome>\r
+                                                                                                <outcome value='success'>\r
+                                                                                                    <for index='tidx' start='0' end='`$ztetopologynodenepdetails.output.node-edge-point.name_length`' >\r
+                                                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\r
+                                                                                                            <parameter name="source" value="`$ztetopologynodenepdetails.node-edge-point.name[tidx].value`"/>\r
+                                                                                                            <parameter name="target" value="client"/>\r
+                                                                                                            <outcome value='failure'>\r
+                                                                                                                <block></block>\r
+                                                                                                            </outcome>\r
+                                                                                                            <outcome value='success'>\r
+                                                                                                                <block>\r
+                                                                                                                    <set>\r
+                                                                                                                        <parameter name='zte-unique-ltpId' value="`'nodeId-' + $ztetopologynodedetails.output.node.uuid + '-ltpId-' + $ztetopologynodenepdetails.output.node-edge-point.uuid`" />\r
+                                                                                                                    </set>\r
+                                                                                                                    <set>\r
+                                                                                                                        <parameter name='zte-bandwidth' value='`1250000000 * $ztetopologynodenepdetails.output.node-edge-point.lp[0].odu-nep-pac.odu-capacity`' />\r
+                                                                                                                    </set>\r
+                                                                                                                    <switch test="`$ztetopologynodedetails.output.node.global-state-pac.operational-state == 'ENABLED'`">\r
+                                                                                                                        <outcome value='true'>\r
+                                                                                                                            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \r
+      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid\r
+      AND p-interface.interface-name = $zte-unique-ltpId' >\r
+                                                                                                                                <parameter name='interface-name' value='`$zte-unique-ltpId`' />\r
+                                                                                                                                <parameter name='network-ref' value="`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`" />\r
+                                                                                                                                <parameter name='transparent' value="true" />\r
+                                                                                                                                <parameter name='speed-value' value='`$zte-bandwidth`' />\r
+                                                                                                                                <parameter name='operational-status' value="up" />\r
+                                                                                                                                <parameter name='in-maint' value="true" />\r
+                                                                                                                                <outcome value='success'>\r
+                                                                                                                                    <block></block>\r
+                                                                                                                                </outcome>\r
+                                                                                                                                <outcome value='failure'>\r
+                                                                                                                                    <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \r
+      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid\r
+      AND p-interface.interface-name = $zte-unique-ltpId' >\r
+                                                                                                                                        <parameter name='interface-name' value='`$zte-unique-ltpId`' />\r
+                                                                                                                                        <parameter name='network-ref' value="`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`" />\r
+                                                                                                                                        <parameter name='transparent' value="true" />\r
+                                                                                                                                        <parameter name='speed-value' value='`$zte-bandwidth`' />\r
+                                                                                                                                        <parameter name='operational-status' value="up" />\r
+                                                                                                                                        <parameter name='in-maint' value="true" />\r
+                                                                                                                                    </save>\r
+                                                                                                                                </outcome>\r
+                                                                                                                            </save>\r
+                                                                                                                        </outcome>\r
+                                                                                                                        <outcome value='false'>\r
+                                                                                                                            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \r
+      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid\r
+      AND p-interface.interface-name = $zte-unique-ltpId' >\r
+                                                                                                                                <parameter name='interface-name' value='`$zte-unique-ltpId`' />\r
+                                                                                                                                <parameter name='network-ref' value="`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`" />\r
+                                                                                                                                <parameter name='transparent' value="true" />\r
+                                                                                                                                <parameter name='speed-value' value='`$zte-bandwidth`' />\r
+                                                                                                                                <parameter name='operational-status' value="down" />\r
+                                                                                                                                <parameter name='in-maint' value="true" />\r
+                                                                                                                                <outcome value='success'>\r
+                                                                                                                                    <block></block>\r
+                                                                                                                                </outcome>\r
+                                                                                                                                <outcome value='failure'>\r
+                                                                                                                                    <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \r
+      key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid\r
+      AND p-interface.interface-name = $zte-unique-ltpId' >\r
+                                                                                                                                        <parameter name='interface-name' value='`$zte-unique-ltpId`' />\r
+                                                                                                                                        <parameter name='network-ref' value="`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`" />\r
+                                                                                                                                        <parameter name='transparent' value="true" />\r
+                                                                                                                                        <parameter name='speed-value' value='`$zte-bandwidth`' />\r
+                                                                                                                                        <parameter name='operational-status' value="up" />\r
+                                                                                                                                        <parameter name='in-maint' value="true" />\r
+                                                                                                                                    </save>\r
+                                                                                                                                </outcome>\r
+                                                                                                                            </save>\r
+                                                                                                                        </outcome>\r
+                                                                                                                    </switch>\r
+                                                                                                                </block>\r
+                                                                                                            </outcome>\r
+                                                                                                        </execute>\r
+                                                                                                    </for>\r
+                                                                                                </outcome>\r
+                                                                                            </execute>\r
+                                                                                        </block>\r
+                                                                                    </for>\r
+                                                                                </block>\r
+                                                                            </outcome>\r
+                                                                        </execute>\r
+                                                                    </block>\r
+                                                                </for>\r
+                                                            </block>\r
+                                                        </outcome>\r
                                                     </switch>\r
-                                                  </block>\r
                                                 </outcome>\r
-                                              </execute>\r
-                                            </for>\r
-                                          </outcome>\r
-                                        </execute>\r
-                                      </block>\r
+                                            </execute>\r
+                                        </block>\r
                                     </for>\r
-                                  </block>\r
-                                </outcome>\r
-                              </execute>\r
-                            </block>\r
-                          </for>\r
-                        </outcome>\r
-                      </execute>\r
+                                </block>\r
+                            </outcome>\r
+                            <outcome value='Other'>\r
+                                <return status='failure'>\r
+                                    <parameter name='ack-final' value='Y'/>\r
+                                    <parameter name='error-code' value="500" />\r
+                                    <parameter name='error-message' value="`'Unsupported type = ' + $prop.sdncRestApi.type`" />\r
+                                </return>\r
+                            </outcome>\r
+                        </switch>\r
                     </block>\r
-                  </for>\r
-                </block>\r
-              </outcome>\r
-              <outcome value="Other"> \r
-                <return status="failure"> \r
-                  <parameter name="ack-final" value="Y"/>  \r
-                  <parameter name="error-code" value="500"/>  \r
-                  <parameter name="error-message" value="`'Unsupported type = ' + $prop.sdncRestApi.type`"/> \r
-                </return>\r
-              </outcome>\r
+                </outcome>\r
+                <outcome value='delete'>\r
+                    <block atomic='true'></block>\r
+                </outcome>\r
             </switch>\r
-          </block>\r
-        </outcome>\r
-        <outcome value="delete"> \r
-          <block atomic="true"/>\r
-        </outcome>\r
-      </switch>\r
-    </block>\r
-  </method>\r
+        </block>\r
+    </method>\r
 </service-logic>
\ No newline at end of file
index e71c041..e11dadd 100644 (file)
-<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}'>
-    <method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>
-        <block atomic="true">
-            <switch test="`$data-change-notification-input.aai-event-trigger`">
-                <outcome value='Update'>
-                    <block>
-                        <switch test="`$prop.sdncRestApi.type`">
-                            <outcome value='SOTN'>
-                                <block atomic="true">
-                                    <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
-                                        <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />
-                                        <parameter name='contextPrefix' value='prop' />
-                                    </execute>
-                                    <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
-                                        <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/actokentemplate.json'`" />
-                                        <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`" />
-                                        <parameter name="format" value="json"/>
-                                        <parameter name="httpMethod" value="post"/>
-                                        <parameter name="responsePrefix" value="token-result"/>
-                                        <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
-                                        <parameter name="trustStorePassword" value="adminadmin"/>
-                                        <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
-                                        <parameter name="keyStorePassword" value="adminadmin"/>
-                                        <outcome value='success'>
-                                            <set>
-                                                <parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />
-                                            </set>
-                                        </outcome>
-                                        <outcome value='failure'>
-                                            <block></block>
-                                        </outcome>
-                                    </execute>
-                                    <switch test="`$prop.sdncRestApi.token_id`">
-                                        <outcome value=''>
-                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
-                                                <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />
-                                                <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />
-                                                <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />
-                                                <parameter name="format" value="json"/>
-                                                <parameter name="httpMethod" value="get"/>
-                                                <parameter name="responsePrefix" value="topology"/>
-                                                <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
-                                                <parameter name="trustStorePassword" value="adminadmin"/>
-                                                <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
-                                                <parameter name="keyStorePassword" value="adminadmin"/>
-                                                <outcome value='failure'>
-                                                    <return status='failure'>
-                                                        <parameter name='ack-final' value='Y'/>
-                                                        <parameter name="error-code" value="500" />
-                                                        <parameter name="error-message" value="Error executing Create vpn rest api" />
-                                                    </return>
-                                                </outcome>
-                                                <outcome value='success'>
-                                                    <block atomic="true">
-                                                        <for index='nidx' start='0' end='`$topology.networks.network_length`' >
-                                                            <block>
-                                                                <set>
-                                                                    <parameter name='network.' value='`$topology.networks.network[$nidx].`' />
-                                                                </set>
-                                                                <call module='DataChange' rpc='update-network-to-aai' mode='sync' ></call>
-                                                            </block>
-                                                        </for>
-                                                    </block>
-                                                </outcome>
-                                            </execute>
-                                        </outcome>
-                                        <outcome value='Other'>
-                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
-                                                <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />
-                                                <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />
-                                                <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />
-                                                <parameter name="format" value="json"/>
-                                                <parameter name="httpMethod" value="get"/>
-                                                <parameter name="responsePrefix" value="topology"/>
-                                                <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
-                                                <parameter name="trustStorePassword" value="adminadmin"/>
-                                                <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
-                                                <parameter name="keyStorePassword" value="adminadmin"/>
-                                                <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />
-                                                <outcome value='failure'>
-                                                    <return status='failure'>
-                                                        <parameter name='ack-final' value='Y'/>
-                                                        <parameter name="error-code" value="500" />
-                                                        <parameter name="error-message" value="Error executing Create vpn rest api" />
-                                                    </return>
-                                                </outcome>
-                                                <outcome value='success'>
-                                                    <block atomic="true">
-                                                        <for index='nidx' start='0' end='`$topology.networks.network_length`' >
-                                                            <block>
-                                                                <set>
-                                                                    <parameter name='network.' value='`$topology.networks.network[$nidx].`' />
-                                                                </set>
-                                                                <call module='DataChange' rpc='update-network-to-aai' mode='sync' ></call>
-                                                            </block>
-                                                        </for>
-                                                    </block>
-                                                </outcome>
-                                            </execute>
-                                        </outcome>
-                                    </switch>
-                                    <set>
-                                        <parameter name='input' value='ietf-subscribed-notifications:establish-subscription.input.' />
-                                        <parameter name="`$input + 'encoding'`" value="encode-json" />
-                                    </set>
-                                    <execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscription' >
-                                        <parameter name="subscriberId" value="sotn-controller" />
-                                        <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`" />
-                                        <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />
-                                        <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />
-                                        <parameter name="sseConnectURL" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`" />
-                                        <parameter name="dirPath" value="/opt/sdnc/restconfapi/yang/notification" />
-                                        <parameter name="format" value="json" />
-                                        <parameter name="httpMethod" value="post" />
-                                        <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
-                                        <parameter name="trustStorePassword" value="adminadmin"/>
-                                        <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
-                                        <parameter name="keyStorePassword" value="adminadmin"/>
-                                        <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />
-                                        <parameter name="module" value="DataChange" />
-                                        <parameter name="rpc" value="sotn-notification-handler" />
-                                        <parameter name="mode" value="sync" />
-                                    </execute>
-                                </block>
-                            </outcome>
-                            <outcome value='Other'>
-                                <return status='failure'>
-                                    <parameter name='ack-final' value='Y'/>
-                                    <parameter name="error-code" value="500" />
-                                    <parameter name="error-message" value="`'Unsupported type = ' + $prop.sdncRestApi.type`" />
-                                </return>
-                            </outcome>
-                        </switch>
-                    </block>
-                </outcome>
-                <outcome value='delete'>
-                    <block atomic="true"></block>
-                </outcome>
-            </switch>
-        </block>
-    </method>
+<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
+  <method rpc="esr-thirdparty-sdnc-discovery" mode="sync"> \r
+    <block atomic="true"> \r
+      <switch test="`$prop.sdncRestApi.vendor == 'ZTE'`"> \r
+        <outcome value="false"> \r
+          <switch test="`$data-change-notification-input.aai-event-trigger`"> \r
+            <outcome value="Update"> \r
+              <block> \r
+                <switch test="`$prop.sdncRestApi.type`"> \r
+                  <outcome value="SOTN"> \r
+                    <block atomic="true">\r
+                      <execute plugin="org.onap.ccsdk.sli.plugins.prop.PropertiesNode" method="readProperties"> \r
+                        <parameter name="fileName" value="%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties"/>  \r
+                        <parameter name="contextPrefix" value="prop"/> \r
+                      </execute>\r
+                      <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest"> \r
+                        <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/actokentemplate.json'`"/>  \r
+                        <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`"/>  \r
+                        <parameter name="format" value="json"/>  \r
+                        <parameter name="httpMethod" value="post"/>  \r
+                        <parameter name="responsePrefix" value="token-result"/>  \r
+                        <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>  \r
+                        <parameter name="trustStorePassword" value="adminadmin"/>  \r
+                        <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>  \r
+                        <parameter name="keyStorePassword" value="adminadmin"/>\r
+                        <outcome value="success"> \r
+                          <set> \r
+                            <parameter name="prop.sdncRestApi.token_id" value="`$token-result.data.token_id`"/> \r
+                          </set>\r
+                        </outcome>\r
+                        <outcome value="failure"> \r
+                          <block></block>\r
+                        </outcome>\r
+                      </execute>\r
+                      <switch test="`$prop.sdncRestApi.token_id`"> \r
+                        <outcome value=""> \r
+                          <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest"> \r
+                            <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`"/>  \r
+                            <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`"/>  \r
+                            <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`"/>  \r
+                            <parameter name="format" value="json"/>  \r
+                            <parameter name="httpMethod" value="get"/>  \r
+                            <parameter name="responsePrefix" value="topology"/>  \r
+                            <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>  \r
+                            <parameter name="trustStorePassword" value="adminadmin"/>  \r
+                            <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>  \r
+                            <parameter name="keyStorePassword" value="adminadmin"/>  \r
+                            <outcome value="failure"> \r
+                              <return status="failure"> \r
+                                <parameter name="ack-final" value="Y"/>  \r
+                                <parameter name="error-code" value="500"/>  \r
+                                <parameter name="error-message" value="Error executing Create vpn rest api"/> \r
+                              </return>\r
+                            </outcome>\r
+                            <outcome value="success"> \r
+                              <block atomic="true">\r
+                                <for index="nidx" start="0" end="`$topology.networks.network_length`"> \r
+                                  <block> \r
+                                    <set> \r
+                                      <parameter name="network." value="`$topology.networks.network[$nidx].`"/> \r
+                                    </set>\r
+                                    <call module="DataChange" rpc="update-network-to-aai" mode="sync"></call>\r
+                                  </block>\r
+                                </for>\r
+                              </block>\r
+                            </outcome>\r
+                          </execute>\r
+                        </outcome>\r
+                        <outcome value="Other"> \r
+                          <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest"> \r
+                            <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`"/>  \r
+                            <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`"/>  \r
+                            <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`"/>  \r
+                            <parameter name="format" value="json"/>  \r
+                            <parameter name="httpMethod" value="get"/>  \r
+                            <parameter name="responsePrefix" value="topology"/>  \r
+                            <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>  \r
+                            <parameter name="trustStorePassword" value="adminadmin"/>  \r
+                            <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>  \r
+                            <parameter name="keyStorePassword" value="adminadmin"/>  \r
+                            <parameter name="customHttpHeaders" value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`"/>\r
+                            <outcome value="failure"> \r
+                              <return status="failure"> \r
+                                <parameter name="ack-final" value="Y"/>  \r
+                                <parameter name="error-code" value="500"/>  \r
+                                <parameter name="error-message" value="Error executing Create vpn rest api"/> \r
+                              </return>\r
+                            </outcome>\r
+                            <outcome value="success"> \r
+                              <block atomic="true">\r
+                                <for index="nidx" start="0" end="`$topology.networks.network_length`"> \r
+                                  <block> \r
+                                    <set> \r
+                                      <parameter name="network." value="`$topology.networks.network[$nidx].`"/> \r
+                                    </set>\r
+                                    <call module="DataChange" rpc="update-network-to-aai" mode="sync"></call>\r
+                                  </block>\r
+                                </for>\r
+                              </block>\r
+                            </outcome>\r
+                          </execute>\r
+                        </outcome>\r
+                      </switch>\r
+                      <set> \r
+                        <parameter name="input" value="ietf-subscribed-notifications:establish-subscription.input."/>  \r
+                        <parameter name="`$input + 'encoding'`" value="encode-json"/>\r
+                      </set>\r
+                      <execute plugin="org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode" method="establishSubscription"> \r
+                        <parameter name="subscriberId" value="sotn-controller"/>  \r
+                        <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`"/>  \r
+                        <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`"/>  \r
+                        <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`"/>  \r
+                        <parameter name="sseConnectURL" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`"/>  \r
+                        <parameter name="dirPath" value="/opt/sdnc/restconfapi/yang/notification"/>  \r
+                        <parameter name="format" value="json"/>  \r
+                        <parameter name="httpMethod" value="post"/>  \r
+                        <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>  \r
+                        <parameter name="trustStorePassword" value="adminadmin"/>  \r
+                        <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>  \r
+                        <parameter name="keyStorePassword" value="adminadmin"/>  \r
+                        <parameter name="customHttpHeaders" value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`"/>  \r
+                        <parameter name="module" value="DataChange"/>  \r
+                        <parameter name="rpc" value="sotn-notification-handler"/>  \r
+                        <parameter name="mode" value="sync"/>\r
+                      </execute>\r
+                    </block>\r
+                  </outcome>\r
+                  <outcome value="Other"> \r
+                    <return status="failure"> \r
+                      <parameter name="ack-final" value="Y"/>  \r
+                      <parameter name="error-code" value="500"/>  \r
+                      <parameter name="error-message" value="`'Unsupported type = ' + $prop.sdncRestApi.type`"/> \r
+                    </return>\r
+                  </outcome>\r
+                </switch>\r
+              </block>\r
+            </outcome>\r
+            <outcome value="delete"> \r
+              <block atomic="true"/>\r
+            </outcome>\r
+          </switch>\r
+        </outcome>\r
+        <outcome value="true"> \r
+          <call module="DataChange" rpc="esr-thirdparty-sdnc-of-zte" mode="sync"></call>\r
+        </outcome>\r
+      </switch>\r
+    </block>\r
+  </method>\r
 </service-logic>
\ No newline at end of file
index 25fef6b..e98dc7b 100644 (file)
@@ -1,64 +1,66 @@
 <service-logic\r
-  xmlns='http://www.onap.org/sdnc/svclogic'\r
-  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
-  <method rpc='esr-thirdparty-sdnc-of-zte' mode='sync'> \r
-    <block atomic="true">\r
-      <call module='DataChange' rpc='validate-esr-thirdparty-sdnc-input' mode='sync'></call>\r
-      <for index='idx' start='0' end='`$data-change-notification-input.key-data_length`'> \r
-        <block> \r
-          <switch test='`$data-change-notification-input.key-data[$idx].key-name == 'service-url'`'> \r
-            <outcome value='true'> \r
-              <set> \r
-                <parameter name='zte.prop.sdncRestApi.thirdpartySdnc.url' value='`$data-change-notification-input.key-data[$idx].key-value`'/> \r
-              </set>\r
-            </outcome>\r
-          </switch>\r
-          <switch test='`$data-change-notification-input.key-data[$idx].key-name == 'user-name'`'> \r
-            <outcome value='true'> \r
-              <set> \r
-                <parameter name='zte.prop.sdncRestApi.thirdpartySdnc.user' value='`$data-change-notification-input.key-data[$idx].key-value`'/> \r
-              </set>\r
-            </outcome>\r
-          </switch>\r
-          <switch test='`$data-change-notification-input.key-data[$idx].key-name == 'password'`'> \r
-            <outcome value='true'> \r
-              <set> \r
-                <parameter name='zte.prop.sdncRestApi.thirdpartySdnc.password' value='`$data-change-notification-input.key-data[$idx].key-value`'/> \r
-              </set>\r
-            </outcome>\r
-          </switch>\r
-          <switch test='`$data-change-notification-input.key-data[$idx].key-name == 'esr-system-info-id'`'> \r
-            <outcome value='true'> \r
-              <set> \r
-                <parameter name='zte.prop.sdncRestApi.thirdpartySdnc.system-info-id' value='`$data-change-notification-input.key-data[$idx].key-value`'/> \r
-              </set>\r
-            </outcome>\r
-          </switch>\r
-          <switch test='`$data-change-notification-input.key-data[$idx].key-name == 'thirdparty-sdnc-id'`'> \r
-            <outcome value='true'> \r
-              <set> \r
-                <parameter name='zte.prop.sdncRestApi.thirdpartySdnc.id' value='`$data-change-notification-input.key-data[$idx].key-value`'/> \r
-              </set>\r
-            </outcome>\r
-          </switch>\r
-          <switch test='`$data-change-notification-input.key-data[$idx].key-name == 'type'`'> \r
-            <outcome value='true'> \r
-              <set> \r
-                <parameter name='zte.prop.sdncRestApi.type' value='`$data-change-notification-input.key-data[$idx].key-value`'/> \r
-              </set>\r
-            </outcome>\r
-          </switch>\r
+    xmlns='http://www.onap.org/sdnc/svclogic'\r
+    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
+    <method rpc='esr-thirdparty-sdnc-of-zte' mode='sync'>\r
+        <block atomic='true'>\r
+            <set>\r
+                <parameter name='prop.zte.sdncRestApi.vendor' value='`$prop.sdncRestApi.vendor`' />\r
+            </set>\r
+            <for index='idx' start='0' end='`$data-change-notification-input.key-data_length`' >\r
+                <block>\r
+                    <switch test="`$data-change-notification-input.key-data[$idx].key-name == 'service-url'`">\r
+                        <outcome value='true'>\r
+                            <set>\r
+                                <parameter name='zte.prop.sdncRestApi.thirdpartySdnc.url' value='`$data-change-notification-input.key-data[$idx].key-value`' />\r
+                            </set>\r
+                        </outcome>\r
+                    </switch>\r
+                    <switch test="`$data-change-notification-input.key-data[$idx].key-name == 'user-name'`">\r
+                        <outcome value='true'>\r
+                            <set>\r
+                                <parameter name='zte.prop.sdncRestApi.thirdpartySdnc.user' value='`$data-change-notification-input.key-data[$idx].key-value`' />\r
+                            </set>\r
+                        </outcome>\r
+                    </switch>\r
+                    <switch test="`$data-change-notification-input.key-data[$idx].key-name == 'password'`">\r
+                        <outcome value='true'>\r
+                            <set>\r
+                                <parameter name='zte.prop.sdncRestApi.thirdpartySdnc.password' value='`$data-change-notification-input.key-data[$idx].key-value`' />\r
+                            </set>\r
+                        </outcome>\r
+                    </switch>\r
+                    <switch test="`$data-change-notification-input.key-data[$idx].key-name == 'esr-system-info-id'`">\r
+                        <outcome value='true'>\r
+                            <set>\r
+                                <parameter name='zte.prop.sdncRestApi.thirdpartySdnc.system-info-id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\r
+                            </set>\r
+                        </outcome>\r
+                    </switch>\r
+                    <switch test="`$data-change-notification-input.key-data[$idx].key-name == 'thirdparty-sdnc-id'`">\r
+                        <outcome value='true'>\r
+                            <set>\r
+                                <parameter name='zte.prop.sdncRestApi.thirdpartySdnc.id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\r
+                            </set>\r
+                        </outcome>\r
+                    </switch>\r
+                    <switch test="`$data-change-notification-input.key-data[$idx].key-name == 'type'`">\r
+                        <outcome value='true'>\r
+                            <set>\r
+                                <parameter name='zte.prop.sdncRestApi.type' value='`$data-change-notification-input.key-data[$idx].key-value`' />\r
+                            </set>\r
+                        </outcome>\r
+                    </switch>\r
+                </block>\r
+            </for>\r
+            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
+                <parameter name="file" value="/opt/opendaylight/current/data/log/zte.svclogic.log"/>\r
+                <parameter name="field1" value="__TIMESTAMP__"/>\r
+                <parameter name="field2" value="data-change-notification"/>\r
+                <parameter name="field3" value="Config"/>\r
+                <parameter name="field4" value="`service-url`"/>\r
+                <parameter name="field5" value="`$zte.prop.sdncRestApi.thirdpartySdnc.url`"/>\r
+            </record>\r
+            <call module='DataChange' rpc='esr-thirdparty-sdnc-discovery-of-zte' mode='sync' ></call>\r
         </block>\r
-      </for>\r
-      <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> \r
-        <parameter name="file" value="/opt/opendaylight/current/data/log/zte.svclogic.log"/>  \r
-        <parameter name="field1" value="__TIMESTAMP__"/>  \r
-        <parameter name="field2" value="data-change-notification"/>  \r
-        <parameter name="field3" value="Config"/>  \r
-        <parameter name="field4" value="`service-url`"/>  \r
-        <parameter name="field5" value="`$zte.prop.sdncRestApi.thirdpartySdnc.url`"/> \r
-      </record>\r
-      <call module='DataChange' rpc='esr-thirdparty-sdnc-discovery-of-zte' mode='sync'></call>\r
-    </block>\r
-  </method>\r
+    </method>\r
 </service-logic>
\ No newline at end of file
index c2e75d2..15ac401 100644 (file)
@@ -68,4 +68,4 @@
             <call module='DataChange' rpc='esr-thirdparty-sdnc-discovery' mode='sync' ></call>\r
         </block>\r
     </method>\r
-</service-logic>\r
+</service-logic>
\ No newline at end of file