generic-resource-api DG enhancement
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vf-module-topology-operation-async.json
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-async.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-async.json
new file mode 100644 (file)
index 0000000..b8b048c
--- /dev/null
@@ -0,0 +1,295 @@
+[\r
+    {\r
+        "id": "58cdaf8e.9338",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 179.8363037109375,\r
+        "y": 167.77080249786377,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "b5c33869.bb8148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b5c33869.bb8148",\r
+        "type": "service-logic",\r
+        "name": "GENERIC-RESOURCE-API ${project.version}",\r
+        "module": "GENERIC-RESOURCE-API",\r
+        "version": "${project.version}",\r
+        "comments": "",\r
+        "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}'>",\r
+        "outputs": 1,\r
+        "x": 293.12200927734375,\r
+        "y": 208.00891399383545,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "34177c3d.1d3d04"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "34177c3d.1d3d04",\r
+        "type": "method",\r
+        "name": "method vf-module-topology-operation-async",\r
+        "xml": "<method rpc='vf-module-topology-operation-async' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 314.7649230957031,\r
+        "y": 266.520809173584,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "98c85507.862c28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4dff986d.cfbfe8",\r
+        "type": "comment",\r
+        "name": "vf-module-topology-operation-async",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 642.9311599731445,\r
+        "y": 132.85714530944824,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "98c85507.862c28",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 637.7291793823242,\r
+        "y": 419.98814606666565,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "9c9f62a6.868f5",\r
+                "2c41085c.8dd918",\r
+                "ccddbe0b.ddbca"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c9f62a6.868f5",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 842.038688659668,\r
+        "y": 627.2950584888458,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2c41085c.8dd918",\r
+        "type": "switchNode",\r
+        "name": "switch svc-action",\r
+        "xml": "<switch test='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 848.6575927734375,\r
+        "y": 419.1517460346222,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "d8c68316.b7a72",\r
+                "b525dffc.024fb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d8c68316.b7a72",\r
+        "type": "outcome",\r
+        "name": "assign",\r
+        "xml": "<outcome value='assign'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1062.419563293457,\r
+        "y": 309.4375765323639,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "45cc9d2f.beb9b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93f4bc38.a3c71",\r
+        "type": "outcome",\r
+        "name": "unassign",\r
+        "xml": "<outcome value='unassign'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1162.0505981445312,\r
+        "y": 459.37825417518616,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "d491d98.b65f128"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b525dffc.024fb",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1062.514804840088,\r
+        "y": 551.8183891773224,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "90ef12c9.0fcde"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "90ef12c9.0fcde",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",\r
+        "comments": "",\r
+        "x": 1256.7052307128906,\r
+        "y": 551.8184578418732,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "45cc9d2f.beb9b4",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-assign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1434.5623970031738,\r
+        "y": 309.0090410709381,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "dffe0c9b.30a7e",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-deactivate",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-deactivate' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1537.8124046325684,\r
+        "y": 409.42566990852356,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d491d98.b65f128",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-unassign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-unassign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1532.1456756591797,\r
+        "y": 459.09238934516907,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "516083ba.09ae5c",\r
+        "type": "outcome",\r
+        "name": "deactivate",\r
+        "xml": "<outcome value='deactivate'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1166.1456909179688,\r
+        "y": 410.0923435688019,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "dffe0c9b.30a7e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9428c2a3.733a6",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-activate",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-activate' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1530.2886505126953,\r
+        "y": 360.33031582832336,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8ae8c.55933178",\r
+        "type": "outcome",\r
+        "name": "activate",\r
+        "xml": "<outcome value='activate'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1158.2886352539062,\r
+        "y": 360.99699330329895,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "9428c2a3.733a6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "116260cc.9bfbcf",\r
+        "type": "outcome",\r
+        "name": "changeassign",\r
+        "xml": "<outcome value='changeassign'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1176.622013092041,\r
+        "y": 506.9969837665558,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            [\r
+                "58e3fa70.7e8074"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "58e3fa70.7e8074",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-changeassign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-changeassign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1545.717082977295,\r
+        "y": 506.711119890213,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ccddbe0b.ddbca",\r
+        "type": "set",\r
+        "name": "set skip-mdsal-update to Y",\r
+        "xml": "<set>\n<parameter name='skip-mdsal-update' value='Y' />\n",\r
+        "comments": "",\r
+        "x": 885.8481788635254,\r
+        "y": 263.24700570106506,\r
+        "z": "720e27e0.e78d88",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file