From 22c485a861ec91c26c96c6ad225c0562f880f82f Mon Sep 17 00:00:00 2001 From: Franklin Dsilva Date: Wed, 18 Mar 2020 12:00:30 +0000 Subject: [PATCH] TAPI and MSA create and delete service changes Change-Id: I06e25b82112afbe079be2ceda7aa5f6f81a39b97 Issue-ID: SDNC-928 Signed-off-by: Franklin Dsilva Former-commit-id: 55fa8bbbe7392464d9cc212c5dc79eb4036bbe0e --- .../src/main/json/optical-service_main-create.json | 367 +++++ .../optical-service_optical-service-delete.json | 1449 ++++++++++++++++---- .../json/optical-service_service-delete-msa.json | 365 +++++ .../json/optical-service_service-delete-tapi.json | 26 +- .../src/main/resources/graph.versions | 3 +- .../src/main/xml/optical-service_main-create.xml | 71 + .../xml/optical-service_optical-service-delete.xml | 324 +++-- .../xml/optical-service_service-delete-msa.xml | 89 ++ .../xml/optical-service_service-delete-tapi.xml | 8 +- 9 files changed, 2345 insertions(+), 357 deletions(-) create mode 100644 platform-logic/optical-service/src/main/json/optical-service_main-create.json create mode 100644 platform-logic/optical-service/src/main/json/optical-service_service-delete-msa.json create mode 100644 platform-logic/optical-service/src/main/xml/optical-service_main-create.xml create mode 100644 platform-logic/optical-service/src/main/xml/optical-service_service-delete-msa.xml diff --git a/platform-logic/optical-service/src/main/json/optical-service_main-create.json b/platform-logic/optical-service/src/main/json/optical-service_main-create.json new file mode 100644 index 00000000..a4a40e3a --- /dev/null +++ b/platform-logic/optical-service/src/main/json/optical-service_main-create.json @@ -0,0 +1,367 @@ +[ + { + "id": "65bbf2ea.e8f944", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 286.8833312988281, + "y": 269, + "z": "30ae7182.add8b6", + "wires": [ + [ + "1593715.ae96a8f" + ] + ] + }, + { + "id": "f336edeb.74ce6", + "type": "method", + "name": "method", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 285.8833312988281, + "y": 344, + "z": "30ae7182.add8b6", + "wires": [ + [ + "14882330.8313b5" + ] + ] + }, + { + "id": "1593715.ae96a8f", + "type": "service-logic", + "name": "optical-service ${project.version}", + "module": "optical-service", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 504.3833312988281, + "y": 252, + "z": "30ae7182.add8b6", + "wires": [ + [ + "f336edeb.74ce6" + ] + ] + }, + { + "id": "14882330.8313b5", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 461.8833312988281, + "y": 357, + "z": "30ae7182.add8b6", + "wires": [ + [ + "994bfa4.9799188", + "c4d3d388.dc35a", + "204f0598.3ac182", + "2d636d44.e5a0fa", + "2c72a67.f372ada", + "79455985.47e29", + "887cbe59.b1784", + "4f44de12.e7fb18" + ] + ] + }, + { + "id": "c4d3d388.dc35a", + "type": "switchNode", + "name": "switch : domain-type", + "xml": "\n \n", + "comments": "", + "outputs": 1, + "x": 339.3833312988281, + "y": 670, + "z": "30ae7182.add8b6", + "wires": [ + [ + "77b74d5.6495a34", + "7bd5cfea.c1ac2" + ] + ] + }, + { + "id": "77b74d5.6495a34", + "type": "outcome", + "name": "MSA", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 641.8833312988281, + "y": 640, + "z": "30ae7182.add8b6", + "wires": [ + [ + "70f7a20a.befe0c" + ] + ] + }, + { + "id": "7bd5cfea.c1ac2", + "type": "outcome", + "name": "TAPI", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 637.8833312988281, + "y": 749, + "z": "30ae7182.add8b6", + "wires": [ + [ + "9b03001b.004b98" + ] + ] + }, + { + "id": "994bfa4.9799188", + "type": "execute", + "name": "execute", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 854.88330078125, + "y": 181, + "z": "30ae7182.add8b6", + "wires": [ + [] + ] + }, + { + "id": "70f7a20a.befe0c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 829.8833312988281, + "y": 641, + "z": "30ae7182.add8b6", + "wires": [ + [ + "5fc1c8dc.a583e8" + ] + ] + }, + { + "id": "9b03001b.004b98", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 822.8833312988281, + "y": 754, + "z": "30ae7182.add8b6", + "wires": [ + [ + "b46560fc.9378b8" + ] + ] + }, + { + "id": "204f0598.3ac182", + "type": "call", + "name": "call validate-input-parameters", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 911.88330078125, + "y": 136, + "z": "30ae7182.add8b6", + "wires": [ + [] + ] + }, + { + "id": "b46560fc.9378b8", + "type": "call", + "name": "call TAPI DG", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1018.8833618164062, + "y": 760, + "z": "30ae7182.add8b6", + "wires": [ + [] + ] + }, + { + "id": "5fc1c8dc.a583e8", + "type": "call", + "name": "call MSA DG", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1048.88330078125, + "y": 641, + "z": "30ae7182.add8b6", + "wires": [ + [] + ] + }, + { + "id": "2d636d44.e5a0fa", + "type": "get-resource", + "name": "get resources from DB -controller_id", + "xml": "\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 871.88330078125, + "y": 257, + "z": "30ae7182.add8b6", + "wires": [ + [ + "33031f70.c9e2f" + ] + ] + }, + { + "id": "2c72a67.f372ada", + "type": "execute", + "name": "split node-id a-end retrieved from DB", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 871.88330078125, + "y": 308, + "z": "30ae7182.add8b6", + "wires": [ + [] + ] + }, + { + "id": "33031f70.c9e2f", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1107.88330078125, + "y": 255, + "z": "30ae7182.add8b6", + "wires": [ + [ + "6316e11e.6a8a8" + ] + ] + }, + { + "id": "6316e11e.6a8a8", + "type": "set", + "name": "set", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1250.88330078125, + "y": 257, + "z": "30ae7182.add8b6", + "wires": [] + }, + { + "id": "79455985.47e29", + "type": "set", + "name": "set controller-ip", + "xml": "\n\n\n \n", + "comments": "", + "x": 815.88330078125, + "y": 370, + "z": "30ae7182.add8b6", + "wires": [] + }, + { + "id": "887cbe59.b1784", + "type": "get-resource", + "name": "get-resource", + "xml": "\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 693.88330078125, + "y": 424, + "z": "30ae7182.add8b6", + "wires": [ + [ + "1d791c96.d1da33" + ] + ] + }, + { + "id": "4f44de12.e7fb18", + "type": "get-resource", + "name": "get-resource", + "xml": "\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 679.88330078125, + "y": 487, + "z": "30ae7182.add8b6", + "wires": [ + [ + "ef8516e4.6c5f7" + ] + ] + }, + { + "id": "1d791c96.d1da33", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 877.88330078125, + "y": 426, + "z": "30ae7182.add8b6", + "wires": [ + [ + "c56f5bdc.a7e378" + ] + ] + }, + { + "id": "c56f5bdc.a7e378", + "type": "set", + "name": "set", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1044.88330078125, + "y": 425, + "z": "30ae7182.add8b6", + "wires": [] + }, + { + "id": "ef8516e4.6c5f7", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 876.88330078125, + "y": 491, + "z": "30ae7182.add8b6", + "wires": [ + [ + "3ea4fdfa.d7bd4a" + ] + ] + }, + { + "id": "3ea4fdfa.d7bd4a", + "type": "set", + "name": "set", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1044.88330078125, + "y": 492, + "z": "30ae7182.add8b6", + "wires": [] + } +] \ No newline at end of file diff --git a/platform-logic/optical-service/src/main/json/optical-service_optical-service-delete.json b/platform-logic/optical-service/src/main/json/optical-service_optical-service-delete.json index 270a3cf9..fbb368bf 100644 --- a/platform-logic/optical-service/src/main/json/optical-service_optical-service-delete.json +++ b/platform-logic/optical-service/src/main/json/optical-service_optical-service-delete.json @@ -1,20 +1,20 @@ [ { - "id": "7d351c38.c4c6cc", + "id": "b65cdeae.8f7b08", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 146, - "y": 70, - "z": "7b1b071a.92faa", + "x": 129, + "y": 129.88333129882812, + "z": "e2f7091c.1492b8", "wires": [ [ - "6c3e5cdb.13fe9c" + "644f31e7.7234b8" ] ] }, { - "id": "6c3e5cdb.13fe9c", + "id": "644f31e7.7234b8", "type": "service-logic", "name": "optical-service ${project.version}", "module": "optical-service", @@ -22,515 +22,1454 @@ "comments": "", "xml": "", "outputs": 1, - "x": 254.5, - "y": 148, - "z": "7b1b071a.92faa", + "x": 237.5, + "y": 207.88333129882812, + "z": "e2f7091c.1492b8", "wires": [ [ - "c9af40a8.771678" + "168fe70c.0f8c41" ] ] }, { - "id": "c9af40a8.771678", + "id": "168fe70c.0f8c41", "type": "method", "name": "method", "xml": "\n", "comments": "", "outputs": 1, - "x": 123, - "y": 239, - "z": "7b1b071a.92faa", + "x": 106, + "y": 298.8833312988281, + "z": "e2f7091c.1492b8", "wires": [ [ - "487722a8.b389a4" + "cfd0169c.a3cee" ] ] }, { - "id": "487722a8.b389a4", + "id": "cfd0169c.a3cee", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, - "x": 309, - "y": 235, - "z": "7b1b071a.92faa", + "x": 292, + "y": 294.8833312988281, + "z": "e2f7091c.1492b8", "wires": [ [ - "a1fed560.31e7a8", - "4b9bbd62.4750fc", - "eac944ef.f83328", - "b567b7de.be2de8", - "c0977e42.e4156" + "30cb33e3.b12a94", + "2e82bc92.4b93a4", + "5e98d3f6.94968c", + "cf17dc19.012ac", + "d4ebf687.1cccd8", + "cbe18d30.3b4198", + "840d7865.dda6b" ] ] }, { - "id": "bfd79d0e.9f7ee8", + "id": "30cb33e3.b12a94", "type": "execute", - "name": "Call MSA Controller", - "xml": "\n\n\n\n\n\n\n\n\n \n \n\n\n\n\n\n\n\n", + "name": "execute", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 574.9999694824219, + "y": 20, + "z": "e2f7091c.1492b8", + "wires": [ + [] + ] + }, + { + "id": "2e82bc92.4b93a4", + "type": "get-resource", + "name": "get resources from DB -controller_id", + "xml": "", + "comments": "", + "outputs": 1, + "x": 640.9999389648438, + "y": 71.8833236694336, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "78b1b9eb.f0f1a8" + ] + ] + }, + { + "id": "78b1b9eb.f0f1a8", + "type": "success", + "name": "success", + "xml": "\n", "comments": "", "outputs": 1, - "x": 700, - "y": 326, - "z": "7b1b071a.92faa", + "x": 881, + "y": 68.8833236694336, + "z": "e2f7091c.1492b8", "wires": [ [ - "582ceeba.7fcce", - "867ca716.d4515" + "b1511a3a.314df" ] ] }, { - "id": "a1fed560.31e7a8", + "id": "b1511a3a.314df", + "type": "set", + "name": "set", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1046, + "y": 67.8833236694336, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "5e98d3f6.94968c", + "type": "set", + "name": "set domain-services", + "xml": "\n\n\n", + "comments": "", + "x": 589.9999389648438, + "y": 165.88333129882812, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "cf17dc19.012ac", "type": "execute", - "name": "execute", - "xml": "\n\n\n", + "name": "split domain-requests for access services", + "xml": "\n\n\n\n", "comments": "", "outputs": 1, - "x": 553, - "y": 36, - "z": "7b1b071a.92faa", + "x": 651.1166381835938, + "y": 115.99999237060547, + "z": "e2f7091c.1492b8", "wires": [ [] ] }, { - "id": "582ceeba.7fcce", - "type": "failure", - "name": "failure", - "xml": "\n", + "id": "d4ebf687.1cccd8", + "type": "for", + "name": "for", + "xml": "\n \n \n \n\n\n", "comments": "", "outputs": 1, - "x": 894, - "y": 306, - "z": "7b1b071a.92faa", + "x": 544, + "y": 289, + "z": "e2f7091c.1492b8", "wires": [ [ - "c3bd28c6.e626b" + "91896047.66eb7" ] ] }, { - "id": "867ca716.d4515", - "type": "success", - "name": "success", - "xml": "\n", + "id": "91896047.66eb7", + "type": "switchNode", + "name": "switch", + "xml": "\n", "comments": "", "outputs": 1, - "x": 869, - "y": 410, - "z": "7b1b071a.92faa", + "x": 698, + "y": 287, + "z": "e2f7091c.1492b8", "wires": [ [ - "791a6dc2.40ab1c" + "2c37340b.4002cc", + "7784419a.212fa" ] ] }, { - "id": "c3bd28c6.e626b", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", + "id": "2c37340b.4002cc", + "type": "outcome", + "name": "1", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1053, - "y": 301, - "z": "7b1b071a.92faa", + "x": 881, + "y": 281, + "z": "e2f7091c.1492b8", "wires": [ [ - "caa7c35f.0456c8" + "be5c1afb.f2037" ] ] }, { - "id": "caa7c35f.0456c8", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\n\n", - "comments": "", - "x": 1285, - "y": 245, - "z": "7b1b071a.92faa", - "wires": [] - }, - { - "id": "2041d7aa.c3ae1", + "id": "be5c1afb.f2037", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, - "x": 1424, - "y": 549, - "z": "7b1b071a.92faa", + "x": 1050, + "y": 281, + "z": "e2f7091c.1492b8", "wires": [ [ - "27f66eb0.3c9aaa", - "e6dae4f7.8c52b", - "276e2c67.21f3ec", - "126b611e.fd67af", - "881b58f7.fb4a6" + "7f6fcc65.18cb7c", + "3a1a70c6.408b8", + "795303c1.2dac44", + "3ab986c7.09e812" ] ] }, { - "id": "27f66eb0.3c9aaa", - "type": "record", - "name": "record", - "xml": "\n\n\n\n\n", + "id": "7784419a.212fa", + "type": "outcome", + "name": "2", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1639, - "y": 464, - "z": "7b1b071a.92faa", + "x": 631, + "y": 718, + "z": "e2f7091c.1492b8", "wires": [ - [] + [ + "e41aac03.bbaa5" + ] ] }, { - "id": "e6dae4f7.8c52b", - "type": "save", - "name": "Update status in DB", - "xml": "\n\n\n\n\n\n\n\n\n\n", + "id": "3a1a70c6.408b8", + "type": "execute", + "name": "split node-id a-end retrieved from DB", + "xml": "\n\n\n\n", "comments": "", "outputs": 1, - "x": 1641, - "y": 550, - "z": "7b1b071a.92faa", + "x": 1322, + "y": 286, + "z": "e2f7091c.1492b8", "wires": [ [] ] }, { - "id": "276e2c67.21f3ec", + "id": "7f6fcc65.18cb7c", "type": "get-resource", - "name": "get-resource", - "xml": "\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n\n", + "name": "get resources from DB -controller_id", + "xml": "", "comments": "", "outputs": 1, - "x": 1637, - "y": 626, - "z": "7b1b071a.92faa", + "x": 1326.11669921875, + "y": 246.11666870117188, + "z": "e2f7091c.1492b8", "wires": [ [ - "ccbf1f5f.52d948" + "e2726a7c.0cf32" ] ] }, { - "id": "cdc717d5.1094b8", - "type": "record", - "name": "record", - "xml": "\n\n\n\n\n", + "id": "e2726a7c.0cf32", + "type": "success", + "name": "success", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1238, - "y": 332, - "z": "7b1b071a.92faa", + "x": 1571.11669921875, + "y": 245.11666870117188, + "z": "e2f7091c.1492b8", "wires": [ - [] + [ + "70e7b1a6.2a20f" + ] ] }, { - "id": "791a6dc2.40ab1c", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", + "id": "70e7b1a6.2a20f", + "type": "set", + "name": "set", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1719.11669921875, + "y": 247.11666870117188, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "795303c1.2dac44", + "type": "set", + "name": "set domain-services", + "xml": "\n\n\n\n", + "comments": "", + "x": 1274.11669921875, + "y": 358.1166687011719, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "3ab986c7.09e812", + "type": "switchNode", + "name": "switch domain-type", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1036, - "y": 413, - "z": "7b1b071a.92faa", + "x": 1263, + "y": 493, + "z": "e2f7091c.1492b8", "wires": [ [ - "cdc717d5.1094b8", - "d4fa1dc0.5c15a8" + "e04cd56f.45dfc8", + "2fc7713.599bf0e" ] ] }, { - "id": "d4fa1dc0.5c15a8", - "type": "switchNode", - "name": "switch", - "xml": "\n", + "id": "e04cd56f.45dfc8", + "type": "outcome", + "name": "MSA", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1221, - "y": 410, - "z": "7b1b071a.92faa", + "x": 1466, + "y": 404, + "z": "e2f7091c.1492b8", "wires": [ [ - "bbeca38a.ba0cc", - "86f8972f.01b4c8" + "5962de98.7a93e8" ] ] }, { - "id": "bbeca38a.ba0cc", + "id": "2fc7713.599bf0e", "type": "outcome", - "name": "200 success", - "xml": "\n", + "name": "TAPI", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1409, - "y": 416, - "z": "7b1b071a.92faa", + "x": 1469, + "y": 584, + "z": "e2f7091c.1492b8", "wires": [ [ - "2041d7aa.c3ae1" + "c51e88be.9e544" ] ] }, { - "id": "86f8972f.01b4c8", - "type": "other", - "name": "other", - "xml": "\n", + "id": "5962de98.7a93e8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", "comments": "", "outputs": 1, - "x": 1395, - "y": 295, - "z": "7b1b071a.92faa", + "x": 1606, + "y": 401, + "z": "e2f7091c.1492b8", "wires": [ [ - "8b978b7.90f6978" + "314acdb7.afb7da" ] ] }, { - "id": "8b978b7.90f6978", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\n\n", + "id": "314acdb7.afb7da", + "type": "call", + "name": "call MSA DELETE DG", + "xml": "\n", "comments": "", - "x": 1582, - "y": 294, - "z": "7b1b071a.92faa", - "wires": [] + "outputs": 1, + "x": 1794, + "y": 402, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "af9224a8.a9533", + "3e7bdf94.045928" + ] + ] }, { - "id": "ccbf1f5f.52d948", + "id": "af9224a8.a9533", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 1847, - "y": 621, - "z": "7b1b071a.92faa", + "x": 1979, + "y": 358, + "z": "e2f7091c.1492b8", "wires": [ [ - "ae1d75fe.230f18" + "bbe67c9b.ae8e2" ] ] }, { - "id": "ae1d75fe.230f18", - "type": "set", - "name": "set", - "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "id": "3e7bdf94.045928", + "type": "failure", + "name": "failure", + "xml": "\n", "comments": "", - "x": 1986, - "y": 622, - "z": "7b1b071a.92faa", - "wires": [] + "outputs": 1, + "x": 1981, + "y": 450, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "449903c8.0a6724" + ] + ] }, { - "id": "126b611e.fd67af", - "type": "update", - "name": "update resource status- DELETING in AAI", - "xml": "\n \n\n \n \n \n\n", + "id": "bbe67c9b.ae8e2", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", "comments": "", "outputs": 1, - "x": 1730, - "y": 714, - "z": "7b1b071a.92faa", + "x": 2150, + "y": 349, + "z": "e2f7091c.1492b8", "wires": [ - [] + [ + "3a0958a9.5973c8" + ] ] }, { - "id": "881b58f7.fb4a6", - "type": "returnSuccess", - "name": "return success", - "xml": "\n\n\n", + "id": "3a0958a9.5973c8", + "type": "set", + "name": "set", + "xml": "\n\n", "comments": "", - "x": 1619, - "y": 810, - "z": "7b1b071a.92faa", + "x": 2293, + "y": 324, + "z": "e2f7091c.1492b8", "wires": [] }, { - "id": "4b9bbd62.4750fc", - "type": "get-resource", - "name": "get resources from DB -controller_id", - "xml": "", + "id": "449903c8.0a6724", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 2150, + "y": 480, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "c51e88be.9e544", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", "comments": "", "outputs": 1, - "x": 665, - "y": 109, - "z": "7b1b071a.92faa", + "x": 1625, + "y": 586, + "z": "e2f7091c.1492b8", "wires": [ [ - "3249f019.f6152" + "a271ced2.6952d8" ] ] }, { - "id": "eac944ef.f83328", - "type": "execute", - "name": "split node-id a-end retrieved from DB", - "xml": "\n\n\n\n", + "id": "a271ced2.6952d8", + "type": "call", + "name": "call TAPI DELETE DG", + "xml": "\n", "comments": "", "outputs": 1, - "x": 646, - "y": 168, - "z": "7b1b071a.92faa", + "x": 1813, + "y": 587, + "z": "e2f7091c.1492b8", "wires": [ - [] + [ + "3ea9b0c9.5ce928", + "3153866d.fe9922" + ] ] }, { - "id": "3249f019.f6152", + "id": "3ea9b0c9.5ce928", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 892, - "y": 104, - "z": "7b1b071a.92faa", + "x": 1998, + "y": 543, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "4e515097.338e48" + ] + ] + }, + { + "id": "3153866d.fe9922", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2000, + "y": 635, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "e7c2b606.d88798" + ] + ] + }, + { + "id": "4e515097.338e48", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2169, + "y": 534, + "z": "e2f7091c.1492b8", "wires": [ [ - "cc783b3b.8e16b" + "128c0365.4d99ed", + "99a0a090.74b4e8" ] ] }, { - "id": "cc783b3b.8e16b", + "id": "128c0365.4d99ed", "type": "set", "name": "set", - "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "xml": "\n\n", + "comments": "", + "x": 2312, + "y": 509, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "e7c2b606.d88798", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", "comments": "", - "x": 1083, - "y": 106, - "z": "7b1b071a.92faa", + "x": 2169, + "y": 665, + "z": "e2f7091c.1492b8", "wires": [] }, { - "id": "b567b7de.be2de8", + "id": "71b9114.072a4f", + "type": "call", + "name": "call TAPI DELETE DG", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1315, + "y": 891, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "1978613e.4073f7", + "2736e495.752c04" + ] + ] + }, + { + "id": "63600e7b.0d9eb8", "type": "set", - "name": "set controller-ip", - "xml": "\n\n\n\n", + "name": "set", + "xml": "\n\n\n\n\n", "comments": "", - "x": 593, - "y": 223, - "z": "7b1b071a.92faa", + "x": 1296.11669921875, + "y": 815.1167602539062, + "z": "e2f7091c.1492b8", "wires": [] }, { - "id": "c0977e42.e4156", + "id": "e41aac03.bbaa5", "type": "switchNode", - "name": "switch domain-type", - "xml": "\n", + "name": "switch", + "xml": "\n", "comments": "", "outputs": 1, - "x": 188, - "y": 324, - "z": "7b1b071a.92faa", + "x": 771.1167602539062, + "y": 723.11669921875, + "z": "e2f7091c.1492b8", "wires": [ [ - "1f20cc0f.cf39ec", - "fe8682d2.0d3618" + "bc61c8e0.999178", + "d5fffe4f.796c18" ] ] }, { - "id": "1f20cc0f.cf39ec", + "id": "bc61c8e0.999178", "type": "outcome", - "name": "MSA", - "xml": "\n", + "name": "0", + "xml": "\n", "comments": "", "outputs": 1, - "x": 363, - "y": 325, - "z": "7b1b071a.92faa", + "x": 951.1167602539062, + "y": 723.11669921875, + "z": "e2f7091c.1492b8", "wires": [ [ - "d9880526.733f4" + "b7c6609b.2477c8" ] ] }, { - "id": "fe8682d2.0d3618", + "id": "d5fffe4f.796c18", "type": "outcome", - "name": "TAPI", - "xml": "\n", + "name": "1", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 899.1167602539062, + "y": 1097.11669921875, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "a2b3475f.c55ff" + ] + ] + }, + { + "id": "ab6f8311.54637", + "type": "set", + "name": "set", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "x": 1294.11669921875, + "y": 1170.11669921875, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "fc3b2634.80fb1", + "type": "call", + "name": "call TAPI DELETE DG", + "xml": "\n", "comments": "", "outputs": 1, - "x": 324, - "y": 428, - "z": "7b1b071a.92faa", + "x": 1301.11669921875, + "y": 1243.11669921875, + "z": "e2f7091c.1492b8", "wires": [ [ - "c4af063b.a8dc38" + "d0a61851.774d7", + "67e5500f.2b88c8" ] ] }, { - "id": "d9880526.733f4", + "id": "b7c6609b.2477c8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 507, - "y": 326, - "z": "7b1b071a.92faa", + "x": 1091.11669921875, + "y": 724.11669921875, + "z": "e2f7091c.1492b8", "wires": [ [ - "bfd79d0e.9f7ee8" + "63600e7b.0d9eb8", + "71b9114.072a4f", + "fb442d76.8c0b1", + "e8836a64.f81ae" ] ] }, { - "id": "c4af063b.a8dc38", + "id": "a2b3475f.c55ff", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 475, - "y": 421, - "z": "7b1b071a.92faa", + "x": 1025.1167602539062, + "y": 1106.11669921875, + "z": "e2f7091c.1492b8", "wires": [ [ - "5c1ca252.745f4c" + "ab6f8311.54637", + "fc3b2634.80fb1", + "4d169812.58b88", + "8f4e881d.558318" ] ] }, { - "id": "5c1ca252.745f4c", - "type": "call", - "name": "call TAPI DELETE DG", - "xml": "\n", + "id": "1978613e.4073f7", + "type": "success", + "name": "success", + "xml": "\n", "comments": "", "outputs": 1, - "x": 643, - "y": 524, - "z": "7b1b071a.92faa", + "x": 1576, + "y": 844, + "z": "e2f7091c.1492b8", "wires": [ - [] + [ + "b4b3ae50.b80768" + ] + ] + }, + { + "id": "2736e495.752c04", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1560, + "y": 973, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "ecbd8135.fa342" + ] + ] + }, + { + "id": "b4b3ae50.b80768", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1732, + "y": 851, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "e387ae63.768b78", + "6a4932f.f7508cc" + ] + ] + }, + { + "id": "e387ae63.768b78", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 1898.9998779296875, + "y": 764, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "6a4932f.f7508cc", + "type": "switchNode", + "name": "switch", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1887.9998779296875, + "y": 881, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "f2ab530d.5d599", + "7ea5454b.c5d99c" + ] + ] + }, + { + "id": "f2ab530d.5d599", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2029.9998779296875, + "y": 811, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "896e220.db3996" + ] + ] + }, + { + "id": "7ea5454b.c5d99c", + "type": "outcomeFalse", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2031, + "y": 929, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "251983ac.1c994c" + ] + ] + }, + { + "id": "896e220.db3996", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 2185, + "y": 817, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "251983ac.1c994c", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 2198, + "y": 927, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "ecbd8135.fa342", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1732, + "y": 974, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "d0a61851.774d7", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1543, + "y": 1167, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "7ee5420a.dabadc" + ] + ] + }, + { + "id": "67e5500f.2b88c8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1550, + "y": 1306, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "dec65b83.66c9b" + ] + ] + }, + { + "id": "7ee5420a.dabadc", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1698, + "y": 1175, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "11571d88.b80ba2", + "8e369286.a24f1" + ] + ] + }, + { + "id": "11571d88.b80ba2", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 1894, + "y": 1090, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "8e369286.a24f1", + "type": "switchNode", + "name": "switch", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1875, + "y": 1215, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "bc9b1c9e.2d7528", + "6e8a106a.b8a098" + ] + ] + }, + { + "id": "bc9b1c9e.2d7528", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2037, + "y": 1140, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "88261b09.8da33" + ] + ] + }, + { + "id": "6e8a106a.b8a098", + "type": "outcomeFalse", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2043, + "y": 1262, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "e617e321.5b485" + ] + ] + }, + { + "id": "88261b09.8da33", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 2192, + "y": 1143, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "e617e321.5b485", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 2205, + "y": 1265, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "dec65b83.66c9b", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1751, + "y": 1306, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "cbe18d30.3b4198", + "type": "set", + "name": "set", + "xml": "\n\n\n", + "comments": "", + "x": 548.8999938964844, + "y": 211.85000610351562, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "99a0a090.74b4e8", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 2306.85009765625, + "y": 583.8499755859375, + "z": "e2f7091c.1492b8", + "wires": [ + [] + ] + }, + { + "id": "840d7865.dda6b", + "type": "switchNode", + "name": "switch", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 362.20001220703125, + "y": 1446.64990234375, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "35bc7c0e.531f0c", + "647592de.7dc3ec" + ] + ] + }, + { + "id": "35bc7c0e.531f0c", + "type": "outcome", + "name": "0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 598.4000549316406, + "y": 1349.3999633789062, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "362cac69.39ad1c" + ] + ] + }, + { + "id": "647592de.7dc3ec", + "type": "outcome", + "name": "1", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 589.4000549316406, + "y": 1522.39990234375, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "96d3d87a.161f98" + ] + ] + }, + { + "id": "362cac69.39ad1c", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 740.4000244140625, + "y": 1353.3999633789062, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "827658b9.c24fd" + ] + ] + }, + { + "id": "827658b9.c24fd", + "type": "switchNode", + "name": "switch", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 882.75, + "y": 1358.5999145507812, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "30018cf9.344a24", + "7de52130.2c5fc" + ] + ] + }, + { + "id": "f7b9ef6.7932f9", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1217.75, + "y": 1300.7999877929688, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "2fd5efbb.db2cd8", + "a5309500.d76bc" + ] + ] + }, + { + "id": "2fd5efbb.db2cd8", + "type": "delete", + "name": "delete", + "xml": " ", + "comments": "", + "outputs": 1, + "x": 1381.75, + "y": 1297.8001098632812, + "z": "e2f7091c.1492b8", + "wires": [ + [] + ] + }, + { + "id": "a5309500.d76bc", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n", + "comments": "", + "x": 1423.75, + "y": 1481.8001098632812, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "30018cf9.344a24", + "type": "outcome", + "name": "200", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1056.199951171875, + "y": 1308.2499389648438, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "f7b9ef6.7932f9" + ] + ] + }, + { + "id": "7de52130.2c5fc", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1033.199951171875, + "y": 1460.2499389648438, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "6461eb1d.8fedb4" + ] + ] + }, + { + "id": "d7f1c2ce.8da74", + "type": "switchNode", + "name": "switch", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 857.75, + "y": 1529.599853515625, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "d0c11e44.eff1b8", + "ebfe8068.c9971" + ] + ] + }, + { + "id": "d0c11e44.eff1b8", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1015.75, + "y": 1538.599853515625, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "505e7a53.be6c6c" + ] + ] + }, + { + "id": "505e7a53.be6c6c", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1155.75, + "y": 1545.599853515625, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "2406e71c.d43e8", + "37282d8f.acde4a" + ] + ] + }, + { + "id": "2406e71c.d43e8", + "type": "delete", + "name": "delete", + "xml": " ", + "comments": "", + "outputs": 1, + "x": 1319.75, + "y": 1545.599853515625, + "z": "e2f7091c.1492b8", + "wires": [ + [] + ] + }, + { + "id": "ebfe8068.c9971", + "type": "outcomeFalse", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1003.75, + "y": 1670.599853515625, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "383c08d1.28a08" + ] + ] + }, + { + "id": "383c08d1.28a08", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1147.75, + "y": 1683.599853515625, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "495cad00.8d5f24" + ] + ] + }, + { + "id": "495cad00.8d5f24", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1322.75, + "y": 1676.599853515625, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "37282d8f.acde4a", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n", + "comments": "", + "x": 1337.75, + "y": 1626.599853515625, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "70ec6ec4.5ccf08", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1211.5, + "y": 1472.3998413085938, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "96d3d87a.161f98", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 736.4000244140625, + "y": 1523.39990234375, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "d7f1c2ce.8da74" + ] + ] + }, + { + "id": "fb442d76.8c0b1", + "type": "get-resource", + "name": "get resources from DB -controller_id", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1377.6666259765625, + "y": 680.6666259765625, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "84c6499.61865b8" + ] + ] + }, + { + "id": "84c6499.61865b8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1623.6666259765625, + "y": 684.6666259765625, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "4427d502.6c96cc" + ] + ] + }, + { + "id": "4427d502.6c96cc", + "type": "set", + "name": "set", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1791.6666259765625, + "y": 686.6666259765625, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "e8836a64.f81ae", + "type": "execute", + "name": "split node-id a-end retrieved from DB", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1398.6666259765625, + "y": 756.6666259765625, + "z": "e2f7091c.1492b8", + "wires": [ + [] + ] + }, + { + "id": "4d169812.58b88", + "type": "get-resource", + "name": "get resources from DB -controller_id", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1324.6666259765625, + "y": 1056.666748046875, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "e0ea4817.5936a" + ] + ] + }, + { + "id": "e0ea4817.5936a", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1569.6666259765625, + "y": 1060.666748046875, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "9748df16.f21cf8" + ] + ] + }, + { + "id": "9748df16.f21cf8", + "type": "set", + "name": "set", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1718.6666259765625, + "y": 1064.666748046875, + "z": "e2f7091c.1492b8", + "wires": [] + }, + { + "id": "8f4e881d.558318", + "type": "execute", + "name": "split node-id a-end retrieved from DB", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1327.6666259765625, + "y": 1118.666748046875, + "z": "e2f7091c.1492b8", + "wires": [ + [] + ] + }, + { + "id": "9e23ba6e.b8b718", + "type": "update", + "name": "update", + "xml": "\n\n\n\n\n\n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n\n", + "comments": "", + "outputs": 1, + "x": 1418.6666717529297, + "y": 1385.6666717529297, + "z": "e2f7091c.1492b8", + "wires": [ + [] + ] + }, + { + "id": "6461eb1d.8fedb4", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1130.3333740234375, + "y": 1413.3331909179688, + "z": "e2f7091c.1492b8", + "wires": [ + [ + "70ec6ec4.5ccf08" + ] ] } ] \ No newline at end of file diff --git a/platform-logic/optical-service/src/main/json/optical-service_service-delete-msa.json b/platform-logic/optical-service/src/main/json/optical-service_service-delete-msa.json new file mode 100644 index 00000000..df94ddfb --- /dev/null +++ b/platform-logic/optical-service/src/main/json/optical-service_service-delete-msa.json @@ -0,0 +1,365 @@ +[ + { + "id": "53abb973.be3358", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 320.566650390625, + "y": 127.56666564941406, + "z": "8588d9b2.517e38", + "wires": [ + [ + "a8f6adda.0744" + ] + ] + }, + { + "id": "a8f6adda.0744", + "type": "service-logic", + "name": "optical-service ${project.version}", + "module": "optical-service", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 333.566650390625, + "y": 187.56666564941406, + "z": "8588d9b2.517e38", + "wires": [ + [ + "18e37cee.ceb953" + ] + ] + }, + { + "id": "18e37cee.ceb953", + "type": "method", + "name": "method service-delete-msa-sync", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 353.566650390625, + "y": 267.56666564941406, + "z": "8588d9b2.517e38", + "wires": [ + [ + "64d96c24.58677c" + ] + ] + }, + { + "id": "64d96c24.58677c", + "type": "block", + "name": "block : atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 601.066650390625, + "y": 267.56666564941406, + "z": "8588d9b2.517e38", + "wires": [ + [ + "d0c8eab9.2acb7", + "7e4b0c6a.d80e4c" + ] + ] + }, + { + "id": "d0c8eab9.2acb7", + "type": "set", + "name": "set", + "xml": "\n\n\n", + "comments": "", + "x": 783.566650390625, + "y": 242.56666564941406, + "z": "8588d9b2.517e38", + "wires": [] + }, + { + "id": "7e4b0c6a.d80e4c", + "type": "execute", + "name": "Call MSA Controller", + "xml": "\n\n\n\n\n\n\n\n\n \n \n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 781.566650390625, + "y": 344.56666564941406, + "z": "8588d9b2.517e38", + "wires": [ + [ + "e8374b35.9489e8", + "59601e7a.333fb8" + ] + ] + }, + { + "id": "59601e7a.333fb8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 960.566650390625, + "y": 415.56666564941406, + "z": "8588d9b2.517e38", + "wires": [ + [ + "f7639000.8d09b" + ] + ] + }, + { + "id": "e8374b35.9489e8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 957.566650390625, + "y": 301.56666564941406, + "z": "8588d9b2.517e38", + "wires": [ + [ + "44136677.41a668" + ] + ] + }, + { + "id": "44136677.41a668", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1119.566650390625, + "y": 296.56666564941406, + "z": "8588d9b2.517e38", + "wires": [ + [ + "656a3cd0.5027ec" + ] + ] + }, + { + "id": "f7639000.8d09b", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1133.566650390625, + "y": 418.56666564941406, + "z": "8588d9b2.517e38", + "wires": [ + [ + "6f5cb50c.47cb9c", + "61d2d42e.74ce34" + ] + ] + }, + { + "id": "656a3cd0.5027ec", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1287.566650390625, + "y": 293.56666564941406, + "z": "8588d9b2.517e38", + "wires": [] + }, + { + "id": "6f5cb50c.47cb9c", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1314.566650390625, + "y": 377.56666564941406, + "z": "8588d9b2.517e38", + "wires": [ + [] + ] + }, + { + "id": "61d2d42e.74ce34", + "type": "switchNode", + "name": "switch", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1307.566650390625, + "y": 468.56666564941406, + "z": "8588d9b2.517e38", + "wires": [ + [ + "6a32e2cb.011efc", + "126ef311.e5b135" + ] + ] + }, + { + "id": "6a32e2cb.011efc", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1450.566650390625, + "y": 443.56666564941406, + "z": "8588d9b2.517e38", + "wires": [ + [ + "20f6b725.7d2e3" + ] + ] + }, + { + "id": "20f6b725.7d2e3", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1647.566650390625, + "y": 441.56666564941406, + "z": "8588d9b2.517e38", + "wires": [] + }, + { + "id": "126ef311.e5b135", + "type": "outcome", + "name": "200", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1474.566650390625, + "y": 557.5666656494141, + "z": "8588d9b2.517e38", + "wires": [ + [ + "47d51f0e.38e19" + ] + ] + }, + { + "id": "47d51f0e.38e19", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1638.566650390625, + "y": 552.5666656494141, + "z": "8588d9b2.517e38", + "wires": [ + [ + "b9afc35f.499458", + "f8b135a9.17c5d8", + "70aa5b37.57ec94", + "a77548a2.59db78", + "ba4b7b38.d871e" + ] + ] + }, + { + "id": "b9afc35f.499458", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1810.566650390625, + "y": 520.5666656494141, + "z": "8588d9b2.517e38", + "wires": [ + [] + ] + }, + { + "id": "f8b135a9.17c5d8", + "type": "save", + "name": "save", + "xml": "\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1820.566650390625, + "y": 607.5666656494141, + "z": "8588d9b2.517e38", + "wires": [ + [] + ] + }, + { + "id": "70aa5b37.57ec94", + "type": "get-resource", + "name": "get-resource", + "xml": "\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n\n", + "comments": "", + "outputs": 1, + "x": 1826.566650390625, + "y": 683.5666656494141, + "z": "8588d9b2.517e38", + "wires": [ + [ + "84297f07.a526" + ] + ] + }, + { + "id": "84297f07.a526", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1984.566650390625, + "y": 674.5666656494141, + "z": "8588d9b2.517e38", + "wires": [ + [ + "aff15672.da7fa8" + ] + ] + }, + { + "id": "aff15672.da7fa8", + "type": "set", + "name": "set", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 2133.566650390625, + "y": 677.5666656494141, + "z": "8588d9b2.517e38", + "wires": [] + }, + { + "id": "a77548a2.59db78", + "type": "update", + "name": "update", + "xml": "\n \n\n \n \n \n\n", + "comments": "", + "outputs": 1, + "x": 1799.566650390625, + "y": 750.5666656494141, + "z": "8588d9b2.517e38", + "wires": [ + [] + ] + }, + { + "id": "ba4b7b38.d871e", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 1790.566650390625, + "y": 859.566650390625, + "z": "8588d9b2.517e38", + "wires": [] + } +] \ No newline at end of file diff --git a/platform-logic/optical-service/src/main/json/optical-service_service-delete-tapi.json b/platform-logic/optical-service/src/main/json/optical-service_service-delete-tapi.json index cef6bc48..587c1dd7 100644 --- a/platform-logic/optical-service/src/main/json/optical-service_service-delete-tapi.json +++ b/platform-logic/optical-service/src/main/json/optical-service_service-delete-tapi.json @@ -269,7 +269,6 @@ "wires": [ [ "4644be9d.89b97", - "652250d1.df0d6", "29655b58.ca1ca4", "aad55652.80ccf8", "82da300b.4f57c", @@ -277,7 +276,8 @@ "9f9c7a46.ce0ff8", "70a0ebe0.92bcd4", "33fa91ea.5695ce", - "425e8f1f.07ad6" + "425e8f1f.07ad6", + "94aa81a4.d0a7a8" ] ] }, @@ -325,17 +325,6 @@ "z": "ecded786.86d6f8", "wires": [] }, - { - "id": "652250d1.df0d6", - "type": "returnSuccess", - "name": "return success", - "xml": "\n\n\n\n", - "comments": "", - "x": 1297.7775955200195, - "y": 1231.1110696792603, - "z": "ecded786.86d6f8", - "wires": [] - }, { "id": "29655b58.ca1ca4", "type": "switchNode", @@ -670,5 +659,16 @@ "wires": [ [] ] + }, + { + "id": "94aa81a4.d0a7a8", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 1325, + "y": 1257, + "z": "ecded786.86d6f8", + "wires": [] } ] \ No newline at end of file diff --git a/platform-logic/optical-service/src/main/resources/graph.versions b/platform-logic/optical-service/src/main/resources/graph.versions index ffe85330..417792c1 100644 --- a/platform-logic/optical-service/src/main/resources/graph.versions +++ b/platform-logic/optical-service/src/main/resources/graph.versions @@ -22,4 +22,5 @@ optical-service optical-service_delete-bandwidth-update-odu3 ${project.version} optical-service optical-service_delete-bandwidth-update-odu4 ${project.version} sync optical-service optical-service_inter-domain-handling ${project.version} sync optical-service optical-service_create-service-relationship ${project.version} sync - +optical-service main-create ${project.version} sync +optical-service service-delete-msa ${project.version} sync diff --git a/platform-logic/optical-service/src/main/xml/optical-service_main-create.xml b/platform-logic/optical-service/src/main/xml/optical-service_main-create.xml new file mode 100644 index 00000000..91062b0f --- /dev/null +++ b/platform-logic/optical-service/src/main/xml/optical-service_main-create.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform-logic/optical-service/src/main/xml/optical-service_optical-service-delete.xml b/platform-logic/optical-service/src/main/xml/optical-service_optical-service-delete.xml index 4b42278c..ce1937f3 100644 --- a/platform-logic/optical-service/src/main/xml/optical-service_optical-service-delete.xml +++ b/platform-logic/optical-service/src/main/xml/optical-service_optical-service-delete.xml @@ -8,113 +8,271 @@ +pfx='detail-db'> - + - - - + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + - - - - - - - - - + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + diff --git a/platform-logic/optical-service/src/main/xml/optical-service_service-delete-msa.xml b/platform-logic/optical-service/src/main/xml/optical-service_service-delete-msa.xml new file mode 100644 index 00000000..562195a0 --- /dev/null +++ b/platform-logic/optical-service/src/main/xml/optical-service_service-delete-msa.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform-logic/optical-service/src/main/xml/optical-service_service-delete-tapi.xml b/platform-logic/optical-service/src/main/xml/optical-service_service-delete-tapi.xml index 919c5548..24b52fbb 100644 --- a/platform-logic/optical-service/src/main/xml/optical-service_service-delete-tapi.xml +++ b/platform-logic/optical-service/src/main/xml/optical-service_service-delete-tapi.xml @@ -136,11 +136,9 @@ service-instance.service-instance-id = $output.service-instance-id'> - - - - - + + + -- 2.16.6