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='esr-thirdparty-sdnc' mode='sync'>
\r
5 <block atomic="true">
\r
6 <call module='DataChange' rpc='validate-esr-thirdparty-sdnc-input' mode='sync' ></call>
\r
7 <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-name == 'service-url'`">
\r
10 <outcome value='true'>
\r
12 <parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='`$data-change-notification-input.key-data[$idx].key-value`' />
\r
16 <switch test="`$data-change-notification-input.key-data[$idx].key-name == 'user-name'`">
\r
17 <outcome value='true'>
\r
19 <parameter name='prop.sdncRestApi.thirdpartySdnc.user' value='`$data-change-notification-input.key-data[$idx].key-value`' />
\r
23 <switch test="`$data-change-notification-input.key-data[$idx].key-name == 'password'`">
\r
24 <outcome value='true'>
\r
26 <parameter name='prop.sdncRestApi.thirdpartySdnc.password' value='`$data-change-notification-input.key-data[$idx].key-value`' />
\r
30 <switch test="`$data-change-notification-input.key-data[$idx].key-name == 'esr-system-info-id'`">
\r
31 <outcome value='true'>
\r
33 <parameter name='prop.sdncRestApi.thirdpartySdnc.system-info-id' value='`$data-change-notification-input.key-data[$idx].key-value`' />
\r
37 <switch test="`$data-change-notification-input.key-data[$idx].key-name == 'thirdparty-sdnc-id'`">
\r
38 <outcome value='true'>
\r
40 <parameter name='prop.sdncRestApi.thirdpartySdnc.id' value='`$data-change-notification-input.key-data[$idx].key-value`' />
\r
44 <switch test="`$data-change-notification-input.key-data[$idx].key-name == 'type'`">
\r
45 <outcome value='true'>
\r
47 <parameter name='prop.sdncRestApi.type' value='`$data-change-notification-input.key-data[$idx].key-value`' />
\r
51 <switch test="`$data-change-notification-input.key-data[$idx].key-name == 'vendor'`">
\r
52 <outcome value='true'>
\r
54 <parameter name='prop.sdncRestApi.vendor' value='`$data-change-notification-input.key-data[$idx].key-value`' />
\r
60 <call module='DataChange' rpc='esr-thirdparty-sdnc-discovery' mode='sync' ></call>
\r