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 --- .../GENERIC-RESOURCE-API_validate-vnf-input.json | 487 +++++++++++++++++++++ 1 file changed, 487 insertions(+) create mode 100644 platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vnf-input.json (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vnf-input.json') diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vnf-input.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vnf-input.json new file mode 100644 index 00000000..dd81960c --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vnf-input.json @@ -0,0 +1,487 @@ +[ + { + "id": "b38b0b37.4fbba8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 156.66665649414062, + "y": 414.16667597634455, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "52d79f98.236c9", + "db0b2c04.23c78", + "2090c272.2f2dae", + "f3ec5636.aa7578", + "de04dcb6.e0093", + "286a5aeb.cd2826" + ] + ] + }, + { + "id": "52d79f98.236c9", + "type": "switchNode", + "name": "switch svc-request-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 439.4285659790039, + "y": 297.24701404571533, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "f9ab1dd1.ac849" + ] + ] + }, + { + "id": "f9ab1dd1.ac849", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 665.1428604125977, + "y": 297.2470178604126, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "a08153b.30607b" + ] + ] + }, + { + "id": "a08153b.30607b", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 816.5714263916016, + "y": 297.24701595306396, + "z": "19ac43dc.b5de6c", + "wires": [] + }, + { + "id": "db0b2c04.23c78", + "type": "switchNode", + "name": "switch svc-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 427.99992915562234, + "y": 255.81844561440607, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "eeea9033.66cb9" + ] + ] + }, + { + "id": "eeea9033.66cb9", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 663.7142808096751, + "y": 254.38984339577814, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "d8278276.52076" + ] + ] + }, + { + "id": "d8278276.52076", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 813.7142541067942, + "y": 254.3898529325213, + "z": "19ac43dc.b5de6c", + "wires": [] + }, + { + "id": "2090c272.2f2dae", + "type": "switchNode", + "name": "switch request-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 437.99998256138406, + "y": 340.1041607175555, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "3462c626.b9b84a" + ] + ] + }, + { + "id": "3462c626.b9b84a", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 665.1428560529439, + "y": 340.10417161669056, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "b3d88cc6.52ff2" + ] + ] + }, + { + "id": "b3d88cc6.52ff2", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 816.5714220319478, + "y": 340.10416970934193, + "z": "19ac43dc.b5de6c", + "wires": [] + }, + { + "id": "e6d8c21d.71c1c", + "type": "switchNode", + "name": "switch model-customization-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 972.4645347595215, + "y": 486.53292655944824, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "de43bd69.67fda" + ] + ] + }, + { + "id": "de43bd69.67fda", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1177.4645347595215, + "y": 486.53290939331055, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "4575d060.3b037" + ] + ] + }, + { + "id": "4575d060.3b037", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1328.8931007385254, + "y": 486.5329074859619, + "z": "19ac43dc.b5de6c", + "wires": [] + }, + { + "id": "689a33f6.b4cc9c", + "type": "switchNode", + "name": "switch tenant", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 918.3216133117676, + "y": 527.9614372253418, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "238e5ffc.d0317" + ] + ] + }, + { + "id": "238e5ffc.d0317", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1176.035930633545, + "y": 527.9614715576172, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "bcaf5c05.49c86" + ] + ] + }, + { + "id": "bcaf5c05.49c86", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1327.4644966125488, + "y": 527.9614696502686, + "z": "19ac43dc.b5de6c", + "wires": [] + }, + { + "id": "c2b4e8d1.4fcae8", + "type": "comment", + "name": "Validation of required fields", + "info": "", + "comments": "", + "x": 587.9999389648438, + "y": 211.53272819519043, + "z": "19ac43dc.b5de6c", + "wires": [] + }, + { + "id": "f3ec5636.aa7578", + "type": "switchNode", + "name": "switch svc-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 423.238037109375, + "y": 528.7947521209717, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "2acfd81d.e2f408" + ] + ] + }, + { + "id": "2acfd81d.e2f408", + "type": "outcome", + "name": "assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 585.738037109375, + "y": 528.7947521209717, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "5a45a048.95a1d" + ] + ] + }, + { + "id": "5a45a048.95a1d", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 740.738037109375, + "y": 528.7947521209717, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "e6d8c21d.71c1c", + "689a33f6.b4cc9c", + "217fcc81.9f4ba4" + ] + ] + }, + { + "id": "a37f14a8.387e78", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 100.41666630336204, + "y": 84.0803279876709, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "b399deb4.255d6" + ] + ] + }, + { + "id": "b399deb4.255d6", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 175.70237186976829, + "y": 124.31843948364258, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "869696da.e07a18" + ] + ] + }, + { + "id": "869696da.e07a18", + "type": "method", + "name": "method validate-vnf-input", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 151.0952933175222, + "y": 165.33032417297363, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "b38b0b37.4fbba8" + ] + ] + }, + { + "id": "9789ee81.07f95", + "type": "comment", + "name": "validate-vnf-input", + "info": "", + "comments": "", + "x": 494.76152256556907, + "y": 31.666671752929688, + "z": "19ac43dc.b5de6c", + "wires": [] + }, + { + "id": "de04dcb6.e0093", + "type": "switchNode", + "name": "switch service-instance-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 451.0238135201589, + "y": 384.16668701171875, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "54e9ea0e.6ae744" + ] + ] + }, + { + "id": "54e9ea0e.6ae744", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 663.4523947579519, + "y": 384.1666831970215, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "d1e3ee4b.ceb14" + ] + ] + }, + { + "id": "d1e3ee4b.ceb14", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 814.8809607369558, + "y": 384.16668128967285, + "z": "19ac43dc.b5de6c", + "wires": [] + }, + { + "id": "286a5aeb.cd2826", + "type": "switchNode", + "name": "switch vnf-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 408.5238227844238, + "y": 427.6666774749756, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "bb28e2bc.36c43" + ] + ] + }, + { + "id": "bb28e2bc.36c43", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 663.8095321655273, + "y": 426.23810958862305, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "9c9ba7cb.f1d4b8" + ] + ] + }, + { + "id": "9c9ba7cb.f1d4b8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 815.2380981445312, + "y": 426.2381076812744, + "z": "19ac43dc.b5de6c", + "wires": [] + }, + { + "id": "217fcc81.9f4ba4", + "type": "switchNode", + "name": "switch aic-cloud-region", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 947.6666946411133, + "y": 570.238094329834, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "30f287b7.9d1118" + ] + ] + }, + { + "id": "30f287b7.9d1118", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1174.3810119628906, + "y": 570.2381286621094, + "z": "19ac43dc.b5de6c", + "wires": [ + [ + "44a324d9.932adc" + ] + ] + }, + { + "id": "44a324d9.932adc", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1325.8095779418945, + "y": 570.2381267547607, + "z": "19ac43dc.b5de6c", + "wires": [] + } +] -- cgit 1.2.3-korg