3 "id": "51ff11de.938a4",
17 "id": "5f6a102e.b60f5",
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": 331.00391006469727,
26 "y": 151.0039234161377,
27 "z": "ec4bf25e.dd6bb",
35 "id": "7e2e9718.c2ec58",
37 "name": "wan-connection-topology-operation-create",
38 "xml": "<method rpc='wan-connection-topology-operation-create' mode='sync'>\n",
41 "x": 319.0040283203125,
43 "z": "ec4bf25e.dd6bb",
51 "id": "8e544758.cf6458",
53 "name": "contains specification",
54 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"specification\"/>\n",
57 "x": 323.0352020263672,
58 "y": 512.035210609436,
59 "z": "ec4bf25e.dd6bb",
68 "id": "be2720c6.087bc",
70 "name": "contains Fc",
71 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"Fc\"/>\n",
74 "x": 511.0352783203125,
75 "y": 584.0352687835693,
76 "z": "ec4bf25e.dd6bb",
85 "id": "39041604.4e8b9a",
87 "name": "contains Fd",
88 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"Fd\"/>\n",
91 "x": 510.0351982116699,
92 "y": 661.035219669342,
93 "z": "ec4bf25e.dd6bb",
102 "id": "2fd5af60.51a0e",
103 "type": "outcomeTrue",
105 "xml": "<outcome value='true'>\n",
108 "x": 560.0352325439453,
109 "y": 510.0351963043213,
110 "z": "ec4bf25e.dd6bb",
116 "id": "b315221.5065ce",
117 "type": "outcomeTrue",
119 "xml": "<outcome value='false'>\n",
122 "x": 306.0352668762207,
123 "y": 584.0352687835693,
124 "z": "ec4bf25e.dd6bb",
132 "id": "985af680.447708",
133 "type": "outcomeTrue",
135 "xml": "<outcome value='true'>\n",
138 "x": 693.0352821350098,
139 "y": 585.0352520942688,
140 "z": "ec4bf25e.dd6bb",
148 "id": "f64ebc8e.88ac",
149 "type": "outcomeTrue",
151 "xml": "<outcome value='true'>\n",
154 "x": 705.0352821350098,
155 "y": 663.0352520942688,
156 "z": "ec4bf25e.dd6bb",
164 "id": "9924596f.f95838",
165 "type": "outcomeTrue",
167 "xml": "<outcome value='false'>\n",
170 "x": 301.0352096557617,
171 "y": 665.0352411270142,
172 "z": "ec4bf25e.dd6bb",
180 "id": "e2a37c8a.52a28",
181 "type": "outcomeTrue",
183 "xml": "<outcome value='false'>\n",
186 "x": 282.03532791137695,
187 "y": 840.035454750061,
188 "z": "ec4bf25e.dd6bb",
196 "id": "c9f2e546.57c978",
198 "name": "execute Properties",
199 "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",
202 "x": 510.0039978027344,
203 "y": 359.0039253234863,
204 "z": "ec4bf25e.dd6bb",
210 "id": "deadfdad.78a35",
212 "name": "block : atomic",
213 "xml": "<block atomic=\"true\">",
216 "x": 225.00392150878906,
217 "y": 339.00390243530273,
218 "z": "ec4bf25e.dd6bb",
229 "id": "9326fcfd.42d18",
230 "type": "switchNode",
231 "name": "switch network-id",
232 "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
235 "x": 510.0039291381836,
236 "y": 297.00391578674316,
237 "z": "ec4bf25e.dd6bb",
245 "id": "661cfd5a.9af8f4",
248 "xml": "<outcome value=''>",
251 "x": 759.0040054321289,
252 "y": 236.00391578674316,
253 "z": "ec4bf25e.dd6bb",
261 "id": "e482d16b.f1f2a",
263 "name": "generate network-id",
264 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"network-topology-operation-input.network-information.network-id\"/>\n",
267 "x": 1019.0040893554688,
268 "y": 239.00394344329834,
269 "z": "ec4bf25e.dd6bb",
278 "id": "4a8125e1.d928fc",
281 "xml": "<outcome value='Other'>\n",
284 "x": 1272.0041427612305,
285 "y": 180.00391387939453,
286 "z": "ec4bf25e.dd6bb",
294 "id": "a3cf2f7c.aa153",
295 "type": "returnFailure",
296 "name": "return failure",
297 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation allotted resource ID\" />\n",
299 "x": 1438.004150390625,
300 "y": 182.00393295288086,
301 "z": "ec4bf25e.dd6bb",
305 "id": "7b6cbacb.c940e4",
306 "type": "returnSuccess",
307 "name": "return success",
308 "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",
310 "x": 386.0039749145508,
311 "y": 978.003942489624,
312 "z": "ec4bf25e.dd6bb",
316 "id": "2ee04d47.b452f2",
323 "x": 474.0040092468262,
324 "y": 841.0040912628174,
325 "z": "ec4bf25e.dd6bb",
331 "id": "a48d4fd2.b35f8",
333 "name": "save-specification-block : atomic",
334 "xml": "<block atomic=\"true\">",
338 "x": 819.0039520263672,
339 "y": 513.0078201293945,
340 "z": "ec4bf25e.dd6bb",
349 "id": "4637df53.0968b",
351 "name": "find-specifications-block : atomic",
352 "xml": "<block atomic=\"true\">",
356 "x": 973.7539024353027,
357 "y": 617.0078229904175,
358 "z": "ec4bf25e.dd6bb",
366 "id": "4bb001a8.758d6",
367 "type": "switchNode",
368 "name": "switch service-data.networks_length",
369 "xml": "<switch test='`$service-data.networks.network_length`'>\n",
372 "x": 1329.2543029785156,
373 "y": 610.0078811645508,
374 "z": "ec4bf25e.dd6bb",
383 "id": "de42c02b.4d353",
386 "xml": "<outcome value=''>\n",
389 "x": 1640.2542877197266,
390 "y": 576.0078916549683,
391 "z": "ec4bf25e.dd6bb",
399 "id": "129498fa.fc8607",
402 "xml": "<outcome value='Other'>\n",
405 "x": 1354.2541885375977,
406 "y": 706.0078849499114,
407 "z": "ec4bf25e.dd6bb",
415 "id": "89c60eaa.e0a3b",
422 "x": 1498.6112327575684,
423 "y": 705.9443969433196,
424 "z": "ec4bf25e.dd6bb",
433 "id": "1750133b.d0d30d",
435 "name": "set nidx and isExist",
436 "xml": "<set>\n<parameter name='nidx' value='0' />\n<parameter name='isExist' value='false' />",
438 "x": 1815.7542419433594,
439 "y": 575.0079183871858,
440 "z": "ec4bf25e.dd6bb",
444 "id": "6361d5f3.8fbc7c",
446 "name": "set nidx and isExist",
447 "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n<parameter name='isExist' value='false' />",
449 "x": 1659.3098831176758,
450 "y": 664.5635662078857,
451 "z": "ec4bf25e.dd6bb",
455 "id": "90d47eef.bffa5",
457 "name": "for each existing network",
458 "xml": "<for index='idx' start='0' end='`$nidx`' >\n",
461 "x": 1687.7383117675781,
462 "y": 717.7856483459473,
463 "z": "ec4bf25e.dd6bb",
471 "id": "d6f28b6a.4c11f8",
473 "name": "set nidx and isExist",
474 "xml": "<set>\n<parameter name='nidx' value='`$idx`' />\n<parameter name='isExist' value='true' />",
476 "x": 1985.005386352539,
477 "y": 978.0086584091187,
478 "z": "ec4bf25e.dd6bb",
482 "id": "2ef49dd5.a969b2",
484 "name": "set network in service-data",
485 "xml": "<set>\n<parameter name='service-data.networks.network[$nidx].network-id' value='`$network-topology-operation-input.network-information.network-id`' />\n<parameter name='service-data.networks.network[$nidx].network-data.sdnc-request-header.' value='`$network-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.request-information.' value='`$network-topology-operation-input.request-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.service-information.' value='`$network-topology-operation-input.service-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-information.' value='`$network-topology-operation-input.network-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-request-input.' value='`$network-topology-operation-input.network-request-input.`' />\n<parameter name='service-data.networks.network_length' value='`$nidx+1`' />\n\n",
487 "x": 1282.003921508789,
488 "y": 535.0078272819519,
489 "z": "ec4bf25e.dd6bb",
493 "id": "1ebbb5b1.ce49ea",
494 "type": "switchNode",
495 "name": "switch service-data.networks_length",
496 "xml": "<switch test='`$service-data.networks.network_length`'>\n",
500 "y": 349.0078139305115,
501 "z": "ec4bf25e.dd6bb",
510 "id": "71de1500.a0f5dc",
513 "xml": "<outcome value=''>\n",
516 "x": 1256.004005432129,
517 "y": 419.00785875320435,
518 "z": "ec4bf25e.dd6bb",
526 "id": "5a928df3.62e684",
529 "xml": "<set>\n<parameter name='nidx' value='0' />",
532 "y": 418.0078430175781,
533 "z": "ec4bf25e.dd6bb",
537 "id": "84d10745.bd09d8",
540 "xml": "<outcome value='Other'>\n",
543 "x": 1253.003791809082,
544 "y": 467.00785779953003,
545 "z": "ec4bf25e.dd6bb",
553 "id": "bf7c1ae3.a13b58",
556 "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />",
558 "x": 1390.0597305297852,
559 "y": 463.56352281570435,
560 "z": "ec4bf25e.dd6bb",
564 "id": "89792a65.256368",
566 "name": "set network in service-data",
567 "xml": "<set>\n<parameter name='network-topology-operation-input.network-request-input.network-input-parameters.param_length' value='`$input_param_length + $param_length`' />\n\n",
569 "x": 2006.5061492919922,
570 "y": 1429.0049443244934,
571 "z": "ec4bf25e.dd6bb",
575 "id": "9e04e4be.367888",
577 "name": "copy-specifications-block : atomic",
578 "xml": "<block atomic=\"true\">",
582 "x": 1709.2545623779297,
583 "y": 1072.0042037963867,
584 "z": "ec4bf25e.dd6bb",
596 "id": "49104faa.41ebb",
597 "type": "switchNode",
598 "name": "switch service-data.networks_length",
599 "xml": "<switch test='`$service-data.networks.network[$nidx].network-data.network-request-input.network-input-parameters.param_length`'>\n",
602 "x": 2057.0045013427734,
603 "y": 1059.0041122436523,
604 "z": "ec4bf25e.dd6bb",
613 "id": "4c3184c1.6619ac",
616 "xml": "<outcome value=''>\n",
619 "x": 2283.00435256958,
620 "y": 1034.0040397644043,
621 "z": "ec4bf25e.dd6bb",
629 "id": "cb121f91.6d21",
631 "name": "set param_length",
632 "xml": "<set>\n<parameter name='param_length' value='0' />",
634 "x": 2469.5041885375977,
635 "y": 1032.0040455157869,
636 "z": "ec4bf25e.dd6bb",
640 "id": "2d5e7fd8.239cb",
643 "xml": "<outcome value='Other'>\n",
646 "x": 2279.0043182373047,
647 "y": 1089.0040855407715,
648 "z": "ec4bf25e.dd6bb",
656 "id": "11ebe727.0ad829",
658 "name": "set param_length",
659 "xml": "<set>\n<parameter name='param_length' value='`$service-data.networks.network[$nidx].network-data.network-request-input.network-input-parameters.param_length`' />",
661 "x": 2467.7542572021484,
662 "y": 1089.0040702819824,
663 "z": "ec4bf25e.dd6bb",
667 "id": "5f63a6d5.0f0808",
669 "name": "for each existing params",
670 "xml": "<for index='pidx' start='0' end='`$param_length`' >\n",
673 "x": 2013.7548370361328,
674 "y": 1313.0043182373047,
675 "z": "ec4bf25e.dd6bb",
683 "id": "8a453e14.41bb8",
685 "name": "set input_param_length",
686 "xml": "<set>\n<parameter name='input_param_length' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' />",
688 "x": 2490.7548751831055,
689 "y": 1218.5042095184326,
690 "z": "ec4bf25e.dd6bb",
694 "id": "4bcb87bc.b866b8",
695 "type": "switchNode",
696 "name": "switch network-input-parameters_length",
697 "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`'>\n",
700 "x": 2064.7544708251953,
701 "y": 1160.5040702819824,
702 "z": "ec4bf25e.dd6bb",
711 "id": "9e58091.eed84f8",
714 "xml": "<outcome value=''>\n",
717 "x": 2298.7543563842773,
718 "y": 1155.5040855407715,
719 "z": "ec4bf25e.dd6bb",
727 "id": "c56b0210.d9d6c",
730 "xml": "<outcome value='Other'>\n",
733 "x": 2297.7544136047363,
734 "y": 1221.5040559768677,
735 "z": "ec4bf25e.dd6bb",
743 "id": "776789ac.4e1c88",
745 "name": "set input_param_length",
746 "xml": "<set>\n<parameter name='input_param_length' value='0' />",
748 "x": 2487.754325866699,
749 "y": 1156.5041007995605,
750 "z": "ec4bf25e.dd6bb",
754 "id": "29a0bf72.ef8a9",
756 "name": "set specification_to_input_param",
757 "xml": "<set>\n<parameter name='network-topology-operation-input.network-request-input.network-input-parameters.param[$pidx+$input_param_length].' value='`$service-data.networks.network[$nidx].network-data.network-request-input.network-input-parameters.param[$pidx].`' />",
759 "x": 2325.7544860839844,
760 "y": 1313.0043315887451,
761 "z": "ec4bf25e.dd6bb",
765 "id": "c0e01e64.557b7",
767 "name": "if contains specification",
768 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.networks.network[$idx].network-data.network-information.onap-model-information.model-name`\" />\n <parameter name=\"target\" value=\"specification\"/>\n \n",
771 "x": 1670.5041275024414,
772 "y": 792.0040473937988,
773 "z": "ec4bf25e.dd6bb",
781 "id": "3b74b5cb.6db12a",
783 "name": "if contains model-name",
784 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.networks.network[$idx].network-data.network-information.onap-model-information.model-name`\" />\n <parameter name=\"target\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n \n",
787 "x": 1664.753921508789,
788 "y": 849.0039715766907,
789 "z": "ec4bf25e.dd6bb",
797 "id": "f0e3233e.fbb43",
798 "type": "outcomeTrue",
800 "xml": "<outcome value='true'>\n",
803 "x": 1861.7540111541748,
804 "y": 791.0039234161377,
805 "z": "ec4bf25e.dd6bb",
813 "id": "43e7c123.94da6",
814 "type": "outcomeTrue",
816 "xml": "<outcome value='true'>\n",
819 "x": 1868.0040092468262,
820 "y": 846.0040340423584,
821 "z": "ec4bf25e.dd6bb",
829 "id": "dc605cc5.0af61",
831 "name": "contains FcPort",
832 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"FcPort\"/>\n",
837 "z": "ec4bf25e.dd6bb",
846 "id": "d20a2c0b.707f2",
847 "type": "outcomeTrue",
849 "xml": "<outcome value='true'>\n",
852 "x": 697.0039901733398,
853 "y": 736.0039386749268,
854 "z": "ec4bf25e.dd6bb",
862 "id": "2b8cfc56.68f314",
863 "type": "outcomeTrue",
865 "xml": "<outcome value='false'>\n",
868 "x": 293.00391387939453,
869 "y": 737.0038776397705,
870 "z": "ec4bf25e.dd6bb",
878 "id": "1ef0b35a.df2b6d",
881 "xml": "<outcome value='success'>\n",
884 "x": 1271.3373184204102,
885 "y": 270.00391387939453,
886 "z": "ec4bf25e.dd6bb",
894 "id": "f3103198.99ca3",
901 "x": 1444.3372344970703,
903 "z": "ec4bf25e.dd6bb",
911 "id": "a4c91e95.e83ee",
913 "name": "set networkId and network-object-path",
914 "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n<parameter name=\"network-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $network-topology-operation-input.network-information.network-id + '/network-data/'` \" />",
918 "z": "ec4bf25e.dd6bb",