3 "id": "41629315.bd4abc",
\r
6 "xml": "<outcome value='Update'>\n",
\r
9 "x": 724.9999961853027,
\r
10 "y": 349.9999942779541,
\r
11 "z": "43e1d1ad.d6a8e",
\r
19 "id": "bb11b779.ca75f8",
\r
22 "xml": "<outcome value='delete'>\n",
\r
25 "x": 724.9999961853027,
\r
26 "y": 429.9999942779541,
\r
27 "z": "43e1d1ad.d6a8e",
\r
35 "id": "7e0497f8.ddad68",
\r
37 "name": "block : atomic",
\r
38 "xml": "<block atomic=\"true\">",
\r
41 "x": 866.4999961853027,
\r
42 "y": 429.9999942779541,
\r
43 "z": "43e1d1ad.d6a8e",
\r
49 "id": "c60c87fa.e5d1a8",
\r
51 "name": "TODO: Delete topology from AAI",
\r
54 "x": 799.3335151672363,
\r
55 "y": 397.96898913383484,
\r
56 "z": "43e1d1ad.d6a8e",
\r
60 "id": "cb414b17.62b928",
\r
61 "type": "switchNode",
\r
62 "name": "switch aai-event-trigger",
\r
63 "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",
\r
66 "x": 555.4999961853027,
\r
67 "y": 389.9999942779541,
\r
68 "z": "43e1d1ad.d6a8e",
\r
77 "id": "5f482ccf.0ae764",
\r
79 "name": "block : atomic",
\r
80 "xml": "<block atomic=\"true\">",
\r
83 "x": 1252.4999961853027,
\r
84 "y": 260.9999942779541,
\r
85 "z": "43e1d1ad.d6a8e",
\r
97 "id": "9a482a6d.6b7268",
\r
99 "name": "execute RestApiCallNode Get token",
\r
100 "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\"/>",
\r
103 "x": 1525.5001945495605,
\r
104 "y": 182.00000381469727,
\r
105 "z": "43e1d1ad.d6a8e",
\r
114 "id": "6b4e87a7.382818",
\r
117 "xml": "<outcome value='success'>\n",
\r
120 "x": 1815.0002403259277,
\r
121 "y": 173.9999942779541,
\r
122 "z": "43e1d1ad.d6a8e",
\r
130 "id": "8968e872.1395d8",
\r
133 "xml": "<outcome value='failure'>\n",
\r
136 "x": 1811.0002403259277,
\r
137 "y": 213.9999942779541,
\r
138 "z": "43e1d1ad.d6a8e",
\r
146 "id": "abb4b716.9e6c48",
\r
148 "name": "set token-id",
\r
149 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
\r
151 "x": 1965.5002403259277,
\r
152 "y": 173.9999942779541,
\r
153 "z": "43e1d1ad.d6a8e",
\r
157 "id": "157313d5.db8b4c",
\r
159 "name": "execute RestApiCallNode Get Topology",
\r
160 "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`\" />",
\r
163 "x": 2032.5002403259277,
\r
164 "y": 293.9999942779541,
\r
165 "z": "43e1d1ad.d6a8e",
\r
174 "id": "33873b8b.c155b4",
\r
177 "xml": "<outcome value='success'>\n",
\r
180 "x": 2275.0002403259277,
\r
181 "y": 313.9999942779541,
\r
182 "z": "43e1d1ad.d6a8e",
\r
190 "id": "e5513b6e.ef8ac8",
\r
192 "name": "block : atomic",
\r
193 "xml": "<block atomic=\"true\">",
\r
197 "x": 2432.5002403259277,
\r
198 "y": 313.9999942779541,
\r
199 "z": "43e1d1ad.d6a8e",
\r
207 "id": "528cf13c.0c237",
\r
208 "type": "returnFailure",
\r
209 "name": "return failure",
\r
210 "xml": "<return status='failure'>\n <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",
\r
212 "x": 2409.0002403259277,
\r
213 "y": 213.9999942779541,
\r
214 "z": "43e1d1ad.d6a8e",
\r
218 "id": "ce710140.b905e",
\r
221 "xml": "<outcome value='failure'>\n",
\r
224 "x": 2271.0002403259277,
\r
225 "y": 213.9999942779541,
\r
226 "z": "43e1d1ad.d6a8e",
\r
234 "id": "e8420532.df1058",
\r
238 "x": 124.99999618530273,
\r
239 "y": 124.9999942779541,
\r
240 "z": "43e1d1ad.d6a8e",
\r
248 "id": "8ccfff99.445d6",
\r
249 "type": "service-logic",
\r
250 "name": "DataChange ${project.version}",
\r
251 "module": "DataChange",
\r
252 "version": "${project.version}",
\r
254 "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}'>",
\r
256 "x": 190.99999618530273,
\r
257 "y": 184.9999942779541,
\r
258 "z": "43e1d1ad.d6a8e",
\r
266 "id": "9ae5c632.b6f538",
\r
268 "name": "method esr-thirdparty-sdnc-discovery",
\r
269 "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",
\r
272 "x": 210.99999618530273,
\r
273 "y": 264.9999942779541,
\r
274 "z": "43e1d1ad.d6a8e",
\r
282 "id": "12028600.fb215a",
\r
284 "name": "block : atomic",
\r
285 "xml": "<block atomic=\"true\">\n",
\r
289 "x": 458.49999618530273,
\r
290 "y": 264.9999942779541,
\r
291 "z": "43e1d1ad.d6a8e",
\r
299 "id": "5d082e27.1f397",
\r
301 "name": "for each Network",
\r
302 "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",
\r
305 "x": 1858.5002555847168,
\r
306 "y": 413.00000953674316,
\r
307 "z": "43e1d1ad.d6a8e",
\r
315 "id": "e62b44ce.a0e368",
\r
318 "xml": "<block>\n",
\r
322 "x": 2007.0002555847168,
\r
323 "y": 413.00000953674316,
\r
324 "z": "43e1d1ad.d6a8e",
\r
333 "id": "69d3f3bb.60d83c",
\r
335 "name": "call update-network-to-aai",
\r
336 "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",
\r
339 "x": 2186.000255584717,
\r
340 "y": 433.00000953674316,
\r
341 "z": "43e1d1ad.d6a8e",
\r
347 "id": "4e20c7e0.4989a8",
\r
349 "name": "set network",
\r
350 "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",
\r
352 "x": 2141.000255584717,
\r
353 "y": 393.00000953674316,
\r
354 "z": "43e1d1ad.d6a8e",
\r
358 "id": "570488eb.f03fc8",
\r
361 "xml": "<block>\n",
\r
365 "x": 1931.0002403259277,
\r
366 "y": 213.9999942779541,
\r
367 "z": "43e1d1ad.d6a8e",
\r
373 "id": "8485b334.0774f",
\r
375 "name": "Do Nothing",
\r
378 "x": 2101.0002403259277,
\r
379 "y": 253.9999942779541,
\r
380 "z": "43e1d1ad.d6a8e",
\r
384 "id": "4662cdd1.b4f8a4",
\r
385 "type": "switchNode",
\r
386 "name": "switch type",
\r
387 "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
\r
390 "x": 977.9999961853027,
\r
391 "y": 349.9999942779541,
\r
392 "z": "43e1d1ad.d6a8e",
\r
401 "id": "9970355a.979a58",
\r
404 "xml": "<block>\n",
\r
408 "x": 844.9999961853027,
\r
409 "y": 349.9999942779541,
\r
410 "z": "43e1d1ad.d6a8e",
\r
418 "id": "c4659524.ddaee8",
\r
421 "xml": "<outcome value='SOTN'>\n",
\r
424 "x": 1090.9999961853027,
\r
425 "y": 260.9999942779541,
\r
426 "z": "43e1d1ad.d6a8e",
\r
434 "id": "b8841114.e40fb",
\r
437 "xml": "<outcome value='Other'>\n",
\r
440 "x": 1106.0000038146973,
\r
441 "y": 500.00002670288086,
\r
442 "z": "43e1d1ad.d6a8e",
\r
450 "id": "3b070a5d.7f8e96",
\r
451 "type": "returnFailure",
\r
452 "name": "return failure",
\r
453 "xml": "<return status='failure'>\n<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",
\r
455 "x": 1284.0000038146973,
\r
456 "y": 500.00002670288086,
\r
457 "z": "43e1d1ad.d6a8e",
\r
461 "id": "d220c063.b8e9a",
\r
463 "name": "execute Properties",
\r
464 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
\r
467 "x": 1472.0001945495605,
\r
468 "y": 142.00000381469727,
\r
469 "z": "43e1d1ad.d6a8e",
\r
475 "id": "97f2ea03.107968",
\r
476 "type": "switchNode",
\r
477 "name": "switch prop.sdncRestApi.token_id",
\r
478 "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n",
\r
481 "x": 1518.5001945495605,
\r
482 "y": 262.00000381469727,
\r
483 "z": "43e1d1ad.d6a8e",
\r
492 "id": "a5358ccb.9e8dd",
\r
495 "xml": "<outcome value=''>\n",
\r
498 "x": 1811.0002403259277,
\r
499 "y": 253.9999942779541,
\r
500 "z": "43e1d1ad.d6a8e",
\r
508 "id": "7f5cb122.be2df",
\r
511 "xml": "<outcome value='Other'>\n",
\r
514 "x": 1811.0002403259277,
\r
515 "y": 293.9999942779541,
\r
516 "z": "43e1d1ad.d6a8e",
\r
524 "id": "ef0365d3.97ff38",
\r
526 "name": "execute RestApiCallNode Get Topology",
\r
527 "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",
\r
530 "x": 2032.5002403259277,
\r
531 "y": 253.9999942779541,
\r
532 "z": "43e1d1ad.d6a8e",
\r
541 "id": "1b8d7ae8.41c4c5",
\r
543 "name": "execute RestconfDiscoveryNode",
\r
544 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscription' >\n<parameter name=\"subscriberId\" value=\"sotn-controller\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\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`\" />\n<parameter name=\"module\" value=\"DataChange\" />\n<parameter name=\"rpc\" value=\"sotn-notification-handler\" />\n<parameter name=\"mode\" value=\"sync\" />",
\r
547 "x": 1517.0001525878906,
\r
548 "y": 400.9999828338623,
\r
549 "z": "43e1d1ad.d6a8e",
\r
555 "id": "f06d5e7a.dcdff",
\r
557 "name": "set encoding-format",
\r
558 "xml": "<set>\n<parameter name='ietf-subscribed-notifications_establish-subscription.input.encoding' value=\"encode-json\" />",
\r
560 "x": 1475.0001945495605,
\r
561 "y": 362.00000381469727,
\r
562 "z": "43e1d1ad.d6a8e",
\r
566 "id": "971a117b.a06b9",
\r
568 "name": "Notification subscription",
\r
571 "x": 1480.0003395080566,
\r
572 "y": 319.00000286102295,
\r
573 "z": "43e1d1ad.d6a8e",
\r
577 "id": "807f3d.fff210c",
\r
578 "type": "switchNode",
\r
580 "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",
\r
583 "x": 164.99999618530273,
\r
584 "y": 389.9999942779541,
\r
585 "z": "43e1d1ad.d6a8e",
\r
594 "id": "1b70ca9c.7c9985",
\r
595 "type": "outcomeFalse",
\r
597 "xml": "<outcome value='false'>\n",
\r
600 "x": 351.99999618530273,
\r
601 "y": 389.9999942779541,
\r
602 "z": "43e1d1ad.d6a8e",
\r
610 "id": "c9877e2e.2d6a5",
\r
611 "type": "outcomeTrue",
\r
613 "xml": "<outcome value='true'>\n",
\r
616 "x": 352.99999618530273,
\r
617 "y": 514.9999942779541,
\r
618 "z": "43e1d1ad.d6a8e",
\r
626 "id": "66b25f6e.ea9c2",
\r
628 "name": "call esr-thirdparty-sdnc-of-zte",
\r
629 "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n",
\r
632 "x": 575.9999961853027,
\r
633 "y": 514.9999942779541,
\r
634 "z": "43e1d1ad.d6a8e",
\r