Add create\deleteAccessConnectivityInstance DGs
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-bbs-network-input-parameters.json
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-bbs-network-input-parameters.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-bbs-network-input-parameters.json
new file mode 100644 (file)
index 0000000..d64a564
--- /dev/null
@@ -0,0 +1,504 @@
+[
+    {
+        "id": "d045979f.3719e8",
+        "type": "dgstart",
+        "name": "DGSTART",
+        "outputs": 1,
+        "x": 124,
+        "y": 188,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "8d3f3543.6c42e8"
+            ]
+        ]
+    },
+    {
+        "id": "8d3f3543.6c42e8",
+        "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": 394,
+        "y": 188,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "3f8a94c6.a0a66c"
+            ]
+        ]
+    },
+    {
+        "id": "3f8a94c6.a0a66c",
+        "type": "method",
+        "name": "method:validate-bbs-network-input-parameters",
+        "xml": "<method rpc='validate-bbs-network-input-parameters' mode='sync'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 785.9998779296875,
+        "y": 188,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "1e5fc75a.b61f49"
+            ]
+        ]
+    },
+    {
+        "id": "1e5fc75a.b61f49",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 497,
+        "y": 275.00001525878906,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "4a6bc0d8.329b8"
+            ]
+        ]
+    },
+    {
+        "id": "4a6bc0d8.329b8",
+        "type": "switchNode",
+        "name": "switch:svc-action",
+        "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 482.00000762939453,
+        "y": 369.00000762939453,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "482e0838.ec1d68",
+                "96e69929.afbb48",
+                "d6f2cc10.9d71b",
+                "fad55640.134b28",
+                "f069bb63.bbd458"
+            ]
+        ]
+    },
+    {
+        "id": "482e0838.ec1d68",
+        "type": "outcome",
+        "name": "create",
+        "xml": "<outcome value='create'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 704,
+        "y": 369.0000305175781,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "8fc78fa0.182da"
+            ]
+        ]
+    },
+    {
+        "id": "96e69929.afbb48",
+        "type": "outcome",
+        "name": "delete",
+        "xml": "<outcome value='delete'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 703,
+        "y": 433,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "85d15bba.4297b8"
+            ]
+        ]
+    },
+    {
+        "id": "d6f2cc10.9d71b",
+        "type": "outcome",
+        "name": "Other",
+        "xml": "<outcome value='Other'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 690.0000343322754,
+        "y": 738.0000343322754,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "7cf97256.70f88c"
+            ]
+        ]
+    },
+    {
+        "id": "8fc78fa0.182da",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 930.3333358764648,
+        "y": 368.00002670288086,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "b2fd3772.24cfb8"
+            ]
+        ]
+    },
+    {
+        "id": "85d15bba.4297b8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 930.3333358764648,
+        "y": 432.00000858306885,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "d36a1fc8.b9675"
+            ]
+        ]
+    },
+    {
+        "id": "b2fd3772.24cfb8",
+        "type": "switchNode",
+        "name": "switch:request-action",
+        "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1142.333339691162,
+        "y": 367.00000762939453,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "1c7784fc.a4c1eb",
+                "8bd1d68a.0c8288",
+                "da93535.10b02b"
+            ]
+        ]
+    },
+    {
+        "id": "d36a1fc8.b9675",
+        "type": "switchNode",
+        "name": "switch:request-action",
+        "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1141.3333435058594,
+        "y": 431.00000858306885,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "1c7784fc.a4c1eb",
+                "81a3a010.345d7",
+                "11996730.5866f9"
+            ]
+        ]
+    },
+    {
+        "id": "1c7784fc.a4c1eb",
+        "type": "outcome",
+        "name": "Other",
+        "xml": "<outcome value='Other'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1432.3333740234375,
+        "y": 575.0000162124634,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "2f3d74cb.5ebd0c"
+            ]
+        ]
+    },
+    {
+        "id": "8bd1d68a.0c8288",
+        "type": "outcome",
+        "name": "CreateAccessConnectivityInstance",
+        "xml": "<outcome value='CreateAccessConnectivityInstance'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1495.0000457763672,
+        "y": 279.00000762939453,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "a82faec.9ceee5"
+            ]
+        ]
+    },
+    {
+        "id": "da93535.10b02b",
+        "type": "outcome",
+        "name": "CreateInternetProfileInstance",
+        "xml": "<outcome value='CreateInternetProfileInstance'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1473.0000457763672,
+        "y": 349.00000953674316,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "506c0969.c19a98"
+            ]
+        ]
+    },
+    {
+        "id": "81a3a010.345d7",
+        "type": "outcome",
+        "name": "DeleteAccessConnectivityInstance",
+        "xml": "<outcome value='DeleteAccessConnectivityInstance'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1486.0000457763672,
+        "y": 431.00001335144043,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "ce6760e0.df132"
+            ]
+        ]
+    },
+    {
+        "id": "cbd80c8f.d9e71",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"svc-action is null\" />\n\n",
+        "comments": "",
+        "x": 909.6667060852051,
+        "y": 801.0000228881836,
+        "z": "fc0675dc.b60ce8",
+        "wires": []
+    },
+    {
+        "id": "2f3d74cb.5ebd0c",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error invalid request-action\" />\n\n",
+        "comments": "",
+        "x": 1783.6667137145996,
+        "y": 571.0000219345093,
+        "z": "fc0675dc.b60ce8",
+        "wires": []
+    },
+    {
+        "id": "506c0969.c19a98",
+        "type": "switchNode",
+        "name": "switch:param_length",
+        "xml": "<switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1787.0000534057617,
+        "y": 348.00000953674316,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "e77456a.57d2ea8"
+            ]
+        ]
+    },
+    {
+        "id": "a82faec.9ceee5",
+        "type": "switchNode",
+        "name": "switch:param_length",
+        "xml": "<switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1781.0000457763672,
+        "y": 279.0000047683716,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "e77456a.57d2ea8"
+            ]
+        ]
+    },
+    {
+        "id": "e77456a.57d2ea8",
+        "type": "outcome",
+        "name": "null",
+        "xml": "<outcome value=''>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2119.0000610351562,
+        "y": 363.00000953674316,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "acdaf629.bd5418"
+            ]
+        ]
+    },
+    {
+        "id": "ce6760e0.df132",
+        "type": "switchNode",
+        "name": "switch:param_length",
+        "xml": "<switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1791.0000495910645,
+        "y": 431.0000114440918,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "e77456a.57d2ea8"
+            ]
+        ]
+    },
+    {
+        "id": "acdaf629.bd5418",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error invalid request-action\" />\n\n",
+        "comments": "",
+        "x": 2301.0000610351562,
+        "y": 363.00001335144043,
+        "z": "fc0675dc.b60ce8",
+        "wires": []
+    },
+    {
+        "id": "fad55640.134b28",
+        "type": "outcome",
+        "name": "null",
+        "xml": "<outcome value=''>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 688.0000190734863,
+        "y": 801.0000228881836,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "cbd80c8f.d9e71"
+            ]
+        ]
+    },
+    {
+        "id": "7cf97256.70f88c",
+        "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=\"`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
+        "comments": "",
+        "x": 912.0000190734863,
+        "y": 739.0000228881836,
+        "z": "fc0675dc.b60ce8",
+        "wires": []
+    },
+    {
+        "id": "11996730.5866f9",
+        "type": "outcome",
+        "name": "DeleteInternetProfileInstance",
+        "xml": "<outcome value='DeleteInternetProfileInstance'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1475.0000457763672,
+        "y": 499.00001525878906,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "bdd985a1.b57348"
+            ]
+        ]
+    },
+    {
+        "id": "bdd985a1.b57348",
+        "type": "switchNode",
+        "name": "switch:param_length",
+        "xml": "<switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1799.0000495910645,
+        "y": 498.0000157356262,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "e77456a.57d2ea8"
+            ]
+        ]
+    },
+    {
+        "id": "f069bb63.bbd458",
+        "type": "outcome",
+        "name": "change",
+        "xml": "<outcome value='change'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 707.0000190734863,
+        "y": 634.000018119812,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "44f31586.32dc9c"
+            ]
+        ]
+    },
+    {
+        "id": "44f31586.32dc9c",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 924.0000228881836,
+        "y": 634.0000171661377,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "892c807b.e3bd"
+            ]
+        ]
+    },
+    {
+        "id": "892c807b.e3bd",
+        "type": "switchNode",
+        "name": "switch:request-action",
+        "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1138.0000305175781,
+        "y": 634.0000171661377,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "a891bcca.f40e3",
+                "1c7784fc.a4c1eb"
+            ]
+        ]
+    },
+    {
+        "id": "a891bcca.f40e3",
+        "type": "outcome",
+        "name": "ChangeInternetProfileInstance",
+        "xml": "<outcome value='ChangeInternetProfileInstance'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1478.6667938232422,
+        "y": 634.0000190734863,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "fb90f1b4.602af"
+            ]
+        ]
+    },
+    {
+        "id": "fb90f1b4.602af",
+        "type": "switchNode",
+        "name": "switch:param_length",
+        "xml": "<switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1785.6667175292969,
+        "y": 632.0000190734863,
+        "z": "fc0675dc.b60ce8",
+        "wires": [
+            [
+                "e77456a.57d2ea8"
+            ]
+        ]
+    }
+]
\ No newline at end of file