aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vnf-input.json
diff options
context:
space:
mode:
authorgaurav <gaurav.agrawal@huawei.com>2018-07-25 16:14:34 +0530
committerGaurav Agrawal <gaurav.agrawal@huawei.com>2018-07-25 11:42:16 +0000
commitbb17c401f713e29f652ac49ff8633b829604c40b (patch)
treeebe07e92054df7f1af44abfcad7acc5464259a9a /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vnf-input.json
parenta5304e219bd29c881ab6c50be7a5a6463ef7afa8 (diff)
Adding site Resource DG
Initial implementation of site resource DG. Change-Id: I65b6a7e335b4053f3133b731849badec7240ec1b Issue-ID: SDNC-356 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: f1ad68601c2616b39756cb6f516d6dad5237f0c0
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vnf-input.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vnf-input.json944
1 files changed, 459 insertions, 485 deletions
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
index 548017d5..3ebab100 100644
--- 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
@@ -1,487 +1,461 @@
[
- {
- "id": "b38b0b37.4fbba8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "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": "<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 439.4285659790039,
- "y": 297.24701404571533,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "f9ab1dd1.ac849"
- ]
- ]
- },
- {
- "id": "f9ab1dd1.ac849",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 665.1428604125977,
- "y": 297.2470178604126,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "a08153b.30607b"
- ]
- ]
- },
- {
- "id": "a08153b.30607b",
- "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": 816.5714263916016,
- "y": 297.24701595306396,
- "z": "19ac43dc.b5de6c",
- "wires": []
- },
- {
- "id": "db0b2c04.23c78",
- "type": "switchNode",
- "name": "switch svc-action",
- "xml": "<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 427.99992915562234,
- "y": 255.81844561440607,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "eeea9033.66cb9"
- ]
- ]
- },
- {
- "id": "eeea9033.66cb9",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 663.7142808096751,
- "y": 254.38984339577814,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "d8278276.52076"
- ]
- ]
- },
- {
- "id": "d8278276.52076",
- "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": 813.7142541067942,
- "y": 254.3898529325213,
- "z": "19ac43dc.b5de6c",
- "wires": []
- },
- {
- "id": "2090c272.2f2dae",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 437.99998256138406,
- "y": 340.1041607175555,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "3462c626.b9b84a"
- ]
- ]
- },
- {
- "id": "3462c626.b9b84a",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 665.1428560529439,
- "y": 340.10417161669056,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "b3d88cc6.52ff2"
- ]
- ]
- },
- {
- "id": "b3d88cc6.52ff2",
- "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": 816.5714220319478,
- "y": 340.10416970934193,
- "z": "19ac43dc.b5de6c",
- "wires": []
- },
- {
- "id": "e6d8c21d.71c1c",
- "type": "switchNode",
- "name": "switch model-customization-id",
- "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 972.4645347595215,
- "y": 486.53292655944824,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "de43bd69.67fda"
- ]
- ]
- },
- {
- "id": "de43bd69.67fda",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1177.4645347595215,
- "y": 486.53290939331055,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "4575d060.3b037"
- ]
- ]
- },
- {
- "id": "4575d060.3b037",
- "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.onap-model-information.model-customization-uuid is a required input\" />\n",
- "comments": "",
- "x": 1328.8931007385254,
- "y": 486.5329074859619,
- "z": "19ac43dc.b5de6c",
- "wires": []
- },
- {
- "id": "689a33f6.b4cc9c",
- "type": "switchNode",
- "name": "switch tenant",
- "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.tenant`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 918.3216133117676,
- "y": 527.9614372253418,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "238e5ffc.d0317"
- ]
- ]
- },
- {
- "id": "238e5ffc.d0317",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1176.035930633545,
- "y": 527.9614715576172,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "bcaf5c05.49c86"
- ]
- ]
- },
- {
- "id": "bcaf5c05.49c86",
- "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-request-input.tenant is a required input\" />\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": "<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 423.238037109375,
- "y": 528.7947521209717,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "2acfd81d.e2f408"
- ]
- ]
- },
- {
- "id": "2acfd81d.e2f408",
- "type": "outcome",
- "name": "assign",
- "xml": "<outcome value='assign'>\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": "<block atomic=\"true\">",
- "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": "<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": 175.70237186976829,
- "y": 124.31843948364258,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "869696da.e07a18"
- ]
- ]
- },
- {
- "id": "869696da.e07a18",
- "type": "method",
- "name": "method validate-vnf-input",
- "xml": "<method rpc='validate-vnf-input' mode='sync'>\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": "<switch test='`$vnf-topology-operation-input.service-information.service-instance-id`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 451.0238135201589,
- "y": 384.16668701171875,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "54e9ea0e.6ae744"
- ]
- ]
- },
- {
- "id": "54e9ea0e.6ae744",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 663.4523947579519,
- "y": 384.1666831970215,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "d1e3ee4b.ceb14"
- ]
- ]
- },
- {
- "id": "d1e3ee4b.ceb14",
- "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": 814.8809607369558,
- "y": 384.16668128967285,
- "z": "19ac43dc.b5de6c",
- "wires": []
- },
- {
- "id": "286a5aeb.cd2826",
- "type": "switchNode",
- "name": "switch vnf-id",
- "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 408.5238227844238,
- "y": 427.6666774749756,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "bb28e2bc.36c43"
- ]
- ]
- },
- {
- "id": "bb28e2bc.36c43",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 663.8095321655273,
- "y": 426.23810958862305,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "9c9ba7cb.f1d4b8"
- ]
- ]
- },
- {
- "id": "9c9ba7cb.f1d4b8",
- "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": 815.2380981445312,
- "y": 426.2381076812744,
- "z": "19ac43dc.b5de6c",
- "wires": []
- },
- {
- "id": "217fcc81.9f4ba4",
- "type": "switchNode",
- "name": "switch aic-cloud-region",
- "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.aic-cloud-region`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 947.6666946411133,
- "y": 570.238094329834,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "30f287b7.9d1118"
- ]
- ]
- },
- {
- "id": "30f287b7.9d1118",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1174.3810119628906,
- "y": 570.2381286621094,
- "z": "19ac43dc.b5de6c",
- "wires": [
- [
- "44a324d9.932adc"
- ]
- ]
- },
- {
- "id": "44a324d9.932adc",
- "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-request-input.aic-cloud-region is a required input\" />\n",
- "comments": "",
- "x": 1325.8095779418945,
- "y": 570.2381267547607,
- "z": "19ac43dc.b5de6c",
- "wires": []
- }
+ {
+ "id": "c428e8d.27cce18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 189,
+ "y": 416.50000422341486,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "3ab2d225.c8f26e",
+ "f97f4e94.92985",
+ "99754530.a920a8",
+ "77ab2ae3.a31c54",
+ "c2bc3d2d.6fb7d"
+ ]
+ ]
+ },
+ {
+ "id": "3ab2d225.c8f26e",
+ "type": "switchNode",
+ "name": "switch svc-request-id",
+ "xml": "<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 471.7619094848633,
+ "y": 299.58034229278564,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "a9a2f3f.7cb551"
+ ]
+ ]
+ },
+ {
+ "id": "a9a2f3f.7cb551",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 697.476203918457,
+ "y": 299.5803461074829,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "cb1db5f9.619c48"
+ ]
+ ]
+ },
+ {
+ "id": "cb1db5f9.619c48",
+ "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": 848.9047698974609,
+ "y": 299.5803442001343,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "f97f4e94.92985",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 460.3332726614817,
+ "y": 258.1517738614764,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "4bce0fc2.589ce"
+ ]
+ ]
+ },
+ {
+ "id": "4bce0fc2.589ce",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 696.0476243155344,
+ "y": 256.72317164284846,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "8b6ba872.3b8a98"
+ ]
+ ]
+ },
+ {
+ "id": "8b6ba872.3b8a98",
+ "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": 846.0475976126536,
+ "y": 256.7231811795916,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "99754530.a920a8",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 470.33332606724343,
+ "y": 342.4374889646258,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "1356b9d1.f1abc6"
+ ]
+ ]
+ },
+ {
+ "id": "1356b9d1.f1abc6",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 697.4761995588033,
+ "y": 342.4374998637609,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "9bdd0c3e.f5034"
+ ]
+ ]
+ },
+ {
+ "id": "9bdd0c3e.f5034",
+ "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": 848.9047655378072,
+ "y": 342.43749795641224,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "77407e17.13aa",
+ "type": "switchNode",
+ "name": "switch model-customization-id",
+ "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1004.7978782653809,
+ "y": 488.86625480651855,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "c78e5862.3ed2f8"
+ ]
+ ]
+ },
+ {
+ "id": "c78e5862.3ed2f8",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1209.7978782653809,
+ "y": 488.86623764038086,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "a0bae35d.bd0f3"
+ ]
+ ]
+ },
+ {
+ "id": "a0bae35d.bd0f3",
+ "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.onap-model-information.model-customization-uuid is a required input\" />\n",
+ "comments": "",
+ "x": 1361.2264442443848,
+ "y": 488.8662357330322,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "9b39e778.02f938",
+ "type": "switchNode",
+ "name": "switch tenant",
+ "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.tenant`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 950.654956817627,
+ "y": 530.2947654724121,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "204bc24c.52717e"
+ ]
+ ]
+ },
+ {
+ "id": "204bc24c.52717e",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1208.3692741394043,
+ "y": 530.2947998046875,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "cd515ce9.de34"
+ ]
+ ]
+ },
+ {
+ "id": "cd515ce9.de34",
+ "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-request-input.tenant is a required input\" />\n",
+ "comments": "",
+ "x": 1359.7978401184082,
+ "y": 530.2947978973389,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "38ecaf2a.7759a",
+ "type": "comment",
+ "name": "Validation of required fields",
+ "info": "",
+ "comments": "",
+ "x": 620.3332824707031,
+ "y": 213.86605644226074,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "77ab2ae3.a31c54",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 455.5713806152344,
+ "y": 531.128080368042,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "8e972969.bb2dd8"
+ ]
+ ]
+ },
+ {
+ "id": "8e972969.bb2dd8",
+ "type": "outcome",
+ "name": "assign",
+ "xml": "<outcome value='assign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 618.0713806152344,
+ "y": 531.128080368042,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "f91647c8.1d72f8"
+ ]
+ ]
+ },
+ {
+ "id": "f91647c8.1d72f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 773.0713806152344,
+ "y": 531.128080368042,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "77407e17.13aa",
+ "9b39e778.02f938",
+ "4108c244.bc563c"
+ ]
+ ]
+ },
+ {
+ "id": "bfe21f2e.7dff3",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 132.7500098092214,
+ "y": 86.41365623474121,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "d64c66df.cad6c8"
+ ]
+ ]
+ },
+ {
+ "id": "d64c66df.cad6c8",
+ "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": 208.03571537562766,
+ "y": 126.65176773071289,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "2e84fc71.260244"
+ ]
+ ]
+ },
+ {
+ "id": "2e84fc71.260244",
+ "type": "method",
+ "name": "method validate-vnf-input",
+ "xml": "<method rpc='validate-vnf-input' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 183.42863682338157,
+ "y": 167.66365242004395,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "c428e8d.27cce18"
+ ]
+ ]
+ },
+ {
+ "id": "580b25f3.b0273c",
+ "type": "comment",
+ "name": "validate-vnf-input",
+ "info": "",
+ "comments": "",
+ "x": 527.0948660714284,
+ "y": 34,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "c2bc3d2d.6fb7d",
+ "type": "switchNode",
+ "name": "switch service-instance-id",
+ "xml": "<switch test='`$vnf-topology-operation-input.service-information.service-instance-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 483.3571570260183,
+ "y": 386.50001525878906,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "4f2dc133.3331a"
+ ]
+ ]
+ },
+ {
+ "id": "4f2dc133.3331a",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 695.7857382638113,
+ "y": 386.5000114440918,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "46f09548.364bec"
+ ]
+ ]
+ },
+ {
+ "id": "46f09548.364bec",
+ "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": 847.2143042428152,
+ "y": 386.50000953674316,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "4108c244.bc563c",
+ "type": "switchNode",
+ "name": "switch aic-cloud-region",
+ "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.aic-cloud-region`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 980.0000381469727,
+ "y": 572.5714225769043,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "c4c6b560.de5ab8"
+ ]
+ ]
+ },
+ {
+ "id": "c4c6b560.de5ab8",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1206.71435546875,
+ "y": 572.5714569091797,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+ [
+ "c4c87ecd.ccad2"
+ ]
+ ]
+ },
+ {
+ "id": "c4c87ecd.ccad2",
+ "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-request-input.aic-cloud-region is a required input\" />\n",
+ "comments": "",
+ "x": 1358.142921447754,
+ "y": 572.571455001831,
+ "z": "a20f7f20.3dd04",
+ "wires": [
+
+ ]
+ }
]