diff options
author | wsx25289 <10200860@zte.com.cn> | 2018-09-18 10:32:28 +0800 |
---|---|---|
committer | wsx25289 <10200860@zte.com.cn> | 2018-09-18 10:32:45 +0800 |
commit | 98df515ef225dc19dd0307eb77ff82cb6f500e20 (patch) | |
tree | ab3cc878120c237a4e2cac67ca4946d804b8cf5f /platform-logic/datachange/src/main/xml | |
parent | cac704d8cbfad8710a32a4d589ae1c9a0b054bdd (diff) |
modify format
Issue-ID: SDNC-354
Change-Id: Ib954aa68a71a2168617ff036024aa453c603065f
Signed-off-by: Wsx25289 <10200860@zte.com.cn>
Former-commit-id: 2c4962f32cc45b939398a70b8ff42844648112c5
Diffstat (limited to 'platform-logic/datachange/src/main/xml')
-rw-r--r-- | platform-logic/datachange/src/main/xml/DataChange_data-change-notification.xml | 56 | ||||
-rw-r--r-- | platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-of-zte.xml | 7 |
2 files changed, 41 insertions, 22 deletions
diff --git a/platform-logic/datachange/src/main/xml/DataChange_data-change-notification.xml b/platform-logic/datachange/src/main/xml/DataChange_data-change-notification.xml index 8f05c4a5..80c8acf5 100644 --- a/platform-logic/datachange/src/main/xml/DataChange_data-change-notification.xml +++ b/platform-logic/datachange/src/main/xml/DataChange_data-change-notification.xml @@ -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'>
-<block atomic="true">
-<switch test='`$data-change-notification-input.aai-node-type`'>
-<outcome value='esr-thirdparty-sdnc'>
-<for index='idx' start='0' end='`$data-change-notification-input.key-data_length`' >
-<switch test="`$data-change-notification-input.key-data[$idx].key-value == 'ZTE'`">
-<outcome value='true'>
-<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >
-</call></outcome><outcome value='false'>
-<block atomic="true">
-<call module='DataChange' rpc='esr-thirdparty-sdnc' mode='sync' >
-</call></block></outcome></switch></for></outcome><outcome value='Other'>
-<return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="AAI node type not supported" /></return></outcome></switch><return status='success'>
-<parameter name="ack-final-indicator" value="Y" />
-<parameter name="error-code" value="200" />
-<parameter name="error-message" value="`$error-message`" />
-</return></block></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='data-change-notification' mode='sync'>
+ <block atomic="true">
+ <switch test='`$data-change-notification-input.aai-node-type`'>
+ <outcome value='esr-thirdparty-sdnc'>
+ <for index='idx' start='0' end='`$data-change-notification-input.key-data_length`'>
+ <switch test="`$data-change-notification-input.key-data[$idx].key-value == 'ZTE'`">
+ <outcome value='true'>
+ <call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync'></call>
+ </outcome>
+ <outcome value='false'>
+ <block atomic="true">
+ <call module='DataChange' rpc='esr-thirdparty-sdnc' mode='sync'></call>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500"/>
+ <parameter name="error-message" value="AAI node type not supported"/>
+ </return>
+ </outcome>
+ </switch>
+ <return status='success'>
+ <parameter name="ack-final-indicator" value="Y"/>
+ <parameter name="error-code" value="200"/>
+ <parameter name="error-message" value="`$error-message`"/>
+ </return>
+ </block>
+ </method>
+</service-logic>
\ No newline at end of file diff --git a/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-of-zte.xml b/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-of-zte.xml index 5765a04d..52161217 100644 --- a/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-of-zte.xml +++ b/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-of-zte.xml @@ -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 |