fix topology discovery bug for ccvpn
[sdnc/oam.git] / platform-logic / datachange / src / main / xml / DataChange_data-change-notification.xml
index 8f05c4a..76f2fe8 100644 (file)
@@ -1,20 +1,27 @@
-<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
+                    <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
+            <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