3 "id": "86ab255a.7522f8",
7 "x": 110.23809051513672,
8 "y": 45.23809242248535,
9 "z": "58bca720.478948",
17 "id": "678d9d6c.30b764",
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": 213.14283752441406,
26 "y": 119.5238208770752,
27 "z": "58bca720.478948",
35 "id": "b2221892.cef528",
37 "name": "generate-panorama-name",
38 "xml": "<method rpc='generate-panorama-name' mode='sync'>\n",
41 "x": 203.8215560913086,
42 "y": 205.95234966278076,
43 "z": "58bca720.478948",
51 "id": "3d24b231.0488de",
53 "name": "SliStringUtils - untrusted name length",
54 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='getLength' >\n <parameter name=\"source\" value=\"`$new-name`\" />\n <parameter name=\"outputPath\" value=\"tmp.strlen\"/>\n \n",
57 "x": 619.2857666015625,
58 "y": 451.9047336578369,
59 "z": "58bca720.478948",
65 "id": "209cc858.355be8",
67 "name": "switch strlen > 14",
68 "xml": "<switch test='`$tmp.strlen > 14`'>\n",
71 "x": 557.6191902160645,
72 "y": 506.6667060852051,
73 "z": "58bca720.478948",
82 "id": "5e19e3e9.a31dfc",
83 "type": "outcomeTrue",
85 "xml": "<outcome value='true'>\n",
88 "x": 748.0952911376953,
89 "y": 514.2856960296631,
90 "z": "58bca720.478948",
98 "id": "f283f234.fff93",
99 "type": "outcomeFalse",
101 "xml": "<outcome value='false'>\n",
104 "x": 750.0000343322754,
105 "y": 567.8571586608887,
106 "z": "58bca720.478948",
114 "id": "f0364dcb.e5f17",
116 "name": "block : atomic",
117 "xml": "<block atomic=\"true\">",
121 "x": 221.6666717529297,
122 "y": 288.33328199386597,
123 "z": "58bca720.478948",
145 "id": "64e4cd4b.fe6024",
147 "name": "SliStringUtils - split after .",
148 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n <parameter name=\"original_string\" value=\"`$original-name`\" />\n <parameter name=\"regex\" value=\"\\.\"/>\n <parameter name=\"limit\" value=\"2\" />\n <parameter name=\"ctx_memory_result_key\" value=\"splits\" />\n \n",
151 "x": 584.9999237060547,
152 "y": 365.0000514984131,
153 "z": "58bca720.478948",
159 "id": "cc102d9.0977bd",
161 "name": "block : atomic",
162 "xml": "<block atomic=\"true\">",
166 "x": 919.9999771118164,
167 "y": 514.9999675750732,
168 "z": "58bca720.478948",
176 "id": "237a8ded.5a3e32",
178 "name": "block : atomic",
179 "xml": "<block atomic=\"true\">",
183 "x": 918.3332824707031,
184 "y": 569.9999866485596,
185 "z": "58bca720.478948",
193 "id": "433f13a6.865dec",
195 "name": "set newname",
196 "xml": "<set>\n<parameter name='new-name' value='`$new-name`' />\n",
198 "x": 1111.666893005371,
199 "y": 568.3333539962769,
200 "z": "58bca720.478948",
204 "id": "66cd5e7f.c924a",
206 "name": "set original-name",
207 "xml": "<set>\n<parameter name='original-name' value='`$security-zone-topology-operation-input.security-zone-request-input.untrusted-network-role`' />\n",
209 "x": 563.3332672119141,
210 "y": 328.3333225250244,
211 "z": "58bca720.478948",
215 "id": "ea3b507a.625f2",
217 "name": "set newname",
218 "xml": "<set>\n<parameter name='new-name' value='`$splits[1]`' />\n",
220 "x": 991.666576385498,
221 "y": 380.6666660308838,
222 "z": "58bca720.478948",
226 "id": "41133073.515b5",
227 "type": "switchNode",
228 "name": "switch splits length",
229 "xml": "<switch test='`$splits_length`'>\n",
232 "x": 566.666633605957,
233 "y": 404.99998664855957,
234 "z": "58bca720.478948",
244 "id": "f70ab86.5576d48",
247 "xml": "<outcome value='1'>\n",
250 "x": 814.9999961853027,
251 "y": 350.0000400543213,
252 "z": "58bca720.478948",
260 "id": "a0a0b61d.244a98",
263 "xml": "<outcome value='2'>\n",
266 "x": 814.999927520752,
267 "y": 379.99999809265137,
268 "z": "58bca720.478948",
276 "id": "d7fc706c.8b686",
278 "name": "set newname",
279 "xml": "<set>\n<parameter name='new-name' value='`$splits[0]`' />\n",
281 "x": 988.3331985473633,
282 "y": 345.00002574920654,
283 "z": "58bca720.478948",
287 "id": "41e61d00.f9cea4",
290 "xml": "<outcome value='Other'>\n",
293 "x": 801.6666374206543,
294 "y": 413.3333396911621,
295 "z": "58bca720.478948",
303 "id": "f60e104a.d022b",
304 "type": "returnFailure",
305 "name": "return failure",
306 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Unexpected network role used for panorama naming' />\n",
308 "x": 993.333324432373,
309 "y": 413.3333559036255,
310 "z": "58bca720.478948",
314 "id": "18e960c5.ed36bf",
316 "name": "SliStringUtils - 14 len substring",
317 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring' >\n <parameter name=\"string\" value=\"`$new-name`\" />\n <parameter name=\"result\" value=\"new-name\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"14\" />\n \n",
320 "x": 1168.3332061767578,
321 "y": 503.33331966400146,
322 "z": "58bca720.478948",
328 "id": "f88531c9.a42ed",
330 "name": "SliStringUtils - untrusted name length",
331 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='getLength' >\n <parameter name=\"source\" value=\"`$new-name`\" />\n <parameter name=\"outputPath\" value=\"tmp.strlen\"/>\n \n",
334 "x": 618.3332824707031,
335 "y": 799.9999866485596,
336 "z": "58bca720.478948",
342 "id": "969e46d2.b374b8",
343 "type": "switchNode",
344 "name": "switch strlen > 14",
345 "xml": "<switch test='`$tmp.strlen > 14`'>\n",
348 "x": 556.6667060852051,
349 "y": 854.7619590759277,
350 "z": "58bca720.478948",
359 "id": "2eb1e963.8f58a6",
360 "type": "outcomeTrue",
362 "xml": "<outcome value='true'>\n",
365 "x": 747.1428070068359,
366 "y": 862.3809490203857,
367 "z": "58bca720.478948",
375 "id": "af892ecf.e3fc8",
376 "type": "outcomeFalse",
378 "xml": "<outcome value='false'>\n",
381 "x": 749.047550201416,
382 "y": 915.9524116516113,
383 "z": "58bca720.478948",
391 "id": "5b9cfe55.47f8e",
393 "name": "SliStringUtils - split after .",
394 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n <parameter name=\"original_string\" value=\"`$original-name`\" />\n <parameter name=\"regex\" value=\"\\.\"/>\n <parameter name=\"limit\" value=\"2\" />\n <parameter name=\"ctx_memory_result_key\" value=\"splits\" />\n \n",
397 "x": 584.0474395751953,
398 "y": 713.0953044891357,
399 "z": "58bca720.478948",
405 "id": "22bdc134.447f8e",
407 "name": "block : atomic",
408 "xml": "<block atomic=\"true\">",
412 "x": 919.047492980957,
413 "y": 863.0952205657959,
414 "z": "58bca720.478948",
422 "id": "b9e7b020.1beb",
424 "name": "block : atomic",
425 "xml": "<block atomic=\"true\">",
429 "x": 917.3807983398438,
430 "y": 918.0952396392822,
431 "z": "58bca720.478948",
439 "id": "b4fb00b0.5d6e",
441 "name": "set newname",
442 "xml": "<set>\n<parameter name='new-name' value='`$new-name`' />\n",
444 "x": 1110.7144088745117,
445 "y": 916.4286069869995,
446 "z": "58bca720.478948",
450 "id": "a3bbbbad.a464e8",
452 "name": "set original-name",
453 "xml": "<set>\n<parameter name='original-name' value='`$security-zone-topology-operation-input.security-zone-request-input.trusted-network-role`' />\n",
455 "x": 562.3807830810547,
456 "y": 676.4285755157471,
457 "z": "58bca720.478948",
461 "id": "a908f194.577e2",
463 "name": "set newname",
464 "xml": "<set>\n<parameter name='new-name' value='`$splits[1]`' />\n",
466 "x": 990.7140922546387,
467 "y": 728.7619190216064,
468 "z": "58bca720.478948",
472 "id": "c675a56.6ee6d58",
473 "type": "switchNode",
474 "name": "switch splits length",
475 "xml": "<switch test='`$splits_length`'>\n",
478 "x": 565.7141494750977,
479 "y": 753.0952396392822,
480 "z": "58bca720.478948",
490 "id": "db39b4ca.681638",
493 "xml": "<outcome value='1'>\n",
496 "x": 814.0475120544434,
497 "y": 698.095293045044,
498 "z": "58bca720.478948",
506 "id": "b28e57b5.d7f178",
509 "xml": "<outcome value='2'>\n",
512 "x": 814.0474433898926,
513 "y": 728.095251083374,
514 "z": "58bca720.478948",
522 "id": "c17629d6.f61e28",
524 "name": "set newname",
525 "xml": "<set>\n<parameter name='new-name' value='`$splits[0]`' />\n",
527 "x": 987.3807563781738,
528 "y": 693.0952663421631,
529 "z": "58bca720.478948",
533 "id": "97c9e8ea.f63768",
536 "xml": "<outcome value='Other'>\n",
539 "x": 800.7141532897949,
540 "y": 761.4285926818848,
541 "z": "58bca720.478948",
549 "id": "6cb0731e.f3e13c",
550 "type": "returnFailure",
551 "name": "return failure",
552 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Unexpected network role used for panorama naming' />\n",
554 "x": 992.3808403015137,
555 "y": 761.4286088943481,
556 "z": "58bca720.478948",
560 "id": "4f716d08.83a7d4",
562 "name": "SliStringUtils - 14 len substring",
563 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring' >\n <parameter name=\"string\" value=\"`$new-name`\" />\n <parameter name=\"result\" value=\"new-name\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"14\" />\n \n",
566 "x": 1167.3807220458984,
567 "y": 851.4285726547241,
568 "z": "58bca720.478948",
574 "id": "675c7c6.f01b184",
576 "name": "set trust and untrust sz name",
577 "xml": "<set>\n<parameter name='tmp.trust-sz' value='$TenantOAMNetworkRole_$LandingNetworkRole_T' />\n<parameter name='tmp.untrust-sz' value='$TenantOAMNetworkRole_$LandingNetworkRole_U' />\n",
579 "x": 599.9999084472656,
580 "y": 289.999960899353,
581 "z": "58bca720.478948",
585 "id": "8effe6b3.282828",
587 "name": "execute SliStringUtils - replace TenantOAMNetworkRole - trust-sz",
588 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.trust-sz`\"/>\n <parameter name=\"outputPath\" value=\"tmp.trust-sz\"/>\n <parameter name=\"target\" value=\"$TenantOAMNetworkRole\"/>\n <parameter name=\"replacement\" value=\"`$new-name`\"/>\n\n",
591 "x": 706.9049072265625,
592 "y": 611.1904067993164,
593 "z": "58bca720.478948",
599 "id": "94f4e81f.b72c58",
601 "name": "execute SliStringUtils - replace LandingNetworkRole - trust-sz",
602 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.trust-sz`\"/>\n <parameter name=\"outputPath\" value=\"tmp.trust-sz\"/>\n <parameter name=\"target\" value=\"$LandingNetworkRole\"/>\n <parameter name=\"replacement\" value=\"`$new-name`\"/>\n\n",
605 "x": 692.5240325927734,
606 "y": 985.7141342163086,
607 "z": "58bca720.478948",
613 "id": "1956129b.dcb17d",
615 "name": "execute SliStringUtils - replace LandingNetworkRole untrust-sz",
616 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.untrust-sz`\"/>\n <parameter name=\"outputPath\" value=\"tmp.untrust-sz\"/>\n <parameter name=\"target\" value=\"$LandingNetworkRole\"/>\n <parameter name=\"replacement\" value=\"`$new-name`\"/>\n\n",
619 "x": 690.6665954589844,
620 "y": 1018.8092594146729,
621 "z": "58bca720.478948",
627 "id": "67ad6570.58f12c",
629 "name": "execute SliStringUtils - replace TenantOAMNetworkRole - untrust-sz",
630 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.untrust-sz`\"/>\n <parameter name=\"outputPath\" value=\"tmp.untrust-sz\"/>\n <parameter name=\"target\" value=\"$TenantOAMNetworkRole\"/>\n <parameter name=\"replacement\" value=\"`$new-name`\"/>\n\n",
633 "x": 711.6665954589844,
634 "y": 643.3332996368408,
635 "z": "58bca720.478948",
641 "id": "e32a37ab.31d3f8",
644 "xml": "<outcome value='1'>\n",
647 "x": 814.9999084472656,
648 "y": 316.66665840148926,
649 "z": "58bca720.478948",