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_vnf-topology-operation-deactivate.json | 408 +++++++++++++++++++++ 1 file changed, 408 insertions(+) create mode 100644 platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-deactivate.json (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-deactivate.json') diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-deactivate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-deactivate.json new file mode 100644 index 00000000..a123659e --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-deactivate.json @@ -0,0 +1,408 @@ +[ + { + "id": "704d0b14.d5c684", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 98.33332824707031, + "y": 90.74698829650879, + "z": "31f1f0b7.be812", + "wires": [ + [ + "72e4c75c.02dbd8" + ] + ] + }, + { + "id": "72e4c75c.02dbd8", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 173.61903381347656, + "y": 130.98509979248047, + "z": "31f1f0b7.be812", + "wires": [ + [ + "cf8e6aa3.702178" + ] + ] + }, + { + "id": "cf8e6aa3.702178", + "type": "method", + "name": "method vnf-topology-operation-deactivate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 200.76195526123047, + "y": 170.7469882965088, + "z": "31f1f0b7.be812", + "wires": [ + [ + "cb96d310.99dca" + ] + ] + }, + { + "id": "95de4493.48a0c8", + "type": "comment", + "name": "vnf-topology-operation-deactivate", + "info": "", + "comments": "", + "x": 492.67818450927734, + "y": 38.33333206176758, + "z": "31f1f0b7.be812", + "wires": [] + }, + { + "id": "163c9760.9a9a79", + "type": "switchNode", + "name": "switch request-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 501.85713958740234, + "y": 269.6041259765625, + "z": "31f1f0b7.be812", + "wires": [ + [ + "80b90203.c142f", + "3890f05d.c33f7" + ] + ] + }, + { + "id": "80b90203.c142f", + "type": "outcome", + "name": "DeleteVnfInstance", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 728.5714149475098, + "y": 245.08034229278564, + "z": "31f1f0b7.be812", + "wires": [ + [ + "df5429cb.487c88" + ] + ] + }, + { + "id": "3890f05d.c33f7", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 692.5713806152344, + "y": 290.79467010498047, + "z": "31f1f0b7.be812", + "wires": [ + [ + "d4e21439.6c2c68" + ] + ] + }, + { + "id": "df5429cb.487c88", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 915.4285430908203, + "y": 245.08037185668945, + "z": "31f1f0b7.be812", + "wires": [ + [] + ] + }, + { + "id": "d4e21439.6c2c68", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 932.5713882446289, + "y": 290.79462814331055, + "z": "31f1f0b7.be812", + "wires": [] + }, + { + "id": "cb96d310.99dca", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 174.99999237060547, + "y": 392.4136600494385, + "z": "31f1f0b7.be812", + "wires": [ + [ + "163c9760.9a9a79", + "791aad2d.6402d4", + "5fe470c0.6326b", + "314e05bd.fd765a", + "2ee980dc.3023e", + "c5ae4e0b.ba491", + "2cdd37b1.513c28", + "b687fc0c.6ee0d" + ] + ] + }, + { + "id": "791aad2d.6402d4", + "type": "switchNode", + "name": "switch vnf_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 488.33331298828125, + "y": 339.0803518295288, + "z": "31f1f0b7.be812", + "wires": [ + [ + "69686a76.3c1234" + ] + ] + }, + { + "id": "69686a76.3c1234", + "type": "other", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 674.9999923706055, + "y": 338.413649559021, + "z": "31f1f0b7.be812", + "wires": [ + [ + "6713d6bd.53f838" + ] + ] + }, + { + "id": "6713d6bd.53f838", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 856.666618347168, + "y": 338.413649559021, + "z": "31f1f0b7.be812", + "wires": [] + }, + { + "id": "5fe470c0.6326b", + "type": "for", + "name": "for each vnf", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 469.99999237060547, + "y": 387.41366958618164, + "z": "31f1f0b7.be812", + "wires": [ + [ + "813eeeef.71253" + ] + ] + }, + { + "id": "813eeeef.71253", + "type": "switchNode", + "name": "switch this vnf-id == input vnf-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 725.0000801086426, + "y": 386.08033752441406, + "z": "31f1f0b7.be812", + "wires": [ + [ + "3f5d6dbd.824612" + ] + ] + }, + { + "id": "3f5d6dbd.824612", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 963.333366394043, + "y": 385.0803155899048, + "z": "31f1f0b7.be812", + "wires": [ + [ + "92e2ba42.5870e8" + ] + ] + }, + { + "id": "92e2ba42.5870e8", + "type": "set", + "name": "set vnf-index", + "xml": "\n\n", + "comments": "", + "x": 1131.666561126709, + "y": 385.08033752441406, + "z": "31f1f0b7.be812", + "wires": [] + }, + { + "id": "314e05bd.fd765a", + "type": "switchNode", + "name": "switch vnf-index", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 481.6666488647461, + "y": 434.08033895492554, + "z": "31f1f0b7.be812", + "wires": [ + [ + "dc4d0087.64549" + ] + ] + }, + { + "id": "dc4d0087.64549", + "type": "other", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 663.3332748413086, + "y": 433.41366958618164, + "z": "31f1f0b7.be812", + "wires": [ + [ + "815b45d5.3c6cc8" + ] + ] + }, + { + "id": "815b45d5.3c6cc8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 829.9999618530273, + "y": 433.08029556274414, + "z": "31f1f0b7.be812", + "wires": [] + }, + { + "id": "2ee980dc.3023e", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 474.9999771118164, + "y": 654.0803279876709, + "z": "31f1f0b7.be812", + "wires": [] + }, + { + "id": "c5ae4e0b.ba491", + "type": "set", + "name": "set vnf-level-oper-status to PendingDelete", + "xml": "\n\n\n\n", + "comments": "", + "x": 562.4800567626953, + "y": 609.7507572174072, + "z": "31f1f0b7.be812", + "wires": [] + }, + { + "id": "2cdd37b1.513c28", + "type": "set", + "name": "copy input data", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "x": 476.6665573120117, + "y": 567.4136371612549, + "z": "31f1f0b7.be812", + "wires": [] + }, + { + "id": "4fa6056b.b7de5c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1028.3332710266113, + "y": 520.0000114440918, + "z": "31f1f0b7.be812", + "wires": [] + }, + { + "id": "142a1a7a.ff7cd6", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 859.3571701049805, + "y": 476.28582286834717, + "z": "31f1f0b7.be812", + "wires": [ + [ + "ec70e2bc.1d824" + ] + ] + }, + { + "id": "20247378.f063bc", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 867.9286003112793, + "y": 520.571536064148, + "z": "31f1f0b7.be812", + "wires": [ + [ + "4fa6056b.b7de5c" + ] + ] + }, + { + "id": "ec70e2bc.1d824", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1031.0238647460938, + "y": 476.76221656799316, + "z": "31f1f0b7.be812", + "wires": [] + }, + { + "id": "b687fc0c.6ee0d", + "type": "save", + "name": "update generic-vnf orch-status to PendingDelete", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 583.3332366943359, + "y": 496.00005054473877, + "z": "31f1f0b7.be812", + "wires": [ + [ + "142a1a7a.ff7cd6", + "20247378.f063bc" + ] + ] + } +] -- cgit 1.2.3-korg