3 "id":"f7054ab9.c750e8",
7 "x":120.66666412353516,
8 "y":100.41365557909012,
17 "id":"c424c6c5.ae02a8",
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":202.61902618408203,
26 "y":140.65176802873611,
27 "z":"d739160d.215ac8",
35 "id":"293d1a40.e88a76",
37 "name":"network-topology-operation",
38 "xml":"<method rpc='network-topology-operation' mode='sync'>\n",
41 "x":199.0952911376953,
42 "y":180.41364985704422,
43 "z":"d739160d.215ac8",
51 "id":"6808a800.72f6b8",
53 "name":" NETWORK-TOPOLOGY-OPERATION ",
56 "x":515.0115203857422,
57 "y":47.99999934434891,
58 "z":"d739160d.215ac8",
64 "id":"6c71864c.68b0b8",
66 "name":"block : atomic",
67 "xml":"<block atomic=\"true\">",
70 "x":234.66669464111328,
71 "y":263.85713893175125,
72 "z":"d739160d.215ac8",
83 "id":"a683a74d.bbfcd8",
84 "type":"returnSuccess",
85 "name":"return success",
86 "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",
88 "x":464.7500534057617,
89 "y":887.6997750401497,
90 "z":"d739160d.215ac8",
96 "id":"ec781a98.809e88",
98 "name":"switch svc-action",
99 "xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
102 "x":461.3809280395508,
103 "y":494.2708333134651,
104 "z":"d739160d.215ac8",
118 "id":"4dfadbed.777bc4",
121 "xml":"<outcome value='assign'>\n",
124 "x":681.8571243286133,
125 "y":270.556483566761,
126 "z":"d739160d.215ac8",
134 "id":"fc28dd4a.e1c57",
136 "name":"block : atomic",
137 "xml":"<block atomic=\"true\">",
140 "x":863.0952835083008,
141 "y":271.5566056370735,
142 "z":"d739160d.215ac8",
150 "id":"d4adb7b5.a74888",
152 "name":"call GENERIC-RESOURCE-API:validate-network-input",
153 "xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-network-input' mode='sync' >\n",
156 "x":593.6666793823242,
157 "y":206.41373187303543,
158 "z":"d739160d.215ac8",
166 "id":"82d45ba2.1d8bc8",
168 "name":"call GENERIC-RESOURCE-API:network-topology-operation-assign",
169 "xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-assign' mode='sync' >\n",
172 "x":1234.666633605957,
173 "y":268.413661301136,
174 "z":"d739160d.215ac8",
182 "id":"55daa54f.4836ec",
185 "xml":"<outcome value='activate'>\n",
188 "x":683.6666641235352,
189 "y":444.4136555790901,
190 "z":"d739160d.215ac8",
198 "id":"627cdb56.3b7234",
200 "name":"block : atomic",
201 "xml":"<block atomic=\"true\">",
204 "x":1220.9048233032227,
205 "y":441.4138920903206,
206 "z":"d739160d.215ac8",
215 "id":"6e5c6d24.81c194",
217 "name":"call GENERIC-RESOURCE-API:network-topology-operation-activate",
218 "xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-activate' mode='sync' >\n",
221 "x":2266.476234436035,
222 "y":570.2708275914192,
223 "z":"d739160d.215ac8",
231 "id":"5c025596.ae8c5c",
234 "xml":"<outcome value='deactivate'>\n",
237 "x":672.6666641235352,
238 "y":604.4136803746223,
239 "z":"d739160d.215ac8",
247 "id":"2deb4375.385a5c",
249 "name":"block : atomic",
250 "xml":"<block atomic=\"true\">",
253 "x":860.9050216674805,
254 "y":603.4140033721924,
255 "z":"d739160d.215ac8",
264 "id":"d02489f7.8cbe58",
266 "name":"call GENERIC-RESOURCE-API:network-topology-operation-deactivate",
267 "xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-deactivate' mode='sync' >\n",
270 "x":2458.9762954711914,
271 "y":734.0208568572998,
272 "z":"d739160d.215ac8",
280 "id":"67e93f6e.2c897",
283 "xml":"<outcome value='unassign'>\n",
286 "x":680.6666641235352,
287 "y":669.4136803746223,
288 "z":"d739160d.215ac8",
296 "id":"a5a4cbe4.928108",
298 "name":"block : atomic",
299 "xml":"<block atomic=\"true\">",
302 "x":861.9048233032227,
303 "y":670.4138024449348,
304 "z":"d739160d.215ac8",
313 "id":"76ad4a39.0cc194",
315 "name":"call GENERIC-RESOURCE-API:network-topology-operation-unassign",
316 "xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-unassign' mode='sync' >\n",
319 "x":2013.7261428833008,
320 "y":835.7708275914192,
321 "z":"d739160d.215ac8",
329 "id":"24132a9d.396786",
332 "xml":"<outcome value='Other'>\n",
335 "x":671.6666679382324,
336 "y":729.4136708378792,
337 "z":"d739160d.215ac8",
345 "id":"e05b3a0e.6b2cf8",
346 "type":"returnFailure",
347 "name":"return failure",
348 "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",
350 "x":853.6666641235352,
351 "y":728.4136803746223,
352 "z":"d739160d.215ac8",
358 "id":"a12d09b7.6dc858",
360 "name":"Set final indicator to Y",
361 "xml":"<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
363 "x":483.77774810791016,
364 "y":846.8581135869026,
365 "z":"d739160d.215ac8",
371 "id":"9acad2b9.f0834",
373 "name":"for nidx..service-data.networks.network[]",
374 "xml":"<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
377 "x":2220.3970260620117,
378 "y":480.1755822300911,
379 "z":"d739160d.215ac8",
387 "id":"2132e234.e510ce",
389 "name":"switch service-data.networks.network_length",
390 "xml":"<switch test='`$service-data.networks.network_length`'>\n",
393 "x":1527.1111221313477,
394 "y":439.74696284532547,
395 "z":"d739160d.215ac8",
404 "id":"4172c482.3f5a6c",
406 "name":"outcome Null",
407 "xml":"<outcome value=''>\n",
410 "x":1800.1111602783203,
411 "y":438.747027695179,
412 "z":"d739160d.215ac8",
420 "id":"d4b9b393.99ada",
423 "xml":"<outcome value='Other'>\n",
426 "x":1780.111484527588,
427 "y":478.74703246355057,
428 "z":"d739160d.215ac8",
436 "id":"329c7937.b6a136",
438 "name":"switch networkid found",
439 "xml":"<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
442 "x":2510.8255767822266,
443 "y":479.42566615343094,
444 "z":"d739160d.215ac8",
452 "id":"af5c385d.aaa198",
453 "type":"outcomeTrue",
455 "xml":"<outcome value='true'>\n",
458 "x":2699.777931213379,
459 "y":480.3184044957161,
460 "z":"d739160d.215ac8",
468 "id":"7a7e1001.3b10e",
470 "name":"set tmp.nidx and ctx.network-data",
471 "xml":"<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
473 "x":2933.309700012207,
474 "y":479.0684121251106,
475 "z":"d739160d.215ac8",
481 "id":"a849a7c.367a458",
483 "name":"Find the index to service data for this network - save id in tmp.nidx, save service-data",
486 "x":1473.2224578857422,
487 "y":403.7470243573189,
488 "z":"d739160d.215ac8",
494 "id":"be0b87cc.facda8",
496 "name":"service-data will not be stored until we have a network-id",
499 "x":1202.3332595825195,
500 "y":236.63589030504227,
501 "z":"d739160d.215ac8",
507 "id":"29641469.ee90fc",
508 "type":"returnFailure",
509 "name":"return failure",
510 "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",
512 "x":1961.8886184692383,
513 "y":439.63597041368484,
514 "z":"d739160d.215ac8",
520 "id":"1bb6dea1.ed18f1",
522 "name":"block : atomic",
523 "xml":"<block atomic=\"true\">",
526 "x":1918.3810577392578,
527 "y":479.3015702366829,
528 "z":"d739160d.215ac8",
537 "id":"cf1a68d3.1547a8",
539 "name":"switch tmp.nidx ",
540 "xml":"<switch test=\"`$tmp.nidx`\">\n\n",
543 "x":2138.698455810547,
544 "y":522.1587889790535,
545 "z":"d739160d.215ac8",
553 "id":"b312a9fc.605418",
554 "type":"returnFailure",
555 "name":"return failure",
556 "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",
558 "x":2491.5554389953613,
559 "y":517.8730309605598,
560 "z":"d739160d.215ac8",
566 "id":"5e666501.228a8c",
569 "xml":"<outcome value=''>\n",
572 "x":2310.1269912719727,
573 "y":520.7301743626595,
574 "z":"d739160d.215ac8",
582 "id":"a3ddfe15.bee34",
584 "name":"switch network-level-oper-status",
585 "xml":"<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
588 "x":1479.444465637207,
589 "y":570.2222283482552,
590 "z":"d739160d.215ac8",
599 "id":"671fe44a.883fcc",
601 "name":"outcome PendingCreate",
602 "xml":"<outcome value='PendingCreate'>\n",
605 "x":1844.4444452921543,
606 "y":570.222213089466,
607 "z":"d739160d.215ac8",
615 "id":"619f5c4e.da9664",
618 "xml":"<outcome value='Other'>\n",
621 "x":1794.444492340088,
622 "y":610.2222436070442,
623 "z":"d739160d.215ac8",
631 "id":"ddaa51b4.1a3e6",
632 "type":"returnFailure",
633 "name":"return failure",
634 "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`\" />",
636 "x":1964.444492340088,
637 "y":610.2222436070442,
638 "z":"d739160d.215ac8",
644 "id":"1d159242.42217e",
646 "name":"switch network-level-oper-status",
647 "xml":"<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
650 "x":1225.7460136413574,
651 "y":670.1736888885498,
652 "z":"d739160d.215ac8",
661 "id":"666ae4b6.332edc",
663 "name":"outcome Created",
664 "xml":"<outcome value='Created'>\n",
667 "x":1588.7459831237793,
668 "y":670.1737194061279,
669 "z":"d739160d.215ac8",
677 "id":"a7398342.dc0f5",
680 "xml":"<outcome value='Other'>\n",
683 "x":1558.7459831237793,
684 "y":710.1737194061279,
685 "z":"d739160d.215ac8",
693 "id":"6900f252.7fffdc",
694 "type":"returnFailure",
695 "name":"return failure",
696 "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`\" />",
698 "x":1724.7459831237793,
699 "y":712.1737194061279,
700 "z":"d739160d.215ac8",
706 "id":"8cb9d01a.01cbb",
708 "name":"switch network-level-oper-status",
709 "xml":"<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
712 "x":1220.5475234985352,
713 "y":837.375029861927,
714 "z":"d739160d.215ac8",
724 "id":"c260be3c.787a4",
726 "name":"outcome PendingCreate",
727 "xml":"<outcome value='PendingCreate'>\n",
730 "x":1580.547492980957,
731 "y":837.3750603795052,
732 "z":"d739160d.215ac8",
740 "id":"3745164.07306ea",
743 "xml":"<outcome value='Other'>\n",
746 "x":1537.5474319458008,
747 "y":921.3750756382942,
748 "z":"d739160d.215ac8",
756 "id":"609493c3.1dc45c",
757 "type":"returnFailure",
758 "name":"return failure",
759 "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`\" />",
761 "x":1728.8808517456055,
762 "y":920.0417044758797,
763 "z":"d739160d.215ac8",
769 "id":"aa12305c.9840f",
771 "name":"outcome PendingDelete",
772 "xml":"<outcome value='PendingDelete'>\n",
775 "x":1583.777717590332,
776 "y":875.2222283482552,
777 "z":"d739160d.215ac8",
785 "id":"29d750bd.02a64",
788 "xml":"<outcome value='create'>\n",
791 "x":669.119026184082,
792 "y":788.9999993443489,
793 "z":"d739160d.215ac8",
801 "id":"e6eca3d3.abe59",
804 "xml":"<outcome value='delete'>\n",
807 "x":672.119026184082,
808 "y":841.9999993443489,
809 "z":"d739160d.215ac8",
817 "id":"8872f98e.6acb58",
819 "name":"block : atomic",
820 "xml":"<block atomic=\"true\">",
823 "x":858.119026184082,
824 "y":794.9999993443489,
825 "z":"d739160d.215ac8",
833 "id":"9bd83beb.090958",
835 "name":"block : atomic",
836 "xml":"<block atomic=\"true\">",
839 "x":857.119026184082,
840 "y":853.9999993443489,
841 "z":"d739160d.215ac8",
849 "id":"1974de99.132ea1",
851 "name":"call GENERIC-RESOURCE-API:network-topology-operation-create",
852 "xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-create' mode='sync' >\n",
855 "x":1266.119026184082,
856 "y":979.9999993443489,
857 "z":"d739160d.215ac8",
865 "id":"bedc898b.68ec58",
867 "name":"call GENERIC-RESOURCE-API:network-topology-operation-delete",
868 "xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-delete' mode='sync' >\n",
871 "x":1272.119026184082,
872 "y":1062.999999344349,
873 "z":"d739160d.215ac8",
881 "id":"67566173.45c4c",
883 "name":"switch request-action",
884 "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
887 "x":868.3178939819336,
888 "y":424.7314217686653,
889 "z":"d739160d.215ac8",
898 "id":"18ffc8df.333407",
900 "name":"ActivateDCINetworkInstance",
901 "xml":"<outcome value='ActivateDCINetworkInstance'>",
904 "x":1110.6511611938477,
905 "y":346.7312348484993,
906 "z":"d739160d.215ac8",
914 "id":"4f680131.8475e",
917 "xml":"<outcome value='other'>",
920 "x":1040.6511535644531,
921 "y":472.3979313969612,
922 "z":"d739160d.215ac8",
930 "id":"73585281.0c5d0c",
932 "name":"call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-activate",
933 "xml":"<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-activate' mode='sync' >\n",
936 "x":1534.6511764526367,
937 "y":346.3981040120125,
938 "z":"d739160d.215ac8",
946 "id":"fc61673.76cb698",
948 "name":"switch request-action",
949 "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
952 "x":1863.333251953125,
953 "y":668.3333129882812,
954 "z":"d739160d.215ac8",
963 "id":"96fbac31.d3f4f",
965 "name":"DeActivateDCINetworkInstance",
966 "xml":"<outcome value='DeActivateDCINetworkInstance'>",
969 "x":2133.66650390625,
970 "y":678.3332042694092,
971 "z":"d739160d.215ac8",
979 "id":"5f435227.66b5dc",
981 "name":"call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-deactivate",
982 "xml":"<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-deactivate' mode='sync' >\n",
985 "x":2608.6667251586914,
986 "y":677.0000224113464,
987 "z":"d739160d.215ac8",
995 "id":"3bd184d4.cd8cbc",
998 "xml":"<outcome value='Other'>\n",
1001 "x":2056.3333435058594,
1002 "y":736.3333549499512,
1003 "z":"d739160d.215ac8",