3 "id": "4d48ad52.66bce4",
9 "z": "972d7ac.f66db88",
17 "id": "66f854f4.bc80cc",
18 "type": "service-logic",
19 "name": "DataChange ${project.version}",
20 "module": "DataChange",
21 "version": "${project.version}",
23 "xml": "<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}'>",
25 "x": 205.00003051757812,
26 "y": 162.88891220092773,
27 "z": "972d7ac.f66db88",
35 "id": "7eee0fcc.e1d78",
37 "name": "method update-network-to-aai",
38 "xml": "<method rpc='update-network-to-aai' mode='sync'>\n",
41 "x": 241.1112518310547,
42 "y": 233.22223663330078,
43 "z": "972d7ac.f66db88",
51 "id": "dd17da81.f85678",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">\n",
58 "x": 466.33343505859375,
59 "y": 232.77792358398438,
60 "z": "972d7ac.f66db88",
70 "id": "5cf53006.e1ea9",
72 "name": "save network-resource",
73 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='network-resource' \n key='network-resource.network-id = $tmp.network-id' >\n<parameter name='network-id' value='`$tmp.network-id`' />\n<parameter name='client-id' value='`$network.client-id`' />\n<parameter name='te-topo-id' value='`$network.te-topology-id`' />\n<parameter name='provider-id' value='`$network.provider-id`' />\n\n\n",
76 "x": 696.333251953125,
77 "y": 138.00001525878906,
78 "z": "972d7ac.f66db88",
84 "id": "bc0b4672.53b908",
87 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n key='pnf.pnf-name = $node.node-id' >\n<parameter name='pnf-name' value='`$node.node-id`' />\n<parameter name='pnf-id' value='`$node.node-id`' />\n<parameter name='operational-status' value='`$node.te.oper-status`' />\n<parameter name='admin-status' value='`$node.te.te-node-attributes.admin-status`' />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n",
90 "x": 879.111141204834,
91 "y": 191.111102104187,
92 "z": "972d7ac.f66db88",
98 "id": "a9f8a08c.a159f",
100 "name": "for each node",
101 "xml": "<for index='pidx' start='0' end='`$network.node_length`' >\n",
104 "x": 679.8888549804688,
105 "y": 208.33331298828125,
106 "z": "972d7ac.f66db88",
118 "id": "6b3704fc.0bd35c",
120 "name": "set network",
121 "xml": "<set>\n<parameter name='node.' value='`$network.node[$pidx].`' />\n",
123 "x": 893.111083984375,
124 "y": 156.2222137451172,
125 "z": "972d7ac.f66db88",
129 "id": "9b1ff78d.8b3c08",
131 "name": "save pnf relationship to network-resource in AAI",
132 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $node.node-id' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"network-resource\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"network-resource.network-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.network-id`\" />",
135 "x": 1004.7779541015625,
136 "y": 223.44447803497314,
137 "z": "972d7ac.f66db88",
143 "id": "8e9342c1.220f",
145 "name": "for each termination point",
146 "xml": "<for index='tidx' start='0' end='`$node.termination-point_length`' >\n",
149 "x": 937.4444580078125,
150 "y": 339.111083984375,
151 "z": "972d7ac.f66db88",
161 "id": "7c32bd23.da1e04",
163 "name": "set termination point",
164 "xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n",
167 "y": 300.0000457763672,
168 "z": "972d7ac.f66db88",
172 "id": "36dd756f.9a425a",
174 "name": "save p-interface",
175 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $node.node-id\n AND p-interface.interface-name = $unique-ltpId' > \n<parameter name='interface-name' value='`$unique-ltpId`' />\n<parameter name='network-ref' value='`$tp.supporting-termination-point[0].network-ref`' />\n<parameter name='transparent' value='`$tp.svc.supported-classification.transparent`' />\n<parameter name='speed-value' value='`$tp.te.interface-switching-capability[0].max-lsp-bandwidth[0].te-bandwidth.eth-bandwidth`' />\n<parameter name='operational-status' value='`$tp.te.oper-status`' />\n<parameter name='in-maint' value=\"true\" />\n\n",
178 "x": 1187.8151397705078,
179 "y": 473.5555934906006,
180 "z": "972d7ac.f66db88",
189 "id": "9b33d7c5.abef78",
191 "name": "save pnf relationship to p-interface in AAI",
192 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $node.node-id' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id + '/pnfs/pnf/' + $node.node-id '/p-interfaces/p-interface/' + $unique-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-ltpId`\" />",
195 "x": 1263.7038879394531,
196 "y": 562.333345413208,
197 "z": "972d7ac.f66db88",
203 "id": "38ff90b0.67e0b",
205 "name": "set unique-ltpId",
206 "xml": "<set>\n<parameter name='unique-ltpId' value=\"`'nodeId-' + $node.node-id + '-ltpId-' + $tp.te-tp-id`\" />\n",
208 "x": 1188.000244140625,
209 "y": 334.1111145019531,
210 "z": "972d7ac.f66db88",
214 "id": "c70a984d.cc2a48",
217 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$network.network-id`\"/>\n <parameter name=\"outputPath\" value=\"tmp.network-id\"/>\n <parameter name=\"target\" value=\"/\"/>\n <parameter name=\"replacement\" value=\"-\"/>\n ",
220 "x": 645.9935302734375,
221 "y": 98.99349212646484,
222 "z": "972d7ac.f66db88",
228 "id": "24e04af5.ddea66",
230 "name": "save pnf relation with esr-thirdparty-sdnc",
231 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='esr-thirdparty-sdnc:relationship-list' \n key='esr-thirdparty-sdnc.thirdparty-sdnc-id = $prop.sdncRestApi.thirdpartySdnc.id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $node.node-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$node.node-id`\" />\n",
235 "y": 259.9934997558594,
236 "z": "972d7ac.f66db88",
242 "id": "310a666a.23204a",
245 "xml": "<outcome value='success'>\n",
248 "x": 1359.4998397827148,
249 "y": 460.7460689544678,
250 "z": "972d7ac.f66db88",
258 "id": "52308d76.244944",
261 "xml": "<outcome value='failure'>\n",
264 "x": 1353.1784286499023,
265 "y": 512.9603805541992,
266 "z": "972d7ac.f66db88",
274 "id": "fcc0153a.edfd18",
283 "z": "972d7ac.f66db88",
289 "id": "1c6a1f1f.8e0f61",
291 "name": "save p-interface",
292 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $node.node-id\n AND p-interface.interface-name = $unique-ltpId' > \n<parameter name='interface-name' value='`$unique-ltpId`' />\n<parameter name='network-ref' value='`$tp.supporting-termination-point[0].network-ref`' />\n<parameter name='transparent' value='`$tp.svc.supported-classification.transparent`' />\n<parameter name='speed-value' value='`$tp.te.interface-switching-capability[0].max-lsp-bandwidth[0].te-bandwidth.eth-bandwidth`' />\n<parameter name='operational-status' value='`$tp.te.oper-status`' />\n<parameter name='in-maint' value=\"true\" />\n\n",
297 "z": "972d7ac.f66db88",