3 "id": "5c29a6ba.038668",
\r
5 "name": "method sdwan-vf-operation-site-deactivate",
\r
6 "xml": "<method rpc='sdwan-vf-operation-site-deactivate' mode='sync'>\n",
\r
10 "y": 176.58634185791016,
\r
11 "z": "1fcdaf2d.f82361",
\r
19 "id": "7b112072.6efee",
\r
25 "z": "1fcdaf2d.f82361",
\r
33 "id": "c6cd33c4.247fe",
\r
34 "type": "service-logic",
\r
35 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
36 "module": "GENERIC-RESOURCE-API",
\r
37 "version": "${project.version}",
\r
39 "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='GENERIC-RESOURCE-API' version='${project.version}'>",
\r
41 "x": 224.28961181640625,
\r
42 "y": 82.23810958862305,
\r
43 "z": "1fcdaf2d.f82361",
\r
51 "id": "c10a5ef9.eb1cc",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 222.6705780029297,
\r
58 "y": 361.6667137145996,
\r
59 "z": "1fcdaf2d.f82361",
\r
79 "id": "2421aa48.a967a6",
\r
81 "name": "for each vnf",
\r
82 "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
85 "x": 568.035270690918,
\r
86 "y": 256.2691411972046,
\r
87 "z": "1fcdaf2d.f82361",
\r
95 "id": "987b6cfb.095a4",
\r
96 "type": "switchNode",
\r
97 "name": "switch vnf_length",
\r
98 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
\r
101 "x": 573.0039253234863,
\r
102 "y": 195.00001049041748,
\r
103 "z": "1fcdaf2d.f82361",
\r
111 "id": "d40e76d0.d5ce48",
\r
114 "xml": "<outcome value=''>\n",
\r
119 "z": "1fcdaf2d.f82361",
\r
127 "id": "de4bbf24.9eba4",
\r
128 "type": "returnFailure",
\r
129 "name": "return failure",
\r
130 "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
\r
132 "x": 902.4326324462891,
\r
133 "y": 195.14291763305664,
\r
134 "z": "1fcdaf2d.f82361",
\r
138 "id": "f656e0b.31e062",
\r
139 "type": "switchNode",
\r
140 "name": "switch this vnf-id == input vnf-id",
\r
141 "xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\"> \n",
\r
144 "x": 791.0039215087891,
\r
145 "y": 257.00000619888306,
\r
146 "z": "1fcdaf2d.f82361",
\r
154 "id": "4eea1b40.3a5ae4",
\r
155 "type": "outcomeTrue",
\r
157 "xml": "<outcome value='true'>\n",
\r
160 "x": 1006.00390625,
\r
162 "z": "1fcdaf2d.f82361",
\r
170 "id": "efdee9f.d679018",
\r
172 "name": "set vnf-index",
\r
173 "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
\r
175 "x": 1170.00390625,
\r
177 "z": "1fcdaf2d.f82361",
\r
181 "id": "a7501bce.e84ca8",
\r
182 "type": "switchNode",
\r
183 "name": "switch vf-modules.vf-module_length",
\r
184 "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
\r
187 "x": 618.0039138793945,
\r
188 "y": 327.99999046325684,
\r
189 "z": "1fcdaf2d.f82361",
\r
199 "id": "a370bc16.16cab",
\r
202 "xml": "<outcome value=''>\n",
\r
207 "z": "1fcdaf2d.f82361",
\r
215 "id": "ad789953.0300c8",
\r
218 "xml": "<outcome value='0'>\n",
\r
221 "x": 845.0039024353027,
\r
222 "y": 308.9999990463257,
\r
223 "z": "1fcdaf2d.f82361",
\r
231 "id": "22440a59.760c56",
\r
232 "type": "returnFailure",
\r
233 "name": "return failure",
\r
234 "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
\r
236 "x": 1003.00390625,
\r
238 "z": "1fcdaf2d.f82361",
\r
242 "id": "be5b6663.110a88",
\r
245 "xml": "<outcome value='Other'>\n",
\r
250 "z": "1fcdaf2d.f82361",
\r
258 "id": "da67128d.15fa1",
\r
260 "name": "set vf-module_length",
\r
261 "xml": "<set>\n<parameter name='vf-module-length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n",
\r
263 "x": 1194.003921508789,
\r
264 "y": 421.0000139474869,
\r
265 "z": "1fcdaf2d.f82361",
\r
269 "id": "cb5b975f.044798",
\r
271 "name": "block : atomic",
\r
272 "xml": "<block atomic=\"true\">",
\r
275 "x": 1001.0039520263672,
\r
276 "y": 419.99999141693115,
\r
277 "z": "1fcdaf2d.f82361",
\r
286 "id": "8901c130.f196d",
\r
288 "name": "for each existing vf-index",
\r
289 "xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",
\r
292 "x": 1213.003890991211,
\r
293 "y": 473.99999046325684,
\r
294 "z": "1fcdaf2d.f82361",
\r
302 "id": "332a4ae3.ad50b6",
\r
303 "type": "switchNode",
\r
304 "name": "switch vf-module-id found",
\r
305 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id == $vf-module-topology-operation-input.vf-module-information.vf-module-id`\">\n",
\r
308 "x": 1456.00390625,
\r
310 "z": "1fcdaf2d.f82361",
\r
318 "id": "e0471cb4.f94dd",
\r
319 "type": "outcomeTrue",
\r
321 "xml": "<outcome value='true'>\n",
\r
324 "x": 1654.0039348602295,
\r
325 "y": 456.0000066757202,
\r
326 "z": "1fcdaf2d.f82361",
\r
334 "id": "1ca5dda0.751ea2",
\r
336 "name": "block : atomic",
\r
337 "xml": "<block atomic=\"true\">",
\r
340 "x": 1806.00390625,
\r
342 "z": "1fcdaf2d.f82361",
\r
352 "id": "3077bb99.f991c4",
\r
354 "name": "set tmp.vidx and ctx.vnf-data",
\r
355 "xml": "<set>\n<parameter name='tmp.vidx' value='`$idx`' />\n<parameter name='ctx.vf-module-data.' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.`' />\n",
\r
357 "x": 2028.00390625,
\r
359 "z": "1fcdaf2d.f82361",
\r
363 "id": "96d4f974.763d28",
\r
365 "name": "set vf-module-request-input.",
\r
366 "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",
\r
368 "x": 2034.00390625,
\r
370 "z": "1fcdaf2d.f82361",
\r
374 "id": "37f06523.6ef90a",
\r
376 "name": "call sdwan-get-vf-module-site-param",
\r
377 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-site-param' mode='sync' >\n",
\r
380 "x": 2062.0041275024414,
\r
381 "y": 551.0000057220459,
\r
382 "z": "1fcdaf2d.f82361",
\r
388 "id": "67b10f8d.c3d57",
\r
391 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Provided alloted resource length\"/>\n<parameter name=\"field3\" value=\"'parameters length'\"/>\n<parameter name=\"field4\" value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`'/>\n\n\n\n",
\r
394 "x": 533.0039806365967,
\r
395 "y": 554.0000057220459,
\r
396 "z": "1fcdaf2d.f82361",
\r
402 "id": "c42c3129.16bb4",
\r
403 "type": "switchNode",
\r
404 "name": "switch tmp.vidx ",
\r
405 "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
\r
408 "x": 557.0351257324219,
\r
409 "y": 501.0160732269287,
\r
410 "z": "1fcdaf2d.f82361",
\r
418 "id": "288e4f16.fdb24",
\r
421 "xml": "<outcome value=''>\n",
\r
424 "x": 704.4637680053711,
\r
425 "y": 500.5874834060669,
\r
426 "z": "1fcdaf2d.f82361",
\r
434 "id": "6d758b04.419134",
\r
435 "type": "returnFailure",
\r
436 "name": "return failure",
\r
437 "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
\r
439 "x": 853.8924942016602,
\r
440 "y": 501.73040103912354,
\r
441 "z": "1fcdaf2d.f82361",
\r
445 "id": "7db6c871.1ca638",
\r
447 "name": "execute Properties",
\r
448 "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
451 "x": 564.0351448059082,
\r
452 "y": 603.0160584449768,
\r
453 "z": "1fcdaf2d.f82361",
\r
459 "id": "5c7d3c9a.2071e4",
\r
461 "name": "for loop idx - VF-module input parameters",
\r
462 "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`'>\n",
\r
465 "x": 604.0039367675781,
\r
466 "y": 678.4548873901367,
\r
467 "z": "1fcdaf2d.f82361",
\r
475 "id": "f399c5e.d5b6e38",
\r
478 "xml": "<block>\n",
\r
482 "x": 857.8997802734375,
\r
483 "y": 675.3768310546875,
\r
484 "z": "1fcdaf2d.f82361",
\r
493 "id": "6f7dac79.02cc84",
\r
494 "type": "switchNode",
\r
495 "name": "switch type",
\r
496 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'type'`\">\n",
\r
499 "x": 995.0169830322266,
\r
500 "y": 675.3502712249756,
\r
501 "z": "1fcdaf2d.f82361",
\r
509 "id": "8d1befdb.32c39",
\r
510 "type": "outcomeTrue",
\r
512 "xml": "<outcome value='true'>\n",
\r
515 "x": 1135.016990661621,
\r
516 "y": 676.3502712249756,
\r
517 "z": "1fcdaf2d.f82361",
\r
525 "id": "79096937.65ad98",
\r
527 "name": "block : atomic",
\r
528 "xml": "<block atomic=\"true\">",
\r
531 "x": 1283.5666389465332,
\r
532 "y": 677.3769645690918,
\r
533 "z": "1fcdaf2d.f82361",
\r
541 "id": "50251b49.1faa44",
\r
543 "name": "set type and sdwan flag",
\r
544 "xml": "<set>\n<parameter name='prop.site.type' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n<parameter name='prop.site.sdwan' value=\"true\" />\n",
\r
546 "x": 1498.9000129699707,
\r
547 "y": 677.3769731521606,
\r
548 "z": "1fcdaf2d.f82361",
\r
552 "id": "69380680.bf88e8",
\r
553 "type": "switchNode",
\r
554 "name": "switch siteId",
\r
555 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'siteId'`\">\n",
\r
558 "x": 995.0168800354004,
\r
559 "y": 750.3503141403198,
\r
560 "z": "1fcdaf2d.f82361",
\r
568 "id": "89a7d161.ebf8a",
\r
569 "type": "outcomeTrue",
\r
571 "xml": "<outcome value='true'>\n",
\r
574 "x": 1135.016887664795,
\r
575 "y": 751.3503141403198,
\r
576 "z": "1fcdaf2d.f82361",
\r
584 "id": "8cbeced8.b613d",
\r
586 "name": "block : atomic",
\r
587 "xml": "<block atomic=\"true\">",
\r
590 "x": 1283.566535949707,
\r
591 "y": 752.377007484436,
\r
592 "z": "1fcdaf2d.f82361",
\r
600 "id": "5b3b802.4f9668",
\r
602 "name": "set siteId",
\r
603 "xml": "<set>\n<parameter name='prop.site.siteId' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n\n",
\r
605 "x": 1427.8998985290527,
\r
606 "y": 753.3770246505737,
\r
607 "z": "1fcdaf2d.f82361",
\r
611 "id": "db911ea5.5cc8d",
\r
613 "name": "Get siteId to delete",
\r
616 "x": 1007.0038642883301,
\r
617 "y": 719.4549703598022,
\r
618 "z": "1fcdaf2d.f82361",
\r
622 "id": "7e398340.b85bfc",
\r
623 "type": "switchNode",
\r
624 "name": "switch prop.site.sdwan",
\r
625 "xml": "<switch test=\"`$prop.site.sdwan`\">\n",
\r
628 "x": 533.5116882324219,
\r
629 "y": 845.1213359832764,
\r
630 "z": "1fcdaf2d.f82361",
\r
638 "id": "c63fd2c7.67fc",
\r
639 "type": "outcomeTrue",
\r
641 "xml": "<outcome value='true'>\n",
\r
644 "x": 714.5118217468262,
\r
645 "y": 846.1213626861572,
\r
646 "z": "1fcdaf2d.f82361",
\r
654 "id": "69850da3.9c7b14",
\r
657 "xml": "<outcome value='success'>\n",
\r
660 "x": 1419.0118446350098,
\r
661 "y": 814.1214170455933,
\r
662 "z": "1fcdaf2d.f82361",
\r
670 "id": "ba061c2b.bf22f",
\r
672 "name": "set controller data",
\r
673 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
\r
675 "x": 1607.5119400024414,
\r
676 "y": 808.1214267015457,
\r
677 "z": "1fcdaf2d.f82361",
\r
681 "id": "85b7f6ac.e36598",
\r
682 "type": "not-found",
\r
683 "name": "not-found",
\r
684 "xml": "<outcome value='not-found'>\n",
\r
687 "x": 1422.5028114318848,
\r
688 "y": 861.6954526901245,
\r
689 "z": "1fcdaf2d.f82361",
\r
697 "id": "1b75ce4a.6d0092",
\r
698 "type": "returnFailure",
\r
699 "name": "return failure",
\r
700 "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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
\r
702 "x": 1596.0742225646973,
\r
703 "y": 849.9811887741089,
\r
704 "z": "1fcdaf2d.f82361",
\r
708 "id": "5b05b37.dea904c",
\r
711 "xml": "<outcome value='Other'>\n",
\r
714 "x": 1414.8358192443848,
\r
715 "y": 903.0287656784058,
\r
716 "z": "1fcdaf2d.f82361",
\r
724 "id": "fb9dc1ca.b519e",
\r
725 "type": "returnFailure",
\r
726 "name": "return failure",
\r
727 "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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
\r
729 "x": 1602.6083755493164,
\r
730 "y": 898.4679584503174,
\r
731 "z": "1fcdaf2d.f82361",
\r
735 "id": "31c7dfa0.a2acb",
\r
736 "type": "get-resource",
\r
737 "name": "get-resource esr-thirdparty-sdnc",
\r
738 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = SDWANController AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
\r
741 "x": 1152.0117568969727,
\r
742 "y": 862.1214228868484,
\r
743 "z": "1fcdaf2d.f82361",
\r
753 "id": "c256fc10.56b7c",
\r
755 "name": "execute RestApiCallNode Create SDWAN site",
\r
756 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-site-del.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/sites/action/batch-delete'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"site-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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
\r
759 "x": 1180.5121002197266,
\r
760 "y": 1060.121494293213,
\r
761 "z": "1fcdaf2d.f82361",
\r
770 "id": "6007a527.cdf6fc",
\r
772 "name": "block : atomic",
\r
773 "xml": "<block atomic=\"true\">",
\r
777 "x": 1576.1784210205078,
\r
778 "y": 1040.0103092193604,
\r
779 "z": "1fcdaf2d.f82361",
\r
785 "id": "1facc57c.dbee2b",
\r
786 "type": "returnFailure",
\r
787 "name": "return failure",
\r
788 "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",
\r
790 "x": 1573.6229209899902,
\r
791 "y": 1074.5656490325928,
\r
792 "z": "1fcdaf2d.f82361",
\r
796 "id": "2b4696aa.b04baa",
\r
799 "xml": "<outcome value='failure'>\n",
\r
802 "x": 1442.6230182647705,
\r
803 "y": 1076.5657682418823,
\r
804 "z": "1fcdaf2d.f82361",
\r
812 "id": "1fb3f457.93c7fc",
\r
815 "xml": "<outcome value='success'>\n",
\r
818 "x": 1434.0672721862793,
\r
819 "y": 1039.2324876785278,
\r
820 "z": "1fcdaf2d.f82361",
\r
828 "id": "199f525b.bab65e",
\r
831 "xml": "<outcome value='success'>\n",
\r
834 "x": 1418.2657356262207,
\r
835 "y": 940.1253787279129,
\r
836 "z": "1fcdaf2d.f82361",
\r
844 "id": "b6235f60.69d19",
\r
847 "xml": "<outcome value='failure'>\n",
\r
850 "x": 1410.5157356262207,
\r
851 "y": 981.7682620286942,
\r
852 "z": "1fcdaf2d.f82361",
\r
860 "id": "429813db.05fa0c",
\r
863 "xml": "<block>\n",
\r
867 "x": 1536.5992317199707,
\r
868 "y": 982.0142947435379,
\r
869 "z": "1fcdaf2d.f82361",
\r
875 "id": "e85c3a39.e5bd58",
\r
877 "name": "set token-id",
\r
878 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
\r
880 "x": 1555.2657356262207,
\r
881 "y": 940.1253787279129,
\r
882 "z": "1fcdaf2d.f82361",
\r
886 "id": "cfb510cb.1323d",
\r
888 "name": "tmp.thirdparty-sdnc-id is hardcoded value?",
\r
891 "x": 1147.515609741211,
\r
892 "y": 826.1253840923309,
\r
893 "z": "1fcdaf2d.f82361",
\r
897 "id": "653ef686.4a6068",
\r
899 "name": "block : atomic",
\r
900 "xml": "<block atomic=\"true\">",
\r
903 "x": 875.5117568969727,
\r
904 "y": 846.7878704071045,
\r
905 "z": "1fcdaf2d.f82361",
\r
916 "id": "d00d4af5.3de678",
\r
918 "name": "execute RestApiCallNode Get token",
\r
919 "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
922 "x": 1168.654685974121,
\r
923 "y": 963.1213312149048,
\r
924 "z": "1fcdaf2d.f82361",
\r
933 "id": "f5120e80.4ebea",
\r
935 "name": "call sdwan-get-tenant-auth",
\r
936 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",
\r
939 "x": 1128.6546096801758,
\r
940 "y": 1012.1212921142578,
\r
941 "z": "1fcdaf2d.f82361",
\r
947 "id": "626ea124.c2d19",
\r
950 "xml": "<outcome value='failure'>\n",
\r
953 "x": 1436.6546096801758,
\r
954 "y": 1137.1212921142578,
\r
955 "z": "1fcdaf2d.f82361",
\r
963 "id": "352b1b5f.73bb64",
\r
965 "name": "block : atomic",
\r
966 "xml": "<block atomic=\"true\">",
\r
970 "x": 1592.6546096801758,
\r
971 "y": 1137.1212921142578,
\r
972 "z": "1fcdaf2d.f82361",
\r
978 "id": "77fd4a1.6d0b0b4",
\r
981 "xml": "<outcome value='Other'>\n",
\r
984 "x": 1436.6546096801758,
\r
985 "y": 1186.1212921142578,
\r
986 "z": "1fcdaf2d.f82361",
\r
994 "id": "a435af2d.1ebe4",
\r
996 "name": "block : atomic",
\r
997 "xml": "<block atomic=\"true\">",
\r
1001 "x": 1614.6546096801758,
\r
1002 "y": 1183.1212921142578,
\r
1003 "z": "1fcdaf2d.f82361",
\r
1009 "id": "27be343.61169cc",
\r
1011 "name": "copy input data to service data",
\r
1012 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n",
\r
1014 "x": 558.4484710693359,
\r
1015 "y": 912.5660271644592,
\r
1016 "z": "1fcdaf2d.f82361",
\r
1020 "id": "4d4441d6.c778f",
\r
1022 "name": "set vf-module-object-path",
\r
1023 "xml": "<set>\n<parameter name='vf-module-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $vf-module-topology-operation-input.vf-module-information.vf-module-id\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",
\r
1025 "x": 542.1151275634766,
\r
1026 "y": 953.9827690124512,
\r
1027 "z": "1fcdaf2d.f82361",
\r
1031 "id": "2c4e5cc7.b76554",
\r
1033 "name": "set vf-module-oper-status to PendingDelete",
\r
1034 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.order-status' value='PendingDelete' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.last-rpc-action' value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.last-action' value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",
\r
1036 "x": 597.5952453613281,
\r
1037 "y": 1003.5700263977051,
\r
1038 "z": "1fcdaf2d.f82361",
\r
1042 "id": "1cc606fc.7b90b9",
\r
1044 "name": "update site instance configuration in AAI",
\r
1045 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \n key='device.device-id = $vf-module-topology-operation-input.vf-module-information.vf-module-id' >\n<parameter name='device-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<!--parameter name='device-id' value='`$deviceResp.success[0].id`' /-->\n<parameter name='operational-status' value='PendingDelete' />\n",
\r
1048 "x": 586.781982421875,
\r
1049 "y": 1052.4551830291748,
\r
1050 "z": "1fcdaf2d.f82361",
\r
1056 "id": "f0d9af80.b3024",
\r
1057 "type": "returnSuccess",
\r
1058 "name": "return success",
\r
1059 "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
1061 "x": 507.5597839355469,
\r
1062 "y": 1103.8992748260498,
\r
1063 "z": "1fcdaf2d.f82361",
\r