diff options
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vf-module-input.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vf-module-input.json | 575 |
1 files changed, 575 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vf-module-input.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vf-module-input.json new file mode 100644 index 00000000..c1b4e6c2 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vf-module-input.json @@ -0,0 +1,575 @@ +[ + { + "id": "4aba34b1.1043ac", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 181.66666575840554, + "y": 410.83333723885676, + "z": "67f5a657.693288", + "wires": [ + [ + "2ddf201d.e6ec8", + "4a8dffd1.fdb7f", + "c90f6af4.b82b08", + "80d469b1.3662b8", + "ed9e03ed.5232b", + "db1345cd.afaaf8", + "d431fbda.2a77f8" + ] + ] + }, + { + "id": "2ddf201d.e6ec8", + "type": "switchNode", + "name": "switch svc-request-id", + "xml": "<switch test='`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`'>\n", + "comments": "", + "outputs": 1, + "x": 464.4285752432688, + "y": 293.91367530822754, + "z": "67f5a657.693288", + "wires": [ + [ + "68766e97.4040d" + ] + ] + }, + { + "id": "68766e97.4040d", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 690.1428696768626, + "y": 293.9136791229248, + "z": "67f5a657.693288", + "wires": [ + [ + "d9645ac2.df5c28" + ] + ] + }, + { + "id": "d9645ac2.df5c28", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"sdnc-request-header.svc-request-id is a required input\" />\n", + "comments": "", + "x": 841.5714356558665, + "y": 293.9136772155762, + "z": "67f5a657.693288", + "wires": [] + }, + { + "id": "4a8dffd1.fdb7f", + "type": "switchNode", + "name": "switch svc-action", + "xml": "<switch test='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`'>\n", + "comments": "", + "outputs": 1, + "x": 452.99993841988726, + "y": 252.48510687691828, + "z": "67f5a657.693288", + "wires": [ + [ + "d22c2e3f.6dc6b" + ] + ] + }, + { + "id": "d22c2e3f.6dc6b", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 688.71429007394, + "y": 251.05650465829035, + "z": "67f5a657.693288", + "wires": [ + [ + "341784df.8e0cbc" + ] + ] + }, + { + "id": "341784df.8e0cbc", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"sdnc-request-header.svc-action is a required input\" />\n", + "comments": "", + "x": 838.7142633710591, + "y": 251.05651419503351, + "z": "67f5a657.693288", + "wires": [] + }, + { + "id": "c90f6af4.b82b08", + "type": "switchNode", + "name": "switch request-action", + "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>\n", + "comments": "", + "outputs": 1, + "x": 462.999991825649, + "y": 336.7708219800677, + "z": "67f5a657.693288", + "wires": [ + [ + "2c44e3fa.3865fc" + ] + ] + }, + { + "id": "2c44e3fa.3865fc", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 690.1428653172088, + "y": 336.77083287920277, + "z": "67f5a657.693288", + "wires": [ + [ + "52c9b858.c8ebb8" + ] + ] + }, + { + "id": "52c9b858.c8ebb8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"request-information.request-action is a required input\" />\n", + "comments": "", + "x": 841.5714312962127, + "y": 336.77083097185414, + "z": "67f5a657.693288", + "wires": [] + }, + { + "id": "81912a48.95e3c8", + "type": "switchNode", + "name": "switch model-customization-id", + "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.ecomp-model-information.model-customization-uuid`'>\n", + "comments": "", + "outputs": 1, + "x": 994.1312157767161, + "y": 558.199610710144, + "z": "67f5a657.693288", + "wires": [ + [ + "6c3b4585.9f79ac" + ] + ] + }, + { + "id": "6c3b4585.9f79ac", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 1199.131215776716, + "y": 558.1995935440063, + "z": "67f5a657.693288", + "wires": [ + [ + "cc324c4a.16d68" + ] + ] + }, + { + "id": "cc324c4a.16d68", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"vf-module-information.ecomp-model-information.model-customization-uuid is a required input\" />\n", + "comments": "", + "x": 1350.55978175572, + "y": 558.1995916366577, + "z": "67f5a657.693288", + "wires": [] + }, + { + "id": "dea8feff.34d7", + "type": "switchNode", + "name": "switch tenant", + "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.tenant`'>\n", + "comments": "", + "outputs": 1, + "x": 939.9882943289622, + "y": 599.6281213760376, + "z": "67f5a657.693288", + "wires": [ + [ + "14d041fa.a0ae8e" + ] + ] + }, + { + "id": "14d041fa.a0ae8e", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 1197.7026116507395, + "y": 599.628155708313, + "z": "67f5a657.693288", + "wires": [ + [ + "3d3e09b5.333e66" + ] + ] + }, + { + "id": "3d3e09b5.333e66", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"vf-module-information.vf-module-request-input.tenant is a required input\" />\n", + "comments": "", + "x": 1349.1311776297434, + "y": 599.6281538009644, + "z": "67f5a657.693288", + "wires": [] + }, + { + "id": "705f1093.b61a1", + "type": "comment", + "name": "Validation of required fields", + "info": "", + "comments": "", + "x": 612.9999482291087, + "y": 208.19938945770264, + "z": "67f5a657.693288", + "wires": [] + }, + { + "id": "80d469b1.3662b8", + "type": "switchNode", + "name": "switch svc-action", + "xml": "<switch test='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`'>\n", + "comments": "", + "outputs": 1, + "x": 444.9047066824778, + "y": 578.7947607040405, + "z": "67f5a657.693288", + "wires": [ + [ + "1fa2bfe5.f8a74" + ] + ] + }, + { + "id": "1fa2bfe5.f8a74", + "type": "outcome", + "name": "assign", + "xml": "<outcome value='assign'>\n", + "comments": "", + "outputs": 1, + "x": 607.4047066824778, + "y": 578.7947607040405, + "z": "67f5a657.693288", + "wires": [ + [ + "89cbf621.6d6368" + ] + ] + }, + { + "id": "89cbf621.6d6368", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 762.4047066824778, + "y": 578.7947607040405, + "z": "67f5a657.693288", + "wires": [ + [ + "81912a48.95e3c8", + "dea8feff.34d7", + "5317edc6.907634", + "977a8cc7.20f92" + ] + ] + }, + { + "id": "c0656ad0.118938", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 125.41667556762695, + "y": 80.7469892501831, + "z": "67f5a657.693288", + "wires": [ + [ + "e7e3fc5d.26071" + ] + ] + }, + { + "id": "e7e3fc5d.26071", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>", + "outputs": 1, + "x": 200.7023811340332, + "y": 120.98510074615479, + "z": "67f5a657.693288", + "wires": [ + [ + "53018b54.ba7fa4" + ] + ] + }, + { + "id": "53018b54.ba7fa4", + "type": "method", + "name": "method validate-vf-module-input", + "xml": "<method rpc='validate-vf-module-input' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 197.76197052001953, + "y": 161.66364669799805, + "z": "67f5a657.693288", + "wires": [ + [ + "4aba34b1.1043ac" + ] + ] + }, + { + "id": "69a2a002.592a6", + "type": "comment", + "name": "validate-vf-module-input", + "info": "", + "comments": "", + "x": 519.761531829834, + "y": 28.333333015441895, + "z": "67f5a657.693288", + "wires": [] + }, + { + "id": "ed9e03ed.5232b", + "type": "switchNode", + "name": "switch service-instance-id", + "xml": "<switch test='`$vf-module-topology-operation-input.service-information.service-instance-id`'>\n", + "comments": "", + "outputs": 1, + "x": 476.0238227844238, + "y": 380.83334827423096, + "z": "67f5a657.693288", + "wires": [ + [ + "1fea5d4d.2c11e3" + ] + ] + }, + { + "id": "1fea5d4d.2c11e3", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 688.4524040222168, + "y": 380.8333444595337, + "z": "67f5a657.693288", + "wires": [ + [ + "90e209ca.924dc8" + ] + ] + }, + { + "id": "90e209ca.924dc8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"service-information.service-instance-id is a required input\" />\n", + "comments": "", + "x": 839.8809700012207, + "y": 380.83334255218506, + "z": "67f5a657.693288", + "wires": [] + }, + { + "id": "db1345cd.afaaf8", + "type": "switchNode", + "name": "switch vnf-id", + "xml": "<switch test='`$vf-module-topology-operation-input.vnf-information.vnf-id`'>\n", + "comments": "", + "outputs": 1, + "x": 433.52383204868875, + "y": 427.3333387374878, + "z": "67f5a657.693288", + "wires": [ + [ + "bb759f02.71463" + ] + ] + }, + { + "id": "bb759f02.71463", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 688.8095414297923, + "y": 425.90477085113525, + "z": "67f5a657.693288", + "wires": [ + [ + "f0403fde.5aee9" + ] + ] + }, + { + "id": "f0403fde.5aee9", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"vnf-information.vnf-id is a required input\" />\n", + "comments": "", + "x": 840.2381074087962, + "y": 425.9047689437866, + "z": "67f5a657.693288", + "wires": [] + }, + { + "id": "5317edc6.907634", + "type": "switchNode", + "name": "switch aic-cloud-region", + "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`'>\n", + "comments": "", + "outputs": 1, + "x": 969.3333756583079, + "y": 641.9047784805298, + "z": "67f5a657.693288", + "wires": [ + [ + "f1a01d1c.1ba65" + ] + ] + }, + { + "id": "f1a01d1c.1ba65", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 1196.0476929800852, + "y": 641.9048128128052, + "z": "67f5a657.693288", + "wires": [ + [ + "d4c33f5b.e0ebe" + ] + ] + }, + { + "id": "d4c33f5b.e0ebe", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"vf-module-request-input.aic-cloud-region is a required input\" />\n", + "comments": "", + "x": 1347.4762589590891, + "y": 641.9048109054565, + "z": "67f5a657.693288", + "wires": [] + }, + { + "id": "d431fbda.2a77f8", + "type": "switchNode", + "name": "switch vf-module-id", + "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`'>\n", + "comments": "", + "outputs": 1, + "x": 454.33332225254617, + "y": 473.33331775665283, + "z": "67f5a657.693288", + "wires": [ + [ + "d102ad9b.0e3c7" + ] + ] + }, + { + "id": "d102ad9b.0e3c7", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 688.6190316336497, + "y": 471.9047498703003, + "z": "67f5a657.693288", + "wires": [ + [ + "a2b8131.6eb5ff" + ] + ] + }, + { + "id": "a2b8131.6eb5ff", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"vf-module-information.vf-module-id is a required input\" />\n", + "comments": "", + "x": 840.0475976126536, + "y": 471.90474796295166, + "z": "67f5a657.693288", + "wires": [] + }, + { + "id": "977a8cc7.20f92", + "type": "switchNode", + "name": "switch vf-module-name", + "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`'>\n", + "comments": "", + "outputs": 1, + "x": 972.666642870222, + "y": 515.9999895095825, + "z": "67f5a657.693288", + "wires": [ + [ + "9832cc52.0a716" + ] + ] + }, + { + "id": "9832cc52.0a716", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 1198.666642870222, + "y": 515.9999723434448, + "z": "67f5a657.693288", + "wires": [ + [ + "cdbd51ca.ee45c" + ] + ] + }, + { + "id": "cdbd51ca.ee45c", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"vf-module-information.vf-module-request-input.vf-module-name is a required input\" />\n", + "comments": "", + "x": 1350.0952088492259, + "y": 515.9999704360962, + "z": "67f5a657.693288", + "wires": [] + } +] |