2 "id": "9bc8cf3.24e913",
6 "x": 124.03125762939453,
8 "z": "466fb936.055828",
13 "id": "c0dae51b.1b6228",
14 "type": "service-logic",
15 "name": "GENERIC-RESOURCE-API ${project.version}",
16 "module": "GENERIC-RESOURCE-API",
17 "version": "${project.version}",
19 "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}'>",
21 "x": 336.0312614440918,
22 "y": 136.0312671661377,
23 "z": "466fb936.055828",
28 "id": "4ad4cfdc.2f406",
30 "name": "wan-connection-topology-operation-create",
31 "xml": "<method rpc='wan-connection-topology-operation-create' mode='sync'>\n",
34 "x": 324.03137969970703,
36 "z": "466fb936.055828",
41 "id": "a0a6d830.765c48",
43 "name": "contains specification",
44 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"specification\"/>\n",
47 "x": 520.0625419616699,
48 "y": 402.06254720687866,
49 "z": "466fb936.055828",
51 ["497f3002.ebfe1", "35a373ce.24801c"]
54 "id": "a2f84cee.b0617",
56 "name": "contains FC",
57 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"FC\"/>\n",
60 "x": 516.062629699707,
61 "y": 569.0626125335693,
62 "z": "466fb936.055828",
64 ["2029e6ab.86d56a", "93c62735.b84128"]
67 "id": "eec3001f.630de",
69 "name": "contains FD",
70 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"FD\"/>\n",
73 "x": 515.0625495910645,
74 "y": 646.062563419342,
75 "z": "466fb936.055828",
77 ["2e6936ec.48046a", "7376171f.8378c8"]
80 "id": "497f3002.ebfe1",
81 "type": "outcomeTrue",
83 "xml": "<outcome value='true'>\n",
86 "x": 756.0625762939453,
87 "y": 400.062539100647,
88 "z": "466fb936.055828",
93 "id": "35a373ce.24801c",
94 "type": "outcomeTrue",
96 "xml": "<outcome value='false'>\n",
99 "x": 311.06261825561523,
100 "y": 569.0626125335693,
101 "z": "466fb936.055828",
106 "id": "2029e6ab.86d56a",
107 "type": "outcomeTrue",
109 "xml": "<outcome value='true'>\n",
112 "x": 698.0626335144043,
113 "y": 570.0625958442688,
114 "z": "466fb936.055828",
119 "id": "2e6936ec.48046a",
120 "type": "outcomeTrue",
122 "xml": "<outcome value='true'>\n",
125 "x": 710.0626335144043,
126 "y": 648.0625958442688,
127 "z": "466fb936.055828",
132 "id": "93c62735.b84128",
133 "type": "outcomeTrue",
135 "xml": "<outcome value='false'>\n",
138 "x": 306.06256103515625,
139 "y": 650.0625848770142,
140 "z": "466fb936.055828",
145 "id": "9a8815be.418328",
146 "type": "outcomeTrue",
148 "xml": "<outcome value='false'>\n",
151 "x": 287.0626792907715,
152 "y": 825.062798500061,
153 "z": "466fb936.055828",
158 "id": "4d6d15f8.1b9b4c",
160 "name": "execute Properties",
161 "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",
164 "x": 515.0313491821289,
165 "y": 344.0312690734863,
166 "z": "466fb936.055828",
171 "id": "80ed299a.78d1a8",
173 "name": "block : atomic",
174 "xml": "<block atomic=\"true\">",
177 "x": 230.0312728881836,
178 "y": 324.03124618530273,
179 "z": "466fb936.055828",
181 ["4d6d15f8.1b9b4c", "a0a6d830.765c48", "8812e145.1ac5", "41f333f8.6ba35c"]
184 "id": "8812e145.1ac5",
185 "type": "switchNode",
186 "name": "switch network-id",
187 "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
190 "x": 515.0312805175781,
191 "y": 282.03125953674316,
192 "z": "466fb936.055828",
194 ["5f790529.705d5c", "7efb546.7f035ac"]
197 "id": "5f790529.705d5c",
200 "xml": "<outcome value=''>",
203 "x": 764.0313568115234,
204 "y": 221.03125953674316,
205 "z": "466fb936.055828",
210 "id": "1ac38277.051efe",
212 "name": "generate tmp.ar.allotted-resource-id",
213 "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",
216 "x": 1024.0314407348633,
217 "y": 224.03128719329834,
218 "z": "466fb936.055828",
223 "id": "98d0b4b2.0b3c38",
226 "xml": "<outcome value='failure'>\n",
229 "x": 1289.0314102172852,
230 "y": 228.03125476837158,
231 "z": "466fb936.055828",
236 "id": "c0709980.ccdd88",
237 "type": "returnFailure",
238 "name": "return failure",
239 "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",
241 "x": 1455.031364440918,
242 "y": 228.03126907348633,
243 "z": "466fb936.055828",
246 "id": "7efb546.7f035ac",
249 "xml": "<outcome value='Other'>\n",
252 "x": 761.5312538146973,
253 "y": 269.03125381469727,
254 "z": "466fb936.055828",
259 "id": "41f333f8.6ba35c",
260 "type": "returnSuccess",
261 "name": "return success",
262 "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",
264 "x": 391.0313262939453,
265 "y": 963.031286239624,
266 "z": "466fb936.055828",
269 "id": "f3f6e1a2.fe953",
276 "x": 479.0313606262207,
277 "y": 826.0314350128174,
278 "z": "466fb936.055828",
283 "id": "c8daa82e.9fce08",
285 "name": "save-specification-block : atomic",
286 "xml": "<block atomic=\"true\">",
290 "x": 979.0312728881836,
291 "y": 399.0351710319519,
292 "z": "466fb936.055828",
294 ["6bc05eb3.30cd7", "57cf6e7.812929"]
297 "id": "6ba5fffc.f4ad7",
299 "name": "find-specifications-block : atomic",
300 "xml": "<block atomic=\"true\">",
304 "x": 978.7812538146973,
305 "y": 602.0351667404175,
306 "z": "466fb936.055828",
311 "id": "d0de9da2.b12a1",
312 "type": "switchNode",
313 "name": "switch service-data.networks_length",
314 "xml": "<switch test='`$service-data.networks.network_length`'>\n",
317 "x": 1334.2816543579102,
318 "y": 595.0352249145508,
319 "z": "466fb936.055828",
321 ["eee3aaf2.4e1838", "caad3ab3.bd09f8"]
324 "id": "eee3aaf2.4e1838",
327 "xml": "<outcome value=''>\n",
330 "x": 1645.281639099121,
331 "y": 561.0352354049683,
332 "z": "466fb936.055828",
337 "id": "caad3ab3.bd09f8",
340 "xml": "<outcome value='Other'>\n",
343 "x": 1359.2815399169922,
344 "y": 691.0352286999114,
345 "z": "466fb936.055828",
350 "id": "cbf10816.ac73a8",
357 "x": 1503.638584136963,
358 "y": 690.9717406933196,
359 "z": "466fb936.055828",
361 ["a9f2a6d9.fdb6e8", "7e85e3b5.a6f3bc"]
364 "id": "65406436.592e1c",
366 "name": "set nidx and isExist",
367 "xml": "<set>\n<parameter name='nidx' value='0' />\n<parameter name='isExist' value='false' />",
369 "x": 1820.781593322754,
370 "y": 560.0352621371858,
371 "z": "466fb936.055828",
374 "id": "7e85e3b5.a6f3bc",
376 "name": "set nidx and isExist",
377 "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n<parameter name='isExist' value='false' />",
379 "x": 1664.3372344970703,
380 "y": 649.5909099578857,
381 "z": "466fb936.055828",
384 "id": "a9f2a6d9.fdb6e8",
386 "name": "for each existing network",
387 "xml": "<for index='idx' start='0' end='`$nidx`' >\n",
390 "x": 1692.7656631469727,
391 "y": 702.8129920959473,
392 "z": "466fb936.055828",
397 "id": "cddfa0c7.227f2",
399 "name": "set nidx and isExist",
400 "xml": "<set>\n<parameter name='nidx' value='`$idx`' />\n<parameter name='isExist' value='true' />",
402 "x": 1990.0327377319336,
403 "y": 963.0360021591187,
404 "z": "466fb936.055828",
407 "id": "6bc05eb3.30cd7",
409 "name": "set network in service-data",
410 "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",
412 "x": 1287.0312728881836,
413 "y": 520.0351710319519,
414 "z": "466fb936.055828",
417 "id": "57cf6e7.812929",
418 "type": "switchNode",
419 "name": "switch service-data.networks_length",
420 "xml": "<switch test='`$service-data.networks.network_length`'>\n",
423 "x": 1312.0312576293945,
424 "y": 334.0351576805115,
425 "z": "466fb936.055828",
427 ["6def6bb2.720534", "62d4e9db.968648"]
430 "id": "6def6bb2.720534",
433 "xml": "<outcome value=''>\n",
436 "x": 1261.0313568115234,
437 "y": 404.03520250320435,
438 "z": "466fb936.055828",
443 "id": "42684448.095b0c",
446 "xml": "<set>\n<parameter name='nidx' value='0' />",
448 "x": 1394.531265258789,
449 "y": 403.03520154953003,
450 "z": "466fb936.055828",
453 "id": "62d4e9db.968648",
456 "xml": "<outcome value='Other'>\n",
459 "x": 1258.0311431884766,
460 "y": 452.03520154953003,
461 "z": "466fb936.055828",
466 "id": "1c54c402.97ae9c",
469 "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />",
471 "x": 1395.0870819091797,
472 "y": 448.59086656570435,
473 "z": "466fb936.055828",
476 "id": "86478f6e.a1403",
478 "name": "set network in service-data",
479 "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",
481 "x": 2011.5335006713867,
482 "y": 1414.0322880744934,
483 "z": "466fb936.055828",
486 "id": "c1980d30.dbf2",
488 "name": "copy-specifications-block : atomic",
489 "xml": "<block atomic=\"true\">",
493 "x": 1714.2819137573242,
494 "y": 1057.0315475463867,
495 "z": "466fb936.055828",
497 ["cddfa0c7.227f2", "86478f6e.a1403", "dfb04fab.ed1a7", "b30b3f22.cb27b", "a9852da1.230d4"]
500 "id": "dfb04fab.ed1a7",
501 "type": "switchNode",
502 "name": "switch service-data.networks_length",
503 "xml": "<switch test='`$service-data.networks.network[$nidx].network-data.network-request-input.network-input-parameters.param_length`'>\n",
506 "x": 2062.031852722168,
507 "y": 1044.0314559936523,
508 "z": "466fb936.055828",
510 ["d52a368d.901a78", "51e9b139.d035f"]
513 "id": "d52a368d.901a78",
516 "xml": "<outcome value=''>\n",
519 "x": 2288.0317039489746,
520 "y": 1019.0313835144043,
521 "z": "466fb936.055828",
526 "id": "3b2e0779.e087b8",
528 "name": "set param_length",
529 "xml": "<set>\n<parameter name='param_length' value='0' />",
531 "x": 2474.531539916992,
532 "y": 1017.0313892657869,
533 "z": "466fb936.055828",
536 "id": "51e9b139.d035f",
539 "xml": "<outcome value='Other'>\n",
542 "x": 2284.031669616699,
543 "y": 1074.0314292907715,
544 "z": "466fb936.055828",
549 "id": "739fd4a6.e0fb7c",
551 "name": "set param_length",
552 "xml": "<set>\n<parameter name='param_length' value='`$service-data.networks.network[$nidx].network-data.network-request-input.network-input-parameters.param_length`' />",
554 "x": 2472.781608581543,
555 "y": 1074.0314140319824,
556 "z": "466fb936.055828",
559 "id": "b30b3f22.cb27b",
561 "name": "for each existing params",
562 "xml": "<for index='pidx' start='0' end='`$param_length`' >\n",
565 "x": 2018.7821884155273,
566 "y": 1298.0316619873047,
567 "z": "466fb936.055828",
572 "id": "113a4fa3.2b489",
574 "name": "set input_param_length",
575 "xml": "<set>\n<parameter name='input_param_length' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' />",
577 "x": 2495.7822265625,
578 "y": 1203.5315532684326,
579 "z": "466fb936.055828",
582 "id": "a9852da1.230d4",
583 "type": "switchNode",
584 "name": "switch network-input-parameters_length",
585 "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`'>\n",
588 "x": 2069.78182220459,
589 "y": 1145.5314140319824,
590 "z": "466fb936.055828",
592 ["5d6fa77d.42d9d8", "45ce065b.ba7088"]
595 "id": "45ce065b.ba7088",
598 "xml": "<outcome value=''>\n",
601 "x": 2303.781707763672,
602 "y": 1140.5314292907715,
603 "z": "466fb936.055828",
608 "id": "5d6fa77d.42d9d8",
611 "xml": "<outcome value='Other'>\n",
614 "x": 2302.781764984131,
615 "y": 1206.5313997268677,
616 "z": "466fb936.055828",
621 "id": "6913f557.72833c",
623 "name": "set input_param_length",
624 "xml": "<set>\n<parameter name='input_param_length' value='0' />",
626 "x": 2492.7816772460938,
627 "y": 1141.5314445495605,
628 "z": "466fb936.055828",
631 "id": "2f59a503.48761a",
633 "name": "set specification_to_input_param",
634 "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].`' />",
636 "x": 2330.781837463379,
637 "y": 1298.0316753387451,
638 "z": "466fb936.055828",
641 "id": "18c98a96.bb5695",
643 "name": "if contains specification",
644 "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",
647 "x": 1675.531478881836,
648 "y": 777.0313911437988,
649 "z": "466fb936.055828",
654 "id": "b2839f92.141df",
656 "name": "if contains model-name",
657 "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",
660 "x": 1669.7812728881836,
661 "y": 834.0313153266907,
662 "z": "466fb936.055828",
667 "id": "888a566a.fb8378",
668 "type": "outcomeTrue",
670 "xml": "<outcome value='true'>\n",
673 "x": 1866.7813625335693,
674 "y": 776.0312671661377,
675 "z": "466fb936.055828",
680 "id": "1aa8258a.890e3a",
681 "type": "outcomeTrue",
683 "xml": "<outcome value='true'>\n",
686 "x": 1873.0313606262207,
687 "y": 831.0313777923584,
688 "z": "466fb936.055828",
693 "id": "1664dd11.e34933",
695 "name": "contains FcPort",
696 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"FcPort\"/>\n",
699 "x": 507.03125762939453,
701 "z": "466fb936.055828",
703 ["f55cd673.6b7048", "9a8815be.418328"]
706 "id": "f55cd673.6b7048",
707 "type": "outcomeTrue",
709 "xml": "<outcome value='true'>\n",
712 "x": 702.0313415527344,
713 "y": 721.0312824249268,
714 "z": "466fb936.055828",
719 "id": "7376171f.8378c8",
720 "type": "outcomeTrue",
722 "xml": "<outcome value='false'>\n",
725 "x": 298.03126525878906,
726 "y": 722.0312213897705,
727 "z": "466fb936.055828",