3 "id": "e4ebdff3.230ac",
7 "x": 153.7037124633789,
8 "y": 150.37034606933594,
9 "z": "38cff129.fc152e",
17 "id": "b4010019.28c11",
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": 232.32273864746094,
26 "y": 190.60845851898193,
27 "z": "38cff129.fc152e",
35 "id": "d0b7800c.ff6ae",
37 "name": "security-zone-topology-operation",
38 "xml": "<method rpc='security-zone-topology-operation' mode='sync'>\n",
41 "x": 216.79901123046875,
42 "y": 250.3703441619873,
43 "z": "38cff129.fc152e",
51 "id": "1d74440d.0be21c",
53 "name": "SECURITY-ZONE-TOPOLOGY-OPERATION ",
56 "x": 544.7152328491211,
57 "y": 97.95668983459473,
58 "z": "38cff129.fc152e",
62 "id": "5cabda26.cb2e34",
64 "name": "block : atomic",
65 "xml": "<block atomic=\"true\">",
68 "x": 270.084716796875,
69 "y": 333.81380558013916,
70 "z": "38cff129.fc152e",
81 "id": "8572d942.568b08",
82 "type": "returnSuccess",
83 "name": "return success",
84 "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",
86 "x": 494.4537658691406,
87 "y": 937.6564655303955,
88 "z": "38cff129.fc152e",
92 "id": "a4dc8e17.f43eb",
94 "name": "switch svc-action",
95 "xml": "<switch test='`$security-zone-topology-operation-input.sdnc-request-header.svc-action`'>\n",
98 "x": 491.0846405029297,
99 "y": 544.2275238037109,
100 "z": "38cff129.fc152e",
114 "id": "3b96ffc6.57b1a",
117 "xml": "<outcome value='assign'>\n",
120 "x": 712.9894676208496,
121 "y": 405.0846047401428,
122 "z": "38cff129.fc152e",
130 "id": "aa516bcc.267f38",
132 "name": "block : atomic",
133 "xml": "<block atomic=\"true\">",
136 "x": 892.7989959716797,
137 "y": 407.51329612731934,
138 "z": "38cff129.fc152e",
146 "id": "8f606133.785f7",
148 "name": "call GENERIC-RESOURCE-API:validate-security-zone-input",
149 "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-security-zone-input' mode='sync' >\n",
152 "x": 625.6560668945312,
153 "y": 325.7989387512207,
154 "z": "38cff129.fc152e",
160 "id": "f56f040a.9ba298",
162 "name": "call GENERIC-RESOURCE-API:security-zone-topology-operation-assign",
163 "xml": "<call module='GENERIC-RESOURCE-API' rpc='security-zone-topology-operation-assign' mode='sync' >\n",
166 "x": 1264.3702926635742,
167 "y": 407.37035179138184,
168 "z": "38cff129.fc152e",
174 "id": "2254507e.315a2",
177 "xml": "<outcome value='activate'>\n",
180 "x": 713.3703765869141,
181 "y": 494.37034606933594,
182 "z": "38cff129.fc152e",
190 "id": "2b87dbfe.7ba6e4",
192 "name": "block : atomic",
193 "xml": "<block atomic=\"true\">",
196 "x": 897.6085357666016,
197 "y": 495.37046813964844,
198 "z": "38cff129.fc152e",
206 "id": "e8d2423f.a9142",
208 "name": "call GENERIC-RESOURCE-API:network-topology-operation-activate",
209 "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-activate' mode='sync' >\n",
212 "x": 1830.1800549825039,
213 "y": 1470.5608215332031,
214 "z": "38cff129.fc152e",
220 "id": "e31135d3.dc53d8",
222 "name": "deactivate",
223 "xml": "<outcome value='deactivate'>\n",
226 "x": 722.3704166412354,
227 "y": 554.3704042434692,
228 "z": "38cff129.fc152e",
236 "id": "39e52589.68fa0a",
238 "name": "block : atomic",
239 "xml": "<block atomic=\"true\">",
242 "x": 903.6085758209229,
243 "y": 555.3705263137817,
244 "z": "38cff129.fc152e",
252 "id": "ed015722.b22218",
254 "name": "call GENERIC-RESOURCE-API:network-topology-operation-deactivate",
255 "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-deactivate' mode='sync' >\n",
258 "x": 1836.6799634297695,
259 "y": 1586.3108215332031,
260 "z": "38cff129.fc152e",
266 "id": "f3af2581.6384d8",
269 "xml": "<outcome value='unassign'>\n",
272 "x": 720.370439529419,
273 "y": 672.7037439346313,
274 "z": "38cff129.fc152e",
282 "id": "5b1c51a7.e6aa7",
284 "name": "block : atomic",
285 "xml": "<block atomic=\"true\">",
288 "x": 901.6085987091064,
289 "y": 673.7038660049438,
290 "z": "38cff129.fc152e",
298 "id": "1d34f9a1.037d66",
300 "name": "call GENERIC-RESOURCE-API:network-topology-operation-unassign",
301 "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-unassign' mode='sync' >\n",
304 "x": 1843.4299634297695,
305 "y": 1699.0608215332031,
306 "z": "38cff129.fc152e",
312 "id": "928514d5.296ba8",
315 "xml": "<outcome value='Other'>\n",
318 "x": 719.7037696838379,
319 "y": 732.7037267684937,
320 "z": "38cff129.fc152e",
328 "id": "4e2016c4.9e9208",
329 "type": "returnFailure",
330 "name": "return failure",
331 "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=\"sdnc-request-header.svc-action is a required input\" />\n",
333 "x": 901.7037658691406,
334 "y": 731.7037363052368,
335 "z": "38cff129.fc152e",
339 "id": "b962e00e.873c9",
341 "name": "Set final indicator to Y",
342 "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
344 "x": 513.4814605712891,
345 "y": 896.8148040771484,
346 "z": "38cff129.fc152e",
350 "id": "970980ab.4166",
352 "name": "for nidx..service-data.networks.network[]",
353 "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
356 "x": 1732.1008466084804,
357 "y": 1364.465576171875,
358 "z": "38cff129.fc152e",
366 "id": "cec76c20.78cb4",
367 "type": "switchNode",
368 "name": "switch service-data.networks.network_length",
369 "xml": "<switch test='`$service-data.networks.network_length`'>\n",
372 "x": 1065.8149426778164,
373 "y": 1329.0369567871094,
374 "z": "38cff129.fc152e",
383 "id": "5fff2a9.d7e8dd4",
385 "name": "outcome Null",
386 "xml": "<outcome value=''>\n",
389 "x": 1308.81488164266,
390 "y": 1331.0369663238525,
391 "z": "38cff129.fc152e",
399 "id": "94eadb3a.e3a458",
402 "xml": "<outcome value='Other'>\n",
405 "x": 1262.8149121602382,
406 "y": 1364.0369873046875,
407 "z": "38cff129.fc152e",
415 "id": "7c375e30.6abc8",
416 "type": "switchNode",
417 "name": "switch networkid found",
418 "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
421 "x": 2022.5293973286953,
422 "y": 1363.7156600952148,
423 "z": "38cff129.fc152e",
431 "id": "43582bb0.126264",
432 "type": "outcomeTrue",
434 "xml": "<outcome value='true'>\n",
437 "x": 2211.4817517598476,
438 "y": 1364.6083984375,
439 "z": "38cff129.fc152e",
447 "id": "e72ed2b6.760d4",
449 "name": "set tmp.nidx and ctx.network-data",
450 "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
452 "x": 2445.0135205586757,
453 "y": 1363.3584060668945,
454 "z": "38cff129.fc152e",
458 "id": "1533495c.2f7d47",
460 "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
463 "x": 1188.9260266621914,
464 "y": 1298.036979675293,
465 "z": "38cff129.fc152e",
469 "id": "a0ca271a.2df248",
470 "type": "returnFailure",
471 "name": "return failure",
472 "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
474 "x": 1500.592439015707,
475 "y": 1328.9259643554688,
476 "z": "38cff129.fc152e",
480 "id": "955a1867.ed1ea8",
482 "name": "block : atomic",
483 "xml": "<block atomic=\"true\">",
486 "x": 1430.0848782857265,
487 "y": 1363.5915641784668,
488 "z": "38cff129.fc152e",
497 "id": "a77bcb8b.e65188",
498 "type": "switchNode",
499 "name": "switch tmp.nidx ",
500 "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
503 "x": 1650.4022763570156,
504 "y": 1406.4487829208374,
505 "z": "38cff129.fc152e",
513 "id": "bbb7bbcb.e9d3e8",
514 "type": "returnFailure",
515 "name": "return failure",
516 "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
518 "x": 2003.25925954183,
519 "y": 1402.1630249023438,
520 "z": "38cff129.fc152e",
524 "id": "4037e2b3.df5d0c",
527 "xml": "<outcome value=''>\n",
530 "x": 1821.8308118184414,
531 "y": 1405.0201683044434,
532 "z": "38cff129.fc152e",
540 "id": "14c198e5.1cc677",
541 "type": "switchNode",
542 "name": "switch network-level-oper-status",
543 "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
546 "x": 1043.1482861836757,
547 "y": 1470.512222290039,
548 "z": "38cff129.fc152e",
557 "id": "3c6c6eae.28e612",
559 "name": "outcome PendingCreate",
560 "xml": "<outcome value='PendingCreate'>\n",
563 "x": 1408.148265838623,
564 "y": 1470.51220703125,
565 "z": "38cff129.fc152e",
573 "id": "103089d1.c81916",
576 "xml": "<outcome value='Other'>\n",
579 "x": 1358.1483128865566,
580 "y": 1510.5122375488281,
581 "z": "38cff129.fc152e",
589 "id": "e490ae22.d5bde",
590 "type": "returnFailure",
591 "name": "return failure",
592 "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=\"`'Network is not in appropriate state for activate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
594 "x": 1528.1483128865566,
595 "y": 1510.5122375488281,
596 "z": "38cff129.fc152e",
600 "id": "ab179e35.550b2",
601 "type": "switchNode",
602 "name": "switch network-level-oper-status",
603 "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
606 "x": 1050.4497693379726,
607 "y": 1586.463623046875,
608 "z": "38cff129.fc152e",
617 "id": "9d407a50.6f42b8",
619 "name": "outcome Created",
620 "xml": "<outcome value='Created'>\n",
623 "x": 1413.4497388203945,
624 "y": 1586.4636535644531,
625 "z": "38cff129.fc152e",
633 "id": "50a066bd.db29b8",
636 "xml": "<outcome value='Other'>\n",
639 "x": 1383.4497388203945,
640 "y": 1626.4636535644531,
641 "z": "38cff129.fc152e",
649 "id": "a5c499d0.8c9ba8",
650 "type": "returnFailure",
651 "name": "return failure",
652 "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=\"`'Network is not in appropriate state for deactivate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
654 "x": 1549.4497388203945,
655 "y": 1628.4636535644531,
656 "z": "38cff129.fc152e",
660 "id": "5487a9fc.903868",
661 "type": "switchNode",
662 "name": "switch network-level-oper-status",
663 "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
666 "x": 1050.2513440450039,
667 "y": 1700.665023803711,
668 "z": "38cff129.fc152e",
678 "id": "774c458d.4976ec",
680 "name": "outcome PendingCreate",
681 "xml": "<outcome value='PendingCreate'>\n",
684 "x": 1410.2513135274257,
685 "y": 1700.665054321289,
686 "z": "38cff129.fc152e",
694 "id": "ff4fd639.391848",
697 "xml": "<outcome value='Other'>\n",
700 "x": 1367.2512524922695,
701 "y": 1784.6650695800781,
702 "z": "38cff129.fc152e",
710 "id": "8f2347ed.c81b08",
711 "type": "returnFailure",
712 "name": "return failure",
713 "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=\"`'Network is not in appropriate state for unassign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
715 "x": 1558.5846722920742,
716 "y": 1783.3316984176636,
717 "z": "38cff129.fc152e",
721 "id": "9d8f3da4.83f8",
723 "name": "outcome PendingDelete",
724 "xml": "<outcome value='PendingDelete'>\n",
727 "x": 1413.4815381368007,
728 "y": 1738.512222290039,
729 "z": "38cff129.fc152e",
737 "id": "5ec79a58.8d5414",
740 "xml": "<outcome value='create'>\n",
743 "x": 718.611083984375,
744 "y": 453.97518730163574,
745 "z": "38cff129.fc152e",
753 "id": "5936e2cd.b6288c",
755 "name": "block : atomic",
756 "xml": "<block atomic=\"true\">",
759 "x": 899.8492431640625,
760 "y": 454.97530937194824,
761 "z": "38cff129.fc152e",
769 "id": "4a78d52c.c3db4c",
771 "name": "call GENERIC-RESOURCE-API:security-zone-topology-operation-create",
772 "xml": "<call module='GENERIC-RESOURCE-API' rpc='security-zone-topology-operation-create' mode='sync' >\n",
775 "x": 1265.7539520263672,
776 "y": 454.49903106689453,
777 "z": "38cff129.fc152e",
783 "id": "fd3e4e18.0df77",
786 "xml": "<outcome value='delete'>\n",
789 "x": 716.9444370269775,
790 "y": 615.6418466567993,
791 "z": "38cff129.fc152e",
799 "id": "d1afc7c1.5f5188",
801 "name": "block : atomic",
802 "xml": "<block atomic=\"true\">",
805 "x": 898.182596206665,
806 "y": 616.6419687271118,
807 "z": "38cff129.fc152e",
815 "id": "430726d9.dbdaa8",
817 "name": "call GENERIC-RESOURCE-API:security-zone-topology-operation-deactivate",
818 "xml": "<call module='GENERIC-RESOURCE-API' rpc='security-zone-topology-operation-deactivate' mode='sync' >\n",
821 "x": 1285.5184936523438,
822 "y": 554.851884841919,
823 "z": "38cff129.fc152e",
829 "id": "c0792090.5b78d",
831 "name": "call GENERIC-RESOURCE-API:security-zone-topology-operation-delete",
832 "xml": "<call module='GENERIC-RESOURCE-API' rpc='security-zone-topology-operation-delete' mode='sync' >\n",
835 "x": 1275.1853427886963,
836 "y": 616.5185136795044,
837 "z": "38cff129.fc152e",
843 "id": "5bc27941.d4f4f8",
845 "name": "call GENERIC-RESOURCE-API:security-zone-topology-operation-unassign",
846 "xml": "<call module='GENERIC-RESOURCE-API' rpc='security-zone-topology-operation-unassign' mode='sync' >\n",
849 "x": 1280.8518466949463,
850 "y": 673.8518400192261,
851 "z": "38cff129.fc152e",
857 "id": "49265f59.4181d",
859 "name": "call GENERIC-RESOURCE-API:security-zone-topology-operation-activate",
860 "xml": "<call module='GENERIC-RESOURCE-API' rpc='security-zone-topology-operation-activate' mode='sync' >\n",
863 "x": 1275.1851806640625,
864 "y": 495.851806640625,
865 "z": "38cff129.fc152e",
871 "id": "ef47642e.ee9758",
873 "name": "copy input to service-data",
874 "xml": "<set>\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",
876 "x": 524.4444580078125,
878 "z": "38cff129.fc152e",