add zte esr-thirdparty-sdnc discovery logic 39/67639/3
authorwsx25289 <10200860@zte.com.cn>
Wed, 19 Sep 2018 07:52:49 +0000 (15:52 +0800)
committerwsx25289 <10200860@zte.com.cn>
Fri, 21 Sep 2018 07:18:28 +0000 (15:18 +0800)
Issue-ID: SDNC-354

Change-Id: Ida2c54bfd2211774c872c0535032182cf4f90324
Signed-off-by: Wsx25289 <10200860@zte.com.cn>
Former-commit-id: 60775f8fffb91a098315385f6919ce5593005d2d

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 [new file with mode: 0644]
platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-of-zte.json
platform-logic/datachange/src/main/resources/graph.versions
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 [new file with mode: 0644]
platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-of-zte.xml

index bbeb5c1..eb1e8fd 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "2abb63ad.3df404", \r
+        "id": "c9438469.7f9978", \r
         "type": "dgstart", \r
         "name": "DGSTART", \r
         "outputs": 1, \r
-        "x": 97\r
-        "y": 89\r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 86.5\r
+        "y": 81\r
+        "z": "31e69f1c.704108", \r
         "wires": [\r
             [\r
-                "cec5984a.941728"\r
+                "80aeb8.8187b148"\r
             ]\r
         ]\r
     }, \r
     {\r
-        "id": "cec5984a.941728", \r
+        "id": "80aeb8.8187b148", \r
         "type": "service-logic", \r
         "name": "DataChange ${project.version}", \r
         "module": "DataChange", \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": 283.1111488342285\r
-        "y": 193.44447135925293, \r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 249.61114883422852\r
+        "y": 182.44447135925293, \r
+        "z": "31e69f1c.704108", \r
         "wires": [\r
             [\r
-                "6f601264.f5fb8c"\r
+                "b8c8b6e.8e24748"\r
             ]\r
         ]\r
     }, \r
     {\r
-        "id": "6f601264.f5fb8c", \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": 280.5556983947754, \r
-        "y": 357.2222566604614, \r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 247.0556983947754, \r
+        "y": 346.2222566604614, \r
+        "z": "31e69f1c.704108", \r
         "wires": [\r
             [\r
-                "b8bb57bd.6c8f88"\r
+                "e44b2680.5f0e1"\r
             ]\r
         ]\r
     }, \r
     {\r
-        "id": "b8bb57bd.6c8f88", \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": 325.7779846191406, \r
-        "y": 472.1113269329071, \r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 292.2779846191406, \r
+        "y": 461.1113269329071, \r
+        "z": "31e69f1c.704108", \r
         "wires": [\r
             [\r
-                "97cb17d6.992f9", \r
-                "3b4bb8da.ca8bd8"\r
+                "5f1a41d8.25b23", \r
+                "7978a5db.d860ec"\r
             ]\r
         ]\r
     }, \r
     {\r
-        "id": "97cb17d6.992f9", \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": 533.3338432312012, \r
-        "y": 559.556131362915, \r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 499.8338432312012, \r
+        "y": 548.556131362915, \r
+        "z": "31e69f1c.704108", \r
         "wires": [ ]\r
     }, \r
     {\r
-        "id": "c1961812.103ba", \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": 1454.3341064453125, \r
-        "y": 336.6667785644531, \r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 1420.8341064453125, \r
+        "y": 325.6667785644531, \r
+        "z": "31e69f1c.704108", \r
         "wires": [\r
             [ ]\r
         ]\r
     }, \r
     {\r
-        "id": "3b4bb8da.ca8bd8", \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": 536.8827209472656, \r
-        "y": 435.88262820243835, \r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 503.3827209472656, \r
+        "y": 424.88262820243835, \r
+        "z": "31e69f1c.704108", \r
         "wires": [\r
             [\r
-                "8187ec02.edc438", \r
-                "e44a9744.783fc8"\r
+                "1e0b8434.23a404", \r
+                "d0750bdf.e570e"\r
             ]\r
         ]\r
     }, \r
     {\r
-        "id": "8187ec02.edc438", \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": 711.9146728515625, \r
-        "y": 194.0572509765625, \r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 678.4146728515625, \r
+        "y": 183.0572509765625, \r
+        "z": "31e69f1c.704108", \r
         "wires": [\r
             [\r
-                "b5d44440.30e84"\r
+                "e6b3f0d5.83e4a8"\r
             ]\r
         ]\r
     }, \r
     {\r
-        "id": "e44a9744.783fc8", \r
+        "id": "d0750bdf.e570e", \r
         "type": "other", \r
         "name": "other", \r
         "xml": "<outcome value='Other'>\n", \r
         "comments": "", \r
         "outputs": 1, \r
-        "x": 776.8827857971191, \r
-        "y": 434.8826608657837, \r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 743.3827857971191, \r
+        "y": 423.8826608657837, \r
+        "z": "31e69f1c.704108", \r
         "wires": [\r
             [\r
-                "62e87f0f.63e3e"\r
+                "9c41362c.9d7948"\r
             ]\r
         ]\r
     }, \r
     {\r
-        "id": "62e87f0f.63e3e", \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": 932.3273048400879, \r
-        "y": 434.99376010894775, \r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 898.8273048400879, \r
+        "y": 423.99376010894775, \r
+        "z": "31e69f1c.704108", \r
         "wires": [ ]\r
     }, \r
     {\r
-        "id": "9f25a183.327f8", \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": 1358.000244140625, \r
-        "y": 252.8262939453125, \r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 1324.500244140625, \r
+        "y": 241.8262939453125, \r
+        "z": "31e69f1c.704108", \r
         "wires": [\r
             [\r
-                "c1961812.103ba"\r
+                "bca5a9bf.c1ce98"\r
             ]\r
         ]\r
     }, \r
     {\r
-        "id": "b5d44440.30e84", \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": 899\r
-        "y": 194\r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 865.5\r
+        "y": 183\r
+        "z": "31e69f1c.704108", \r
         "wires": [\r
             [\r
-                "b63e0c35.6e5668"\r
+                "ba8b2793.6bb91"\r
             ]\r
         ]\r
     }, \r
     {\r
-        "id": "b63e0c35.6e5668", \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": 1039\r
-        "y": 194\r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 1005.5\r
+        "y": 183\r
+        "z": "31e69f1c.704108", \r
         "wires": [\r
             [\r
-                "4a9c78f7.44a98", \r
-                "ed07b87c.5778b8"\r
+                "891233f8.add168", \r
+                "810b885f.a9b34"\r
             ]\r
         ]\r
     }, \r
     {\r
-        "id": "14dce58a.e0a96a", \r
+        "id": "5b501f1b.fad328", \r
         "type": "call", \r
-        "name": "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": 1342\r
-        "y": 194\r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 1619.5\r
+        "y": 236\r
+        "z": "31e69f1c.704108", \r
         "wires": [\r
             [ ]\r
         ]\r
     }, \r
     {\r
-        "id": "4a9c78f7.44a98", \r
+        "id": "891233f8.add168", \r
         "type": "outcomeTrue", \r
         "name": "true", \r
         "xml": "<outcome value='true'>\n", \r
         "comments": "", \r
         "outputs": 1, \r
-        "x": 1193\r
-        "y": 194\r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 1159.5\r
+        "y": 183\r
+        "z": "31e69f1c.704108", \r
         "wires": [\r
             [\r
-                "14dce58a.e0a96a"\r
+                "fb1086e7.fe9d98"\r
             ]\r
         ]\r
     }, \r
     {\r
-        "id": "ed07b87c.5778b8", \r
+        "id": "810b885f.a9b34", \r
         "type": "outcomeFalse", \r
         "name": "false", \r
         "xml": "<outcome value='false'>\n", \r
         "comments": "", \r
         "outputs": 1, \r
-        "x": 1193\r
-        "y": 253\r
-        "z": "bbab5cc4.c9cbd", \r
+        "x": 1159.5\r
+        "y": 242\r
+        "z": "31e69f1c.704108", \r
         "wires": [\r
             [\r
-                "9f25a183.327f8"\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
diff --git a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery-of-zte.json b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery-of-zte.json
new file mode 100644 (file)
index 0000000..d826251
--- /dev/null
@@ -0,0 +1,300 @@
+[\r
+    {\r
+        "id": "461e2499.8f3954", \r
+        "type": "dgstart", \r
+        "name": "DGSTART", \r
+        "outputs": 1, \r
+        "x": 98, \r
+        "y": 69, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "701f3038.9db4d"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "701f3038.9db4d", \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": 202, \r
+        "y": 158, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "ba25d02c.fdd0a8"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "ba25d02c.fdd0a8", \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": 270, \r
+        "y": 256, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "a3d44b66.a5094"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "a3d44b66.a5094", \r
+        "type": "block", \r
+        "name": "block : atomic", \r
+        "xml": "<block atomic='true'>", \r
+        "atomic": "true", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 194, \r
+        "y": 363, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "ca8f74a.2337f88"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "ca8f74a.2337f88", \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": 396, \r
+        "y": 363, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "63184cea.989334", \r
+                "7bf3b058.b30c4"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "63184cea.989334", \r
+        "type": "outcome", \r
+        "name": "update", \r
+        "xml": "<outcome value='Update'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 624, \r
+        "y": 318, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "fdd46760.8bf7f"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "7bf3b058.b30c4", \r
+        "type": "outcome", \r
+        "name": "delete", \r
+        "xml": "<outcome value='delete'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 622, \r
+        "y": 486, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "8e4adf58.75aaa"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "8e4adf58.75aaa", \r
+        "type": "block", \r
+        "name": "block : atomic", \r
+        "xml": "<block atomic='true'>", \r
+        "atomic": "true", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 797, \r
+        "y": 486, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "fdd46760.8bf7f", \r
+        "type": "block", \r
+        "name": "block", \r
+        "xml": "<block>\n", \r
+        "atomic": "false", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 776, \r
+        "y": 318, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "da8890ad.af057"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "da8890ad.af057", \r
+        "type": "switchNode", \r
+        "name": "switch type", \r
+        "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 945, \r
+        "y": 318, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "f4b967b.17aaa18", \r
+                "9bc9bbca.bea01"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "f4b967b.17aaa18", \r
+        "type": "outcome", \r
+        "name": "SOTN", \r
+        "xml": "<outcome value='SOTN'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1121, \r
+        "y": 253, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "8178bbaf.4eb688"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "9bc9bbca.bea01", \r
+        "type": "outcome", \r
+        "name": "other", \r
+        "xml": "<outcome value='Other'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1115, \r
+        "y": 375, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "d8c7c62c.b1c62"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "d8c7c62c.b1c62", \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": 1307, \r
+        "y": 375, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "8178bbaf.4eb688", \r
+        "type": "block", \r
+        "name": "block : atomic", \r
+        "xml": "<block atomic='true'>", \r
+        "atomic": "true", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1307, \r
+        "y": 253, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "9fb7d11c.800968"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "9fb7d11c.800968", \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 + '/getztetopotemplate.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\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.zte.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.zte.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1627, \r
+        "y": 161, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "eab2d66e.d885b8", \r
+                "17a6c836.1328e"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "eab2d66e.d885b8", \r
+        "type": "success", \r
+        "name": "success", \r
+        "xml": "<outcome value='success'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1909, \r
+        "y": 106, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "e4e6a315.e66f18"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "17a6c836.1328e", \r
+        "type": "failure", \r
+        "name": "failure", \r
+        "xml": "<outcome value='failure'>\n", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 1907, \r
+        "y": 206, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [\r
+                "f408426d.ddcf3"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "e4e6a315.e66f18", \r
+        "type": "block", \r
+        "name": "block : atomic", \r
+        "xml": "<block atomic=\"true\">", \r
+        "atomic": "true", \r
+        "comments": "", \r
+        "outputs": 1, \r
+        "x": 2108, \r
+        "y": 105, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "f408426d.ddcf3", \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 Create vpn rest api\" />\n", \r
+        "comments": "", \r
+        "x": 2103, \r
+        "y": 206, \r
+        "z": "233b36a1.5b5d1a", \r
+        "wires": [ ]\r
+    }\r
+]
\ No newline at end of file
index 0e93be6..4212c38 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "c4dfa871.acfb38", \r
+        "id": "78797449.a69d64", \r
         "type": "dgstart", \r
         "name": "DGSTART", \r
         "outputs": 1, \r
-        "x": 131\r
-        "y": 100\r
-        "z": "b1682cba.152", \r
+        "x": 95\r
+        "y": 72\r
+        "z": "eab52334.be231", \r
         "wires": [\r
             [\r
-                "b06bc6e2.9ba258"\r
+                "77d260.33eeb5a"\r
             ]\r
         ]\r
     }, \r
     {\r
-        "id": "b06bc6e2.9ba258", \r
+        "id": "77d260.33eeb5a", \r
         "type": "service-logic", \r
         "name": "DataChange ${project.version}", \r
         "module": "DataChange", \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": 275\r
-        "y": 213\r
-        "z": "b1682cba.152", \r
+        "x": 239\r
+        "y": 185\r
+        "z": "eab52334.be231", \r
         "wires": [\r
             [\r
-                "94182378.e4944"\r
+                "63d24477.5e1d24"\r
             ]\r
         ]\r
     }, \r
     {\r
-        "id": "94182378.e4944", \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": 200, \r
-        "y": 327, \r
-        "z": "b1682cba.152", \r
+        "x": 164, \r
+        "y": 299, \r
+        "z": "eab52334.be231", \r
+        "wires": [\r
+            [\r
+                "f10c2099.6d37a"\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
+        "wires": [\r
+            [\r
+                "c6e14b97.61ebb8", \r
+                "336b2c1.b23ca54", \r
+                "ebdf7595.352788", \r
+                "bd214a4f.a0427"\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
+        "wires": [\r
+            [\r
+                "75c90043.ea9e58"\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
+        "wires": [\r
+            [\r
+                "128f1b66.00dc0d", \r
+                "c1d27f5c.c264f8", \r
+                "1a08949.79fd66b", \r
+                "8cc1f05e.92f468", \r
+                "25639564.010e22", \r
+                "7b8ba016.fbb3e8"\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
+        "wires": [\r
+            [\r
+                "a2c28074.c9e3a8"\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
+        "wires": [\r
+            [\r
+                "1403e272.365546"\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
+        "wires": [\r
+            [\r
+                "ad2ddd93.50432"\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
+        "wires": [\r
+            [\r
+                "e0b54647.aef0b8"\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
+        "wires": [\r
+            [\r
+                "ec3c7d9e.1913d8"\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
+        "wires": [\r
+            [\r
+                "10575d8e.fe0d6a"\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
+        "wires": [\r
+            [\r
+                "767b34d1.0a080c"\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
+        "wires": [\r
+            [\r
+                "92e73df5.564cf"\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
+        "wires": [\r
+            [\r
+                "9fc08956.e0f9c"\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
+        "wires": [\r
+            [\r
+                "1343e358.22771d"\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
+        "wires": [\r
+            [\r
+                "223f6129.11e8ee"\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
+        "wires": [\r
+            [\r
+                "a24c3d6c.c679f8"\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
+    {\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
+    {\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
+    {\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
+    {\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
+    {\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
+    {\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
+        "wires": [\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
         "wires": [\r
             [ ]\r
         ]\r
index 37211fe..1901fd0 100644 (file)
@@ -3,4 +3,5 @@ DataChange esr-thirdparty-sdnc ${project.version} sync
 DataChange esr-thirdparty-sdnc-of-zte ${project.version} sync
 DataChange validate-esr-thirdparty-sdnc-input ${project.version} sync
 DataChange esr-thirdparty-sdnc-discovery ${project.version} sync
+DataChange esr-thirdparty-sdnc-discovery-of-zte ${project.version} sync
 DataChange update-network-to-aai ${project.version} sync
index 80c8acf..529b849 100644 (file)
@@ -6,9 +6,14 @@
       <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
+            <switch test='`$data-change-notification-input.key-data[$idx].key-value == 'ZTE'`'\r
               <outcome value='true'> \r
-                <call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync'></call>\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
diff --git a/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery-of-zte.xml b/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery-of-zte.xml
new file mode 100644 (file)
index 0000000..2cc77da
--- /dev/null
@@ -0,0 +1,53 @@
+<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='`$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 + '/getztetopotemplate.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
+                    <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.openecomp.zte.client.jks"/>  \r
+                    <parameter name="trustStorePassword" value="adminadmin"/>  \r
+                    <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.zte.p12"/>  \r
+                    <parameter name="keyStorePassword" value="adminadmin"/>  \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 Create vpn rest api"/> \r
+                      </return>\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
+        </outcome>\r
+        <outcome value='delete'> \r
+          <block atomic="true"/>\r
+        </outcome>\r
+      </switch>\r
+    </block>\r
+  </method>\r
+</service-logic>
\ No newline at end of file
index 5216121..25fef6b 100644 (file)
@@ -1,5 +1,64 @@
-<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-of-zte' mode='sync'></method>
+<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
+        </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
 </service-logic>
\ No newline at end of file