2 xmlns='http://www.onap.org/sdnc/svclogic'
\r
3 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
4 <method rpc='data-change-notification' mode='sync'>
\r
5 <block atomic="true">
\r
6 <switch test='`$data-change-notification-input.aai-node-type`'>
\r
7 <outcome value='esr-thirdparty-sdnc'>
\r
8 <for index='idx' start='0' end='`$data-change-notification-input.key-data_length`'>
\r
9 <switch test="`$data-change-notification-input.key-data[$idx].key-value == 'ZTE'`">
\r
10 <outcome value='true'>
\r
11 <call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync'></call>
\r
13 <outcome value='false'>
\r
14 <block atomic="true">
\r
15 <call module='DataChange' rpc='esr-thirdparty-sdnc' mode='sync'></call>
\r
21 <outcome value='Other'>
\r
22 <return status='failure'>
\r
23 <parameter name='ack-final' value='Y'/>
\r
24 <parameter name="error-code" value="500"/>
\r
25 <parameter name="error-message" value="AAI node type not supported"/>
\r
29 <return status='success'>
\r
30 <parameter name="ack-final-indicator" value="Y"/>
\r
31 <parameter name="error-code" value="200"/>
\r
32 <parameter name="error-message" value="`$error-message`"/>
\r