modify format 71/67171/1
authorwsx25289 <10200860@zte.com.cn>
Tue, 18 Sep 2018 02:32:28 +0000 (10:32 +0800)
committerwsx25289 <10200860@zte.com.cn>
Tue, 18 Sep 2018 02:32:45 +0000 (10:32 +0800)
Issue-ID: SDNC-354

Change-Id: Ib954aa68a71a2168617ff036024aa453c603065f
Signed-off-by: Wsx25289 <10200860@zte.com.cn>
Former-commit-id: 2c4962f32cc45b939398a70b8ff42844648112c5

platform-logic/datachange/src/main/json/DataChange_data-change-notification.json
platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-of-zte.json
platform-logic/datachange/src/main/xml/DataChange_data-change-notification.xml
platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-of-zte.xml

index c4df22a..bbeb5c1 100644 (file)
@@ -1 +1,249 @@
-[{"id":"2abb63ad.3df404","type":"dgstart","name":"DGSTART","outputs":1,"x":97,"y":89,"z":"bbab5cc4.c9cbd","wires":[["cec5984a.941728"]]},{"id":"cec5984a.941728","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":283.1111488342285,"y":193.44447135925293,"z":"bbab5cc4.c9cbd","wires":[["6f601264.f5fb8c"]]},{"id":"6f601264.f5fb8c","type":"method","name":"method data-change-notification","xml":"<method rpc='data-change-notification' mode='sync'>\n","comments":"","outputs":1,"x":280.5556983947754,"y":357.2222566604614,"z":"bbab5cc4.c9cbd","wires":[["b8bb57bd.6c8f88"]]},{"id":"b8bb57bd.6c8f88","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":325.7779846191406,"y":472.1113269329071,"z":"bbab5cc4.c9cbd","wires":[["97cb17d6.992f9","3b4bb8da.ca8bd8"]]},{"id":"97cb17d6.992f9","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n","comments":"","x":533.3338432312012,"y":559.556131362915,"z":"bbab5cc4.c9cbd","wires":[]},{"id":"c1961812.103ba","type":"call","name":"call esr-thirdparty-sdnc","xml":"<call module='DataChange' rpc='esr-thirdparty-sdnc' mode='sync' >\n","comments":"","outputs":1,"x":1454.3341064453125,"y":336.6667785644531,"z":"bbab5cc4.c9cbd","wires":[[]]},{"id":"3b4bb8da.ca8bd8","type":"switchNode","name":"switch aai-node-type","xml":"<switch test='`$data-change-notification-input.aai-node-type`'>\n","comments":"","outputs":1,"x":536.8827209472656,"y":435.88262820243835,"z":"bbab5cc4.c9cbd","wires":[["8187ec02.edc438","e44a9744.783fc8"]]},{"id":"8187ec02.edc438","type":"other","name":"esr-thirdparty-sdnc","xml":"<outcome value='esr-thirdparty-sdnc'>\n","comments":"","outputs":1,"x":711.9146728515625,"y":194.0572509765625,"z":"bbab5cc4.c9cbd","wires":[["b5d44440.30e84"]]},{"id":"e44a9744.783fc8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":776.8827857971191,"y":434.8826608657837,"z":"bbab5cc4.c9cbd","wires":[["62e87f0f.63e3e"]]},{"id":"62e87f0f.63e3e","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=\"AAI node type not supported\" />","comments":"","x":932.3273048400879,"y":434.99376010894775,"z":"bbab5cc4.c9cbd","wires":[]},{"id":"9f25a183.327f8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":1358.000244140625,"y":252.8262939453125,"z":"bbab5cc4.c9cbd","wires":[["c1961812.103ba"]]},{"id":"b5d44440.30e84","type":"for","name":"for","xml":"<for index='idx' start='0' end='`$data-change-notification-input.key-data_length`' >\n","comments":"","outputs":1,"x":899,"y":194,"z":"bbab5cc4.c9cbd","wires":[["b63e0c35.6e5668"]]},{"id":"b63e0c35.6e5668","type":"switchNode","name":"switch","xml":"<switch test=\"`$data-change-notification-input.key-data[$idx].key-value == 'ZTE'`\">\n","comments":"","outputs":1,"x":1039,"y":194,"z":"bbab5cc4.c9cbd","wires":[["4a9c78f7.44a98","ed07b87c.5778b8"]]},{"id":"14dce58a.e0a96a","type":"call","name":"call","xml":"<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n","comments":"","outputs":1,"x":1342,"y":194,"z":"bbab5cc4.c9cbd","wires":[[]]},{"id":"4a9c78f7.44a98","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1193,"y":194,"z":"bbab5cc4.c9cbd","wires":[["14dce58a.e0a96a"]]},{"id":"ed07b87c.5778b8","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1193,"y":253,"z":"bbab5cc4.c9cbd","wires":[["9f25a183.327f8"]]}]
\ No newline at end of file
+[\r
+    {\r
+        "id": "2abb63ad.3df404", \r
+        "type": "dgstart", \r
+        "name": "DGSTART", \r
+        "outputs": 1, \r
+        "x": 97, \r
+        "y": 89, \r
+        "z": "bbab5cc4.c9cbd", \r
+        "wires": [\r
+            [\r
+                "cec5984a.941728"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "cec5984a.941728", \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": 283.1111488342285, \r
+        "y": 193.44447135925293, \r
+        "z": "bbab5cc4.c9cbd", \r
+        "wires": [\r
+            [\r
+                "6f601264.f5fb8c"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "6f601264.f5fb8c", \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
+        "wires": [\r
+            [\r
+                "b8bb57bd.6c8f88"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "b8bb57bd.6c8f88", \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
+        "wires": [\r
+            [\r
+                "97cb17d6.992f9", \r
+                "3b4bb8da.ca8bd8"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "97cb17d6.992f9", \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
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "c1961812.103ba", \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
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "3b4bb8da.ca8bd8", \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
+        "wires": [\r
+            [\r
+                "8187ec02.edc438", \r
+                "e44a9744.783fc8"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "8187ec02.edc438", \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
+        "wires": [\r
+            [\r
+                "b5d44440.30e84"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "e44a9744.783fc8", \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
+        "wires": [\r
+            [\r
+                "62e87f0f.63e3e"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "62e87f0f.63e3e", \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
+        "wires": [ ]\r
+    }, \r
+    {\r
+        "id": "9f25a183.327f8", \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
+        "wires": [\r
+            [\r
+                "c1961812.103ba"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "b5d44440.30e84", \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
+        "wires": [\r
+            [\r
+                "b63e0c35.6e5668"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "b63e0c35.6e5668", \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
+        "wires": [\r
+            [\r
+                "4a9c78f7.44a98", \r
+                "ed07b87c.5778b8"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "14dce58a.e0a96a", \r
+        "type": "call", \r
+        "name": "call", \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
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "4a9c78f7.44a98", \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
+        "wires": [\r
+            [\r
+                "14dce58a.e0a96a"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "ed07b87c.5778b8", \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
+        "wires": [\r
+            [\r
+                "9f25a183.327f8"\r
+            ]\r
+        ]\r
+    }\r
+]
\ No newline at end of file
index 23c13fe..0e93be6 100644 (file)
@@ -1 +1,48 @@
-[{"id":"c4dfa871.acfb38","type":"dgstart","name":"DGSTART","outputs":1,"x":131,"y":100,"z":"b1682cba.152","wires":[["b06bc6e2.9ba258"]]},{"id":"b06bc6e2.9ba258","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":275,"y":213,"z":"b1682cba.152","wires":[["94182378.e4944"]]},{"id":"94182378.e4944","type":"method","name":"method esr-thirdparty-sdnc-of-zte","xml":"<method rpc='esr-thirdparty-sdnc-of-zte' mode='sync'>\n","comments":"","outputs":1,"x":200,"y":327,"z":"b1682cba.152","wires":[[]]}]
\ No newline at end of file
+[\r
+    {\r
+        "id": "c4dfa871.acfb38", \r
+        "type": "dgstart", \r
+        "name": "DGSTART", \r
+        "outputs": 1, \r
+        "x": 131, \r
+        "y": 100, \r
+        "z": "b1682cba.152", \r
+        "wires": [\r
+            [\r
+                "b06bc6e2.9ba258"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "b06bc6e2.9ba258", \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": 275, \r
+        "y": 213, \r
+        "z": "b1682cba.152", \r
+        "wires": [\r
+            [\r
+                "94182378.e4944"\r
+            ]\r
+        ]\r
+    }, \r
+    {\r
+        "id": "94182378.e4944", \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
+        "wires": [\r
+            [ ]\r
+        ]\r
+    }\r
+]
\ No newline at end of file
index 8f05c4a..80c8acf 100644 (file)
@@ -1,20 +1,36 @@
-<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='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
-<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\r
-</call></outcome><outcome value='false'>\r
-<block atomic="true">\r
-<call module='DataChange' rpc='esr-thirdparty-sdnc' mode='sync' >\r
-</call></block></outcome></switch></for></outcome><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" /></return></outcome></switch><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></block></method></service-logic>
\ No newline at end of file
+<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
+                <call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync'></call>\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
+            </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
+</service-logic>
\ No newline at end of file
index 5765a04..5216121 100644 (file)
@@ -1,2 +1,5 @@
-<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>
\ No newline at end of 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-of-zte' mode='sync'></method>
+</service-logic>
\ No newline at end of file