3 "id": "3492b641.0dfbba",
6 "xml": "<outcome value='Update'>\n",
10 "y": 276.6667003631592,
19 "id": "668a1af1.719b34",
22 "xml": "<outcome value='delete'>\n",
25 "x": 709.2221145629883,
35 "id": "3b8ddbef.903fa4",
37 "name": "block : atomic",
38 "xml": "<block atomic=\"true\">",
41 "x": 859.6667594909668,
42 "y": 473.3335485458374,
49 "id": "c0cbee48.6a5f9",
51 "name": "TODO: Delete topology from AAI",
54 "x": 817.3334274291992,
55 "y": 429.0001735687256,
60 "id": "d3c03070.16287",
62 "name": "switch aai-event-trigger",
63 "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",
66 "x": 465.5555648803711,
67 "y": 345.2222261428833,
77 "id": "6bfaf616.869108",
79 "name": "block : atomic",
80 "xml": "<block atomic=\"true\">",
83 "x": 1267.333755493164,
84 "y": 270.1112537384033,
94 "id": "f4c114b8.d66028",
96 "name": "execute RestApiCallNode Get token",
97 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
100 "x": 1523.993263244629,
101 "y": 132.0305051803589,
102 "z": "cbb28df7.1359",
111 "id": "fafa0167.57f14",
114 "xml": "<outcome value='success'>\n",
117 "x": 1758.993263244629,
118 "y": 110.03050518035889,
119 "z": "cbb28df7.1359",
127 "id": "c8836a7f.1ba7f8",
130 "xml": "<outcome value='failure'>\n",
133 "x": 1751.243263244629,
134 "y": 163.67338848114014,
135 "z": "cbb28df7.1359",
143 "id": "bd59ffd7.cdf9",
145 "name": "set token-id",
146 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
148 "x": 1912.993263244629,
149 "y": 111.03050518035889,
150 "z": "cbb28df7.1359",
154 "id": "c706e157.72486",
156 "name": "execute RestApiCallNode Get Topology",
157 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
160 "x": 1527.3266906738281,
161 "y": 225.73424291610718,
162 "z": "cbb28df7.1359",
171 "id": "87479d00.dc1c9",
174 "xml": "<outcome value='success'>\n",
177 "x": 1785.882022857666,
178 "y": 203.73422479629517,
179 "z": "cbb28df7.1359",
187 "id": "3aa58504.f6229a",
189 "name": "block : atomic",
190 "xml": "<block atomic=\"true\">",
194 "x": 1961.4375534057617,
195 "y": 201.40094709396362,
196 "z": "cbb28df7.1359",
202 "id": "dca7d6ac.f501f8",
203 "type": "returnFailure",
204 "name": "return failure",
205 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",
207 "x": 1969.6598281860352,
208 "y": 275.6230607032776,
209 "z": "cbb28df7.1359",
213 "id": "c2d07026.26d52",
216 "xml": "<outcome value='failure'>\n",
219 "x": 1791.3265075683594,
220 "y": 274.845290184021,
221 "z": "cbb28df7.1359",
229 "id": "7cae77af.f5b818",
233 "x": 105.9999008178711,
235 "z": "cbb28df7.1359",
243 "id": "b697d007.11e41",
244 "type": "service-logic",
245 "name": "DataChange ${project.version}",
246 "module": "DataChange",
247 "version": "${project.version}",
249 "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}'>",
251 "x": 244.11102676391602,
252 "y": 126.44446134567261,
253 "z": "cbb28df7.1359",
261 "id": "49de6de0.6f78a4",
263 "name": "method esr-thirdparty-sdnc-discovery",
264 "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",
267 "x": 340.5555877685547,
268 "y": 237.22224235534668,
269 "z": "cbb28df7.1359",
277 "id": "5f1e0612.f09808",
279 "name": "block : atomic",
280 "xml": "<block atomic=\"true\">\n",
284 "x": 248.77781677246094,
285 "y": 346.11122035980225,
286 "z": "cbb28df7.1359",
294 "id": "4130ca8.c1efa34",
296 "name": "for each Network",
297 "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",
300 "x": 1459.481460571289,
301 "y": 353.2221817970276,
302 "z": "cbb28df7.1359",
310 "id": "5ae402a2.fe5ffc",
317 "x": 1649.4814224243164,
318 "y": 360.9999747276306,
319 "z": "cbb28df7.1359",
328 "id": "7d9ae4c3.21708c",
330 "name": "call update-network-to-aai",
331 "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",
334 "x": 1902.8148441314697,
335 "y": 424.33334493637085,
336 "z": "cbb28df7.1359",
342 "id": "f67aa4a3.311fc8",
344 "name": "set network",
345 "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",
347 "x": 1855.036964416504,
348 "y": 342.11108922958374,
349 "z": "cbb28df7.1359",
353 "id": "8505bfec.1c327",
360 "x": 1912.8146591186523,
361 "y": 158.77776765823364,
362 "z": "cbb28df7.1359",
368 "id": "27eaeed1.46c512",
370 "name": "Do Nothing",
373 "x": 2048.3702328999834,
374 "y": 157.66664340760974,
375 "z": "cbb28df7.1359",
379 "id": "416dcc31.e9a444",
380 "type": "switchNode",
381 "name": "switch type",
382 "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
385 "x": 948.0001487731934,
386 "y": 279.00003147125244,
387 "z": "cbb28df7.1359",
396 "id": "f2d65f4a.d687",
403 "x": 802.9999847412109,
404 "y": 277.00002002716064,
405 "z": "cbb28df7.1359",
413 "id": "7de88c94.fa0ca4",
416 "xml": "<outcome value='SOTN'>\n",
419 "x": 1101.9999313354492,
420 "y": 235.00000190734863,
421 "z": "cbb28df7.1359",
429 "id": "8ee217f7.3b1bd8",
432 "xml": "<outcome value='Other'>\n",
435 "x": 1098.9999313354492,
436 "y": 359.00000953674316,
437 "z": "cbb28df7.1359",
445 "id": "c0794a5f.727638",
446 "type": "returnFailure",
447 "name": "return failure",
448 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",
450 "x": 1247.7726364135742,
451 "y": 358.43917751312256,
452 "z": "cbb28df7.1359",