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 --- ...-RESOURCE-API_vf-module-topology-operation.json | 271 +++++++++++++++++++++ 1 file changed, 271 insertions(+) create mode 100644 platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation.json (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation.json') diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation.json new file mode 100644 index 00000000..bc4869c3 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation.json @@ -0,0 +1,271 @@ +[ + { + "id": "95a3ee2.905f31", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 98.33332824707031, + "y": 85, + "z": "6872ec11.8012f4", + "wires": [ + [ + "cb0de0b2.53b5e" + ] + ] + }, + { + "id": "cb0de0b2.53b5e", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 173.61903381347656, + "y": 125.23811149597168, + "z": "6872ec11.8012f4", + "wires": [ + [ + "88f9b16e.fd717" + ] + ] + }, + { + "id": "88f9b16e.fd717", + "type": "method", + "name": "method vf-module-topology-operation", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 187.76195526123047, + "y": 164.9999942779541, + "z": "6872ec11.8012f4", + "wires": [ + [ + "cc0d87ea.42e588" + ] + ] + }, + { + "id": "504658a3.49bd28", + "type": "comment", + "name": "vf-module-topology-operation", + "info": "", + "comments": "", + "x": 492.67818450927734, + "y": 32.58634376525879, + "z": "6872ec11.8012f4", + "wires": [] + }, + { + "id": "cc0d87ea.42e588", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 161.16670989990234, + "y": 349.36017322540283, + "z": "6872ec11.8012f4", + "wires": [ + [ + "fa856f03.28331", + "7676bb7a.aad3e4", + "ed140240.696ee" + ] + ] + }, + { + "id": "fa856f03.28331", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 453.3333320617676, + "y": 531.1909055709839, + "z": "6872ec11.8012f4", + "wires": [] + }, + { + "id": "7676bb7a.aad3e4", + "type": "switchNode", + "name": "switch svc-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 460.9047088623047, + "y": 367.5714159011841, + "z": "6872ec11.8012f4", + "wires": [ + [ + "865715e6.66c8a8", + "60defca7.7eed64", + "e80f4202.f64da", + "933b1870.467508", + "2ee18070.6515e" + ] + ] + }, + { + "id": "865715e6.66c8a8", + "type": "outcome", + "name": "assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 673.7142486572266, + "y": 292.85723400115967, + "z": "6872ec11.8012f4", + "wires": [ + [ + "176e8d1f.b28273" + ] + ] + }, + { + "id": "60defca7.7eed64", + "type": "outcome", + "name": "unassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 682.0952339172363, + "y": 439.0479259490967, + "z": "6872ec11.8012f4", + "wires": [ + [ + "b794ebfe.90b468" + ] + ] + }, + { + "id": "933b1870.467508", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 673.8094635009766, + "y": 488.57139110565186, + "z": "6872ec11.8012f4", + "wires": [ + [ + "65cfc979.37f8c8" + ] + ] + }, + { + "id": "65cfc979.37f8c8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 857.9999084472656, + "y": 488.57145595550537, + "z": "6872ec11.8012f4", + "wires": [] + }, + { + "id": "ed140240.696ee", + "type": "call", + "name": "call GENERIC-RESOURCE-API:validate-vf-module-input", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 583.4166107177734, + "y": 242.3810567855835, + "z": "6872ec11.8012f4", + "wires": [ + [] + ] + }, + { + "id": "176e8d1f.b28273", + "type": "call", + "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1035.8571014404297, + "y": 292.4286947250366, + "z": "6872ec11.8012f4", + "wires": [ + [] + ] + }, + { + "id": "d080b6cc.baf0a8", + "type": "call", + "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-deactivate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1047.8570594787598, + "y": 389.0953378677368, + "z": "6872ec11.8012f4", + "wires": [ + [] + ] + }, + { + "id": "b794ebfe.90b468", + "type": "call", + "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-unassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1042.190330505371, + "y": 438.7620573043823, + "z": "6872ec11.8012f4", + "wires": [ + [] + ] + }, + { + "id": "e80f4202.f64da", + "type": "outcome", + "name": "deactivate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 686.1903266906738, + "y": 389.7620153427124, + "z": "6872ec11.8012f4", + "wires": [ + [ + "d080b6cc.baf0a8" + ] + ] + }, + { + "id": "6dfc037a.3d846c", + "type": "call", + "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-activate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1048.3333053588867, + "y": 339.9999837875366, + "z": "6872ec11.8012f4", + "wires": [ + [] + ] + }, + { + "id": "2ee18070.6515e", + "type": "outcome", + "name": "activate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 678.3332710266113, + "y": 340.6666650772095, + "z": "6872ec11.8012f4", + "wires": [ + [ + "6dfc037a.3d846c" + ] + ] + } +] -- cgit 1.2.3-korg