From 79a537071550d5ae0df0c58572ff2b5aa3065c72 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Wed, 6 Sep 2017 11:03:15 -0400 Subject: Add generic-resource-api DG seed code Add seed code for generic-resource-api directed graphs. Change-Id: I51df937740d54d6f907c79fe322e4ffafe53537c Issue-ID: SDNC-45 Signed-off-by: Dan Timoney Former-commit-id: b014b942536d93f55664b67a36436168e623bcec --- ...URCE-API_service-topology-operation-delete.json | 655 +++++++++++++++++++++ 1 file changed, 655 insertions(+) create mode 100644 platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_service-topology-operation-delete.json (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_service-topology-operation-delete.json') diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_service-topology-operation-delete.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_service-topology-operation-delete.json new file mode 100644 index 00000000..109bb2dc --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_service-topology-operation-delete.json @@ -0,0 +1,655 @@ +[ + { + "id": "708d5adc.4b14a4", + "type": "switchNode", + "name": "switch request-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 485.2381134033203, + "y": 314.761923789978, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "24de1645.3af2ea", + "d3cb3641.f27678" + ] + ] + }, + { + "id": "24de1645.3af2ea", + "type": "outcome", + "name": "DeleteServiceInstance", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 722.3809280395508, + "y": 289.0476322174072, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "e780c482.9646b8" + ] + ] + }, + { + "id": "d3cb3641.f27678", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 672.3808937072754, + "y": 334.76196002960205, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "18ac75d0.4e2baa" + ] + ] + }, + { + "id": "e780c482.9646b8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 900.9523849487305, + "y": 289.04766750335693, + "z": "2b8c09cd.8f7676", + "wires": [ + [] + ] + }, + { + "id": "18ac75d0.4e2baa", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 918.0952301025391, + "y": 334.761923789978, + "z": "2b8c09cd.8f7676", + "wires": [] + }, + { + "id": "42440be9.04b654", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 263.80948638916016, + "y": 431.90471744537354, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "708d5adc.4b14a4", + "c64008cb.372058", + "8cbcdd86.4ea2d", + "9c98677c.c76e58", + "889c05be.733888", + "9f043d1e.49bce", + "d20eaf9b.6a16d", + "c3e8266e.658778" + ] + ] + }, + { + "id": "c64008cb.372058", + "type": "switchNode", + "name": "switch network_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 486.66666412353516, + "y": 504.7618865966797, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "5e24f54a.aadfdc", + "6b934fd0.898a2", + "c530e391.01e37" + ] + ] + }, + { + "id": "5e24f54a.aadfdc", + "type": "outcome", + "name": "0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 670.9523239135742, + "y": 463.3332452774048, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "fa7e1e62.08a81" + ] + ] + }, + { + "id": "6b934fd0.898a2", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 669.5237350463867, + "y": 504.76190280914307, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "fa7e1e62.08a81" + ] + ] + }, + { + "id": "fa7e1e62.08a81", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 818.0952491760254, + "y": 484.7619037628174, + "z": "2b8c09cd.8f7676", + "wires": [ + [] + ] + }, + { + "id": "c530e391.01e37", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 669.5237846374512, + "y": 546.1904907226562, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "983f9e5e.6f1e4" + ] + ] + }, + { + "id": "983f9e5e.6f1e4", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 836.6666793823242, + "y": 544.7618789672852, + "z": "2b8c09cd.8f7676", + "wires": [] + }, + { + "id": "8cbcdd86.4ea2d", + "type": "switchNode", + "name": "switch vnf_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 475.2381057739258, + "y": 631.904670715332, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "1a015c38.b0cdd4", + "3d0c23ae.7944fc", + "42c177a7.fa5448" + ] + ] + }, + { + "id": "1a015c38.b0cdd4", + "type": "outcome", + "name": "0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 668.0951614379883, + "y": 590.4760599136353, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "b2b3efeb.d8fc2" + ] + ] + }, + { + "id": "3d0c23ae.7944fc", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 666.6665725708008, + "y": 631.9047174453735, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "b2b3efeb.d8fc2" + ] + ] + }, + { + "id": "b2b3efeb.d8fc2", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 815.2380867004395, + "y": 611.9047183990479, + "z": "2b8c09cd.8f7676", + "wires": [ + [] + ] + }, + { + "id": "42c177a7.fa5448", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 666.6666221618652, + "y": 673.3333053588867, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "9b2891f2.0e51b" + ] + ] + }, + { + "id": "9b2891f2.0e51b", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 833.8095169067383, + "y": 671.9046936035156, + "z": "2b8c09cd.8f7676", + "wires": [] + }, + { + "id": "9c98677c.c76e58", + "type": "set", + "name": "clear service-data and service-status", + "xml": "\n\n\n", + "comments": "", + "x": 538.0952453613281, + "y": 958.095130443573, + "z": "2b8c09cd.8f7676", + "wires": [] + }, + { + "id": "8ebb5ade.227d28", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 113.33336639404297, + "y": 84.99999237060547, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "c1ce781b.d50358" + ] + ] + }, + { + "id": "c1ce781b.d50358", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 188.61907196044922, + "y": 125.23810386657715, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "25743b1c.a929d4" + ] + ] + }, + { + "id": "25743b1c.a929d4", + "type": "method", + "name": "method service-topology-operation-delete", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 217.76199340820312, + "y": 164.99998664855957, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "42440be9.04b654" + ] + ] + }, + { + "id": "f1543edb.c8ae1", + "type": "comment", + "name": "service-topology-operation-delete", + "info": "", + "comments": "", + "x": 507.67822265625, + "y": 32.58633613586426, + "z": "2b8c09cd.8f7676", + "wires": [] + }, + { + "id": "889c05be.733888", + "type": "switchNode", + "name": "switch service-data.service-topology.service-topology-identifier.service-instance-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 677.1428756713867, + "y": 242.85715293884277, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "1019f3dd.ec3c3c" + ] + ] + }, + { + "id": "1019f3dd.ec3c3c", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1048.5714950561523, + "y": 242.85716938972473, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "a97d9d2d.ac5c1" + ] + ] + }, + { + "id": "9f043d1e.49bce", + "type": "switchNode", + "name": "switch service-data.service-level-oper-status.order-status", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 597.1428680419922, + "y": 398.57144355773926, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "d2aec0fb.6eb24", + "d6b45bcb.26da28" + ] + ] + }, + { + "id": "d2aec0fb.6eb24", + "type": "outcome", + "name": "PendingDelete", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 918.5714285714284, + "y": 382.85714285714283, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "93e133c9.0b965" + ] + ] + }, + { + "id": "d6b45bcb.26da28", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 892.8571357727051, + "y": 427.14287185668945, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "929eab0f.dcf048" + ] + ] + }, + { + "id": "929eab0f.dcf048", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1092.857177734375, + "y": 425.71429443359375, + "z": "2b8c09cd.8f7676", + "wires": [] + }, + { + "id": "93e133c9.0b965", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1095.71435546875, + "y": 381.4285888671875, + "z": "2b8c09cd.8f7676", + "wires": [ + [] + ] + }, + { + "id": "d20eaf9b.6a16d", + "type": "switchNode", + "name": "switch provided-allotted-resource length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 541.6666870117188, + "y": 758.3332624435425, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "f2b5411.bb824c", + "feaed589.3e9658", + "55f0e2d1.bcd42c" + ] + ] + }, + { + "id": "f2b5411.bb824c", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 783.333179473877, + "y": 758.3332424163818, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "c7e318df.48c538" + ] + ] + }, + { + "id": "feaed589.3e9658", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 783.3332023620605, + "y": 799.9999504089355, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "b72c1478.7fe018" + ] + ] + }, + { + "id": "b72c1478.7fe018", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 931.6666030883789, + "y": 799.999870300293, + "z": "2b8c09cd.8f7676", + "wires": [] + }, + { + "id": "c7e318df.48c538", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 913.3332061767578, + "y": 736.6666164398193, + "z": "2b8c09cd.8f7676", + "wires": [ + [] + ] + }, + { + "id": "c3e8266e.658778", + "type": "switchNode", + "name": "switch consumed-allotted-resource length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 546.6666564941406, + "y": 881.666600227356, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "b525f07c.00458", + "98609590.b62e08", + "a7d2b5a5.d54a78" + ] + ] + }, + { + "id": "b525f07c.00458", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 781.6664962768555, + "y": 881.666579246521, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "138caece.68dc91" + ] + ] + }, + { + "id": "98609590.b62e08", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 781.6665344238281, + "y": 921.6666011810303, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "46ef5f07.ba5fb" + ] + ] + }, + { + "id": "46ef5f07.ba5fb", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 931.6665420532227, + "y": 923.3331871032715, + "z": "2b8c09cd.8f7676", + "wires": [] + }, + { + "id": "138caece.68dc91", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 909.9998321533203, + "y": 858.3332653045654, + "z": "2b8c09cd.8f7676", + "wires": [ + [] + ] + }, + { + "id": "55f0e2d1.bcd42c", + "type": "outcome", + "name": "0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 784.9999389648438, + "y": 716.6666259765625, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "c7e318df.48c538" + ] + ] + }, + { + "id": "a7d2b5a5.d54a78", + "type": "outcome", + "name": "0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 783.3332405090332, + "y": 841.6666393280029, + "z": "2b8c09cd.8f7676", + "wires": [ + [ + "138caece.68dc91" + ] + ] + }, + { + "id": "a97d9d2d.ac5c1", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1200.0000076293945, + "y": 243.33331489562988, + "z": "2b8c09cd.8f7676", + "wires": [] + } +] -- cgit 1.2.3-korg