3 "id": "c3dc4adb.8c6008",
\r
6 "xml": "<outcome value='Update'>\n",
\r
11 "z": "fcc91756.c8d038",
\r
19 "id": "71253ee0.23906",
\r
22 "xml": "<outcome value='Delete'>\n",
\r
27 "z": "fcc91756.c8d038",
\r
35 "id": "3f0bf71e.180588",
\r
37 "name": "block : atomic",
\r
38 "xml": "<block atomic=\"true\">",
\r
43 "z": "fcc91756.c8d038",
\r
51 "id": "de801ea6.e90758",
\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": "fcc91756.c8d038",
\r
68 "id": "1007cea6.282501",
\r
70 "name": "block : atomic",
\r
71 "xml": "<block atomic=\"true\">",
\r
76 "z": "fcc91756.c8d038",
\r
88 "id": "7a1058d1.4b2d6",
\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": 1539.5001983642578,
\r
95 "y": 143.00000953674316,
\r
96 "z": "fcc91756.c8d038",
\r
105 "id": "1f13ca65.eddc8e",
\r
108 "xml": "<outcome value='success'>\n",
\r
111 "x": 1829.000244140625,
\r
113 "z": "fcc91756.c8d038",
\r
121 "id": "fa7642f7.a126c8",
\r
124 "xml": "<outcome value='failure'>\n",
\r
127 "x": 1825.000244140625,
\r
129 "z": "fcc91756.c8d038",
\r
137 "id": "a5768e87.aa1bb",
\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": 1979.500244140625,
\r
144 "z": "fcc91756.c8d038",
\r
148 "id": "272f0d19.0aa972",
\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": 2046.500244140625,
\r
156 "z": "fcc91756.c8d038",
\r
165 "id": "c0f8711f.5047d8",
\r
168 "xml": "<outcome value='success'>\n",
\r
171 "x": 2289.000244140625,
\r
173 "z": "fcc91756.c8d038",
\r
181 "id": "f5e8d64.1d84ba8",
\r
183 "name": "block : atomic",
\r
184 "xml": "<block atomic=\"true\">",
\r
188 "x": 2446.500244140625,
\r
190 "z": "fcc91756.c8d038",
\r
199 "id": "dd9ef895.8d06e8",
\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": 2423.000244140625,
\r
206 "z": "fcc91756.c8d038",
\r
210 "id": "6134ff85.3a875",
\r
213 "xml": "<outcome value='failure'>\n",
\r
216 "x": 2285.000244140625,
\r
218 "z": "fcc91756.c8d038",
\r
226 "id": "bca2c88c.f5748",
\r
232 "z": "fcc91756.c8d038",
\r
240 "id": "1c8eebdb.be2d0c",
\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": "fcc91756.c8d038",
\r
258 "id": "a6fcf3ab.5f9578",
\r
260 "name": "method esr-thirdparty-sdnc-discovery",
\r
261 "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",
\r
266 "z": "fcc91756.c8d038",
\r
274 "id": "6420c8d3.d15ee",
\r
276 "name": "block : atomic",
\r
277 "xml": "<block atomic=\"true\">\n",
\r
283 "z": "fcc91756.c8d038",
\r
291 "id": "f392518f.1c82f",
\r
293 "name": "for each Network",
\r
294 "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",
\r
297 "x": 2665.500244140625,
\r
299 "z": "fcc91756.c8d038",
\r
307 "id": "48caa041.662da",
\r
310 "xml": "<block>\n",
\r
314 "x": 2814.000244140625,
\r
316 "z": "fcc91756.c8d038",
\r
325 "id": "f9d6723a.6cdf78",
\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": 2993.000244140625,
\r
333 "z": "fcc91756.c8d038",
\r
339 "id": "929dfcd4.4e318",
\r
341 "name": "set network",
\r
342 "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",
\r
344 "x": 2948.000244140625,
\r
346 "z": "fcc91756.c8d038",
\r
350 "id": "334af206.383786",
\r
353 "xml": "<block>\n",
\r
357 "x": 1945.000244140625,
\r
359 "z": "fcc91756.c8d038",
\r
365 "id": "2b9bc1fc.7f9d86",
\r
367 "name": "Do Nothing",
\r
370 "x": 2115.000244140625,
\r
372 "z": "fcc91756.c8d038",
\r
376 "id": "ec977bcd.52b8a8",
\r
377 "type": "switchNode",
\r
378 "name": "switch type",
\r
379 "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
\r
384 "z": "fcc91756.c8d038",
\r
395 "id": "bd0845c9.41d478",
\r
398 "xml": "<block>\n",
\r
404 "z": "fcc91756.c8d038",
\r
412 "id": "e6327558.85a0e",
\r
415 "xml": "<outcome value='SOTN'>\n",
\r
420 "z": "fcc91756.c8d038",
\r
428 "id": "ece3c1dc.08a25",
\r
431 "xml": "<outcome value='Other'>\n",
\r
435 "y": 683.5001220703125,
\r
436 "z": "fcc91756.c8d038",
\r
444 "id": "752a836e.32daf4",
\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": 709.5001220703125,
\r
451 "z": "fcc91756.c8d038",
\r
455 "id": "95e785b5.d067b",
\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": 1486.0001983642578,
\r
462 "y": 103.00000953674316,
\r
463 "z": "fcc91756.c8d038",
\r
469 "id": "558bdafc.122dbc",
\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": 1532.5001983642578,
\r
476 "y": 223.00000953674316,
\r
477 "z": "fcc91756.c8d038",
\r
486 "id": "9764857a.46386",
\r
489 "xml": "<outcome value=''>\n",
\r
492 "x": 1825.000244140625,
\r
494 "z": "fcc91756.c8d038",
\r
502 "id": "b55a5855.1b4c4",
\r
505 "xml": "<outcome value='Other'>\n",
\r
508 "x": 1825.000244140625,
\r
510 "z": "fcc91756.c8d038",
\r
518 "id": "d18413fb.5938e8",
\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": 2046.500244140625,
\r
526 "z": "fcc91756.c8d038",
\r
535 "id": "25993b47.1f060c",
\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": 1529.0001983642578,
\r
542 "y": 363.00000953674316,
\r
543 "z": "fcc91756.c8d038",
\r
549 "id": "54848569.ec4d54",
\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": 1489.0001983642578,
\r
555 "y": 323.00000953674316,
\r
556 "z": "fcc91756.c8d038",
\r
560 "id": "c147e994.7edd08",
\r
562 "name": "Notification subscription",
\r
565 "x": 1494.000343322754,
\r
566 "y": 280.00000858306885,
\r
567 "z": "fcc91756.c8d038",
\r
571 "id": "39152f22.f0d4a8",
\r
572 "type": "switchNode",
\r
574 "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",
\r
579 "z": "fcc91756.c8d038",
\r
588 "id": "404d2f08.96ad7",
\r
589 "type": "outcomeFalse",
\r
591 "xml": "<outcome value='false'>\n",
\r
596 "z": "fcc91756.c8d038",
\r
604 "id": "74ffd1db.2f31c8",
\r
605 "type": "outcomeTrue",
\r
607 "xml": "<outcome value='true'>\n",
\r
610 "x": 140.00003051757812,
\r
612 "z": "fcc91756.c8d038",
\r
620 "id": "c3886c05.a14928",
\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": 1124.5000610351562,
\r
628 "z": "fcc91756.c8d038",
\r
634 "id": "57f0cdff.7f0d04",
\r
637 "xml": "<outcome value='TAPI'>\n",
\r
642 "z": "fcc91756.c8d038",
\r
650 "id": "9159c5db.f9ecb",
\r
652 "name": "block : atomic",
\r
653 "xml": "<block atomic=\"true\">",
\r
658 "z": "fcc91756.c8d038",
\r
666 "id": "359e52a9.fb7c36",
\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": "fcc91756.c8d038",
\r
683 "id": "a872bbb4.c3aec8",
\r
686 "xml": "<outcome value='success'>\n",
\r
691 "z": "fcc91756.c8d038",
\r
699 "id": "bdd5dc28.9d2908",
\r
702 "xml": "<outcome value='failure'>\n",
\r
707 "z": "fcc91756.c8d038",
\r
715 "id": "ba70e873.59e928",
\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": "fcc91756.c8d038",
\r
726 "id": "e24829ea.497098",
\r
728 "name": "block : atomic",
\r
729 "xml": "<block atomic=\"true\">",
\r
734 "z": "fcc91756.c8d038",
\r
742 "id": "e5d11bee.6d3f3",
\r
744 "name": "for each topology",
\r
745 "xml": "<for index='tidx' start='0' end=\"`$topologies.topology_length`\" >\n",
\r
750 "z": "fcc91756.c8d038",
\r
758 "id": "f9dbd640.006d18",
\r
761 "xml": "<block>\n",
\r
767 "z": "fcc91756.c8d038",
\r
776 "id": "c60ea7f.3bd2058",
\r
778 "name": "set topology",
\r
779 "xml": "<set>\n<parameter name='topology.' value='`$topologies.topology[$tidx].`' />\n",
\r
783 "z": "fcc91756.c8d038",
\r
787 "id": "b4f9b29d.c49458",
\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": "fcc91756.c8d038",
\r
801 "id": "e6efb547.0bd5a8",
\r
804 "xml": "<outcome value='MSA'>\n",
\r
807 "x": 1153.677324295044,
\r
808 "y": 612.8993349075317,
\r
809 "z": "fcc91756.c8d038",
\r
817 "id": "e1657417.9cefe8",
\r
819 "name": "block : atomic",
\r
820 "xml": "<block atomic=\"true\">",
\r
823 "x": 1315.6773872375488,
\r
824 "y": 610.899335861206,
\r
825 "z": "fcc91756.c8d038",
\r
833 "id": "1f0bde0a.fa2cb2",
\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": 1492.6771354675293,
\r
840 "y": 602.8992919921875,
\r
841 "z": "fcc91756.c8d038",
\r
850 "id": "7133cad2.99b11c",
\r
853 "xml": "<outcome value='failure'>\n",
\r
856 "x": 1645.6771354675293,
\r
857 "y": 599.8992919921875,
\r
858 "z": "fcc91756.c8d038",
\r
866 "id": "eab907ff.882ae8",
\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": 1820.6771354675293,
\r
872 "y": 598.8992919921875,
\r
873 "z": "fcc91756.c8d038",
\r
877 "id": "c3d837c.d0ca2c8",
\r
880 "xml": "<outcome value='success'>\n",
\r
883 "x": 1651.6771354675293,
\r
884 "y": 672.8992919921875,
\r
885 "z": "fcc91756.c8d038",
\r
893 "id": "224d6e37.21354a",
\r
895 "name": "block : atomic",
\r
896 "xml": "<block atomic=\"true\">",
\r
899 "x": 1835.6771354675293,
\r
900 "y": 674.8992919921875,
\r
901 "z": "fcc91756.c8d038",
\r
909 "id": "622b9c10.ebdeac",
\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": 2114.677001953125,
\r
916 "y": 672.8992919921875,
\r
917 "z": "fcc91756.c8d038",
\r
923 "id": "67540de7.5dd14c",
\r
924 "type": "switchNode",
\r
925 "name": "switch type",
\r
926 "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
\r
929 "x": 285.566650390625,
\r
930 "y": 841.5666809082031,
\r
931 "z": "fcc91756.c8d038",
\r
941 "id": "ed11f93e.13815",
\r
944 "xml": "<outcome value='MSA'>\n",
\r
947 "x": 464.857177734375,
\r
948 "y": 758.9285888671875,
\r
949 "z": "fcc91756.c8d038",
\r
957 "id": "b9986099.553ab8",
\r
960 "xml": "<outcome value='TAPI'>\n",
\r
963 "x": 473.6070556640625,
\r
964 "y": 1009.6428527832031,
\r
965 "z": "fcc91756.c8d038",
\r
973 "id": "40980c29.103654",
\r
975 "name": "block : atomic",
\r
976 "xml": "<block atomic='true'>",
\r
980 "x": 618.607177734375,
\r
981 "y": 755.7143249511719,
\r
982 "z": "fcc91756.c8d038",
\r
991 "id": "b9906adb.aedb",
\r
994 "xml": "<block>\n",
\r
1000 "z": "fcc91756.c8d038",
\r
1009 "id": "eeccf78a.d71e3",
\r
1012 "xml": "<outcome value='Other'>\n",
\r
1017 "z": "fcc91756.c8d038",
\r
1025 "id": "a7ccb229.5cc45",
\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": "fcc91756.c8d038",
\r
1036 "id": "f4759d50.5acb",
\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": "fcc91756.c8d038",
\r
1048 "5d9de12a.c40778",
\r
1054 "id": "6300b23d.858844",
\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": "fcc91756.c8d038",
\r
1065 "id": "418351d.550fdb",
\r
1066 "type": "success",
\r
1067 "name": "success",
\r
1068 "xml": "<outcome value='success'>\n",
\r
1073 "z": "fcc91756.c8d038",
\r
1081 "id": "7d4b021f.b58864",
\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": "fcc91756.c8d038",
\r
1095 "id": "ee72aef0.96b35",
\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": "fcc91756.c8d038",
\r
1106 "id": "80047dba.a18518",
\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": "fcc91756.c8d038",
\r
1117 "193e8ffa.2d1e68",
\r
1124 "id": "193e8ffa.2d1e68",
\r
1125 "type": "success",
\r
1126 "name": "success",
\r
1127 "xml": "<outcome value='success'>\n",
\r
1132 "z": "fcc91756.c8d038",
\r
1140 "id": "7c3655cf.c7356c",
\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": "fcc91756.c8d038",
\r
1154 "id": "5d9de12a.c40778",
\r
1155 "type": "failure",
\r
1156 "name": "failure",
\r
1157 "xml": "<outcome value='failure'>\n",
\r
1162 "z": "fcc91756.c8d038",
\r
1170 "id": "392a4087.7340c",
\r
1171 "type": "failure",
\r
1172 "name": "failure",
\r
1173 "xml": "<outcome value='failure'>\n",
\r
1178 "z": "fcc91756.c8d038",
\r
1186 "id": "44b36cb9.4f203c",
\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": "fcc91756.c8d038",
\r
1197 "id": "4f52ba75.31f414",
\r
1198 "type": "not-found",
\r
1199 "name": "not-found",
\r
1200 "xml": "<outcome value='not-found'>\n",
\r
1205 "z": "fcc91756.c8d038",
\r
1213 "id": "67091014.c5cb48",
\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": "fcc91756.c8d038",
\r
1224 "id": "568e56df.183be8",
\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": "fcc91756.c8d038",
\r
1235 "id": "3b51b50f.fabfaa",
\r
1236 "type": "not-found",
\r
1237 "name": "not-found",
\r
1238 "xml": "<outcome value='not-found'>\n",
\r
1243 "z": "fcc91756.c8d038",
\r
1251 "id": "74792395.d77524",
\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": "fcc91756.c8d038",
\r
1262 "id": "f7bc5da7.da31b",
\r
1263 "type": "switchNode",
\r
1264 "name": "switch network_length",
\r
1265 "xml": "<switch test='`$topology.networks.network_length >= 2`'>\n",
\r
1270 "z": "fcc91756.c8d038",
\r
1278 "id": "aa4a8663.38bb68",
\r
1279 "type": "outcomeTrue",
\r
1281 "xml": "<outcome value='true'>\n",
\r
1286 "z": "fcc91756.c8d038",
\r
1294 "id": "6a7f62ea.d32524",
\r
1296 "name": "for each Network",
\r
1297 "xml": "<for index='netidx' start='0' end='`$topology.networks.network_length`' >\n",
\r
1302 "z": "fcc91756.c8d038",
\r
1310 "id": "de962ed4.8e2558",
\r
1313 "xml": "<block>\n",
\r
1314 "atomic": "false",
\r
1319 "z": "fcc91756.c8d038",
\r
1322 "d31ddaea.690348",
\r
1323 "bbbca45f.8e2228",
\r
1329 "id": "73e20b64.41827c",
\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": "fcc91756.c8d038",
\r
1343 "id": "efdac693.289728",
\r
1345 "name": "block : atomic",
\r
1346 "xml": "<block atomic='true'>",
\r
1352 "z": "fcc91756.c8d038",
\r
1355 "6a7f62ea.d32524",
\r
1361 "id": "acccc325.a38838",
\r
1363 "name": "unset network",
\r
1364 "xml": "<set>\n<parameter name='network.' value='' />\n",
\r
1368 "z": "fcc91756.c8d038",
\r
1372 "id": "d31ddaea.690348",
\r
1374 "name": "set network",
\r
1375 "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1379 "z": "fcc91756.c8d038",
\r
1383 "id": "bbbca45f.8e2228",
\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": "fcc91756.c8d038",
\r
1394 "e4f22bce.03ea18",
\r
1400 "id": "e4f22bce.03ea18",
\r
1401 "type": "outcome",
\r
1403 "xml": "<outcome value='11'>\n",
\r
1408 "z": "fcc91756.c8d038",
\r
1416 "id": "2f6da0f9.e964d8",
\r
1417 "type": "outcome",
\r
1419 "xml": "<outcome value='33'>\n",
\r
1424 "z": "fcc91756.c8d038",
\r
1432 "id": "dcbdf3ee.469d4",
\r
1434 "name": "set network-otn",
\r
1435 "xml": "<set>\n<parameter name='network-otn.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1439 "z": "fcc91756.c8d038",
\r
1443 "id": "6a7bd0f0.92b65",
\r
1445 "name": "set network eth",
\r
1446 "xml": "<set>\n<parameter name='network-eth.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1450 "z": "fcc91756.c8d038",
\r
1454 "id": "a545d36e.f0b618",
\r
1457 "xml": "<block>\n",
\r
1458 "atomic": "false",
\r
1463 "z": "fcc91756.c8d038",
\r
1471 "id": "d2ccc5d0.bc949",
\r
1474 "xml": "<block>\n",
\r
1475 "atomic": "false",
\r
1480 "z": "fcc91756.c8d038",
\r