3 "id": "c38bd7d5.df77b8",
9 "z": "152c5971.7ac927",
17 "id": "9db33c19.af792",
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": 432.00391006469727,
26 "y": 214.0039234161377,
27 "z": "152c5971.7ac927",
35 "id": "d521798b.eb0348",
37 "name": "sdwan-get-site-param",
38 "xml": "<method rpc='sdwan-get-site-param' mode='sync'>\n",
41 "x": 420.0040283203125,
43 "z": "152c5971.7ac927",
51 "id": "71ba9c6d.9a9864",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">\n",
58 "x": 427.00392150878906,
59 "y": 388.0039644241333,
60 "z": "152c5971.7ac927",
68 "id": "b3f4200f.57507",
70 "name": "for each sdwan-get-request-input-param",
71 "xml": "<for index='idx' start='0' end='`$vnf-request-input.vnf-input-parameters.param_length`' >\n\n",
74 "x": 463.6706848144531,
75 "y": 470.670560836792,
76 "z": "152c5971.7ac927",
84 "id": "6800f034.117f8",
91 "x": 750.5042343139648,
92 "y": 388.00400829315186,
93 "z": "152c5971.7ac927",
113 "id": "a6377b98.e830f8",
114 "type": "returnSuccess",
115 "name": "return success",
116 "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",
118 "x": 954.0049743652344,
119 "y": 757.004668712616,
120 "z": "152c5971.7ac927",
124 "id": "517edbd2.91b704",
125 "type": "switchNode",
126 "name": "switch name",
127 "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'name'`\">\n",
130 "x": 970.0039443969727,
131 "y": 184.003981590271,
132 "z": "152c5971.7ac927",
140 "id": "7a153116.0d4e7",
141 "type": "outcomeTrue",
143 "xml": "<outcome value='true'>\n",
146 "x": 1112.0039443969727,
147 "y": 185.003981590271,
148 "z": "152c5971.7ac927",
156 "id": "d8a2309b.8475f",
159 "xml": "<set>\n<parameter name='prop.site.name' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
161 "x": 1246.0039443969727,
162 "y": 185.60398769378662,
163 "z": "152c5971.7ac927",
167 "id": "a701284f.455118",
168 "type": "switchNode",
169 "name": "switch name",
170 "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'name'`\">\n",
173 "x": 966.0040512084961,
174 "y": 275.0039396286011,
175 "z": "152c5971.7ac927",
183 "id": "de455822.f8ce78",
184 "type": "outcomeTrue",
186 "xml": "<outcome value='true'>\n",
189 "x": 1144.0040645599365,
190 "y": 278.0039396286011,
191 "z": "152c5971.7ac927",
199 "id": "78b4f47e.c7bfcc",
202 "xml": "<set>\n<parameter name='prop.site.name' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
204 "x": 1291.0040740966797,
205 "y": 277.6039352416992,
206 "z": "152c5971.7ac927",
210 "id": "2bb40b1d.ca77f4",
211 "type": "switchNode",
212 "name": "switch type",
213 "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'type'`\">\n",
216 "x": 944.8997230529785,
217 "y": 572.9773893356323,
218 "z": "152c5971.7ac927",
226 "id": "8bb0abec.ed7288",
227 "type": "outcomeTrue",
229 "xml": "<outcome value='true'>\n",
232 "x": 1123.8995666503906,
233 "y": 573.9773092269897,
234 "z": "152c5971.7ac927",
242 "id": "bb6bcb71.b39508",
245 "xml": "<set>\n<parameter name='prop.site.type' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n<parameter name='prop.site.sdwan' value='true' />",
247 "x": 1273.8995780944824,
248 "y": 575.5773239135742,
249 "z": "152c5971.7ac927",
253 "id": "663914f5.d948fc",
254 "type": "switchNode",
255 "name": "switch role",
256 "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'role'`\">\n",
259 "x": 945.8993988037109,
260 "y": 616.9774293899536,
261 "z": "152c5971.7ac927",
269 "id": "a0fc9634.928638",
270 "type": "outcomeTrue",
272 "xml": "<outcome value='true'>\n",
275 "x": 1115.8994064331055,
276 "y": 626.9773921966553,
277 "z": "152c5971.7ac927",
285 "id": "ca16c569.719ab8",
286 "type": "switchNode",
287 "name": "switch location-name",
288 "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'location-name'`\">\n",
291 "x": 988.8992385864258,
292 "y": 316.9772481918335,
293 "z": "152c5971.7ac927",
301 "id": "4c784934.a87448",
302 "type": "outcomeTrue",
304 "xml": "<outcome value='true'>\n",
307 "x": 1152.8994102478027,
308 "y": 316.9772491455078,
309 "z": "152c5971.7ac927",
317 "id": "3e756eb.d90f392",
319 "name": "set location-name",
320 "xml": "<set>\n<parameter name='prop.site.location-name' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
322 "x": 1314.8994216918945,
323 "y": 316.5773057937622,
324 "z": "152c5971.7ac927",
328 "id": "86e64461.d62ec8",
329 "type": "switchNode",
330 "name": "switch address",
331 "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'address'`\">\n",
334 "x": 971.8992385864258,
335 "y": 352.97725200653076,
336 "z": "152c5971.7ac927",
344 "id": "4b7d0893.6d1a98",
345 "type": "outcomeTrue",
347 "xml": "<outcome value='true'>\n",
350 "x": 1141.8990859985352,
351 "y": 360.97725105285645,
352 "z": "152c5971.7ac927",
360 "id": "2c26a847.9d4008",
362 "name": "set location-address",
363 "xml": "<set>\n<parameter name='prop.site.location-address' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
365 "x": 1329.8992614746094,
366 "y": 356.57722663879395,
367 "z": "152c5971.7ac927",
371 "id": "c6f06bc6.074328",
372 "type": "switchNode",
373 "name": "switch postcode",
374 "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'postcode'`\">\n",
377 "x": 972.8992385864258,
378 "y": 394.9772129058838,
379 "z": "152c5971.7ac927",
387 "id": "af6ba3e1.07f47",
388 "type": "outcomeTrue",
390 "xml": "<outcome value='true'>\n",
393 "x": 1137.8994102478027,
394 "y": 393.9772129058838,
395 "z": "152c5971.7ac927",
403 "id": "2e6a288b.539db8",
405 "name": "set location-postcode",
406 "xml": "<set>\n<parameter name='prop.site.location-postcode' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
408 "x": 1324.8992614746094,
409 "y": 395.5772294998169,
410 "z": "152c5971.7ac927",
414 "id": "9a6d9a43.210478",
415 "type": "switchNode",
416 "name": "switch controlPoint",
417 "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'controlPoint'`\">\n",
420 "x": 964.7826232910156,
421 "y": 677.0042304992676,
422 "z": "152c5971.7ac927",
430 "id": "610c92a.a595c6c",
431 "type": "outcomeTrue",
433 "xml": "<outcome value='true'>\n",
436 "x": 1126.7825469970703,
437 "y": 673.0042533874512,
438 "z": "152c5971.7ac927",
446 "id": "64aa63f1.8e581c",
449 "xml": "<set>\n<parameter name='prop.site.role' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n\n",
451 "x": 1487.7826957702637,
452 "y": 603.0041675567627,
453 "z": "152c5971.7ac927",
457 "id": "79665fbb.1aeb5",
459 "name": "set controlPoint",
460 "xml": "<set>\n<parameter name='prop.site.controlPoint' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n\n",
462 "x": 1511.7825736999512,
463 "y": 693.0042514801025,
464 "z": "152c5971.7ac927",
468 "id": "adfd7aba.7276f8",
470 "name": "execute split roles",
471 "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",
474 "x": 1526.4489212036133,
475 "y": 650.0040855407715,
476 "z": "152c5971.7ac927",
482 "id": "55d77248.d68a9c",
484 "name": "block : atomic",
485 "xml": "<block atomic=\"true\">",
488 "x": 1273.4490585327148,
489 "y": 630.0040855407715,
490 "z": "152c5971.7ac927",
499 "id": "be722424.9e5438",
501 "name": "block : atomic",
502 "xml": "<block atomic=\"true\">",
506 "x": 1285.4488945007324,
507 "y": 677.0040092468262,
508 "z": "152c5971.7ac927",
517 "id": "db6408de.efe4c8",
519 "name": "execute split control points",
520 "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",
523 "x": 1536.4490509033203,
524 "y": 745.004111289978,
525 "z": "152c5971.7ac927",
531 "id": "24b313e.2bb53ec",
532 "type": "switchNode",
533 "name": "switch latitude",
534 "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'latitude'`\">\n",
537 "x": 963.1155471801758,
538 "y": 439.00399017333984,
539 "z": "152c5971.7ac927",
547 "id": "13e09627.b199da",
548 "type": "outcomeTrue",
550 "xml": "<outcome value='true'>\n",
553 "x": 1139.1153945922852,
554 "y": 434.00394916534424,
555 "z": "152c5971.7ac927",
563 "id": "3ac65d27.a38462",
565 "name": "set location-latitude",
566 "xml": "<set>\n<parameter name='prop.site.location-latitude' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
568 "x": 1313.1154022216797,
569 "y": 432.60396575927734,
570 "z": "152c5971.7ac927",
574 "id": "3a793fa2.7f94e",
575 "type": "switchNode",
576 "name": "switch longitude",
577 "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'longitude'`\">\n",
580 "x": 966.1155471801758,
581 "y": 479.0040330886841,
582 "z": "152c5971.7ac927",
590 "id": "55ab0e28.8342d",
591 "type": "outcomeTrue",
593 "xml": "<outcome value='true'>\n",
596 "x": 1138.1155548095703,
597 "y": 474.004075050354,
598 "z": "152c5971.7ac927",
606 "id": "de42d185.f22c5",
608 "name": "set location-longitude",
609 "xml": "<set>\n<parameter name='prop.site.location-longitude' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
611 "x": 1320.1154098510742,
612 "y": 477.60392665863037,
613 "z": "152c5971.7ac927",
617 "id": "954fde0c.db00e",
618 "type": "outcomeTrue",
620 "xml": "<outcome value='true'>\n",
623 "x": 1129.1155548095703,
624 "y": 524.004077911377,
625 "z": "152c5971.7ac927",
633 "id": "ddfdabba.c44028",
635 "name": "set emails",
636 "xml": "<set>\n<parameter name='prop.site.emails' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
638 "x": 1487.115249633789,
639 "y": 492.6039299964905,
640 "z": "152c5971.7ac927",
644 "id": "fee596dc.022e48",
645 "type": "switchNode",
646 "name": "switch emails",
647 "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'emails'`\">\n",
650 "x": 956.1156234741211,
651 "y": 524.004077911377,
652 "z": "152c5971.7ac927",
660 "id": "803294bd.b33768",
662 "name": "execute split emails",
663 "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",
666 "x": 1512.781593322754,
667 "y": 539.0038328170776,
668 "z": "152c5971.7ac927",
674 "id": "ec738ea.7ff107",
676 "name": "block : atomic",
677 "xml": "<block atomic=\"true\">",
680 "x": 1291.1155624389648,
681 "y": 525.0039954185486,
682 "z": "152c5971.7ac927",
691 "id": "d3c58875.e0f958",
692 "type": "switchNode",
693 "name": "switch description",
694 "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'description'`\">\n",
699 "z": "152c5971.7ac927",
707 "id": "8aebe9ab.cbad88",
708 "type": "outcomeTrue",
710 "xml": "<outcome value='true'>\n",
715 "z": "152c5971.7ac927",
723 "id": "d7605ed6.36544",
725 "name": "set description",
726 "xml": "<set>\n<parameter name='prop.site.description' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
728 "x": 1259.0039825439453,
729 "y": 230.60393619537354,
730 "z": "152c5971.7ac927",