3 "id": "fe5a38bb.bd0078",
8 "y": 187.0103931427002,
17 "id": "8fa75912.54ed58",
18 "type": "service-logic",
19 "name": "GENERIC-RESOURCE-API ${project.version}",
20 "module": "GENERIC-RESOURCE-API",
21 "version": "${project.version}",
23 "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}'>",
25 "x": 183.28570556640625,
26 "y": 227.24850463867188,
27 "z": "e876afdc.6a24f",
35 "id": "a48c87a9.a55028",
37 "name": "method site-vnf-topology-operation-activate",
38 "xml": "<method rpc='site-vnf-topology-operation-activate' mode='sync'>\n",
41 "x": 204.42861938476562,
42 "y": 317.0103931427002,
43 "z": "e876afdc.6a24f",
51 "id": "38f14e2f.c24e22",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
57 "x": 192.66673278808594,
58 "y": 506.6771717071533,
59 "z": "e876afdc.6a24f",
77 "id": "dc5b8c85.92a84",
79 "name": "for loop i - VNF input parameters",
80 "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`' >\n",
83 "x": 649.1047821044922,
84 "y": 325.078284740448,
85 "z": "e876afdc.6a24f",
93 "id": "44a8ff3e.e9b76",
95 "name": "switch service-data.vnfs.vnf_length",
96 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
99 "x": 631.9896621704102,
100 "y": 135.99998807907104,
101 "z": "e876afdc.6a24f",
111 "id": "def084ef.6fe5a8",
114 "xml": "<outcome value=''>\n",
117 "x": 862.9896392822266,
118 "y": 138.0000514984131,
119 "z": "e876afdc.6a24f",
127 "id": "a40915eb.62f7c8",
128 "type": "returnFailure",
129 "name": "return failure",
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",
132 "x": 1020.7671546936035,
133 "y": 118.88899993896484,
134 "z": "e876afdc.6a24f",
138 "id": "6c59b52d.4816dc",
141 "xml": "<outcome value='Other'>\n",
144 "x": 854.9900665283203,
145 "y": 173.00007343292236,
146 "z": "e876afdc.6a24f",
154 "id": "7b4738a3.9186a8",
156 "name": "block : atomic",
157 "xml": "<block atomic=\"true\">",
160 "x": 1021.2595367431641,
161 "y": 164.55460691452026,
162 "z": "e876afdc.6a24f",
172 "id": "39aaaddb.c527a2",
174 "name": "for vidx..service-data.vnfs.vnf_length[]",
175 "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
178 "x": 1291.2756271362305,
179 "y": 108.42860794067383,
180 "z": "e876afdc.6a24f",
188 "id": "80c14f8c.d4c2",
189 "type": "switchNode",
190 "name": "switch tmp.vidx ",
191 "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
194 "x": 1227.5769805908203,
195 "y": 159.41179656982422,
196 "z": "e876afdc.6a24f",
204 "id": "767a61a0.371db",
207 "xml": "<outcome value=''>\n",
210 "x": 1379.0057830810547,
211 "y": 159.98322677612305,
212 "z": "e876afdc.6a24f",
220 "id": "506c3f6d.abfb3",
221 "type": "switchNode",
222 "name": "switch vnfid found",
223 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
226 "x": 1688.7043685913086,
227 "y": 68.67873001098633,
228 "z": "e876afdc.6a24f",
236 "id": "10547f9b.2e5b4",
237 "type": "returnFailure",
238 "name": "return failure",
239 "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",
241 "x": 1517.434181213379,
242 "y": 161.12604904174805,
243 "z": "e876afdc.6a24f",
247 "id": "970983d7.84ecd",
248 "type": "outcomeTrue",
250 "xml": "<outcome value='true'>\n",
253 "x": 1862.6568489074707,
254 "y": 68.57145023345947,
255 "z": "e876afdc.6a24f",
263 "id": "13efb35.8a5a24d",
265 "name": "set tmp.vidx and ctx.vnf-data",
266 "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
268 "x": 2058.1885986328125,
269 "y": 68.32144069671631,
270 "z": "e876afdc.6a24f",
274 "id": "fe5f06d4.6ce418",
277 "xml": "<outcome value='0'>\n",
280 "x": 860.9584503173828,
281 "y": 100.96874046325684,
282 "z": "e876afdc.6a24f",
290 "id": "3adc7192.5bf7fe",
291 "type": "returnSuccess",
292 "name": "return success",
293 "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",
295 "x": 576.3336982727051,
296 "y": 689.3441772460938,
297 "z": "e876afdc.6a24f",
301 "id": "6ab44a9b.48e9b4",
303 "name": "set vnf-level-oper-status to Active",
304 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status' value='Active' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
306 "x": 638.8138885498047,
307 "y": 523.6816167831421,
308 "z": "e876afdc.6a24f",
312 "id": "73349d78.1f3074",
314 "name": "set vnf-index and vnf-object-path",
315 "xml": "<set>\n<parameter name='vnfId' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-id`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $service-data.vnfs.vnf[$tmp.vidx].vnf-id + '/vnf-data/'` \" />",
317 "x": 638.50048828125,
318 "y": 480.3441514968872,
319 "z": "e876afdc.6a24f",
323 "id": "aaa950b9.3f56b",
326 "xml": "<outcome value='success'>\n",
329 "x": 1565.500316619873,
330 "y": 818.0003184080124,
331 "z": "e876afdc.6a24f",
339 "id": "88dbfad5.81b4c8",
341 "name": "set controller data",
342 "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",
344 "x": 1754.0004119873047,
345 "y": 812.0003280639648,
346 "z": "e876afdc.6a24f",
350 "id": "1c9cd1a7.9cc68e",
353 "xml": "<outcome value='not-found'>\n",
356 "x": 1568.991283416748,
357 "y": 865.5743540525436,
358 "z": "e876afdc.6a24f",
366 "id": "55bc7178.25cc8",
367 "type": "returnFailure",
368 "name": "return failure",
369 "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",
371 "x": 1742.5626945495605,
372 "y": 853.860090136528,
373 "z": "e876afdc.6a24f",
377 "id": "98e7b2b4.03262",
380 "xml": "<outcome value='Other'>\n",
383 "x": 1561.324291229248,
384 "y": 906.9076670408249,
385 "z": "e876afdc.6a24f",
393 "id": "201a39ec.7051b6",
394 "type": "returnFailure",
395 "name": "return failure",
396 "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",
398 "x": 1749.0968475341797,
399 "y": 902.3468598127365,
400 "z": "e876afdc.6a24f",
404 "id": "fccf6b1b.062f88",
405 "type": "get-resource",
406 "name": "get-resource esr-thirdparty-sdnc",
407 "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 = $tmp.thirdparty-sdnc-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
410 "x": 1298.500228881836,
411 "y": 866.0003242492676,
412 "z": "e876afdc.6a24f",
422 "id": "9d503875.591ee8",
424 "name": "execute RestApiCallNode Create SDWAN site",
425 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-site.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/sites'`\" />\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.openecomp.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`\" />",
428 "x": 1352.0003204345703,
429 "y": 1023.0002918243408,
430 "z": "e876afdc.6a24f",
438 "id": "e7caa58d.8c0ca8",
440 "name": "block : atomic",
441 "xml": "<block atomic=\"true\">",
445 "x": 1820.6667022705078,
446 "y": 1037.8891677856445,
447 "z": "e876afdc.6a24f",
453 "id": "67309670.5d6238",
454 "type": "returnFailure",
455 "name": "return failure",
456 "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",
458 "x": 1796.111343383789,
459 "y": 1099.4445505142212,
460 "z": "e876afdc.6a24f",
464 "id": "e2a202c3.ab071",
467 "xml": "<outcome value='failure'>\n",
470 "x": 1651.111343383789,
471 "y": 1096.4445505142212,
472 "z": "e876afdc.6a24f",
480 "id": "caf01e6b.3d325",
483 "xml": "<outcome value='success'>\n",
486 "x": 1647.5557174682617,
487 "y": 1038.1113357543945,
488 "z": "e876afdc.6a24f",
496 "id": "3f3b503b.d5da4",
498 "name": "copy input data to service data",
499 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />",
501 "x": 627.0004348754883,
502 "y": 566.0005855560303,
503 "z": "e876afdc.6a24f",
507 "id": "93347dcc.a6583",
509 "name": "execute RestApiCallNode Get token",
510 "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.openecomp.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\"/>",
513 "x": 1299.7543258666992,
514 "y": 959.0043849945068,
515 "z": "e876afdc.6a24f",
524 "id": "c5378ae6.053748",
527 "xml": "<outcome value='success'>\n",
530 "x": 1564.754207611084,
531 "y": 944.004280090332,
532 "z": "e876afdc.6a24f",
540 "id": "cfecc2b7.775a9",
543 "xml": "<outcome value='failure'>\n",
546 "x": 1557.004207611084,
547 "y": 985.6471633911133,
548 "z": "e876afdc.6a24f",
556 "id": "a43bfc8d.c3ede",
563 "x": 1683.087703704834,
564 "y": 985.893196105957,
565 "z": "e876afdc.6a24f",
571 "id": "574fb0f8.2705b",
573 "name": "set token-id",
574 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
576 "x": 1701.754207611084,
577 "y": 944.004280090332,
578 "z": "e876afdc.6a24f",
582 "id": "bbce2e16.d72aa",
584 "name": "tmp.thirdparty-sdnc-id is hardcoded value?",
587 "x": 1295.0041198730469,
588 "y": 833.0042457580566,
589 "z": "e876afdc.6a24f",
593 "id": "708f2def.d37784",
595 "name": "set vnf-index to service data",
596 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1].name' value='siteId' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1].value' value='`$site-result[0].id`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1`' />\n",
598 "x": 628.0042037963867,
599 "y": 442.00424671173096,
600 "z": "e876afdc.6a24f",
604 "id": "c2a60a1e.d3e7f8",
605 "type": "switchNode",
606 "name": "switch ActivateSDWANDeviceInstance",
607 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\">\n\n \n \n\n",
610 "x": 1756.2543411254883,
611 "y": 138.00390720367432,
612 "z": "e876afdc.6a24f",
620 "id": "3b24cc2e.de2954",
621 "type": "outcomeTrue",
623 "xml": "<outcome value='true'>\n",
626 "x": 1983.2541961669922,
628 "z": "e876afdc.6a24f",
636 "id": "792cd7fe.bce288",
643 "x": 1526.254165649414,
644 "y": 109.00389289855957,
645 "z": "e876afdc.6a24f",
654 "id": "460c13d8.2f2f3c",
656 "name": "Get devices",
659 "x": 1790.0043563842773,
660 "y": 158.75392246246338,
661 "z": "e876afdc.6a24f",
665 "id": "79a45953.cb4488",
667 "name": "set prop.site.sdwan false",
668 "xml": "<set>\n<parameter name='prop.site.sdwan' value=\"false\" />\n\n",
671 "y": 229.0000123977661,
672 "z": "e876afdc.6a24f",
676 "id": "1ddd800f.cc627",
677 "type": "switchNode",
678 "name": "switch prop.site.sdwan",
679 "xml": "<switch test=\"`$prop.site.sdwan`\">\n",
682 "x": 607.0001220703125,
683 "y": 384.6666269302368,
684 "z": "e876afdc.6a24f",
692 "id": "7c42fbb6.c14864",
693 "type": "outcomeTrue",
695 "xml": "<outcome value='true'>\n",
698 "x": 786.000171661377,
699 "y": 381.6666269302368,
700 "z": "e876afdc.6a24f",
708 "id": "9d5e017e.9579d",
710 "name": "block : atomic",
711 "xml": "<block atomic=\"true\">",
714 "x": 960.000244140625,
715 "y": 908.6668318510056,
716 "z": "e876afdc.6a24f",
727 "id": "68cbbed8.08fd8",
729 "name": "block : atomic",
730 "xml": "<block atomic=\"true\">",
733 "x": 1921.6669616699219,
734 "y": 248.00000762939453,
735 "z": "e876afdc.6a24f",
743 "id": "7e0b70dd.7568",
745 "name": "for loop deviceidx - Get deviceId from servicedata",
746 "xml": "<for index=\"deviceidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">",
749 "x": 2205.0007934570312,
750 "y": 251.00003814697266,
751 "z": "e876afdc.6a24f",
759 "id": "bb46e6b5.934b78",
766 "x": 2135.00057220459,
767 "y": 334.0002021789551,
768 "z": "e876afdc.6a24f",
776 "id": "68a7dd5e.b34a34",
777 "type": "switchNode",
778 "name": "switch deviceId",
779 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$deviceidx].name == 'deviceId'`\">\n",
782 "x": 2295.0008277893066,
783 "y": 336.00005531311035,
784 "z": "e876afdc.6a24f",
792 "id": "eb058687.6ea298",
793 "type": "outcomeTrue",
795 "xml": "<outcome value='true'>\n",
798 "x": 2447.0009994506836,
799 "y": 335.00005531311035,
800 "z": "e876afdc.6a24f",
808 "id": "468bec8a.569b34",
810 "name": "set deviceId",
811 "xml": "<set>\n<parameter name='prop.site.deviceId[$prop.site.deviceId_length]' value='`$service-data.vnfs.vnf[$tmp.deviceVidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$deviceidx].value`' />\n<parameter name='prop.site.deviceId_length' value='`$prop.site.deviceId_length + 1`' />\n",
813 "x": 2587.001003265381,
814 "y": 334.6000099182129,
815 "z": "e876afdc.6a24f",
819 "id": "fb9527f.4513dd8",
821 "name": "set prop.site.deviceId_length",
822 "xml": "<set>\n<parameter name='prop.site.deviceId_length' value='0' />\n",
824 "x": 1264.000072479248,
826 "z": "e876afdc.6a24f",
830 "id": "b5990ea7.a9c72",
837 "x": 1026.0003089904785,
838 "y": 424.00009059906006,
839 "z": "e876afdc.6a24f",
856 "id": "beea925c.34a3c",
857 "type": "switchNode",
858 "name": "switch name",
859 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'name'`\">\n\n",
862 "x": 1260.2222442626953,
863 "y": 283.000036239624,
864 "z": "e876afdc.6a24f",
872 "id": "86ab3afd.9888f8",
873 "type": "outcomeTrue",
875 "xml": "<outcome value='true'>\n",
878 "x": 1438.2222576141357,
879 "y": 286.000036239624,
880 "z": "e876afdc.6a24f",
888 "id": "daf4941f.5f7e68",
891 "xml": "<set>\n<parameter name='prop.site.name' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
893 "x": 1585.222267150879,
894 "y": 285.60003185272217,
895 "z": "e876afdc.6a24f",
899 "id": "982966d0.a9a8e8",
900 "type": "switchNode",
901 "name": "switch type",
902 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'type'`\">\n",
905 "x": 1239.1179161071777,
906 "y": 580.9734859466553,
907 "z": "e876afdc.6a24f",
915 "id": "bbc62e0b.50f11",
916 "type": "outcomeTrue",
918 "xml": "<outcome value='true'>\n",
921 "x": 1418.1177597045898,
922 "y": 581.9734058380127,
923 "z": "e876afdc.6a24f",
931 "id": "91550639.119c38",
934 "xml": "<set>\n<parameter name='prop.site.type' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n<parameter name='prop.site.sdwan' value=\"true\" />",
936 "x": 1568.1177711486816,
937 "y": 583.5734205245972,
938 "z": "e876afdc.6a24f",
942 "id": "f41887bb.544248",
943 "type": "switchNode",
944 "name": "switch role",
945 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'role'`\">\n",
948 "x": 1240.1175918579102,
949 "y": 624.9735260009766,
950 "z": "e876afdc.6a24f",
958 "id": "2facef98.25444",
959 "type": "outcomeTrue",
961 "xml": "<outcome value='true'>\n",
964 "x": 1410.1175994873047,
965 "y": 634.9734888076782,
966 "z": "e876afdc.6a24f",
974 "id": "6dc0a862.fb8db8",
975 "type": "switchNode",
976 "name": "switch location-name",
977 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'location-name'`\">\n",
980 "x": 1283.117431640625,
981 "y": 324.97334480285645,
982 "z": "e876afdc.6a24f",
990 "id": "bd2efb08.1c1158",
991 "type": "outcomeTrue",
993 "xml": "<outcome value='true'>\n",
996 "x": 1447.117603302002,
997 "y": 324.97334575653076,
998 "z": "e876afdc.6a24f",
1006 "id": "4ee2193.b3e14e8",
1008 "name": "set location-name",
1009 "xml": "<set>\n<parameter name='prop.site.location-name' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
1011 "x": 1609.1176147460938,
1012 "y": 324.57340240478516,
1013 "z": "e876afdc.6a24f",
1017 "id": "b56118e.cb3ebe8",
1018 "type": "switchNode",
1019 "name": "switch address",
1020 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'address'`\">\n",
1023 "x": 1266.117431640625,
1024 "y": 360.9733486175537,
1025 "z": "e876afdc.6a24f",
1033 "id": "86891afb.54bc78",
1034 "type": "outcomeTrue",
1036 "xml": "<outcome value='true'>\n",
1039 "x": 1436.1172790527344,
1040 "y": 368.9733476638794,
1041 "z": "e876afdc.6a24f",
1049 "id": "4e393c27.e3c2c4",
1051 "name": "set location-address",
1052 "xml": "<set>\n<parameter name='prop.site.location-address' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
1054 "x": 1624.1174545288086,
1055 "y": 364.5733232498169,
1056 "z": "e876afdc.6a24f",
1060 "id": "a3f45232.9e1a1",
1061 "type": "switchNode",
1062 "name": "switch postcode",
1063 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'postcode'`\">\n",
1066 "x": 1267.117431640625,
1067 "y": 402.97330951690674,
1068 "z": "e876afdc.6a24f",
1076 "id": "8476b452.fd9df8",
1077 "type": "outcomeTrue",
1079 "xml": "<outcome value='true'>\n",
1082 "x": 1432.117603302002,
1083 "y": 401.97330951690674,
1084 "z": "e876afdc.6a24f",
1092 "id": "44bf054e.3e0bdc",
1094 "name": "set location-postcode",
1095 "xml": "<set>\n<parameter name='prop.site.location-postcode' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
1097 "x": 1619.1174545288086,
1098 "y": 403.57332611083984,
1099 "z": "e876afdc.6a24f",
1103 "id": "4ca7692.19f0f98",
1104 "type": "switchNode",
1105 "name": "switch controlPoints",
1106 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'controlPoints'`\">\n",
1109 "x": 1261.0007247924805,
1110 "y": 670.0002679824829,
1111 "z": "e876afdc.6a24f",
1119 "id": "6d9c8ede.093ce",
1120 "type": "outcomeTrue",
1122 "xml": "<outcome value='true'>\n",
1125 "x": 1421.0007400512695,
1126 "y": 681.0003499984741,
1127 "z": "e876afdc.6a24f",
1135 "id": "6c8e946.594c76c",
1138 "xml": "<set>\n<parameter name='prop.site.role' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n<parameter name='prop.site.sdwan' value=\"true\" />\n",
1140 "x": 1764.0007648468018,
1141 "y": 602.0002603530884,
1142 "z": "e876afdc.6a24f",
1146 "id": "c48a4f4.5838eb",
1148 "name": "set controlPoint",
1149 "xml": "<set>\n<parameter name='prop.site.controlPoint' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n\n",
1151 "x": 1806.0007667541504,
1152 "y": 701.0003480911255,
1153 "z": "e876afdc.6a24f",
1157 "id": "99fac312.5a742",
1159 "name": "update siteInstance configuration in AAI",
1160 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='site-resource' \n key='site-resource.id = $service-data.vnfs.vnf[$tmp.vidx].vnf-id' >\n<parameter name='id' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-id`' /> \n<parameter name='generated-site-id' value='`$site-result[0].site-id`' /> \n<parameter name='operational-status' value='Active' />\n",
1163 "x": 657.0001220703125,
1164 "y": 627.0001001358032,
1165 "z": "e876afdc.6a24f",
1171 "id": "6e5a67bd.c2ddb8",
1173 "name": "execute Properties",
1174 "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",
1177 "x": 603.0000381469727,
1178 "y": 274.00000190734863,
1179 "z": "e876afdc.6a24f",
1185 "id": "239b469c.39b6fa",
1187 "name": "execute split roles",
1188 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.site.role`'/>\n<parameter name=\"regex\" value=\",\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"prop.site.roles\"/>\n",
1191 "x": 1820.6671142578125,
1192 "y": 658.0001821517944,
1193 "z": "e876afdc.6a24f",
1199 "id": "2de9cb05.be1da4",
1201 "name": "block : atomic",
1202 "xml": "<block atomic=\"true\">",
1205 "x": 1567.667251586914,
1206 "y": 638.0001821517944,
1207 "z": "e876afdc.6a24f",
1216 "id": "473f9a91.4991c4",
1218 "name": "block : atomic",
1219 "xml": "<block atomic=\"true\">",
1222 "x": 1579.6670875549316,
1223 "y": 685.0001058578491,
1224 "z": "e876afdc.6a24f",
1233 "id": "363cf22d.62d78e",
1235 "name": "execute split control points",
1236 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.site.controlPoint`'/>\n<parameter name=\"regex\" value=\",\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"prop.site.controlpoints\"/>\n",
1239 "x": 1848.667106628418,
1240 "y": 762.0001888275146,
1241 "z": "e876afdc.6a24f",
1247 "id": "a0b5938f.d00a8",
1248 "type": "switchNode",
1249 "name": "switch latitude",
1250 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'latitude'`\">\n",
1253 "x": 1257.333740234375,
1254 "y": 447.0000867843628,
1255 "z": "e876afdc.6a24f",
1263 "id": "b21592f4.5618f",
1264 "type": "outcomeTrue",
1266 "xml": "<outcome value='true'>\n",
1269 "x": 1433.3335876464844,
1270 "y": 442.0000457763672,
1271 "z": "e876afdc.6a24f",
1279 "id": "29af6eef.bf06b2",
1281 "name": "set location-latitude",
1282 "xml": "<set>\n<parameter name='prop.site.location-latitude' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
1284 "x": 1607.333595275879,
1285 "y": 440.6000623703003,
1286 "z": "e876afdc.6a24f",
1290 "id": "caf25c5.4962fa",
1291 "type": "switchNode",
1292 "name": "switch longitude",
1293 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'longitude'`\">\n",
1296 "x": 1260.333740234375,
1297 "y": 487.00012969970703,
1298 "z": "e876afdc.6a24f",
1306 "id": "7df2c337.3c1b4c",
1307 "type": "outcomeTrue",
1309 "xml": "<outcome value='true'>\n",
1312 "x": 1432.3337478637695,
1313 "y": 482.00017166137695,
1314 "z": "e876afdc.6a24f",
1322 "id": "86c3a1c7.6636a",
1324 "name": "set location-latitude",
1325 "xml": "<set>\n<parameter name='prop.site.location-latitude' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
1327 "x": 1614.3336029052734,
1328 "y": 485.6000232696533,
1329 "z": "e876afdc.6a24f",
1333 "id": "4e291944.287288",
1334 "type": "outcomeTrue",
1336 "xml": "<outcome value='true'>\n",
1339 "x": 1423.3337478637695,
1340 "y": 532.0001745223999,
1341 "z": "e876afdc.6a24f",
1349 "id": "2bbb97af.762cc8",
1351 "name": "set emails",
1352 "xml": "<set>\n<parameter name='prop.site.emails' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
1354 "x": 1781.3334426879883,
1355 "y": 500.6000266075134,
1356 "z": "e876afdc.6a24f",
1360 "id": "e068ac07.3a75f",
1361 "type": "switchNode",
1362 "name": "switch emails",
1363 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'emails'`\">\n",
1366 "x": 1250.3338165283203,
1367 "y": 532.0001745223999,
1368 "z": "e876afdc.6a24f",
1376 "id": "3f69ab6a.936704",
1378 "name": "execute split emails",
1379 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.site.emails`'/>\n<parameter name=\"regex\" value=\",\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"prop.site.email\"/>\n",
1382 "x": 1806.9997863769531,
1383 "y": 546.9999294281006,
1384 "z": "e876afdc.6a24f",
1390 "id": "f818ecd2.ba80f",
1392 "name": "block : atomic",
1393 "xml": "<block atomic=\"true\">",
1396 "x": 1585.333755493164,
1397 "y": 533.0000920295715,
1398 "z": "e876afdc.6a24f",
1407 "id": "69c072d6.f6ae7c",
1409 "name": "set siteId",
1410 "xml": "<set>\n<parameter name='prop.site.siteId' value=\"\" />\n\n",
1412 "x": 1220.0000762939453,
1413 "y": 762.0000247955322,
1414 "z": "e876afdc.6a24f",
1418 "id": "c77bd4e4.651878",
1420 "name": "should be null in request",
1424 "y": 732.999979019165,
1425 "z": "e876afdc.6a24f",