3 "id": "3872acaa.809c44",
\r
6 "xml": "<outcome value='Update'>\n",
\r
11 "z": "8cb67e95.d771b8",
\r
19 "id": "dbb694.b27a417",
\r
22 "xml": "<outcome value='Delete'>\n",
\r
27 "z": "8cb67e95.d771b8",
\r
35 "id": "754f4acc.eae6dc",
\r
37 "name": "block : atomic",
\r
38 "xml": "<block atomic=\"true\">",
\r
43 "z": "8cb67e95.d771b8",
\r
51 "id": "4cc508ad.f5c7d",
\r
52 "type": "switchNode",
\r
53 "name": "switch aai-event-trigger",
\r
54 "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",
\r
59 "z": "8cb67e95.d771b8",
\r
68 "id": "f974c517.d68cd",
\r
70 "name": "block : atomic",
\r
71 "xml": "<block atomic=\"true\">",
\r
76 "z": "8cb67e95.d771b8",
\r
88 "id": "80deb47b.7e9e",
\r
90 "name": "execute RestApiCallNode Get token",
\r
91 "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
94 "x": 1510.5001983642578,
\r
95 "y": 137.00000953674316,
\r
96 "z": "8cb67e95.d771b8",
\r
105 "id": "6d5b07.e87e6cf8",
\r
108 "xml": "<outcome value='success'>\n",
\r
111 "x": 1800.000244140625,
\r
113 "z": "8cb67e95.d771b8",
\r
121 "id": "403286df.c4eed8",
\r
124 "xml": "<outcome value='failure'>\n",
\r
127 "x": 1796.000244140625,
\r
129 "z": "8cb67e95.d771b8",
\r
137 "id": "b95a0f0f.c5f4",
\r
139 "name": "set token-id",
\r
140 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
\r
142 "x": 1950.500244140625,
\r
144 "z": "8cb67e95.d771b8",
\r
148 "id": "c03c3a2.5764a48",
\r
150 "name": "execute RestApiCallNode Get Topology",
\r
151 "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
154 "x": 2017.500244140625,
\r
156 "z": "8cb67e95.d771b8",
\r
165 "id": "986cb045.40c5",
\r
168 "xml": "<outcome value='success'>\n",
\r
171 "x": 2260.000244140625,
\r
173 "z": "8cb67e95.d771b8",
\r
181 "id": "7a144ec7.8a9348",
\r
183 "name": "block : atomic",
\r
184 "xml": "<block atomic=\"true\">",
\r
188 "x": 2417.500244140625,
\r
190 "z": "8cb67e95.d771b8",
\r
199 "id": "c2f07a72.d9a858",
\r
200 "type": "returnFailure",
\r
201 "name": "return failure",
\r
202 "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
204 "x": 2394.000244140625,
\r
206 "z": "8cb67e95.d771b8",
\r
210 "id": "e9ec571f.c3cfe8",
\r
213 "xml": "<outcome value='failure'>\n",
\r
216 "x": 2256.000244140625,
\r
218 "z": "8cb67e95.d771b8",
\r
226 "id": "7d5868e5.98eab",
\r
232 "z": "8cb67e95.d771b8",
\r
240 "id": "22d8189e.4866f",
\r
241 "type": "service-logic",
\r
242 "name": "DataChange ${project.version}",
\r
243 "module": "DataChange",
\r
244 "version": "${project.version}",
\r
246 "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
250 "z": "8cb67e95.d771b8",
\r
258 "id": "3a8b8af3.4d4416",
\r
260 "name": "method esr-thirdparty-sdnc-discovery",
\r
261 "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",
\r
266 "z": "8cb67e95.d771b8",
\r
274 "id": "c8a85a4d.9e66f",
\r
276 "name": "block : atomic",
\r
277 "xml": "<block atomic=\"true\">\n",
\r
283 "z": "8cb67e95.d771b8",
\r
291 "id": "55ea6ad.8497214",
\r
293 "name": "for each Network",
\r
294 "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",
\r
297 "x": 2636.500244140625,
\r
299 "z": "8cb67e95.d771b8",
\r
307 "id": "1ed2d22d.82cc36",
\r
310 "xml": "<block>\n",
\r
314 "x": 2785.000244140625,
\r
316 "z": "8cb67e95.d771b8",
\r
325 "id": "852144d1.2cc6d",
\r
327 "name": "call update-network-to-aai",
\r
328 "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",
\r
331 "x": 2964.000244140625,
\r
333 "z": "8cb67e95.d771b8",
\r
339 "id": "530a9a06.d69fc4",
\r
341 "name": "set network",
\r
342 "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",
\r
344 "x": 2919.000244140625,
\r
346 "z": "8cb67e95.d771b8",
\r
350 "id": "f35984bc.58f298",
\r
353 "xml": "<block>\n",
\r
357 "x": 1916.000244140625,
\r
359 "z": "8cb67e95.d771b8",
\r
365 "id": "a473b7cc.4471d8",
\r
367 "name": "Do Nothing",
\r
370 "x": 2086.000244140625,
\r
372 "z": "8cb67e95.d771b8",
\r
376 "id": "d9afda1.5ca9828",
\r
377 "type": "switchNode",
\r
378 "name": "switch type",
\r
379 "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
\r
384 "z": "8cb67e95.d771b8",
\r
395 "id": "5a988226.7d9fdc",
\r
398 "xml": "<block>\n",
\r
404 "z": "8cb67e95.d771b8",
\r
412 "id": "7ea96e84.4a184",
\r
415 "xml": "<outcome value='SOTN'>\n",
\r
420 "z": "8cb67e95.d771b8",
\r
428 "id": "e5a11dd.415fde",
\r
431 "xml": "<outcome value='Other'>\n",
\r
435 "y": 677.5001220703125,
\r
436 "z": "8cb67e95.d771b8",
\r
444 "id": "4a0581b6.8cbdf",
\r
445 "type": "returnFailure",
\r
446 "name": "return failure",
\r
447 "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
450 "y": 703.5001220703125,
\r
451 "z": "8cb67e95.d771b8",
\r
455 "id": "29d0fcfc.c3657c",
\r
457 "name": "execute Properties",
\r
458 "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
461 "x": 1457.0001983642578,
\r
462 "y": 97.00000953674316,
\r
463 "z": "8cb67e95.d771b8",
\r
469 "id": "f9b155cc.d14098",
\r
470 "type": "switchNode",
\r
471 "name": "switch prop.sdncRestApi.token_id",
\r
472 "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n",
\r
475 "x": 1503.5001983642578,
\r
476 "y": 217.00000953674316,
\r
477 "z": "8cb67e95.d771b8",
\r
486 "id": "4e229170.2e1108",
\r
489 "xml": "<outcome value=''>\n",
\r
492 "x": 1796.000244140625,
\r
494 "z": "8cb67e95.d771b8",
\r
502 "id": "495c5d16.740274",
\r
505 "xml": "<outcome value='Other'>\n",
\r
508 "x": 1796.000244140625,
\r
510 "z": "8cb67e95.d771b8",
\r
518 "id": "b14dd129.fcf7f",
\r
520 "name": "execute RestApiCallNode Get Topology",
\r
521 "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
524 "x": 2017.500244140625,
\r
526 "z": "8cb67e95.d771b8",
\r
535 "id": "31237f4.62f8c",
\r
537 "name": "execute RestconfDiscoveryNode",
\r
538 "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
541 "x": 1500.0001983642578,
\r
542 "y": 357.00000953674316,
\r
543 "z": "8cb67e95.d771b8",
\r
549 "id": "c374fd8f.2c9bc8",
\r
551 "name": "set encoding-format",
\r
552 "xml": "<set>\n<parameter name='input' value='ietf-subscribed-notifications:establish-subscription.input.' />\n<parameter name=\"`$input + 'encoding'`\" value=\"encode-json\" />",
\r
554 "x": 1460.0001983642578,
\r
555 "y": 317.00000953674316,
\r
556 "z": "8cb67e95.d771b8",
\r
560 "id": "47fcc4e5.c080a4",
\r
562 "name": "Notification subscription",
\r
565 "x": 1465.000343322754,
\r
566 "y": 274.00000858306885,
\r
567 "z": "8cb67e95.d771b8",
\r
571 "id": "cbd24389.ade708",
\r
572 "type": "switchNode",
\r
574 "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",
\r
579 "z": "8cb67e95.d771b8",
\r
588 "id": "f624fdf6.4a4ef8",
\r
589 "type": "outcomeFalse",
\r
591 "xml": "<outcome value='false'>\n",
\r
596 "z": "8cb67e95.d771b8",
\r
604 "id": "67364ea6.885738",
\r
605 "type": "outcomeTrue",
\r
607 "xml": "<outcome value='true'>\n",
\r
610 "x": 111.00003051757812,
\r
612 "z": "8cb67e95.d771b8",
\r
620 "id": "48c54790.7a017",
\r
622 "name": "call esr-thirdparty-sdnc-of-zte",
\r
623 "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n",
\r
627 "y": 1118.5000610351562,
\r
628 "z": "8cb67e95.d771b8",
\r
634 "id": "11ea46b7.9ad609",
\r
637 "xml": "<outcome value='TAPI'>\n",
\r
642 "z": "8cb67e95.d771b8",
\r
650 "id": "a1313060.f8d7d",
\r
652 "name": "block : atomic",
\r
653 "xml": "<block atomic=\"true\">",
\r
658 "z": "8cb67e95.d771b8",
\r
666 "id": "f271610b.da5a3",
\r
669 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/tapi/v2/topologies?topology-id-or-name=otn'`\"/> \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=\"topologies\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.tapi.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
674 "z": "8cb67e95.d771b8",
\r
683 "id": "1c89864.e323d7a",
\r
686 "xml": "<outcome value='success'>\n",
\r
691 "z": "8cb67e95.d771b8",
\r
699 "id": "878204ba.609a58",
\r
702 "xml": "<outcome value='failure'>\n",
\r
707 "z": "8cb67e95.d771b8",
\r
715 "id": "4052d329.1b779c",
\r
716 "type": "returnFailure",
\r
717 "name": "return failure",
\r
718 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology TAPI rest api\" />\n\n",
\r
722 "z": "8cb67e95.d771b8",
\r
726 "id": "5d965dcc.6101a4",
\r
728 "name": "block : atomic",
\r
729 "xml": "<block atomic=\"true\">",
\r
734 "z": "8cb67e95.d771b8",
\r
742 "id": "d1531df6.3732f",
\r
744 "name": "for each topology",
\r
745 "xml": "<for index='tidx' start='0' end=\"`$topologies.topology_length`\" >\n",
\r
750 "z": "8cb67e95.d771b8",
\r
758 "id": "8b55167c.96333",
\r
761 "xml": "<block>\n",
\r
767 "z": "8cb67e95.d771b8",
\r
776 "id": "e7e4969d.73ce58",
\r
778 "name": "set topology",
\r
779 "xml": "<set>\n<parameter name='topology.' value='`$topologies.topology[$tidx].`' />\n",
\r
783 "z": "8cb67e95.d771b8",
\r
787 "id": "9e2e1ddf.baa2b",
\r
789 "name": "call tapi-update-network-to-aai",
\r
790 "xml": "<call module='DataChange' rpc='tapi-update-network-to-aai' mode='sync' >\n\n",
\r
795 "z": "8cb67e95.d771b8",
\r
801 "id": "a5c3b391.3c4aa",
\r
804 "xml": "<outcome value='MSA'>\n",
\r
807 "x": 1124.677324295044,
\r
808 "y": 606.8993349075317,
\r
809 "z": "8cb67e95.d771b8",
\r
817 "id": "1925d7f4.b889a8",
\r
819 "name": "block : atomic",
\r
820 "xml": "<block atomic=\"true\">",
\r
823 "x": 1286.6773872375488,
\r
824 "y": 604.899335861206,
\r
825 "z": "8cb67e95.d771b8",
\r
833 "id": "7ba5724d.ffaffc",
\r
836 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/openroadm/v2/networks/otn-topology'`\"/> \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=\"networks\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.msa.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
839 "x": 1463.6771354675293,
\r
840 "y": 596.8992919921875,
\r
841 "z": "8cb67e95.d771b8",
\r
850 "id": "6946de0a.deebc",
\r
853 "xml": "<outcome value='failure'>\n",
\r
856 "x": 1616.6771354675293,
\r
857 "y": 593.8992919921875,
\r
858 "z": "8cb67e95.d771b8",
\r
866 "id": "e290e7ee.1a21f",
\r
867 "type": "returnFailure",
\r
868 "name": "return failure",
\r
869 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology MSA rest api\" />\n\n",
\r
871 "x": 1791.6771354675293,
\r
872 "y": 592.8992919921875,
\r
873 "z": "8cb67e95.d771b8",
\r
877 "id": "5d4a6514.4c3a9c",
\r
880 "xml": "<outcome value='success'>\n",
\r
883 "x": 1622.6771354675293,
\r
884 "y": 666.8992919921875,
\r
885 "z": "8cb67e95.d771b8",
\r
893 "id": "815556fb.bd9668",
\r
895 "name": "block : atomic",
\r
896 "xml": "<block atomic=\"true\">",
\r
899 "x": 1806.6771354675293,
\r
900 "y": 668.8992919921875,
\r
901 "z": "8cb67e95.d771b8",
\r
909 "id": "9834a552.e8e02",
\r
911 "name": "call msa-update-network-to-aai",
\r
912 "xml": "<call module='DataChange' rpc='msa-update-network-to-aai' mode='sync' >\n\n",
\r
915 "x": 2085.677001953125,
\r
916 "y": 666.8992919921875,
\r
917 "z": "8cb67e95.d771b8",
\r
923 "id": "983792ba.976408",
\r
924 "type": "switchNode",
\r
925 "name": "switch type",
\r
926 "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
\r
929 "x": 256.566650390625,
\r
930 "y": 835.5666809082031,
\r
931 "z": "8cb67e95.d771b8",
\r
941 "id": "674a6a9f.8c143c",
\r
944 "xml": "<outcome value='MSA'>\n",
\r
947 "x": 435.857177734375,
\r
948 "y": 752.9285888671875,
\r
949 "z": "8cb67e95.d771b8",
\r
957 "id": "42c7b2ab.76125c",
\r
960 "xml": "<outcome value='TAPI'>\n",
\r
963 "x": 444.6070556640625,
\r
964 "y": 1003.6428527832031,
\r
965 "z": "8cb67e95.d771b8",
\r
973 "id": "8b3cf345.6948d",
\r
975 "name": "block : atomic",
\r
976 "xml": "<block atomic='true'>",
\r
980 "x": 589.607177734375,
\r
981 "y": 749.7143249511719,
\r
982 "z": "8cb67e95.d771b8",
\r
991 "id": "ec6a41aa.381fd",
\r
994 "xml": "<block>\n",
\r
1000 "z": "8cb67e95.d771b8",
\r
1003 "1335976f.2d9b19",
\r
1009 "id": "1501fed.f113881",
\r
1012 "xml": "<outcome value='Other'>\n",
\r
1017 "z": "8cb67e95.d771b8",
\r
1025 "id": "41c63854.9379a8",
\r
1026 "type": "returnFailure",
\r
1027 "name": "return failure",
\r
1028 "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
1032 "z": "8cb67e95.d771b8",
\r
1036 "id": "49d8550e.67af3c",
\r
1037 "type": "get-resource",
\r
1038 "name": "get resources from DB -controller_id",
\r
1039 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE controller_id = $controllerid'\npfx='dbcontrollerid'>\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n",
\r
1044 "z": "8cb67e95.d771b8",
\r
1047 "1a8d1895.ab6a47",
\r
1048 "47ef9d8f.3964f4",
\r
1054 "id": "db848d25.52ee9",
\r
1056 "name": "set controller_id",
\r
1057 "xml": "<set>\n<parameter name='controllerid' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",
\r
1061 "z": "8cb67e95.d771b8",
\r
1065 "id": "1a8d1895.ab6a47",
\r
1066 "type": "success",
\r
1067 "name": "success",
\r
1068 "xml": "<outcome value='success'>\n",
\r
1073 "z": "8cb67e95.d771b8",
\r
1081 "id": "d1f9e1a7.c7f19",
\r
1083 "name": "delete from db",
\r
1084 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n resource=\"SQL\"\n key=\"DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid\">",
\r
1089 "z": "8cb67e95.d771b8",
\r
1095 "id": "1335976f.2d9b19",
\r
1097 "name": "set controller_id",
\r
1098 "xml": "<set>\n<parameter name='controllerid' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",
\r
1102 "z": "8cb67e95.d771b8",
\r
1106 "id": "16c45478.af99e4",
\r
1107 "type": "get-resource",
\r
1108 "name": "get resources from DB -controller_id",
\r
1109 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE controller_id = $controllerid'\npfx='dbcontrollerid'>\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n",
\r
1114 "z": "8cb67e95.d771b8",
\r
1118 "ae0994a7.403ab8",
\r
1124 "id": "a8a3e82f.8a5a8",
\r
1125 "type": "success",
\r
1126 "name": "success",
\r
1127 "xml": "<outcome value='success'>\n",
\r
1132 "z": "8cb67e95.d771b8",
\r
1140 "id": "d7aae079.2ca2a",
\r
1142 "name": "delete from db",
\r
1143 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n resource=\"SQL\"\n key=\"DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid\">",
\r
1148 "z": "8cb67e95.d771b8",
\r
1154 "id": "47ef9d8f.3964f4",
\r
1155 "type": "failure",
\r
1156 "name": "failure",
\r
1157 "xml": "<outcome value='failure'>\n",
\r
1162 "z": "8cb67e95.d771b8",
\r
1170 "id": "ae0994a7.403ab8",
\r
1171 "type": "failure",
\r
1172 "name": "failure",
\r
1173 "xml": "<outcome value='failure'>\n",
\r
1178 "z": "8cb67e95.d771b8",
\r
1186 "id": "1e298c8c.f0408b",
\r
1187 "type": "returnFailure",
\r
1188 "name": "return failure",
\r
1189 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure in getting controller-id from DB\" />\n\n",
\r
1193 "z": "8cb67e95.d771b8",
\r
1197 "id": "d98324ce.97ca8",
\r
1198 "type": "not-found",
\r
1199 "name": "not-found",
\r
1200 "xml": "<outcome value='not-found'>\n",
\r
1205 "z": "8cb67e95.d771b8",
\r
1213 "id": "3416464c.a143ea",
\r
1214 "type": "returnFailure",
\r
1215 "name": "return failure",
\r
1216 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"controller-id could not be found in DB\" />\n\n",
\r
1220 "z": "8cb67e95.d771b8",
\r
1224 "id": "c236971a.ee197",
\r
1225 "type": "returnFailure",
\r
1226 "name": "return failure",
\r
1227 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure in getting controller-id from DB\" />\n\n",
\r
1231 "z": "8cb67e95.d771b8",
\r
1235 "id": "e57ecfd9.55df58",
\r
1236 "type": "not-found",
\r
1237 "name": "not-found",
\r
1238 "xml": "<outcome value='not-found'>\n",
\r
1243 "z": "8cb67e95.d771b8",
\r
1251 "id": "d5ad8139.acdf48",
\r
1252 "type": "returnFailure",
\r
1253 "name": "return failure",
\r
1254 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"controller-id could not be found in DB\" />\n\n",
\r
1258 "z": "8cb67e95.d771b8",
\r
1262 "id": "ad96f3f.ca0439",
\r
1263 "type": "switchNode",
\r
1264 "name": "switch network_length",
\r
1265 "xml": "<switch test='`$topology.networks.network_length >= 2`'>\n",
\r
1270 "z": "8cb67e95.d771b8",
\r
1278 "id": "d135440e.332828",
\r
1279 "type": "outcomeTrue",
\r
1281 "xml": "<outcome value='true'>\n",
\r
1286 "z": "8cb67e95.d771b8",
\r
1294 "id": "27de91fe.6ca4f6",
\r
1296 "name": "for each Network",
\r
1297 "xml": "<for index='netidx' start='0' end='`$topology.networks.network_length`' >\n",
\r
1302 "z": "8cb67e95.d771b8",
\r
1310 "id": "7ec0ad88.0666cc",
\r
1313 "xml": "<block>\n",
\r
1314 "atomic": "false",
\r
1319 "z": "8cb67e95.d771b8",
\r
1323 "b5eed741.5fbb08",
\r
1329 "id": "5634a256.4e2744",
\r
1331 "name": "call update-tp-ttp-relationship",
\r
1332 "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",
\r
1337 "z": "8cb67e95.d771b8",
\r
1343 "id": "9dfbe1b1.0501b8",
\r
1345 "name": "block : atomic",
\r
1346 "xml": "<block atomic='true'>",
\r
1352 "z": "8cb67e95.d771b8",
\r
1355 "27de91fe.6ca4f6",
\r
1361 "id": "1656178e.3ba998",
\r
1363 "name": "unset network",
\r
1364 "xml": "<set>\n<parameter name='network.' value='' />\n",
\r
1368 "z": "8cb67e95.d771b8",
\r
1372 "id": "8fdc47cc.432ab",
\r
1374 "name": "set network",
\r
1375 "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1379 "z": "8cb67e95.d771b8",
\r
1383 "id": "b5eed741.5fbb08",
\r
1384 "type": "switchNode",
\r
1385 "name": "switch network-types with topologyId",
\r
1386 "xml": "<switch test='`$network.te-topology-id`'>\n",
\r
1391 "z": "8cb67e95.d771b8",
\r
1394 "c1423a29.1c46e8",
\r
1400 "id": "c1423a29.1c46e8",
\r
1401 "type": "outcome",
\r
1403 "xml": "<outcome value='1'>\n",
\r
1408 "z": "8cb67e95.d771b8",
\r
1416 "id": "ab490ddf.8e1c1",
\r
1417 "type": "outcome",
\r
1419 "xml": "<outcome value='2'>\n",
\r
1424 "z": "8cb67e95.d771b8",
\r
1432 "id": "adf965cc.3e515",
\r
1434 "name": "set network-otn",
\r
1435 "xml": "<set>\n<parameter name='network-otn.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1439 "z": "8cb67e95.d771b8",
\r
1443 "id": "f1dbbcab.0dda4",
\r
1445 "name": "set network eth",
\r
1446 "xml": "<set>\n<parameter name='network-eth.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1450 "z": "8cb67e95.d771b8",
\r
1454 "id": "3c6e5d11.fbd2b2",
\r
1457 "xml": "<block>\n",
\r
1458 "atomic": "false",
\r
1463 "z": "8cb67e95.d771b8",
\r
1471 "id": "654a57a4.0fd38",
\r
1474 "xml": "<block>\n",
\r
1475 "atomic": "false",
\r
1480 "z": "8cb67e95.d771b8",
\r