zte data change process
[sdnc/oam.git] / platform-logic / datachange / src / main / xml / DataChange_data-change-notification.xml
1 <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
2 <block atomic="true">\r
3 <switch test='`$data-change-notification-input.aai-node-type`'>\r
4 <outcome value='esr-thirdparty-sdnc'>\r
5 <for index='idx' start='0' end='`$data-change-notification-input.key-data_length`' >\r
6 <switch test="`$data-change-notification-input.key-data[$idx].key-value == 'ZTE'`">\r
7 <outcome value='true'>\r
8 <call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\r
9 </call></outcome><outcome value='false'>\r
10 <block atomic="true">\r
11 <call module='DataChange' rpc='esr-thirdparty-sdnc' mode='sync' >\r
12 </call></block></outcome></switch></for></outcome><outcome value='Other'>\r
13 <return status='failure'>\r
14         <parameter name='ack-final' value='Y'/>\r
15         <parameter name="error-code" value="500" />\r
16     <parameter name="error-message" value="AAI node type not supported" /></return></outcome></switch><return status='success'>\r
17 <parameter name="ack-final-indicator" value="Y" />\r
18 <parameter name="error-code" value="200" />\r
19 <parameter name="error-message" value="`$error-message`" />\r
20 </return></block></method></service-logic>