3 "id": "aa22e363.5ad9c",
17 "id": "3634cf2d.3f674",
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": 245.28570556640625,
26 "y": 156.2381134033203,
27 "z": "e63010f0.f0847",
35 "id": "dc6b50ac.b14ae",
37 "name": "validate-network-input",
38 "xml": "<method rpc='validate-network-input' mode='sync'>\n",
41 "x": 245.42862701416016,
43 "z": "e63010f0.f0847",
51 "id": "60705b95.8e4c74",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
57 "x": 258.7500457763672,
58 "y": 500.44349479675293,
59 "z": "e63010f0.f0847",
72 "id": "424a6588.75405c",
74 "name": "switch svc-request-id",
75 "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-request-id`'>\n",
78 "x": 575.1428604125977,
79 "y": 226.42859077453613,
80 "z": "e63010f0.f0847",
88 "id": "3ab28c54.b072c4",
91 "xml": "<outcome value=''>",
94 "x": 800.8571646554128,
95 "y": 226.42859322684126,
96 "z": "e63010f0.f0847",
104 "id": "8d0406d6.b8ee88",
105 "type": "returnFailure",
106 "name": "return failure",
107 "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-request-id is a required input\" />\n",
109 "x": 952.2857306344167,
110 "y": 226.42859131949263,
111 "z": "e63010f0.f0847",
117 "id": "41aac9e2.714da8",
118 "type": "switchNode",
119 "name": "switch svc-action",
120 "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
123 "x": 563.7142333984375,
124 "y": 185.00002098083496,
125 "z": "e63010f0.f0847",
133 "id": "cc6829d4.0c5c98",
136 "xml": "<outcome value=''>",
139 "x": 799.4285850524902,
140 "y": 183.57141876220703,
141 "z": "e63010f0.f0847",
149 "id": "954a45b4.c4bd48",
150 "type": "returnFailure",
151 "name": "return failure",
152 "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",
154 "x": 949.4285583496094,
155 "y": 183.5714282989502,
156 "z": "e63010f0.f0847",
162 "id": "34794cd4.bfbb54",
163 "type": "switchNode",
164 "name": "switch request-action",
165 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
168 "x": 573.7142715454102,
169 "y": 269.285737991333,
170 "z": "e63010f0.f0847",
178 "id": "e865d69c.ca4628",
181 "xml": "<outcome value=''>",
184 "x": 800.8571602957591,
185 "y": 269.2857469831197,
186 "z": "e63010f0.f0847",
194 "id": "62d97ca4.f50d34",
195 "type": "returnFailure",
196 "name": "return failure",
197 "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=\"request-information.request-action is a required input\" />\n",
199 "x": 952.285726274763,
200 "y": 269.28574507577105,
201 "z": "e63010f0.f0847",
207 "id": "aba5bba0.164998",
208 "type": "switchNode",
209 "name": "switch service-instance-id",
210 "xml": "<switch test='`$network-topology-operation-input.service-information.service-instance-id`'>\n",
213 "x": 582.857177734375,
215 "z": "e63010f0.f0847",
223 "id": "752234db.04545c",
226 "xml": "<outcome value=''>",
229 "x": 799.2857666015625,
231 "z": "e63010f0.f0847",
239 "id": "adc2cc4f.6110e",
240 "type": "returnFailure",
241 "name": "return failure",
242 "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=\"service-information.service-instance-id is a required input\" />\n",
244 "x": 957.7142944335938,
246 "z": "e63010f0.f0847",
252 "id": "fdca37a9.e0d4a8",
254 "name": "validate-network-input - CHANGELOG",
255 "info": "12/8: Initial release 1.0.0",
259 "z": "e63010f0.f0847",
265 "id": "763368b.8211298",
266 "type": "switchNode",
267 "name": "switch svc-action",
268 "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
273 "z": "e63010f0.f0847",
285 "id": "edb163d0.0d9bd",
288 "xml": "<outcome value='assign'>",
291 "x": 792.71435546875,
292 "y": 404.5714111328125,
293 "z": "e63010f0.f0847",
301 "id": "3d4debed.fa8d24",
304 "xml": "<outcome value='activate'>",
307 "x": 784.0000267028809,
308 "y": 554.0000276565552,
309 "z": "e63010f0.f0847",
317 "id": "5911863a.931558",
319 "name": "deactivate",
320 "xml": "<outcome value='deactivate'>",
323 "x": 778.0001068115234,
324 "y": 807.0000438690186,
325 "z": "e63010f0.f0847",
333 "id": "b6d654b8.2b85d8",
335 "name": "block : atomic",
336 "xml": "<block atomic=\"true\">",
342 "z": "e63010f0.f0847",
350 "id": "cc667ce6.4817a",
351 "type": "switchNode",
352 "name": "switch request-action",
353 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
358 "z": "e63010f0.f0847",
367 "id": "7fcba633.e86008",
369 "name": "CreateNetworkInstance",
370 "xml": "<outcome value='CreateNetworkInstance'>",
375 "z": "e63010f0.f0847",
383 "id": "e47a83a1.2fbbf",
386 "xml": "<outcome value='Other'>",
391 "z": "e63010f0.f0847",
399 "id": "11259f2c.2c5851",
400 "type": "returnFailure",
401 "name": "return failure",
402 "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=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
406 "z": "e63010f0.f0847",
412 "id": "5e9ccb62.4b0f94",
414 "name": "block : atomic",
415 "xml": "<block atomic=\"true\">",
418 "x": 958.0000267028809,
419 "y": 554.0000276565552,
420 "z": "e63010f0.f0847",
428 "id": "f4d087e.9b7c778",
429 "type": "switchNode",
430 "name": "switch request-action",
431 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
434 "x": 1175.0000267028809,
435 "y": 554.0000276565552,
436 "z": "e63010f0.f0847",
447 "id": "8b9f91c2.ef8f",
449 "name": "CreateNetworkInstance",
450 "xml": "<outcome value='CreateNetworkInstance'>",
453 "x": 1456.0000267028809,
454 "y": 555.0000276565552,
455 "z": "e63010f0.f0847",
463 "id": "e76466ea.614998",
466 "xml": "<outcome value='Other'>",
469 "x": 1399.0000267028809,
470 "y": 595.0000276565552,
471 "z": "e63010f0.f0847",
479 "id": "e0028710.cdce68",
480 "type": "returnFailure",
481 "name": "return failure",
482 "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=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=activate\" />\n",
484 "x": 1557.8573265075684,
485 "y": 594.4286479949951,
486 "z": "e63010f0.f0847",
492 "id": "c06357f6.b66898",
494 "name": "block : atomic",
495 "xml": "<block atomic=\"true\">",
498 "x": 960.0001068115234,
499 "y": 806.0000438690186,
500 "z": "e63010f0.f0847",
508 "id": "2c559a74.f14f66",
509 "type": "switchNode",
510 "name": "switch request-action",
511 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
514 "x": 1177.0001068115234,
515 "y": 806.0000438690186,
516 "z": "e63010f0.f0847",
527 "id": "e1815270.e3769",
529 "name": "DeleteNetworkInstance",
530 "xml": "<outcome value='DeleteNetworkInstance'>",
533 "x": 1458.0001068115234,
534 "y": 807.0000438690186,
535 "z": "e63010f0.f0847",
543 "id": "8e7d53d0.51ae3",
546 "xml": "<outcome value='Other'>",
549 "x": 1401.0001068115234,
550 "y": 847.0000438690186,
551 "z": "e63010f0.f0847",
559 "id": "a2922810.d680c8",
560 "type": "returnFailure",
561 "name": "return failure",
562 "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=\"request-information.request-action is required to be DeleteNetworkInstance for svc-action=deactivate\" />\n",
564 "x": 1570.000171661377,
565 "y": 849.8572053909302,
566 "z": "e63010f0.f0847",
572 "id": "f57cf7c2.b3c108",
575 "xml": "<outcome value='unassign'>",
578 "x": 774.0000762939453,
579 "y": 901.000020980835,
580 "z": "e63010f0.f0847",
588 "id": "e78f3cba.10d64",
590 "name": "block : atomic",
591 "xml": "<block atomic=\"true\">",
594 "x": 956.0001068115234,
595 "y": 897.0000438690186,
596 "z": "e63010f0.f0847",
604 "id": "7511951a.0ec48c",
605 "type": "switchNode",
606 "name": "switch request-action",
607 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
610 "x": 1173.0001068115234,
611 "y": 897.0000438690186,
612 "z": "e63010f0.f0847",
621 "id": "f3c5d913.c4c948",
623 "name": "DeleteNetworkInstance",
624 "xml": "<outcome value='DeleteNetworkInstance'>",
627 "x": 1454.0001068115234,
628 "y": 898.0000438690186,
629 "z": "e63010f0.f0847",
637 "id": "42b53453.819ecc",
640 "xml": "<outcome value='Other'>",
643 "x": 1397.0001068115234,
644 "y": 938.0000438690186,
645 "z": "e63010f0.f0847",
653 "id": "ee18c342.b25c6",
654 "type": "returnFailure",
655 "name": "return failure",
656 "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=\"request-information.request-action is required to be DeleteNetworkInstance for svc-action=unassign\" />\n",
658 "x": 1566.0001068115234,
659 "y": 938.0000438690186,
660 "z": "e63010f0.f0847",
666 "id": "90c22def.e3658",
668 "name": "block : atomic",
669 "xml": "<block atomic=\"true\">",
675 "z": "e63010f0.f0847",
690 "id": "a593db30.0056b8",
692 "name": "block : atomic",
693 "xml": "<block atomic=\"true\">",
697 "x": 1681.0000267028809,
698 "y": 555.0000276565552,
699 "z": "e63010f0.f0847",
713 "id": "936b8b06.a15328",
715 "name": "block : atomic",
716 "xml": "<block atomic=\"true\">",
720 "x": 1714.0001068115234,
721 "y": 808.0000438690186,
722 "z": "e63010f0.f0847",
730 "id": "aee90b8e.b2e688",
732 "name": "block : atomic",
733 "xml": "<block atomic=\"true\">",
737 "x": 1713.0001068115234,
738 "y": 899.0000438690186,
739 "z": "e63010f0.f0847",
747 "id": "7f804ef3.5d76a",
748 "type": "switchNode",
749 "name": "switch onap-model-information.model-uuid",
750 "xml": "<switch test='`$network-topology-operation-input.service-information.onap-model-information.model-uuid`'>\n",
753 "x": 2280.166816711426,
754 "y": 1175.7499980926514,
755 "z": "e63010f0.f0847",
764 "id": "1b080f63.6e5091",
765 "type": "switchNode",
766 "name": "switch network-information.network-id",
767 "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
770 "x": 2291.6665954589844,
771 "y": 342.666729927063,
772 "z": "e63010f0.f0847",
780 "id": "9fba2200.51e6c",
783 "xml": "<outcome value=''>",
786 "x": 2522.380714416504,
787 "y": 342.6667537689209,
788 "z": "e63010f0.f0847",
796 "id": "22a9013d.6fbafe",
797 "type": "returnFailure",
798 "name": "return failure",
799 "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=\"service-information.network-information.network-id is a required input\" />\n",
801 "x": 2683.8095474243164,
802 "y": 344.66674613952637,
803 "z": "e63010f0.f0847",
809 "id": "1c9e653c.7c448b",
811 "name": "validations - required for all",
816 "z": "e63010f0.f0847",
822 "id": "d7960cc9.37033",
824 "name": "validations specific per svc-action",
829 "z": "e63010f0.f0847",
835 "id": "87ae65e.0ad4198",
837 "name": "network-request-information block validations",
840 "x": 2283.5001525878906,
841 "y": 1027.7500467300415,
842 "z": "e63010f0.f0847",
848 "id": "85de231.44f83e",
849 "type": "switchNode",
850 "name": "switch network-request-information.tenant",
851 "xml": "<switch test='`$network-topology-operation-input.network-request-input.tenant`'>\n",
854 "x": 2280.5001525878906,
855 "y": 1077.7500467300415,
856 "z": "e63010f0.f0847",
864 "id": "9e25a0c.b03396",
867 "xml": "<outcome value=''>",
870 "x": 2522.2145080566406,
871 "y": 1079.7500467300415,
872 "z": "e63010f0.f0847",
880 "id": "e6e63c4d.e8316",
881 "type": "returnFailure",
882 "name": "return failure",
883 "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-request-input.tenant is a required input\" />\n",
885 "x": 2673.643096923828,
886 "y": 1077.7500467300415,
887 "z": "e63010f0.f0847",
893 "id": "126ed261.6d016e",
894 "type": "switchNode",
895 "name": "switch network-request-information.aic-cloud-region",
896 "xml": "<switch test='`$network-topology-operation-input.network-request-input.aic-cloud-region`'>\n",
899 "x": 2309.5001525878906,
900 "y": 1120.7500467300415,
901 "z": "e63010f0.f0847",
909 "id": "a58f9313.2cb",
912 "xml": "<outcome value=''>",
915 "x": 2571.2145080566406,
916 "y": 1120.7500467300415,
917 "z": "e63010f0.f0847",
925 "id": "8fa39600.8eb028",
926 "type": "returnFailure",
927 "name": "return failure",
928 "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=\"service-information.network-request-information.aic-cloud-region is a required input\" />\n",
930 "x": 2735.6429748535156,
931 "y": 1119.7500467300415,
932 "z": "e63010f0.f0847",
938 "id": "b947049a.5131d8",
939 "type": "switchNode",
940 "name": "switch onap-model-information.model-invariant-uuid",
941 "xml": "<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`'>\n",
944 "x": 2322.0001220703125,
945 "y": 851.750057220459,
946 "z": "e63010f0.f0847",
954 "id": "db1531a3.b01d4",
957 "xml": "<outcome value=''>",
960 "x": 2607.0001831054688,
961 "y": 850.7500514984131,
962 "z": "e63010f0.f0847",
970 "id": "227885fb.36f5fa",
971 "type": "returnFailure",
972 "name": "return failure",
973 "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-information.onap-model-information.model-invariant-uuid is a required input\" />\n",
975 "x": 2758.4286499023438,
976 "y": 849.7500514984131,
977 "z": "e63010f0.f0847",
983 "id": "670aca33.70fd54",
984 "type": "switchNode",
985 "name": "switch onap-model-information.model-uuid",
986 "xml": "<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`'>\n",
989 "x": 2294.1429138183594,
990 "y": 927.6072015762329,
991 "z": "e63010f0.f0847",
999 "id": "8cf55b72.906388",
1002 "xml": "<outcome value=''>",
1005 "x": 2535.1430053710938,
1006 "y": 928.6071376800537,
1007 "z": "e63010f0.f0847",
1015 "id": "db7c5eac.4b11f",
1016 "type": "returnFailure",
1017 "name": "return failure",
1018 "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-information.onap-model-information.model-uuid is a required input\" />\n",
1020 "x": 2700.5714721679688,
1021 "y": 926.6071071624756,
1022 "z": "e63010f0.f0847",
1028 "id": "c03efce7.798d8",
1030 "name": "network-information.onap-model-information block validations",
1033 "x": 2341.1432495117188,
1034 "y": 811.6071996688843,
1035 "z": "e63010f0.f0847",
1041 "id": "2fc8fc6.5a9a904",
1042 "type": "switchNode",
1043 "name": "switch onap-model-information.model-customization-uuid",
1044 "xml": "<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`'>\n",
1047 "x": 2340.0000610351562,
1048 "y": 886.750020980835,
1049 "z": "e63010f0.f0847",
1057 "id": "4023c1f8.6bfd8",
1060 "xml": "<outcome value=''>",
1063 "x": 2636.0000610351562,
1064 "y": 887.750020980835,
1065 "z": "e63010f0.f0847",
1073 "id": "533bebda.091e34",
1074 "type": "returnFailure",
1075 "name": "return failure",
1076 "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-information.onap-model-information.model-customization-uuid is a required input\" />\n",
1078 "x": 2783.4285278320312,
1079 "y": 887.750020980835,
1080 "z": "e63010f0.f0847",
1086 "id": "72fc5045.064b6",
1087 "type": "returnSuccess",
1088 "name": "return success",
1089 "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",
1091 "x": 565.3570747375488,
1092 "y": 720.6428346633911,
1093 "z": "e63010f0.f0847",
1099 "id": "11f179e3.c70cd6",
1100 "type": "switchNode",
1101 "name": "switch network-information.network-instance-group-id",
1102 "xml": "<switch test='`$network-topology-operation-input.network-information.network-instance-group-id`'>\n\n",
1105 "x": 2324.5001220703125,
1106 "y": 648.5835075378418,
1107 "z": "e63010f0.f0847",
1116 "id": "cdd839e9.ec2698",
1119 "xml": "<outcome value='Other'>",
1122 "x": 2614.250011444092,
1123 "y": 678.7501907348633,
1124 "z": "e63010f0.f0847",
1132 "id": "1d9acc4e.eabbc4",
1135 "xml": "<outcome value=''>",
1138 "x": 2611.91690826416,
1139 "y": 645.7500648498535,
1140 "z": "e63010f0.f0847",
1148 "id": "743b2b33.a39434",
1149 "type": "returnSuccess",
1150 "name": "return success",
1151 "xml": "<return status='success'>\n<parameter name='' value='' />\n",
1153 "x": 2772.2501373291016,
1154 "y": 642.7501220703125,
1155 "z": "e63010f0.f0847",
1161 "id": "3dca2e54.ce69e2",
1162 "type": "get-resource",
1163 "name": "get-resource NETWORK_MODEL",
1164 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from NETWORK_MODEL WHERE customization_uuid = $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid\n and service_uuid = $network-topology-operation-input.service-information.onap-model-information.model-uuid'\n pfx='network-model'>\n\n",
1167 "x": 2988.183319091797,
1168 "y": 1423.4285793304443,
1169 "z": "e63010f0.f0847",
1178 "id": "eab4a5c5.4ed798",
1179 "type": "returnFailure",
1180 "name": "return failure",
1181 "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=\"`'No network model found for customization UUID ' \n + $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid +\n ' and model-uuid ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n",
1183 "x": 3482.6474609375,
1184 "y": 1420.7260434627533,
1185 "z": "e63010f0.f0847",
1191 "id": "d78da022.8cc75",
1192 "type": "not-found",
1193 "name": "not-found",
1194 "xml": "<outcome value='not-found'>\n",
1197 "x": 3283.897472381592,
1198 "y": 1414.0832498073578,
1199 "z": "e63010f0.f0847",
1207 "id": "f68bd615.bb51f8",
1210 "xml": "<outcome value='failure'>\n",
1213 "x": 3277.647472381592,
1214 "y": 1446.5832498073578,
1215 "z": "e63010f0.f0847",
1223 "id": "3ae0b22b.798afe",
1225 "name": "for ngidx..service-data.network-instance-groups.network-instance-group[]",
1226 "xml": "<for index='ngidx' start='0' end='`$service-data.network-instance-groups.network-instance-_length`' >\n",
1229 "x": 4011.611541748047,
1230 "y": 715.9445762634277,
1231 "z": "e63010f0.f0847",
1239 "id": "bbac62ee.a9073",
1240 "type": "switchNode",
1241 "name": "service-data.network-instance-groups.network-instance-group_length",
1242 "xml": "<switch test='`$service-data.network-instance-groups.network-instance-group_length`'>\n",
1245 "x": 3098.3256912231445,
1246 "y": 677.0159721374512,
1247 "z": "e63010f0.f0847",
1256 "id": "89b19017.0f661",
1258 "name": "outcome Null",
1259 "xml": "<outcome value=''>\n",
1262 "x": 3463.575469970703,
1263 "y": 679.0159454345703,
1264 "z": "e63010f0.f0847",
1272 "id": "93771b0c.2e9b98",
1275 "xml": "<outcome value='Other'>\n",
1278 "x": 3443.575469970703,
1279 "y": 714.0159454345703,
1280 "z": "e63010f0.f0847",
1288 "id": "4c0b1766.0a1718",
1289 "type": "switchNode",
1290 "name": "switch network-instance-group-id found",
1291 "xml": "<switch test=\"`$service-data.network-instance-groups.network-instance-group[$nidx].network-instance-group-id == $network-topology-operation-input.network-information.network-instance-group-id`\">\n\n",
1294 "x": 4459.54020690918,
1295 "y": 715.6947593688965,
1296 "z": "e63010f0.f0847",
1304 "id": "3ff64f2b.a623f",
1305 "type": "outcomeTrue",
1307 "xml": "<outcome value='true'>\n",
1310 "x": 4705.99324798584,
1311 "y": 716.5876178741455,
1312 "z": "e63010f0.f0847",
1320 "id": "4e382840.fb0f58",
1322 "name": "set tmp.ngidx and ctx.network-instance-group-data",
1323 "xml": "<set>\n<parameter name='tmp.ngidx' value='`$ngidx`' />\n<parameter name='ctx.network-instance-group-data.' value='`$service-data.network-instance-groups.network-instance-group[$ngidx].`' />\n",
1325 "x": 5148.525215148926,
1326 "y": 716.3376426696777,
1327 "z": "e63010f0.f0847",
1333 "id": "e72fab17.7fdb88",
1335 "name": "block : atomic",
1336 "xml": "<block atomic=\"true\">",
1339 "x": 3644.845489501953,
1340 "y": 715.5705108642578,
1341 "z": "e63010f0.f0847",
1349 "id": "c8168426.fb2778",
1356 "x": 2748.3612670898438,
1357 "y": 679.1945953369141,
1358 "z": "e63010f0.f0847",
1366 "id": "54cf4a3b.259ea4",
1369 "xml": "<record plugin=\"com.att.sdnctl.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"GENERIC-RESOURCE-API.validate-network-input\"/>\n<parameter name=\"field3\" value=\"`$network-topology-operation-input.sdnc-request-header.svc-request-id`\"/>\n<parameter name=\"field4\" value=\"Network instance group id proveded but no network instance group exists that matches\"/>\n<parameter name=\"field5\" value=\"`$network-topology-operation-input.network-information.network-instance-group-id`\"/>\n\n\n\n",
1372 "x": 3624.861358642578,
1373 "y": 678.4445343017578,
1374 "z": "e63010f0.f0847",
1382 "id": "d394cc8b.d995",
1384 "name": "block : atomic",
1385 "xml": "<block atomic=\"true\">",
1388 "x": 4854.611686706543,
1389 "y": 716.444803237915,
1390 "z": "e63010f0.f0847",
1398 "id": "9aa6f4b4.608f88",
1401 "xml": "<outcome value=''>",
1404 "x": 2545.314895629883,
1405 "y": 1175.3426370620728,
1406 "z": "e63010f0.f0847",
1414 "id": "d32879df.ba1d98",
1417 "xml": "<outcome value='Other'>",
1420 "x": 2544.064929962158,
1421 "y": 1347.009298324585,
1422 "z": "e63010f0.f0847",
1430 "id": "29d015af.6147aa",
1431 "type": "get-resource",
1432 "name": "get-resource SERVICE_MODEL",
1433 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from SERVICE_MODEL WHERE service_uuid = $network-topology-operation-input.service-information.onap-model-information.model-uuid'\n pfx='service-model'>\n\n",
1436 "x": 2990.683303833008,
1437 "y": 1346.4933519363403,
1438 "z": "e63010f0.f0847",
1447 "id": "e084071b.6ae128",
1448 "type": "returnFailure",
1449 "name": "return failure",
1450 "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=\"`'No service model found for service UUID ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n",
1452 "x": 3472.7666091918945,
1453 "y": 1352.74343085289,
1454 "z": "e63010f0.f0847",
1460 "id": "c56537db.4b5cd8",
1461 "type": "not-found",
1462 "name": "not-found",
1463 "xml": "<outcome value='not-found'>\n",
1466 "x": 3274.016689300537,
1467 "y": 1348.1006467342377,
1468 "z": "e63010f0.f0847",
1476 "id": "f56013eb.5f3c2",
1479 "xml": "<outcome value='failure'>\n",
1482 "x": 3267.766689300537,
1483 "y": 1380.6006467342377,
1484 "z": "e63010f0.f0847",
1492 "id": "74e13aa.554f9c4",
1493 "type": "get-resource",
1494 "name": "get-resource NETWORK_MODEL",
1495 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from NETWORK_MODEL WHERE customization_uuid = $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid\n and service_uuid = $service-data.service-information.onap-model-information.model-uuid'\n pfx='network-model'>\n\n",
1498 "x": 2990.8693084716797,
1499 "y": 1248.1509647369385,
1500 "z": "e63010f0.f0847",
1509 "id": "2b174be8.841db4",
1510 "type": "returnFailure",
1511 "name": "return failure",
1512 "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=\"`'No network model found for customization UUID ' \n + $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid +\n ' and model-uuid ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n",
1514 "x": 3486.3335494995117,
1515 "y": 1247.4483096599579,
1516 "z": "e63010f0.f0847",
1522 "id": "3dd73bf.e9feec4",
1523 "type": "not-found",
1524 "name": "not-found",
1525 "xml": "<outcome value='not-found'>\n",
1528 "x": 3287.5835609436035,
1529 "y": 1240.8055160045624,
1530 "z": "e63010f0.f0847",
1538 "id": "f85f11b9.2d393",
1541 "xml": "<outcome value='failure'>\n",
1544 "x": 3282.58353805542,
1545 "y": 1272.055515050888,
1546 "z": "e63010f0.f0847",
1554 "id": "1ce195c2.d12dca",
1555 "type": "get-resource",
1556 "name": "get-resource SERVICE_MODEL",
1557 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from SERVICE_MODEL WHERE service_uuid = $service-data.service-information.onap-model-information.model-uuid'\n pfx='service-model'>",
1560 "x": 2989.369338989258,
1561 "y": 1174.4655179977417,
1562 "z": "e63010f0.f0847",
1571 "id": "c02f1c0.741dde8",
1572 "type": "returnFailure",
1573 "name": "return failure",
1574 "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=\"`'No service model found for service UUID ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n",
1576 "x": 3476.4526977539062,
1577 "y": 1179.4656970500946,
1578 "z": "e63010f0.f0847",
1584 "id": "56a0a71d.c5d7c8",
1585 "type": "not-found",
1586 "name": "not-found",
1587 "xml": "<outcome value='not-found'>\n",
1590 "x": 3277.702777862549,
1591 "y": 1174.8229129314423,
1592 "z": "e63010f0.f0847",
1600 "id": "7583b82.c0af148",
1603 "xml": "<outcome value='failure'>\n",
1606 "x": 3271.452777862549,
1607 "y": 1207.3229129314423,
1608 "z": "e63010f0.f0847",
1616 "id": "8c6fbcac.fa3a8",
1618 "name": "block : atomic",
1619 "xml": "<block atomic=\"true\">",
1622 "x": 2720.639144897461,
1623 "y": 1174.555465221405,
1624 "z": "e63010f0.f0847",
1633 "id": "2edd7ef0.7bc5a2",
1635 "name": "block : atomic",
1636 "xml": "<block atomic=\"true\">",
1639 "x": 2705.63924407959,
1640 "y": 1345.8055248260498,
1641 "z": "e63010f0.f0847",
1650 "id": "7be255c0.a124ec",
1652 "name": "changeassign",
1653 "xml": "<outcome value='changeassign'>",
1656 "x": 799.0000877380371,
1657 "y": 675.0000276565552,
1658 "z": "e63010f0.f0847",
1666 "id": "42435c10.d44464",
1668 "name": "block : atomic",
1669 "xml": "<block atomic=\"true\">",
1673 "x": 984.2857322692871,
1674 "y": 674.4286317825317,
1675 "z": "e63010f0.f0847",
1683 "id": "713d719b.e94ab",
1684 "type": "switchNode",
1685 "name": "switch request-action",
1686 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1689 "x": 1176.2856712341309,
1690 "y": 674.4286165237427,
1691 "z": "e63010f0.f0847",
1700 "id": "de2bfa5c.7f8a68",
1702 "name": "CreateNetworkInstance",
1703 "xml": "<outcome value='CreateNetworkInstance'>",
1706 "x": 1456.2856712341309,
1707 "y": 639.4286165237427,
1708 "z": "e63010f0.f0847",
1716 "id": "489c8cd.789c574",
1719 "xml": "<outcome value='Other'>",
1722 "x": 1405.2856712341309,
1723 "y": 683.4286165237427,
1724 "z": "e63010f0.f0847",
1732 "id": "49edc7a6.37b578",
1733 "type": "returnFailure",
1734 "name": "return failure",
1735 "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=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=changeassign\" />\n",
1737 "x": 1574.2856712341309,
1738 "y": 683.4286165237427,
1739 "z": "e63010f0.f0847",
1745 "id": "ad275510.779568",
1747 "name": "block : atomic",
1748 "xml": "<block atomic=\"true\">",
1752 "x": 1692.2856712341309,
1753 "y": 638.4286165237427,
1754 "z": "e63010f0.f0847",
1768 "id": "ceb7d63d.306be8",
1769 "type": "switchNode",
1770 "name": "switch network-information.from-preload",
1771 "xml": "<switch test='`$network-topology-operation-input.network-information.from-preload`'>\n",
1774 "x": 2297.91650390625,
1775 "y": 393.0000352859497,
1776 "z": "e63010f0.f0847",
1784 "id": "d2c0576b.e847f8",
1787 "xml": "<outcome value=''>",
1790 "x": 2533.630813598633,
1791 "y": 393.0000352859497,
1792 "z": "e63010f0.f0847",
1800 "id": "ae1d6561.2c5238",
1801 "type": "returnFailure",
1802 "name": "return failure",
1803 "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-information.from-preload is a required input\" />\n",
1805 "x": 2698.0594329833984,
1806 "y": 391.0000352859497,
1807 "z": "e63010f0.f0847",
1813 "id": "3626c406.ab791c",
1815 "name": "If service model uuid not passed in input, use from service-data",
1818 "x": 3086.7462768554688,
1819 "y": 1135.2461557388306,
1820 "z": "e63010f0.f0847",
1826 "id": "aec34f7.d0bc6b",
1828 "name": "get network and service model using input",
1831 "x": 3014.246292114258,
1832 "y": 1308.9961595535278,
1833 "z": "e63010f0.f0847",
1839 "id": "ba42444e.d99888",
1840 "type": "switchNode",
1841 "name": "switch network-information.network-id",
1842 "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n\n",
1845 "x": 2301.3358001708984,
1846 "y": 446.6692581176758,
1847 "z": "e63010f0.f0847",
1856 "id": "c0f78c23.79ac9",
1859 "xml": "<outcome value='Other'>",
1862 "x": 2597.335750579834,
1863 "y": 479.33596992492676,
1864 "z": "e63010f0.f0847",
1872 "id": "317f60b4.ace11",
1875 "xml": "<outcome value=''>",
1878 "x": 2595.0026473999023,
1879 "y": 446.335844039917,
1880 "z": "e63010f0.f0847",
1888 "id": "4284928.5f7026c",
1889 "type": "returnSuccess",
1890 "name": "return success",
1891 "xml": "<return status='success'>\n<parameter name='' value='' />\n",
1893 "x": 2755.3358764648438,
1894 "y": 443.335901260376,
1895 "z": "e63010f0.f0847",
1901 "id": "2d884755.29b488",
1903 "name": "for nidx..service-data.networks.network[]",
1904 "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
1907 "x": 3745.4471740722656,
1908 "y": 518.780366897583,
1909 "z": "e63010f0.f0847",
1917 "id": "5d18ed5a.0f2ca4",
1918 "type": "switchNode",
1919 "name": "switch service-data.networks.network_length",
1920 "xml": "<switch test='`$service-data.networks.network_length`'>\n",
1923 "x": 3005.161117553711,
1924 "y": 481.3517246246338,
1925 "z": "e63010f0.f0847",
1934 "id": "2dd4f60.cfe780a",
1936 "name": "outcome Null",
1937 "xml": "<outcome value=''>\n",
1940 "x": 3294.161117553711,
1941 "y": 483.35178565979004,
1942 "z": "e63010f0.f0847",
1950 "id": "5256a6bb.4d3648",
1953 "xml": "<outcome value='Other'>\n",
1956 "x": 3265.411331176758,
1957 "y": 518.8518409729004,
1958 "z": "e63010f0.f0847",
1966 "id": "727643c7.801efc",
1967 "type": "switchNode",
1968 "name": "switch networkid found",
1969 "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
1972 "x": 4035.8757247924805,
1973 "y": 518.0304508209229,
1974 "z": "e63010f0.f0847",
1982 "id": "629bda8a.bbb3d4",
1983 "type": "outcomeTrue",
1985 "xml": "<outcome value='true'>\n",
1988 "x": 4224.828079223633,
1989 "y": 518.923189163208,
1990 "z": "e63010f0.f0847",
1998 "id": "e1d58d9f.f500f",
2000 "name": "set tmp.nidx and ctx.network-data",
2001 "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
2003 "x": 4667.360046386719,
2004 "y": 518.6732139587402,
2005 "z": "e63010f0.f0847",
2011 "id": "d0b9665f.bb1998",
2013 "name": "block : atomic",
2014 "xml": "<block atomic=\"true\">",
2017 "x": 3466.681350708008,
2018 "y": 520.4064064025879,
2019 "z": "e63010f0.f0847",
2027 "id": "312a328b.ffe99e",
2028 "type": "switchNode",
2029 "name": "switch tmp.nidx ",
2030 "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
2033 "x": 3663.748748779297,
2034 "y": 594.7635736465454,
2035 "z": "e63010f0.f0847",
2043 "id": "62544a06.27e584",
2044 "type": "returnFailure",
2045 "name": "return failure",
2046 "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",
2048 "x": 4018.606025695801,
2049 "y": 594.4778385162354,
2050 "z": "e63010f0.f0847",
2056 "id": "e7171c98.50a26",
2059 "xml": "<outcome value=''>\n",
2062 "x": 3835.1772842407227,
2063 "y": 593.3349590301514,
2064 "z": "e63010f0.f0847",
2072 "id": "a36353c9.ec25f",
2079 "x": 2731.447006225586,
2080 "y": 479.78037452697754,
2081 "z": "e63010f0.f0847",
2089 "id": "b413fbec.d3cf38",
2092 "xml": "<record plugin=\"com.att.sdnctl.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"GENERIC-RESOURCE-API.validate-network-input\"/>\n<parameter name=\"field3\" value=\"`$network-topology-operation-input.sdnc-request-header.svc-request-id`\"/>\n<parameter name=\"field4\" value=\"Network id proveded but no network exists that matches\"/>\n<parameter name=\"field5\" value=\"`$network-topology-operation-input.network-information.network-id`\"/>\n\n\n\n",
2095 "x": 3455.447006225586,
2096 "y": 482.78037452697754,
2097 "z": "e63010f0.f0847",
2105 "id": "9044c700.05da08",
2107 "name": "block : atomic",
2108 "xml": "<block atomic=\"true\">",
2111 "x": 4373.446517944336,
2112 "y": 518.7803745269775,
2113 "z": "e63010f0.f0847",
2121 "id": "5596cb1d.c25184",
2123 "name": "1806: Removed logic that requires service data to have network if network id is passed from mso on assign",
2126 "x": 3943.3360900878906,
2127 "y": 556.3359460830688,
2128 "z": "e63010f0.f0847",
2134 "id": "e3f71705.e890b8",
2136 "name": "ActivateSOTNConnectivityInstance",
2137 "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
2140 "x": 1483.3333740234375,
2141 "y": 482.0000648498535,
2142 "z": "e63010f0.f0847",
2150 "id": "37eb4d84.5c8452",
2152 "name": "block : atomic",
2153 "xml": "<block atomic=\"true\">",
2157 "x": 1709.3333435058594,
2158 "y": 482.0001106262207,
2159 "z": "e63010f0.f0847",
2167 "id": "3339894b.fbd566",
2169 "name": "ActivateDCINetworkInstance",
2170 "xml": "<outcome value='ActivateDCINetworkInstance'>",
2173 "x": 1471.2497787475586,
2174 "y": 517.9960944652557,
2175 "z": "e63010f0.f0847",
2183 "id": "e0539f6e.35405",
2185 "name": "block : atomic",
2186 "xml": "<block atomic=\"true\">",
2190 "x": 1684.556007385254,
2191 "y": 517.0000286102295,
2192 "z": "e63010f0.f0847",
2200 "id": "f6ea82e8.fb9a3",
2202 "name": "DeactivateSOTNConnectivityInstance",
2203 "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
2206 "x": 1498.333381652832,
2207 "y": 731.0000801086426,
2208 "z": "e63010f0.f0847",
2216 "id": "3d5611d2.6ac69e",
2218 "name": "block : atomic",
2219 "xml": "<block atomic=\"true\">",
2223 "x": 1735.333351135254,
2224 "y": 731.0001258850098,
2225 "z": "e63010f0.f0847",
2233 "id": "6f734fad.294d7",
2235 "name": "DeActivateDCINetworkInstance",
2236 "xml": "<outcome value='DeActivateDCINetworkInstance'>",
2239 "x": 1480.5832138061523,
2240 "y": 768.9960925579071,
2241 "z": "e63010f0.f0847",
2249 "id": "8c8034c3.c3e088",
2251 "name": "block : atomic",
2252 "xml": "<block atomic=\"true\">",
2256 "x": 1723.5832977294922,
2257 "y": 767.0273606777191,
2258 "z": "e63010f0.f0847",