GRAPI DG enhancement
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vnf-topology-operation-async.json
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-async.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-async.json
new file mode 100644 (file)
index 0000000..7206446
--- /dev/null
@@ -0,0 +1,175 @@
+[\r
+    {\r
+        "id": "869164d0.22fca8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 177.77777099609375,\r
+        "y": 127.96921110153198,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            [\r
+                "91e5b207.619a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "91e5b207.619a8",\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": 292.0634765625,\r
+        "y": 168.20732259750366,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            [\r
+                "6e27b9bb.02b478"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e27b9bb.02b478",\r
+        "type": "method",\r
+        "name": "method vnf-topology-operation-async",\r
+        "xml": "<method rpc='vnf-topology-operation-async' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 265.63497161865234,\r
+        "y": 209.3977770805359,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            [\r
+                "67687d15.90d894"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "628a912e.96075",\r
+        "type": "comment",\r
+        "name": "vnf-topology-operation-async",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 572.1226272583008,\r
+        "y": 75.55555486679077,\r
+        "z": "fafe2484.405f98",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "67687d15.90d894",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 290.3730583190918,\r
+        "y": 357.0913519859314,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            [\r
+                "98b2b32c.4efe9",\r
+                "ea413579.6ab908",\r
+                "22dacf93.8c6e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "98b2b32c.4efe9",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 480.015869140625,\r
+        "y": 421.5409588813782,\r
+        "z": "fafe2484.405f98",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ea413579.6ab908",\r
+        "type": "switchNode",\r
+        "name": "switch svc-action",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-action`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 488.63487243652344,\r
+        "y": 358.15970182418823,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            [\r
+                "a26e14a0.c75858",\r
+                "7d83530e.ba2efc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a26e14a0.c75858",\r
+        "type": "outcome",\r
+        "name": "assign",\r
+        "xml": "<outcome value='assign'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 684.5872421264648,\r
+        "y": 335.06455087661743,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            [\r
+                "a1897fe3.ec245"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d83530e.ba2efc",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 681.9205017089844,\r
+        "y": 379.44537115097046,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            [\r
+                "4fedef3f.f888b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4fedef3f.f888b",\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": 833.8252372741699,\r
+        "y": 379.44545316696167,\r
+        "z": "fafe2484.405f98",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "22dacf93.8c6e4",\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": 518.254020690918,\r
+        "y": 297.69841051101685,\r
+        "z": "fafe2484.405f98",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a1897fe3.ec245",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-assign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-assign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 989.2063751220703,\r
+        "y": 335.1120238304138,\r
+        "z": "fafe2484.405f98",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]
\ No newline at end of file