3 "id": "708d5adc.4b14a4",
5 "name": "switch request-action",
6 "xml": "<switch test='`$service-topology-operation-input.request-information.request-action`'>\n",
9 "x": 485.2381134033203,
10 "y": 314.761923789978,
11 "z": "2b8c09cd.8f7676",
20 "id": "24de1645.3af2ea",
22 "name": "DeleteServiceInstance",
23 "xml": "<outcome value='DeleteServiceInstance'>\n",
26 "x": 722.3809280395508,
27 "y": 289.0476322174072,
28 "z": "2b8c09cd.8f7676",
36 "id": "d3cb3641.f27678",
39 "xml": "<outcome value='Other'>\n",
42 "x": 672.3808937072754,
43 "y": 334.76196002960205,
44 "z": "2b8c09cd.8f7676",
52 "id": "e780c482.9646b8",
59 "x": 900.9523849487305,
60 "y": 289.04766750335693,
61 "z": "2b8c09cd.8f7676",
67 "id": "18ac75d0.4e2baa",
68 "type": "returnFailure",
69 "name": "return failure",
70 "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=\"If svc-action is 'delete' then request-action must be 'DeleteServiceInstance'\" />\n",
72 "x": 918.0952301025391,
73 "y": 334.761923789978,
74 "z": "2b8c09cd.8f7676",
78 "id": "42440be9.04b654",
80 "name": "block : atomic",
81 "xml": "<block atomic=\"true\">",
84 "x": 263.80948638916016,
85 "y": 431.90471744537354,
86 "z": "2b8c09cd.8f7676",
101 "id": "c64008cb.372058",
102 "type": "switchNode",
103 "name": "switch network_length",
104 "xml": "<switch test='`$service-data.networks.network_length`'>\n",
107 "x": 486.66666412353516,
108 "y": 504.7618865966797,
109 "z": "2b8c09cd.8f7676",
119 "id": "5e24f54a.aadfdc",
122 "xml": "<outcome value='0'>\n",
125 "x": 670.9523239135742,
126 "y": 463.3332452774048,
127 "z": "2b8c09cd.8f7676",
135 "id": "6b934fd0.898a2",
138 "xml": "<outcome value=''>",
141 "x": 669.5237350463867,
142 "y": 504.76190280914307,
143 "z": "2b8c09cd.8f7676",
151 "id": "fa7e1e62.08a81",
158 "x": 818.0952491760254,
159 "y": 484.7619037628174,
160 "z": "2b8c09cd.8f7676",
166 "id": "c530e391.01e37",
169 "xml": "<outcome value='Other'>\n",
172 "x": 669.5237846374512,
173 "y": 546.1904907226562,
174 "z": "2b8c09cd.8f7676",
182 "id": "983f9e5e.6f1e4",
183 "type": "returnFailure",
184 "name": "return failure",
185 "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=\"Cannot delete the service because there are networks defined\" />\n",
187 "x": 836.6666793823242,
188 "y": 544.7618789672852,
189 "z": "2b8c09cd.8f7676",
193 "id": "8cbcdd86.4ea2d",
194 "type": "switchNode",
195 "name": "switch vnf_length",
196 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
199 "x": 475.2381057739258,
200 "y": 631.904670715332,
201 "z": "2b8c09cd.8f7676",
211 "id": "1a015c38.b0cdd4",
214 "xml": "<outcome value='0'>\n",
217 "x": 668.0951614379883,
218 "y": 590.4760599136353,
219 "z": "2b8c09cd.8f7676",
227 "id": "3d0c23ae.7944fc",
230 "xml": "<outcome value=''>",
233 "x": 666.6665725708008,
234 "y": 631.9047174453735,
235 "z": "2b8c09cd.8f7676",
243 "id": "b2b3efeb.d8fc2",
250 "x": 815.2380867004395,
251 "y": 611.9047183990479,
252 "z": "2b8c09cd.8f7676",
258 "id": "42c177a7.fa5448",
261 "xml": "<outcome value='Other'>\n",
264 "x": 666.6666221618652,
265 "y": 673.3333053588867,
266 "z": "2b8c09cd.8f7676",
274 "id": "9b2891f2.0e51b",
275 "type": "returnFailure",
276 "name": "return failure",
277 "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=\"Cannot delete the service because there are VNFs defined\" />\n",
279 "x": 833.8095169067383,
280 "y": 671.9046936035156,
281 "z": "2b8c09cd.8f7676",
285 "id": "9c98677c.c76e58",
287 "name": "clear service-data and service-status",
288 "xml": "<set>\n<parameter name='service-data.' value='' />\n<parameter name='service-status.' value='' />\n",
290 "x": 538.0952453613281,
291 "y": 958.095130443573,
292 "z": "2b8c09cd.8f7676",
296 "id": "8ebb5ade.227d28",
300 "x": 113.33336639404297,
301 "y": 84.99999237060547,
302 "z": "2b8c09cd.8f7676",
310 "id": "c1ce781b.d50358",
311 "type": "service-logic",
312 "name": "GENERIC-RESOURCE-API ${project.version}",
313 "module": "GENERIC-RESOURCE-API",
314 "version": "${project.version}",
316 "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}'>",
318 "x": 188.61907196044922,
319 "y": 125.23810386657715,
320 "z": "2b8c09cd.8f7676",
328 "id": "25743b1c.a929d4",
330 "name": "method service-topology-operation-delete",
331 "xml": "<method rpc='service-topology-operation-delete' mode='sync'>\n",
334 "x": 217.76199340820312,
335 "y": 164.99998664855957,
336 "z": "2b8c09cd.8f7676",
344 "id": "f1543edb.c8ae1",
346 "name": "service-topology-operation-delete",
349 "x": 507.67822265625,
350 "y": 32.58633613586426,
351 "z": "2b8c09cd.8f7676",
355 "id": "889c05be.733888",
356 "type": "switchNode",
357 "name": "switch service-data.service-topology.service-topology-identifier.service-instance-id",
358 "xml": "<switch test='`$service-data.service-topology.service-topology-identifier.service-instance-id`'>\n",
361 "x": 677.1428756713867,
362 "y": 242.85715293884277,
363 "z": "2b8c09cd.8f7676",
371 "id": "1019f3dd.ec3c3c",
374 "xml": "<outcome value=''>",
377 "x": 1048.5714950561523,
378 "y": 242.85716938972473,
379 "z": "2b8c09cd.8f7676",
387 "id": "9f043d1e.49bce",
388 "type": "switchNode",
389 "name": "switch service-data.service-level-oper-status.order-status",
390 "xml": "<switch test='`$service-data.service-level-oper-status.order-status`'>\n",
393 "x": 597.1428680419922,
394 "y": 398.57144355773926,
395 "z": "2b8c09cd.8f7676",
404 "id": "d2aec0fb.6eb24",
406 "name": "PendingDelete",
407 "xml": "<outcome value='PendingDelete'>\n",
410 "x": 918.5714285714284,
411 "y": 382.85714285714283,
412 "z": "2b8c09cd.8f7676",
420 "id": "d6b45bcb.26da28",
423 "xml": "<outcome value='Other'>\n",
426 "x": 892.8571357727051,
427 "y": 427.14287185668945,
428 "z": "2b8c09cd.8f7676",
436 "id": "929eab0f.dcf048",
437 "type": "returnFailure",
438 "name": "return failure",
439 "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=\"`'Order status is ' + $service-data.service-level-oper-status.order-status\n + ' but must be PendingDelete'`\" />\n",
441 "x": 1092.857177734375,
442 "y": 425.71429443359375,
443 "z": "2b8c09cd.8f7676",
447 "id": "93e133c9.0b965",
449 "name": "block : atomic",
450 "xml": "<block atomic=\"true\">",
453 "x": 1095.71435546875,
454 "y": 381.4285888671875,
455 "z": "2b8c09cd.8f7676",
461 "id": "d20eaf9b.6a16d",
462 "type": "switchNode",
463 "name": "switch provided-allotted-resource length",
464 "xml": "<switch test='`$service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n",
467 "x": 541.6666870117188,
468 "y": 758.3332624435425,
469 "z": "2b8c09cd.8f7676",
479 "id": "f2b5411.bb824c",
482 "xml": "<outcome value=''>",
485 "x": 783.333179473877,
486 "y": 758.3332424163818,
487 "z": "2b8c09cd.8f7676",
495 "id": "feaed589.3e9658",
498 "xml": "<outcome value='Other'>\n",
501 "x": 783.3332023620605,
502 "y": 799.9999504089355,
503 "z": "2b8c09cd.8f7676",
511 "id": "b72c1478.7fe018",
512 "type": "returnFailure",
513 "name": "return failure",
514 "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=\"Cannot deactivate this service because there are provided allotted resources\" />\n",
516 "x": 931.6666030883789,
517 "y": 799.999870300293,
518 "z": "2b8c09cd.8f7676",
522 "id": "c7e318df.48c538",
529 "x": 913.3332061767578,
530 "y": 736.6666164398193,
531 "z": "2b8c09cd.8f7676",
537 "id": "c3e8266e.658778",
538 "type": "switchNode",
539 "name": "switch consumed-allotted-resource length",
540 "xml": "<switch test='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length`'>\n",
543 "x": 546.6666564941406,
544 "y": 881.666600227356,
545 "z": "2b8c09cd.8f7676",
555 "id": "b525f07c.00458",
558 "xml": "<outcome value=''>",
561 "x": 781.6664962768555,
562 "y": 881.666579246521,
563 "z": "2b8c09cd.8f7676",
571 "id": "98609590.b62e08",
574 "xml": "<outcome value='Other'>\n",
577 "x": 781.6665344238281,
578 "y": 921.6666011810303,
579 "z": "2b8c09cd.8f7676",
587 "id": "46ef5f07.ba5fb",
588 "type": "returnFailure",
589 "name": "return failure",
590 "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=\"Cannot deactivate this service because there are consumed allotted resources\" />\n",
592 "x": 931.6665420532227,
593 "y": 923.3331871032715,
594 "z": "2b8c09cd.8f7676",
598 "id": "138caece.68dc91",
605 "x": 909.9998321533203,
606 "y": 858.3332653045654,
607 "z": "2b8c09cd.8f7676",
613 "id": "55f0e2d1.bcd42c",
616 "xml": "<outcome value='0'>\n",
619 "x": 784.9999389648438,
620 "y": 716.6666259765625,
621 "z": "2b8c09cd.8f7676",
629 "id": "a7d2b5a5.d54a78",
632 "xml": "<outcome value='0'>\n",
635 "x": 783.3332405090332,
636 "y": 841.6666393280029,
637 "z": "2b8c09cd.8f7676",
645 "id": "a97d9d2d.ac5c1",
646 "type": "returnFailure",
647 "name": "return failure",
648 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"`'Service ' + $service-topology-operation-input.service-information.service-instance-id + ' is not found'`\" />\n",
650 "x": 1200.0000076293945,
651 "y": 243.33331489562988,
652 "z": "2b8c09cd.8f7676",