3 "id": "193b8ebe.168931",
9 "z": "548da231.570f2c",
17 "id": "516b96b5.f39508",
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": 262.3169708251953,
26 "y": 153.26932334899902,
27 "z": "548da231.570f2c",
35 "id": "d1fe8042.cc5a4",
37 "name": "method validate-connection-attachment-input",
38 "xml": "<method rpc='validate-connection-attachment-input' mode='sync'>\n",
41 "x": 258.94793701171875,
42 "y": 249.28427839279175,
43 "z": "548da231.570f2c",
51 "id": "b05ac558.fc0298",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
57 "x": 265.94799041748047,
58 "y": 367.28428649902344,
59 "z": "548da231.570f2c",
70 "id": "11b2d666.19a8fa",
72 "name": "switch svc-action",
73 "xml": "<switch test='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`'>\n",
76 "x": 671.9479293823242,
77 "y": 24.28428077697754,
78 "z": "548da231.570f2c",
86 "id": "563fe857.005428",
89 "xml": "<outcome value=''>",
92 "x": 883.6623001098633,
93 "y": 24.28429126739502,
94 "z": "548da231.570f2c",
102 "id": "bf9c002.703e6",
103 "type": "returnFailure",
104 "name": "return failure",
105 "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",
107 "x": 1058.0908508300781,
108 "y": 23.28428363800049,
109 "z": "548da231.570f2c",
115 "id": "a0f1dfee.c1db9",
116 "type": "switchNode",
117 "name": "switch svc-action",
118 "xml": "<switch test='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`'>\n",
121 "x": 656.9478225708008,
122 "y": 366.2843084335327,
123 "z": "548da231.570f2c",
135 "id": "6b1eefd1.a4726",
138 "xml": "<outcome value='create'>\n",
141 "x": 882.4479789733887,
142 "y": 194.28435230255127,
143 "z": "548da231.570f2c",
151 "id": "517bdb12.579b84",
154 "xml": "<outcome value='delete'>\n",
157 "x": 884.4599838256836,
158 "y": 772.1745042800903,
159 "z": "548da231.570f2c",
167 "id": "352e24a0.788a7c",
170 "xml": "<outcome value='Other'>\n",
173 "x": 885.2218246459961,
174 "y": 958.6029243469238,
175 "z": "548da231.570f2c",
183 "id": "313b0ba4.9277b4",
184 "type": "returnFailure",
185 "name": "return failure",
186 "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.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
188 "x": 1068.793357849121,
189 "y": 959.2220649719238,
190 "z": "548da231.570f2c",
196 "id": "c9b924ac.aa4418",
198 "name": "block : atomic",
199 "xml": "<block atomic=\"true\">",
202 "x": 1066.6028099060059,
203 "y": 772.8409547805786,
204 "z": "548da231.570f2c",
212 "id": "72eb1342.c73a6c",
214 "name": "DeleteSOTNAttachmentInstance",
215 "xml": "<outcome value='DeleteSOTNAttachmentInstance'>",
218 "x": 1380.3171997070312,
219 "y": 786.8409357070923,
220 "z": "548da231.570f2c",
228 "id": "77510c5b.922da4",
231 "xml": "<outcome value='Other'>",
234 "x": 1313.3174514770508,
235 "y": 875.8410797119141,
236 "z": "548da231.570f2c",
244 "id": "69dd5310.b0e50c",
245 "type": "returnFailure",
246 "name": "return failure",
247 "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=delete\" />\n",
249 "x": 1500.3174514770508,
250 "y": 876.8410797119141,
251 "z": "548da231.570f2c",
257 "id": "a0b8065a.68d4e8",
259 "name": "block : atomic",
260 "xml": "<block atomic=\"true\">",
263 "x": 1743.3170852661133,
264 "y": 500.84095668792725,
265 "z": "548da231.570f2c",
274 "id": "6c6e8419.13924c",
275 "type": "switchNode",
276 "name": "switch allotted-resource-id",
277 "xml": "<switch test='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n",
280 "x": 1994.3169059753418,
281 "y": 536.8409214019775,
282 "z": "548da231.570f2c",
290 "id": "3455ba94.f30a46",
293 "xml": "<outcome value=''>",
296 "x": 2005.3169212341309,
297 "y": 625.8409004211426,
298 "z": "548da231.570f2c",
306 "id": "42c69ed2.4c6e3",
307 "type": "returnFailure",
308 "name": "return failure",
309 "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.network-input-parameters.name is a required input\" />\n",
311 "x": 2161.745632171631,
312 "y": 624.8409004211426,
313 "z": "548da231.570f2c",
319 "id": "d81b196b.de9bf8",
321 "name": "execute requiredParameter",
322 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id\" value=\"$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id\"/>\n\n",
325 "x": 1997.0313415527344,
326 "y": 464.98375606536865,
327 "z": "548da231.570f2c",
335 "id": "57efdb7e.7de474",
336 "type": "switchNode",
337 "name": "switch service-instance-id",
338 "xml": "<switch test='`$connection-attachment-topology-operation-input.service-information.service-instance-id`'>\n",
341 "x": 697.0312728881836,
342 "y": 67.99399757385254,
343 "z": "548da231.570f2c",
351 "id": "85a4ddfa.563bf",
354 "xml": "<outcome value=''>",
357 "x": 913.4598617553711,
358 "y": 68.99399757385254,
359 "z": "548da231.570f2c",
367 "id": "e5b10c87.6dcab",
368 "type": "returnFailure",
369 "name": "return failure",
370 "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",
372 "x": 1071.8883895874023,
373 "y": 67.99399757385254,
374 "z": "548da231.570f2c",
380 "id": "2f04939.a9b436c",
382 "name": "block : atomic",
383 "xml": "<block atomic=\"true\">",
386 "x": 1047.253620147705,
387 "y": 191.9940309524536,
388 "z": "548da231.570f2c",
396 "id": "99cb6d0f.faec9",
397 "type": "switchNode",
398 "name": "switch request-action",
399 "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
402 "x": 1142.4890975952148,
403 "y": 255.4991979598999,
404 "z": "548da231.570f2c",
413 "id": "12b9b32c.a4b30d",
415 "name": "CreateSOTNAttachmentInstance",
416 "xml": "<outcome value='CreateSOTNAttachmentInstance'>",
419 "x": 1397.8223190307617,
420 "y": 138.49896335601807,
421 "z": "548da231.570f2c",
429 "id": "46ff1495.b090cc",
432 "xml": "<outcome value='other'>",
435 "x": 1330.8223152160645,
436 "y": 284.1656885147095,
437 "z": "548da231.570f2c",
445 "id": "67468b53.41b5e4",
446 "type": "returnFailure",
447 "name": "return failure",
448 "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.request-action is invalid\" />\n",
450 "x": 1529.3781509399414,
451 "y": 283.61034536361694,
452 "z": "548da231.570f2c",
458 "id": "a1752dfc.73195",
460 "name": "block : atomic",
461 "xml": "<block atomic=\"true\">",
464 "x": 1653.6977615356445,
465 "y": 136.88288116455078,
466 "z": "548da231.570f2c",
474 "id": "db455346.fe8d9",
476 "name": "for loop i - Sotn input param",
477 "xml": "<for index=\"i\" start=\"0\" end=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param_length`\">\n",
480 "x": 1735.3287467956543,
481 "y": 197.18352508544922,
482 "z": "548da231.570f2c",
490 "id": "250dfbd6.f87e24",
497 "x": 1929.4120750427246,
498 "y": 161.93047618865967,
499 "z": "548da231.570f2c",
509 "id": "6411a252.efa3dc",
511 "name": "clear tmp-data",
512 "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
514 "x": 2121.412136077881,
515 "y": 116.16857433319092,
516 "z": "548da231.570f2c",
522 "id": "bd70a50a.f57aa8",
524 "name": "set tmp-data",
525 "xml": "<set>\n<parameter name='tmp.name' value=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param[$i].name`\"/>\n<parameter name='tmp.value' value=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param[$i].value`\"/>\n",
527 "x": 2110.4121322631836,
528 "y": 193.16857862472534,
529 "z": "548da231.570f2c",
535 "id": "bce7ba47.627aa8",
536 "type": "switchNode",
537 "name": "switch name",
538 "xml": "<switch test=\"`$tmp.name`\">\n",
541 "x": 2110.4122161865234,
542 "y": 275.16857862472534,
543 "z": "548da231.570f2c",
558 "id": "9a3c6ac9.101328",
561 "xml": "<outcome value=''>",
564 "x": 2312.4763164520264,
565 "y": 618.9942054748535,
566 "z": "548da231.570f2c",
574 "id": "75de126c.4ad7cc",
575 "type": "returnFailure",
576 "name": "return failure",
577 "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-input-parameters.param[' + $i + ']' + '.name is a required input'`\" />\n",
579 "x": 2487.476665496826,
580 "y": 614.9942588806152,
581 "z": "548da231.570f2c",
587 "id": "21ee0580.01132a",
588 "type": "switchNode",
589 "name": "switch request-action",
590 "xml": "<switch test='`$sotn-topology-operation-input.request-information.request-action`'>\n",
593 "x": 1088.6980628967285,
594 "y": 851.994065284729,
595 "z": "548da231.570f2c",
604 "id": "b44b4e5e.93a68",
606 "name": "sotnVpnName",
607 "xml": "<outcome value='sotnVpnName'>",
610 "x": 2327.4757356643677,
611 "y": 144.19395065307617,
612 "z": "548da231.570f2c",
620 "id": "b99955f0.4e5fc8",
621 "type": "switchNode",
622 "name": "switch value",
623 "xml": "<switch test=\"`$tmp.value`\">\n",
626 "x": 2558.3922157287598,
627 "y": 333.20887565612793,
628 "z": "548da231.570f2c",
636 "id": "79ab6adb.1f2014",
639 "xml": "<outcome value=''>",
642 "x": 2742.3921394348145,
643 "y": 329.208890914917,
644 "z": "548da231.570f2c",
652 "id": "cf098d97.55fb",
653 "type": "returnFailure",
654 "name": "return failure",
655 "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=\"`'$tmp.name +' is a required input'`\" />\n",
657 "x": 2750.821060180664,
658 "y": 403.2088851928711,
659 "z": "548da231.570f2c",
665 "id": "c46018d4.cde2f8",
667 "name": "clientSignal",
668 "xml": "<outcome value='clientSignal'>",
671 "x": 2333.475742340088,
672 "y": 213.19396114349365,
673 "z": "548da231.570f2c",
681 "id": "bf279f01.56146",
683 "name": "access-provider-id",
684 "xml": "<outcome value='access-provider-id'>",
687 "x": 2335.3646812438965,
688 "y": 289.1939239501953,
689 "z": "548da231.570f2c",
697 "id": "2718b920.5086d6",
699 "name": "access-client-id",
700 "xml": "<outcome value='access-client-id'>",
703 "x": 2332.3646812438965,
704 "y": 361.19392371177673,
705 "z": "548da231.570f2c",
713 "id": "9dec1793.d77e58",
715 "name": "access-topology-id",
716 "xml": "<outcome value='access-topology-id'>",
719 "x": 2336.3646812438965,
720 "y": 423.1939239501953,
721 "z": "548da231.570f2c",
729 "id": "6b903ba1.e89184",
731 "name": "access-node-id",
732 "xml": "<outcome value='access-node-id'>",
735 "x": 2338.3648529052734,
736 "y": 488.19395637512207,
737 "z": "548da231.570f2c",
745 "id": "9610c6b4.d4b598",
748 "xml": "<outcome value='cVLAN'>",
751 "x": 2316.3651542663574,
752 "y": 552.7496566772461,
753 "z": "548da231.570f2c",
761 "id": "92374a0f.2f7d98",
764 "xml": "<outcome value='activate'>\n",
767 "x": 883.5312347412109,
768 "y": 364.53126430511475,
769 "z": "548da231.570f2c",
777 "id": "40ca4bfa.dde754",
779 "name": "block : atomic",
780 "xml": "<block atomic=\"true\">",
783 "x": 1064.3369064331055,
784 "y": 365.24098110198975,
785 "z": "548da231.570f2c",
793 "id": "38d46ef5.2515a2",
794 "type": "switchNode",
795 "name": "switch request-action",
796 "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
799 "x": 1137.5723876953125,
800 "y": 445.74612522125244,
801 "z": "548da231.570f2c",
810 "id": "bc03657f.d968f8",
812 "name": "ActivateSOTNAttachmentInstance",
813 "xml": "<outcome value='ActivateSOTNAttachmentInstance'>",
816 "x": 1393.9055290222168,
817 "y": 375.7458610534668,
818 "z": "548da231.570f2c",
826 "id": "c7a46845.a20028",
829 "xml": "<outcome value='other'>",
832 "x": 1310.905445098877,
833 "y": 484.41266107559204,
834 "z": "548da231.570f2c",
842 "id": "62ba5aa1.e5bf54",
843 "type": "returnFailure",
844 "name": "return failure",
845 "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.request-action is invalid\" />\n",
847 "x": 1509.461280822754,
848 "y": 483.8573179244995,
849 "z": "548da231.570f2c",
855 "id": "eb87ceea.db236",
857 "name": "deactivate",
858 "xml": "<outcome value='deactivate'>\n",
861 "x": 881.5311889648438,
863 "z": "548da231.570f2c",
871 "id": "10580d5c.7277e3",
873 "name": "block : atomic",
874 "xml": "<block atomic=\"true\">",
877 "x": 1063.674015045166,
878 "y": 585.1977005004883,
879 "z": "548da231.570f2c",
887 "id": "a7478b0d.ac1368",
889 "name": "DeactivateSOTNAttachmentInstance",
890 "xml": "<outcome value='DeactivateSOTNAttachmentInstance'>",
893 "x": 1377.3884048461914,
894 "y": 599.197681427002,
895 "z": "548da231.570f2c",
903 "id": "f5f85a41.420a68",
906 "xml": "<outcome value='Other'>",
909 "x": 1310.388656616211,
910 "y": 688.1978254318237,
911 "z": "548da231.570f2c",
919 "id": "e751aaad.be4338",
920 "type": "returnFailure",
921 "name": "return failure",
922 "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=delete\" />\n",
924 "x": 1497.388656616211,
925 "y": 689.1978254318237,
926 "z": "548da231.570f2c",
932 "id": "97009550.34e988",
933 "type": "switchNode",
934 "name": "switch request-action",
935 "xml": "<switch test='`$sotn-topology-operation-input.request-information.request-action`'>\n",
938 "x": 1085.7692680358887,
939 "y": 664.3508110046387,
940 "z": "548da231.570f2c",
949 "id": "e66639cf.56aa48",
950 "type": "switchNode",
951 "name": "switch parent-service-instance-id",
952 "xml": "<switch test='`$connection-attachment-topology-operation-input.service-information.parent-service-instance-id`'>\n",
955 "x": 713.0103988647461,
956 "y": 114.01042175292969,
957 "z": "548da231.570f2c",
965 "id": "2f054da9.55b662",
968 "xml": "<outcome value=''>",
971 "x": 919.43896484375,
972 "y": 118.01041412353516,
973 "z": "548da231.570f2c",
981 "id": "271d7aba.ca1876",
982 "type": "returnFailure",
983 "name": "return failure",
984 "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.parent-service-instance-id is a required input\" />\n",
986 "x": 1077.8674926757812,
987 "y": 117.01041412353516,
988 "z": "548da231.570f2c",