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 <block atomic="true">
\r
13 <parameter name='zte.prop.sdncRestApi.vendor' value='`$data-change-notification-input.key-data[$idx].key-value`'/>
\r
15 <call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync'></call>
\r
18 <outcome value='false'>
\r
19 <block atomic="true">
\r
20 <call module='DataChange' rpc='esr-thirdparty-sdnc' mode='sync'></call>
\r
26 <outcome value='Other'>
\r
27 <return status='failure'>
\r
28 <parameter name='ack-final' value='Y'/>
\r
29 <parameter name="error-code" value="500"/>
\r
30 <parameter name="error-message" value="AAI node type not supported"/>
\r
34 <return status='success'>
\r
35 <parameter name="ack-final-indicator" value="Y"/>
\r
36 <parameter name="error-code" value="200"/>
\r
37 <parameter name="error-message" value="`$error-message`"/>
\r