3 "id": "8788b5a2.1dbb88",
17 "id": "3ba09ab5.471bb6",
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": 231.28570556640625,
26 "y": 131.2381134033203,
27 "z": "df2e3233.9775f",
35 "id": "14d14939.627767",
37 "name": "validate-network-input",
38 "xml": "<method rpc='validate-network-input' mode='sync'>\n",
41 "x": 231.42862701416016,
43 "z": "df2e3233.9775f",
51 "id": "b2af2fbc.edaf5",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
57 "x": 244.7500457763672,
58 "y": 475.44349479675293,
59 "z": "df2e3233.9775f",
72 "id": "ad851adc.fdf888",
74 "name": "switch svc-request-id",
75 "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-request-id`'>\n",
78 "x": 561.1428604125977,
79 "y": 201.42859077453613,
80 "z": "df2e3233.9775f",
88 "id": "33b50e86.044722",
91 "xml": "<outcome value=''>",
94 "x": 786.8571646554128,
95 "y": 201.42859322684126,
96 "z": "df2e3233.9775f",
104 "id": "70f295d3.d71adc",
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": 938.2857306344167,
110 "y": 201.42859131949263,
111 "z": "df2e3233.9775f",
115 "id": "205d6a31.b83f56",
116 "type": "switchNode",
117 "name": "switch svc-action",
118 "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
121 "x": 549.7142333984375,
122 "y": 160.00002098083496,
123 "z": "df2e3233.9775f",
131 "id": "b11b9bfa.b83dd8",
134 "xml": "<outcome value=''>",
137 "x": 785.4285850524902,
138 "y": 158.57141876220703,
139 "z": "df2e3233.9775f",
147 "id": "1d63b726.f05909",
148 "type": "returnFailure",
149 "name": "return failure",
150 "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",
152 "x": 935.4285583496094,
153 "y": 158.5714282989502,
154 "z": "df2e3233.9775f",
158 "id": "bb69c265.9ec57",
159 "type": "switchNode",
160 "name": "switch request-action",
161 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
164 "x": 559.7142715454102,
165 "y": 244.285737991333,
166 "z": "df2e3233.9775f",
174 "id": "23018cf6.3779b4",
177 "xml": "<outcome value=''>",
180 "x": 786.8571602957591,
181 "y": 244.28574698311968,
182 "z": "df2e3233.9775f",
190 "id": "3d7d65b5.26ffaa",
191 "type": "returnFailure",
192 "name": "return failure",
193 "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",
195 "x": 938.285726274763,
196 "y": 244.28574507577105,
197 "z": "df2e3233.9775f",
201 "id": "402cb1d.785695",
202 "type": "switchNode",
203 "name": "switch service-instance-id",
204 "xml": "<switch test='`$network-topology-operation-input.service-information.service-instance-id`'>\n",
207 "x": 568.857177734375,
209 "z": "df2e3233.9775f",
217 "id": "f8fe5d6a.080ae",
220 "xml": "<outcome value=''>",
223 "x": 785.2857666015625,
225 "z": "df2e3233.9775f",
233 "id": "cc71f851.6ba9a8",
234 "type": "returnFailure",
235 "name": "return failure",
236 "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",
238 "x": 943.7142944335938,
240 "z": "df2e3233.9775f",
244 "id": "e6be7a59.b96b68",
246 "name": "validate-network-input - CHANGELOG",
247 "info": "12/8: Initial release 1.0.0",
251 "z": "df2e3233.9775f",
255 "id": "96d49b08.fa0328",
256 "type": "switchNode",
257 "name": "switch svc-action",
258 "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
263 "z": "df2e3233.9775f",
275 "id": "3c93b861.36fba8",
278 "xml": "<outcome value='assign'>",
281 "x": 778.71435546875,
282 "y": 379.5714111328125,
283 "z": "df2e3233.9775f",
291 "id": "88f1d93c.c06f98",
294 "xml": "<outcome value='activate'>",
297 "x": 772.0000114440918,
298 "y": 566.0000247955322,
299 "z": "df2e3233.9775f",
307 "id": "a20067e.94ffe98",
309 "name": "deactivate",
310 "xml": "<outcome value='deactivate'>",
313 "x": 770.000114440918,
314 "y": 862.0001058578491,
315 "z": "df2e3233.9775f",
323 "id": "21db76c1.48922a",
325 "name": "block : atomic",
326 "xml": "<block atomic=\"true\">",
332 "z": "df2e3233.9775f",
340 "id": "272bb5f8.f31cda",
341 "type": "switchNode",
342 "name": "switch request-action",
343 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
348 "z": "df2e3233.9775f",
357 "id": "75bb00b.643f9",
359 "name": "CreateNetworkInstance",
360 "xml": "<outcome value='CreateNetworkInstance'>",
365 "z": "df2e3233.9775f",
373 "id": "de64b013.96b09",
376 "xml": "<outcome value='Other'>",
381 "z": "df2e3233.9775f",
389 "id": "7d916d38.e514a4",
390 "type": "returnFailure",
391 "name": "return failure",
392 "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",
396 "z": "df2e3233.9775f",
400 "id": "98c549ed.adadc8",
402 "name": "block : atomic",
403 "xml": "<block atomic=\"true\">",
406 "x": 946.0000114440918,
407 "y": 566.0000247955322,
408 "z": "df2e3233.9775f",
416 "id": "7cbbeac6.2691d4",
417 "type": "switchNode",
418 "name": "switch request-action",
419 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
422 "x": 1163.0000114440918,
423 "y": 566.0000247955322,
424 "z": "df2e3233.9775f",
436 "id": "34d0495d.e1b546",
438 "name": "CreateNetworkInstance",
439 "xml": "<outcome value='CreateNetworkInstance'>",
442 "x": 1444.0000114440918,
443 "y": 567.0000247955322,
444 "z": "df2e3233.9775f",
452 "id": "b4c471fa.cde5e",
455 "xml": "<outcome value='Other'>",
458 "x": 1387.0000114440918,
459 "y": 607.0000247955322,
460 "z": "df2e3233.9775f",
468 "id": "d8bc1fab.0cb7b",
469 "type": "returnFailure",
470 "name": "return failure",
471 "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",
473 "x": 1545.8573112487793,
474 "y": 606.4286451339722,
475 "z": "df2e3233.9775f",
479 "id": "99c9746e.0bf598",
481 "name": "block : atomic",
482 "xml": "<block atomic=\"true\">",
485 "x": 952.000114440918,
486 "y": 861.0001058578491,
487 "z": "df2e3233.9775f",
495 "id": "2c02914c.ac786e",
496 "type": "switchNode",
497 "name": "switch request-action",
498 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
501 "x": 1169.000114440918,
502 "y": 861.0001058578491,
503 "z": "df2e3233.9775f",
515 "id": "e6f9cf57.ba236",
517 "name": "DeleteNetworkInstance",
518 "xml": "<outcome value='DeleteNetworkInstance'>",
521 "x": 1450.000114440918,
522 "y": 862.0001058578491,
523 "z": "df2e3233.9775f",
531 "id": "95775b49.fc2318",
534 "xml": "<outcome value='Other'>",
537 "x": 1393.000114440918,
538 "y": 902.0001058578491,
539 "z": "df2e3233.9775f",
547 "id": "41fdec9e.e8a644",
548 "type": "returnFailure",
549 "name": "return failure",
550 "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",
552 "x": 1562.0001792907715,
553 "y": 904.8572673797607,
554 "z": "df2e3233.9775f",
558 "id": "d5a289af.7573e8",
561 "xml": "<outcome value='unassign'>",
564 "x": 766.0000839233398,
565 "y": 956.0000829696655,
566 "z": "df2e3233.9775f",
574 "id": "390e2b39.6c4854",
576 "name": "block : atomic",
577 "xml": "<block atomic=\"true\">",
580 "x": 948.000114440918,
581 "y": 952.0001058578491,
582 "z": "df2e3233.9775f",
590 "id": "106acf9d.333d5",
591 "type": "switchNode",
592 "name": "switch request-action",
593 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
596 "x": 1165.000114440918,
597 "y": 952.0001058578491,
598 "z": "df2e3233.9775f",
607 "id": "7360ef3d.9811b",
609 "name": "DeleteNetworkInstance",
610 "xml": "<outcome value='DeleteNetworkInstance'>",
613 "x": 1446.000114440918,
614 "y": 953.0001058578491,
615 "z": "df2e3233.9775f",
623 "id": "6d03b112.dfc4",
626 "xml": "<outcome value='Other'>",
629 "x": 1389.000114440918,
630 "y": 993.0001058578491,
631 "z": "df2e3233.9775f",
639 "id": "7dd14282.06273c",
640 "type": "returnFailure",
641 "name": "return failure",
642 "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",
644 "x": 1558.000114440918,
645 "y": 993.0001058578491,
646 "z": "df2e3233.9775f",
650 "id": "46e41b99.978564",
652 "name": "block : atomic",
653 "xml": "<block atomic=\"true\">",
659 "z": "df2e3233.9775f",
674 "id": "c5dc69fd.8115a8",
676 "name": "block : atomic",
677 "xml": "<block atomic=\"true\">",
681 "x": 1669.0000114440918,
682 "y": 567.0000247955322,
683 "z": "df2e3233.9775f",
697 "id": "397759af.0b93f6",
699 "name": "block : atomic",
700 "xml": "<block atomic=\"true\">",
704 "x": 1706.000114440918,
705 "y": 863.0001058578491,
706 "z": "df2e3233.9775f",
714 "id": "c8e6a8bb.defab8",
716 "name": "block : atomic",
717 "xml": "<block atomic=\"true\">",
721 "x": 1705.000114440918,
722 "y": 954.0001058578491,
723 "z": "df2e3233.9775f",
731 "id": "6f3ed145.89e1a",
732 "type": "switchNode",
733 "name": "switch onap-model-information.model-uuid",
734 "xml": "<switch test='`$network-topology-operation-input.service-information.onap-model-information.model-uuid`'>\n",
737 "x": 2266.166816711426,
738 "y": 1150.7499980926514,
739 "z": "df2e3233.9775f",
748 "id": "dc0c345f.272208",
749 "type": "switchNode",
750 "name": "switch network-information.network-id",
751 "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
754 "x": 2277.6665954589844,
755 "y": 317.666729927063,
756 "z": "df2e3233.9775f",
764 "id": "320cd589.df0dea",
767 "xml": "<outcome value=''>",
770 "x": 2508.380714416504,
771 "y": 317.6667537689209,
772 "z": "df2e3233.9775f",
780 "id": "a1d040a8.b6d41",
781 "type": "returnFailure",
782 "name": "return failure",
783 "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",
785 "x": 2669.8095474243164,
786 "y": 319.66674613952637,
787 "z": "df2e3233.9775f",
791 "id": "3e5905e9.f5a48a",
793 "name": "validations - required for all",
798 "z": "df2e3233.9775f",
802 "id": "19e922fc.da104d",
804 "name": "validations specific per svc-action",
809 "z": "df2e3233.9775f",
813 "id": "c5d98990.732158",
815 "name": "network-request-information block validations",
818 "x": 2269.5001525878906,
819 "y": 1002.7500467300415,
820 "z": "df2e3233.9775f",
824 "id": "7e651b21.c50284",
825 "type": "switchNode",
826 "name": "switch network-request-information.tenant",
827 "xml": "<switch test='`$network-topology-operation-input.network-request-input.tenant`'>\n",
830 "x": 2266.5001525878906,
831 "y": 1052.7500467300415,
832 "z": "df2e3233.9775f",
840 "id": "b8f089fb.d935a8",
843 "xml": "<outcome value=''>",
846 "x": 2508.2145080566406,
847 "y": 1054.7500467300415,
848 "z": "df2e3233.9775f",
856 "id": "3d496a0d.53e9c6",
857 "type": "returnFailure",
858 "name": "return failure",
859 "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",
861 "x": 2659.643096923828,
862 "y": 1052.7500467300415,
863 "z": "df2e3233.9775f",
867 "id": "6b264531.de0afc",
868 "type": "switchNode",
869 "name": "switch network-request-information.aic-cloud-region",
870 "xml": "<switch test='`$network-topology-operation-input.network-request-input.aic-cloud-region`'>\n",
873 "x": 2295.5001525878906,
874 "y": 1095.7500467300415,
875 "z": "df2e3233.9775f",
883 "id": "615cc864.89ade8",
886 "xml": "<outcome value=''>",
889 "x": 2557.2145080566406,
890 "y": 1095.7500467300415,
891 "z": "df2e3233.9775f",
899 "id": "b53a0b88.3c7958",
900 "type": "returnFailure",
901 "name": "return failure",
902 "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",
904 "x": 2721.6429748535156,
905 "y": 1094.7500467300415,
906 "z": "df2e3233.9775f",
910 "id": "87ae2dd3.c6822",
911 "type": "switchNode",
912 "name": "switch onap-model-information.model-invariant-uuid",
913 "xml": "<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`'>\n",
916 "x": 2308.0001220703125,
917 "y": 826.750057220459,
918 "z": "df2e3233.9775f",
926 "id": "cc6685f6.058958",
929 "xml": "<outcome value=''>",
932 "x": 2593.0001831054688,
933 "y": 825.7500514984131,
934 "z": "df2e3233.9775f",
942 "id": "582d90a3.b7998",
943 "type": "returnFailure",
944 "name": "return failure",
945 "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",
947 "x": 2744.4286499023438,
948 "y": 824.7500514984131,
949 "z": "df2e3233.9775f",
953 "id": "77cf2c9e.63a064",
954 "type": "switchNode",
955 "name": "switch onap-model-information.model-uuid",
956 "xml": "<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`'>\n",
959 "x": 2280.1429138183594,
960 "y": 902.6072015762329,
961 "z": "df2e3233.9775f",
969 "id": "4f68a79d.3bf918",
972 "xml": "<outcome value=''>",
975 "x": 2521.1430053710938,
976 "y": 903.6071376800537,
977 "z": "df2e3233.9775f",
985 "id": "7690e5c.85ea81c",
986 "type": "returnFailure",
987 "name": "return failure",
988 "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",
990 "x": 2686.5714721679688,
991 "y": 901.6071071624756,
992 "z": "df2e3233.9775f",
996 "id": "68ca38a1.08f0d8",
998 "name": "network-information.onap-model-information block validations",
1001 "x": 2327.1432495117188,
1002 "y": 786.6071996688843,
1003 "z": "df2e3233.9775f",
1007 "id": "d8c0a4b6.4a38d8",
1008 "type": "switchNode",
1009 "name": "switch onap-model-information.model-customization-uuid",
1010 "xml": "<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`'>\n",
1013 "x": 2326.0000610351562,
1014 "y": 861.750020980835,
1015 "z": "df2e3233.9775f",
1023 "id": "a2943e5e.6f374",
1026 "xml": "<outcome value=''>",
1029 "x": 2622.0000610351562,
1030 "y": 862.750020980835,
1031 "z": "df2e3233.9775f",
1039 "id": "c180f18b.aebfe",
1040 "type": "returnFailure",
1041 "name": "return failure",
1042 "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",
1044 "x": 2769.4285278320312,
1045 "y": 862.750020980835,
1046 "z": "df2e3233.9775f",
1050 "id": "80d58546.aa7e88",
1051 "type": "returnSuccess",
1052 "name": "return success",
1053 "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",
1055 "x": 551.3570747375488,
1056 "y": 695.6428346633911,
1057 "z": "df2e3233.9775f",
1061 "id": "e62c59c8.088828",
1062 "type": "switchNode",
1063 "name": "switch network-information.network-instance-group-id",
1064 "xml": "<switch test='`$network-topology-operation-input.network-information.network-instance-group-id`'>\n\n",
1067 "x": 2310.5001220703125,
1068 "y": 623.5835075378418,
1069 "z": "df2e3233.9775f",
1078 "id": "5b95f49.d609d0c",
1081 "xml": "<outcome value='Other'>",
1084 "x": 2600.250011444092,
1085 "y": 653.7501907348633,
1086 "z": "df2e3233.9775f",
1094 "id": "d09003b.e23f4",
1097 "xml": "<outcome value=''>",
1100 "x": 2597.91690826416,
1101 "y": 620.7500648498535,
1102 "z": "df2e3233.9775f",
1110 "id": "738908db.7d8f28",
1111 "type": "returnSuccess",
1112 "name": "return success",
1113 "xml": "<return status='success'>\n<parameter name='' value='' />\n",
1115 "x": 2758.2501373291016,
1116 "y": 617.7501220703125,
1117 "z": "df2e3233.9775f",
1121 "id": "3269563e.6fec5a",
1122 "type": "get-resource",
1123 "name": "get-resource NETWORK_MODEL",
1124 "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",
1127 "x": 2974.183319091797,
1128 "y": 1398.4285793304443,
1129 "z": "df2e3233.9775f",
1138 "id": "2bd9bcfc.f16724",
1139 "type": "returnFailure",
1140 "name": "return failure",
1141 "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",
1143 "x": 3468.6474609375,
1144 "y": 1395.7260434627533,
1145 "z": "df2e3233.9775f",
1149 "id": "e762e9e8.c9a108",
1150 "type": "not-found",
1151 "name": "not-found",
1152 "xml": "<outcome value='not-found'>\n",
1155 "x": 3269.897472381592,
1156 "y": 1389.0832498073578,
1157 "z": "df2e3233.9775f",
1165 "id": "e2455f53.fb44",
1168 "xml": "<outcome value='failure'>\n",
1171 "x": 3263.647472381592,
1172 "y": 1421.5832498073578,
1173 "z": "df2e3233.9775f",
1181 "id": "ede139e4.89a198",
1183 "name": "for ngidx..service-data.network-instance-groups.network-instance-group[]",
1184 "xml": "<for index='ngidx' start='0' end='`$service-data.network-instance-groups.network-instance-_length`' >\n",
1187 "x": 3997.611541748047,
1188 "y": 690.9445762634277,
1189 "z": "df2e3233.9775f",
1197 "id": "4f2fd133.4305b",
1198 "type": "switchNode",
1199 "name": "service-data.network-instance-groups.network-instance-group_length",
1200 "xml": "<switch test='`$service-data.network-instance-groups.network-instance-group_length`'>\n",
1203 "x": 3084.3256912231445,
1204 "y": 652.0159721374512,
1205 "z": "df2e3233.9775f",
1214 "id": "501babe3.5319c4",
1216 "name": "outcome Null",
1217 "xml": "<outcome value=''>\n",
1220 "x": 3449.575469970703,
1221 "y": 654.0159454345703,
1222 "z": "df2e3233.9775f",
1230 "id": "e1e773cb.e5cf6",
1233 "xml": "<outcome value='Other'>\n",
1236 "x": 3429.575469970703,
1237 "y": 689.0159454345703,
1238 "z": "df2e3233.9775f",
1246 "id": "eac562d9.de601",
1247 "type": "switchNode",
1248 "name": "switch network-instance-group-id found",
1249 "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",
1252 "x": 4445.54020690918,
1253 "y": 690.6947593688965,
1254 "z": "df2e3233.9775f",
1262 "id": "7a0eb4db.f8074c",
1263 "type": "outcomeTrue",
1265 "xml": "<outcome value='true'>\n",
1268 "x": 4691.99324798584,
1269 "y": 691.5876178741455,
1270 "z": "df2e3233.9775f",
1278 "id": "598b024c.d866dc",
1280 "name": "set tmp.ngidx and ctx.network-instance-group-data",
1281 "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",
1283 "x": 5134.525215148926,
1284 "y": 691.3376426696777,
1285 "z": "df2e3233.9775f",
1289 "id": "3ab76fb1.f7b22",
1291 "name": "block : atomic",
1292 "xml": "<block atomic=\"true\">",
1295 "x": 3630.845489501953,
1296 "y": 690.5705108642578,
1297 "z": "df2e3233.9775f",
1305 "id": "1d7d3883.7d3737",
1312 "x": 2734.3612670898438,
1313 "y": 654.1945953369141,
1314 "z": "df2e3233.9775f",
1322 "id": "87a76e41.abe4d",
1325 "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",
1328 "x": 3610.861358642578,
1329 "y": 653.4445343017578,
1330 "z": "df2e3233.9775f",
1336 "id": "363a104e.3bd6b",
1338 "name": "block : atomic",
1339 "xml": "<block atomic=\"true\">",
1342 "x": 4840.611686706543,
1343 "y": 691.444803237915,
1344 "z": "df2e3233.9775f",
1352 "id": "6ba35582.02a89c",
1355 "xml": "<outcome value=''>",
1358 "x": 2531.314895629883,
1359 "y": 1150.3426370620728,
1360 "z": "df2e3233.9775f",
1368 "id": "8d6ac32a.9037",
1371 "xml": "<outcome value='Other'>",
1374 "x": 2530.064929962158,
1375 "y": 1322.009298324585,
1376 "z": "df2e3233.9775f",
1384 "id": "921bbed8.0d111",
1385 "type": "get-resource",
1386 "name": "get-resource SERVICE_MODEL",
1387 "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",
1390 "x": 2976.683303833008,
1391 "y": 1321.4933519363403,
1392 "z": "df2e3233.9775f",
1401 "id": "860b68fa.33ca88",
1402 "type": "returnFailure",
1403 "name": "return failure",
1404 "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",
1406 "x": 3458.7666091918945,
1407 "y": 1327.74343085289,
1408 "z": "df2e3233.9775f",
1412 "id": "79c59913.159718",
1413 "type": "not-found",
1414 "name": "not-found",
1415 "xml": "<outcome value='not-found'>\n",
1418 "x": 3260.016689300537,
1419 "y": 1323.1006467342377,
1420 "z": "df2e3233.9775f",
1428 "id": "efb4080a.682628",
1431 "xml": "<outcome value='failure'>\n",
1434 "x": 3253.766689300537,
1435 "y": 1355.6006467342377,
1436 "z": "df2e3233.9775f",
1444 "id": "366d9d85.e9d9b2",
1445 "type": "get-resource",
1446 "name": "get-resource NETWORK_MODEL",
1447 "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",
1450 "x": 2976.8693084716797,
1451 "y": 1223.1509647369385,
1452 "z": "df2e3233.9775f",
1461 "id": "31c32b50.6432e4",
1462 "type": "returnFailure",
1463 "name": "return failure",
1464 "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",
1466 "x": 3472.3335494995117,
1467 "y": 1222.4483096599579,
1468 "z": "df2e3233.9775f",
1472 "id": "910f20d1.bdd36",
1473 "type": "not-found",
1474 "name": "not-found",
1475 "xml": "<outcome value='not-found'>\n",
1478 "x": 3273.5835609436035,
1479 "y": 1215.8055160045624,
1480 "z": "df2e3233.9775f",
1488 "id": "e2e9e038.3cb1b",
1491 "xml": "<outcome value='failure'>\n",
1494 "x": 3268.58353805542,
1495 "y": 1247.055515050888,
1496 "z": "df2e3233.9775f",
1504 "id": "a5b9cb21.07e728",
1505 "type": "get-resource",
1506 "name": "get-resource SERVICE_MODEL",
1507 "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'>",
1510 "x": 2975.369338989258,
1511 "y": 1149.4655179977417,
1512 "z": "df2e3233.9775f",
1521 "id": "263ae4cc.79bc1c",
1522 "type": "returnFailure",
1523 "name": "return failure",
1524 "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",
1526 "x": 3462.4526977539062,
1527 "y": 1154.4656970500946,
1528 "z": "df2e3233.9775f",
1532 "id": "ad32be5d.fc0d2",
1533 "type": "not-found",
1534 "name": "not-found",
1535 "xml": "<outcome value='not-found'>\n",
1538 "x": 3263.702777862549,
1539 "y": 1149.8229129314423,
1540 "z": "df2e3233.9775f",
1548 "id": "726e59ae.b41088",
1551 "xml": "<outcome value='failure'>\n",
1554 "x": 3257.452777862549,
1555 "y": 1182.3229129314423,
1556 "z": "df2e3233.9775f",
1564 "id": "1cfe1346.d805fd",
1566 "name": "block : atomic",
1567 "xml": "<block atomic=\"true\">",
1570 "x": 2706.639144897461,
1571 "y": 1149.555465221405,
1572 "z": "df2e3233.9775f",
1581 "id": "423b56dc.d5ebb8",
1583 "name": "block : atomic",
1584 "xml": "<block atomic=\"true\">",
1587 "x": 2691.63924407959,
1588 "y": 1320.8055248260498,
1589 "z": "df2e3233.9775f",
1598 "id": "f8a0e353.63b13",
1600 "name": "changeassign",
1601 "xml": "<outcome value='changeassign'>",
1604 "x": 787.000072479248,
1605 "y": 687.0000247955322,
1606 "z": "df2e3233.9775f",
1614 "id": "4a52d531.9fe30c",
1616 "name": "block : atomic",
1617 "xml": "<block atomic=\"true\">",
1621 "x": 972.285717010498,
1622 "y": 686.4286289215088,
1623 "z": "df2e3233.9775f",
1631 "id": "60aa05f5.c569dc",
1632 "type": "switchNode",
1633 "name": "switch request-action",
1634 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1637 "x": 1164.2856559753418,
1638 "y": 686.4286136627197,
1639 "z": "df2e3233.9775f",
1648 "id": "88893f96.826cb",
1650 "name": "CreateNetworkInstance",
1651 "xml": "<outcome value='CreateNetworkInstance'>",
1654 "x": 1444.2856559753418,
1655 "y": 651.4286136627197,
1656 "z": "df2e3233.9775f",
1664 "id": "b859c6e0.2898e8",
1667 "xml": "<outcome value='Other'>",
1670 "x": 1393.2856559753418,
1671 "y": 695.4286136627197,
1672 "z": "df2e3233.9775f",
1680 "id": "73e64f7b.3bc52",
1681 "type": "returnFailure",
1682 "name": "return failure",
1683 "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",
1685 "x": 1562.2856559753418,
1686 "y": 695.4286136627197,
1687 "z": "df2e3233.9775f",
1691 "id": "9c8d3fa9.f4234",
1693 "name": "block : atomic",
1694 "xml": "<block atomic=\"true\">",
1698 "x": 1680.2856559753418,
1699 "y": 650.4286136627197,
1700 "z": "df2e3233.9775f",
1714 "id": "12953ca4.f4d643",
1715 "type": "switchNode",
1716 "name": "switch network-information.from-preload",
1717 "xml": "<switch test='`$network-topology-operation-input.network-information.from-preload`'>\n",
1720 "x": 2283.91650390625,
1721 "y": 368.0000352859497,
1722 "z": "df2e3233.9775f",
1730 "id": "eb76cae7.f61f78",
1733 "xml": "<outcome value=''>",
1736 "x": 2519.630813598633,
1737 "y": 368.0000352859497,
1738 "z": "df2e3233.9775f",
1746 "id": "6e925a8f.fb9974",
1747 "type": "returnFailure",
1748 "name": "return failure",
1749 "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",
1751 "x": 2684.0594329833984,
1752 "y": 366.0000352859497,
1753 "z": "df2e3233.9775f",
1757 "id": "2c777ab3.486276",
1759 "name": "If service model uuid not passed in input, use from service-data",
1762 "x": 3072.7462768554688,
1763 "y": 1110.2461557388306,
1764 "z": "df2e3233.9775f",
1768 "id": "14815eb6.fd5c91",
1770 "name": "get network and service model using input",
1773 "x": 3000.246292114258,
1774 "y": 1283.9961595535278,
1775 "z": "df2e3233.9775f",
1779 "id": "81763a92.4e5c78",
1780 "type": "switchNode",
1781 "name": "switch network-information.network-id",
1782 "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n\n",
1785 "x": 2287.3358001708984,
1786 "y": 421.6692581176758,
1787 "z": "df2e3233.9775f",
1796 "id": "c5a63b51.87b4f8",
1799 "xml": "<outcome value='Other'>",
1802 "x": 2583.335750579834,
1803 "y": 454.33596992492676,
1804 "z": "df2e3233.9775f",
1812 "id": "1214f71.156fe09",
1815 "xml": "<outcome value=''>",
1818 "x": 2581.0026473999023,
1819 "y": 421.335844039917,
1820 "z": "df2e3233.9775f",
1828 "id": "ac694b16.08b998",
1829 "type": "returnSuccess",
1830 "name": "return success",
1831 "xml": "<return status='success'>\n<parameter name='' value='' />\n",
1833 "x": 2741.3358764648438,
1834 "y": 418.335901260376,
1835 "z": "df2e3233.9775f",
1839 "id": "d81e00e0.1ff27",
1841 "name": "for nidx..service-data.networks.network[]",
1842 "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
1845 "x": 3731.4471740722656,
1846 "y": 493.780366897583,
1847 "z": "df2e3233.9775f",
1855 "id": "6aa40d73.069df4",
1856 "type": "switchNode",
1857 "name": "switch service-data.networks.network_length",
1858 "xml": "<switch test='`$service-data.networks.network_length`'>\n",
1861 "x": 2991.161117553711,
1862 "y": 456.3517246246338,
1863 "z": "df2e3233.9775f",
1872 "id": "1846ce0f.dd2142",
1874 "name": "outcome Null",
1875 "xml": "<outcome value=''>\n",
1878 "x": 3280.161117553711,
1879 "y": 458.35178565979004,
1880 "z": "df2e3233.9775f",
1888 "id": "3dcca8e2.fa0cf8",
1891 "xml": "<outcome value='Other'>\n",
1894 "x": 3251.411331176758,
1895 "y": 493.8518409729004,
1896 "z": "df2e3233.9775f",
1904 "id": "d0382bb1.c7c318",
1905 "type": "switchNode",
1906 "name": "switch networkid found",
1907 "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
1910 "x": 4021.8757247924805,
1911 "y": 493.03045082092285,
1912 "z": "df2e3233.9775f",
1920 "id": "799fd9f5.297828",
1921 "type": "outcomeTrue",
1923 "xml": "<outcome value='true'>\n",
1926 "x": 4210.828079223633,
1927 "y": 493.923189163208,
1928 "z": "df2e3233.9775f",
1936 "id": "b9b1e9e8.4baa78",
1938 "name": "set tmp.nidx and ctx.network-data",
1939 "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
1941 "x": 4653.360046386719,
1942 "y": 493.67321395874023,
1943 "z": "df2e3233.9775f",
1947 "id": "76bdfc6d.a268b4",
1949 "name": "block : atomic",
1950 "xml": "<block atomic=\"true\">",
1953 "x": 3452.681350708008,
1954 "y": 495.4064064025879,
1955 "z": "df2e3233.9775f",
1963 "id": "a4c75003.79847",
1964 "type": "switchNode",
1965 "name": "switch tmp.nidx ",
1966 "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
1969 "x": 3649.748748779297,
1970 "y": 569.7635736465454,
1971 "z": "df2e3233.9775f",
1979 "id": "97b52b4a.465218",
1980 "type": "returnFailure",
1981 "name": "return failure",
1982 "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",
1984 "x": 4004.606025695801,
1985 "y": 569.4778385162354,
1986 "z": "df2e3233.9775f",
1990 "id": "46de02ac.b16e8c",
1993 "xml": "<outcome value=''>\n",
1996 "x": 3821.1772842407227,
1997 "y": 568.3349590301514,
1998 "z": "df2e3233.9775f",
2006 "id": "e775f46b.5160e8",
2013 "x": 2717.447006225586,
2014 "y": 454.78037452697754,
2015 "z": "df2e3233.9775f",
2023 "id": "6705bd82.d03014",
2026 "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",
2029 "x": 3441.447006225586,
2030 "y": 457.78037452697754,
2031 "z": "df2e3233.9775f",
2037 "id": "fa602e9.58fa5d",
2039 "name": "block : atomic",
2040 "xml": "<block atomic=\"true\">",
2043 "x": 4359.446517944336,
2044 "y": 493.78037452697754,
2045 "z": "df2e3233.9775f",
2053 "id": "f899095f.339638",
2055 "name": "1806: Removed logic that requires service data to have network if network id is passed from mso on assign",
2058 "x": 3929.3360900878906,
2059 "y": 531.3359460830688,
2060 "z": "df2e3233.9775f",
2064 "id": "985ba54f.3974a8",
2066 "name": "ActivateSOTNConnectivityInstance",
2067 "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
2070 "x": 1471.3333587646484,
2071 "y": 494.00006198883057,
2072 "z": "df2e3233.9775f",
2080 "id": "694acc9b.b69aa4",
2082 "name": "block : atomic",
2083 "xml": "<block atomic=\"true\">",
2087 "x": 1697.3333282470703,
2088 "y": 494.00010776519775,
2089 "z": "df2e3233.9775f",
2095 "id": "1c550262.882b2e",
2097 "name": "ActivateDCINetworkInstance",
2098 "xml": "<outcome value='ActivateDCINetworkInstance'>",
2101 "x": 1459.2497634887695,
2102 "y": 529.9960916042328,
2103 "z": "df2e3233.9775f",
2111 "id": "15320fb4.9014c",
2113 "name": "block : atomic",
2114 "xml": "<block atomic=\"true\">",
2118 "x": 1672.5559921264648,
2119 "y": 529.0000257492065,
2120 "z": "df2e3233.9775f",
2126 "id": "a630529b.bc37b",
2128 "name": "DeactivateSOTNConnectivityInstance",
2129 "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
2132 "x": 1490.3333892822266,
2133 "y": 786.0001420974731,
2134 "z": "df2e3233.9775f",
2142 "id": "ffb9085d.d34018",
2144 "name": "block : atomic",
2145 "xml": "<block atomic=\"true\">",
2149 "x": 1727.3333587646484,
2150 "y": 786.0001878738403,
2151 "z": "df2e3233.9775f",
2157 "id": "4893ca1b.86d634",
2159 "name": "DeActivateDCINetworkInstance",
2160 "xml": "<outcome value='DeActivateDCINetworkInstance'>",
2163 "x": 1472.5832214355469,
2164 "y": 823.9961545467377,
2165 "z": "df2e3233.9775f",
2173 "id": "fce22d6a.e8a6b",
2175 "name": "block : atomic",
2176 "xml": "<block atomic=\"true\">",
2180 "x": 1715.5833053588867,
2181 "y": 822.0274226665497,
2182 "z": "df2e3233.9775f",
2188 "id": "dce79fa4.7fd85",
2190 "name": "ActivateSDWANConnectivityInstance",
2191 "xml": "<outcome value='ActivateSDWANConnectivityInstance'>",
2194 "x": 1476.003890991211,
2195 "y": 454.7539072036743,
2196 "z": "df2e3233.9775f",
2204 "id": "a3491976.6ffbc8",
2206 "name": "block : atomic",
2207 "xml": "<block atomic=\"true\">",
2211 "x": 1712.004020690918,
2212 "y": 453.7539072036743,
2213 "z": "df2e3233.9775f",
2219 "id": "10d3655a.b8cb0b",
2221 "name": "DeactivateSDWANConnectivityInstance",
2222 "xml": "<outcome value='DeactivateSDWANConnectivityInstance'>",
2227 "z": "df2e3233.9775f",
2235 "id": "4660a007.84d7d",
2237 "name": "block : atomic",
2238 "xml": "<block atomic=\"true\">",
2244 "z": "df2e3233.9775f",