fix topology discovery bug for ccvpn
[sdnc/oam.git] / platform-logic / datachange / src / main / xml / DataChange_data-change-notification.xml
1 <service-logic\r
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                     <block atomic="true">\r
9                         <call module='DataChange' rpc='esr-thirdparty-sdnc' mode='sync' ></call>\r
10                     </block>\r
11                 </outcome>\r
12                 <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" />\r
17                     </return>\r
18                 </outcome>\r
19             </switch>\r
20             <return status='success'>\r
21                 <parameter name="ack-final-indicator" value="Y" />\r
22                 <parameter name="error-code" value="200" />\r
23                 <parameter name="error-message" value="`$error-message`" />\r
24             </return>\r
25         </block>\r
26     </method>\r
27 </service-logic>