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 --- ...ENERIC-RESOURCE-API_vnf-topology-operation.json | 271 +++++++++++++++++++++ 1 file changed, 271 insertions(+) create mode 100644 platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json') diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json new file mode 100644 index 00000000..bfb38e5c --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json @@ -0,0 +1,271 @@ +[ + { + "id": "7fb1a187.9549f", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 96.66666412353516, + "y": 86.66666412353516, + "z": "dcb795e3.12ddb8", + "wires": [ + [ + "c2b8a7b8.a5e428" + ] + ] + }, + { + "id": "c2b8a7b8.a5e428", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 171.9523696899414, + "y": 126.90477561950684, + "z": "dcb795e3.12ddb8", + "wires": [ + [ + "89a5ce6c.8a947" + ] + ] + }, + { + "id": "89a5ce6c.8a947", + "type": "method", + "name": "method vnf-topology-operation", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 165.0952911376953, + "y": 166.66665840148926, + "z": "dcb795e3.12ddb8", + "wires": [ + [ + "baea3ff6.bd225" + ] + ] + }, + { + "id": "435f3efd.64ab3", + "type": "comment", + "name": "vnf-topology-operation", + "info": "", + "comments": "", + "x": 491.0115203857422, + "y": 34.253007888793945, + "z": "dcb795e3.12ddb8", + "wires": [] + }, + { + "id": "baea3ff6.bd225", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 177.8333740234375, + "y": 334.36017417907715, + "z": "dcb795e3.12ddb8", + "wires": [ + [ + "f2687cfc.01d4c", + "b4265d07.b24f2", + "b14b13c7.baa14" + ] + ] + }, + { + "id": "f2687cfc.01d4c", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 470.3333282470703, + "y": 484.52420711517334, + "z": "dcb795e3.12ddb8", + "wires": [] + }, + { + "id": "b4265d07.b24f2", + "type": "switchNode", + "name": "switch svc-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 473.23804473876953, + "y": 332.5714178085327, + "z": "dcb795e3.12ddb8", + "wires": [ + [ + "76164f7d.903b1", + "117347a9.8b7218", + "e07500fb.cff53", + "9b91fc07.60be4", + "bc77aaba.4aabe8" + ] + ] + }, + { + "id": "76164f7d.903b1", + "type": "outcome", + "name": "assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 672.0475540161133, + "y": 265.1905632019043, + "z": "dcb795e3.12ddb8", + "wires": [ + [ + "5ec13553.7c0efc" + ] + ] + }, + { + "id": "117347a9.8b7218", + "type": "outcome", + "name": "unassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 676.0951766967773, + "y": 395.38128662109375, + "z": "dcb795e3.12ddb8", + "wires": [ + [ + "9d96816e.64ca5" + ] + ] + }, + { + "id": "9b91fc07.60be4", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 670.8094024658203, + "y": 439.57136249542236, + "z": "dcb795e3.12ddb8", + "wires": [ + [ + "2717cc4c.7bccc4" + ] + ] + }, + { + "id": "2717cc4c.7bccc4", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 856.9998474121094, + "y": 439.5714273452759, + "z": "dcb795e3.12ddb8", + "wires": [] + }, + { + "id": "b14b13c7.baa14", + "type": "call", + "name": "call GENERIC-RESOURCE-API:validate-vnf-input", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 579.0832977294922, + "y": 224.04770278930664, + "z": "dcb795e3.12ddb8", + "wires": [ + [] + ] + }, + { + "id": "5ec13553.7c0efc", + "type": "call", + "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1014.1904067993164, + "y": 264.76202392578125, + "z": "dcb795e3.12ddb8", + "wires": [ + [] + ] + }, + { + "id": "3e660d10.204032", + "type": "call", + "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-deactivate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1025.5236740112305, + "y": 349.0953722000122, + "z": "dcb795e3.12ddb8", + "wires": [ + [] + ] + }, + { + "id": "9d96816e.64ca5", + "type": "call", + "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-unassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1021.1902732849121, + "y": 395.0954179763794, + "z": "dcb795e3.12ddb8", + "wires": [ + [] + ] + }, + { + "id": "e07500fb.cff53", + "type": "outcome", + "name": "deactivate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 681.190315246582, + "y": 349.76204776763916, + "z": "dcb795e3.12ddb8", + "wires": [ + [ + "3e660d10.204032" + ] + ] + }, + { + "id": "1d805763.8f6c79", + "type": "call", + "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-activate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1018.333251953125, + "y": 306.6666555404663, + "z": "dcb795e3.12ddb8", + "wires": [ + [] + ] + }, + { + "id": "bc77aaba.4aabe8", + "type": "outcome", + "name": "activate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 674.9998931884766, + "y": 307.33333110809326, + "z": "dcb795e3.12ddb8", + "wires": [ + [ + "1d805763.8f6c79" + ] + ] + } +] -- cgit 1.2.3-korg