Platform Hardening for DG Json files - Part 3
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / Dispatcher-DG / APPC_Start_VM.json
index 0ddff5b..c13e7de 100644 (file)
-[
-  {
-    "id": "d52f4308.555fb",
-    "type": "dgstart",
-    "name": "DGSTART",
-    "outputs": 1,
-    "x": 96.99993896484375,
-    "y": 54,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      [
-        "763cad7e.1450b4"
-      ]
-    ]
-  },
-  {
-    "id": "763cad7e.1450b4",
-    "type": "service-logic",
-    "name": "APPC 2.0.0",
-    "module": "APPC",
-    "version": "2.0.0",
-    "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='APPC' version='2.0.0'>",
-    "outputs": 1,
-    "x": 141.99993896484375,
-    "y": 137,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      [
-        "812b1c37.4885c"
-      ]
-    ]
-  },
-  {
-    "id": "812b1c37.4885c",
-    "type": "method",
-    "name": "Start VM",
-    "xml": "<method rpc='Start_VM' mode='sync'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 301.99993896484375,
-    "y": 137,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      [
-        "c47aa6c9.8c9378"
-      ]
-    ]
-  },
-  {
-    "id": "280842c.c99e1be",
-    "type": "call",
-    "name": "Start Application ",
-    "xml": "<call module='`$ApplicationStart.dg_module`' rpc='`$ApplicationStart.dg_name`' version='`$ApplicationStart.dg_version`' mode='sync'  >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 766.9999771118164,
-    "y": 336.0000305175781,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      [
-        "144156f7.572b29",
-        "7eab80e5.2adb3",
-        "70e14c1f.8e34e4"
-      ]
-    ]
-  },
-  {
-    "id": "144156f7.572b29",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 998.9999771118164,
-    "y": 266.9998779296875,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      [
-        "96fd3f86.877cb"
-      ]
-    ]
-  },
-  {
-    "id": "7eab80e5.2adb3",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 996.9999771118164,
-    "y": 407.9999694824219,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      [
-        "deb77571.89feb8"
-      ]
-    ]
-  },
-  {
-    "id": "db549b18.455358",
-    "type": "returnSuccess",
-    "name": "return success",
-    "xml": "<return status='success'>\n",
-    "comments": "",
-    "x": 1378.0005493164062,
-    "y": 262.9998779296875,
-    "z": "1cdd4efa.2a36b1",
-    "wires": []
-  },
-  {
-    "id": "c47aa6c9.8c9378",
-    "type": "execute",
-    "name": "Resolve Application Start DG",
-    "xml": "<execute plugin='org.onap.appc.dg.common.DgResolverPlugin' method='resolveDg'>\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfcType\" value='`$vnfcType`' />\n<parameter name=\"action\" value=\"Start_Application\" />\n<parameter name=\"api-ver\" value=\"2.0.0\" />\n<parameter name=\"prefix\" value=\"ApplicationStart\" />\n<parameter name=\"DGResolutionType\" value=\"VNFC\" />\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 349,
-    "y": 238,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      [
-        "ba0ce95d.a32d48",
-        "cc32ed95.f1246"
-      ]
-    ]
-  },
-  {
-    "id": "ba0ce95d.a32d48",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 604,
-    "y": 143,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      [
-        "c89af7a5.6217e8"
-      ]
-    ]
-  },
-  {
-    "id": "cc32ed95.f1246",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 598.9999771118164,
-    "y": 336.0000305175781,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      [
-        "280842c.c99e1be"
-      ]
-    ]
-  },
-  {
-    "id": "c89af7a5.6217e8",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 770.0000610351562,
-    "y": 142,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      [
-        "e4e7b04c.adb7d",
-        "d2671f6c.53d78",
-        "735a4bd9.4bb604"
-      ]
-    ]
-  },
-  {
-    "id": "e4e7b04c.adb7d",
-    "type": "record",
-    "name": "Log message",
-    "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 992,
-    "y": 143,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      []
-    ]
-  },
-  {
-    "id": "735a4bd9.4bb604",
-    "type": "set",
-    "name": "Set failure code and message",
-    "xml": "<set>\n<parameter name='error-code' value=\"401\"/>\n<parameter name='error-message' value=\"`'Failed to resolve Application start DG for : ' + $vnfcType`\"/>\n",
-    "comments": "",
-    "x": 1037,
-    "y": 98.88888549804688,
-    "z": "1cdd4efa.2a36b1",
-    "wires": []
-  },
-  {
-    "id": "d2671f6c.53d78",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n",
-    "comments": "",
-    "x": 989.9998779296875,
-    "y": 186.00006103515625,
-    "z": "1cdd4efa.2a36b1",
-    "wires": []
-  },
-  {
-    "id": "70e14c1f.8e34e4",
-    "type": "not-found",
-    "name": "not-found",
-    "xml": "<outcome value='not-found'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 996.5555191040039,
-    "y": 335.8888854980469,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      [
-        "bbaacbc9.6e42a8"
-      ]
-    ]
-  },
-  {
-    "id": "bbaacbc9.6e42a8",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1172.222267150879,
-    "y": 336.8888854980469,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      [
-        "2620f33d.ba7aac",
-        "d98a42e2.78acd",
-        "87259f65.26a31"
-      ]
-    ]
-  },
-  {
-    "id": "2620f33d.ba7aac",
-    "type": "set",
-    "name": "Set failure code and message",
-    "xml": "<set>\n<parameter name='error-code' value=\"401\"/>\n<parameter name='error-message' value=\"`'Application Start DG not found for : ' + $vnfcType`\" />\n",
-    "comments": "",
-    "x": 1426.5555419921875,
-    "y": 316.77777099609375,
-    "z": "1cdd4efa.2a36b1",
-    "wires": []
-  },
-  {
-    "id": "d98a42e2.78acd",
-    "type": "record",
-    "name": "Log message",
-    "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1381.5554809570312,
-    "y": 362.8888854980469,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      []
-    ]
-  },
-  {
-    "id": "87259f65.26a31",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n",
-    "comments": "",
-    "x": 1379.555519104004,
-    "y": 408.8888854980469,
-    "z": "1cdd4efa.2a36b1",
-    "wires": []
-  },
-  {
-    "id": "deb77571.89feb8",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1155.555549621582,
-    "y": 407.8888854980469,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      [
-        "d98a42e2.78acd",
-        "87259f65.26a31"
-      ]
-    ]
-  },
-  {
-    "id": "96fd3f86.877cb",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1172.9999389648438,
-    "y": 264,
-    "z": "1cdd4efa.2a36b1",
-    "wires": [
-      [
-        "db549b18.455358",
-        "ba9d1c0b.3d282"
-      ]
-    ]
-  },
-  {
-    "id": "ba9d1c0b.3d282",
-    "type": "set",
-    "name": "Set success code and message",
-    "xml": "<set>\n<parameter name='error-code' value=\"400\"/>\n<parameter name='error-message' value=\"Success\" />\n",
-    "comments": "",
-    "x": 1430.9999389648438,
-    "y": 218,
-    "z": "1cdd4efa.2a36b1",
-    "wires": []
-  }
-]
+[\r
+    {\r
+        "id": "d52f4308.555fb",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 96.99993896484375,\r
+        "y": 54,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            [\r
+                "763cad7e.1450b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "763cad7e.1450b4",\r
+        "type": "service-logic",\r
+        "name": "APPC 2.0.0",\r
+        "module": "APPC",\r
+        "version": "2.0.0",\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='APPC' version='2.0.0'>",\r
+        "outputs": 1,\r
+        "x": 141.99993896484375,\r
+        "y": 137,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            [\r
+                "812b1c37.4885c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "812b1c37.4885c",\r
+        "type": "method",\r
+        "name": "Start VM",\r
+        "xml": "<method rpc='Start_VM' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 301.99993896484375,\r
+        "y": 137,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            [\r
+                "c47aa6c9.8c9378"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "280842c.c99e1be",\r
+        "type": "call",\r
+        "name": "Start Application ",\r
+        "xml": "<call module='`$ApplicationStart.dg_module`' rpc='`$ApplicationStart.dg_name`' version='`$ApplicationStart.dg_version`' mode='sync'  >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 766.9999771118164,\r
+        "y": 336.0000305175781,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            [\r
+                "144156f7.572b29",\r
+                "7eab80e5.2adb3",\r
+                "70e14c1f.8e34e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "144156f7.572b29",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 998.9999771118164,\r
+        "y": 266.9998779296875,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            [\r
+                "96fd3f86.877cb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7eab80e5.2adb3",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 996.9999771118164,\r
+        "y": 407.9999694824219,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            [\r
+                "deb77571.89feb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "db549b18.455358",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n",\r
+        "comments": "",\r
+        "x": 1378.0005493164062,\r
+        "y": 262.9998779296875,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c47aa6c9.8c9378",\r
+        "type": "execute",\r
+        "name": "Resolve Application Start DG",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DgResolverPlugin' method='resolveDg'>\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfcType\" value='`$vnfcType`' />\n<parameter name=\"action\" value=\"Start_Application\" />\n<parameter name=\"api-ver\" value=\"2.0.0\" />\n<parameter name=\"prefix\" value=\"ApplicationStart\" />\n<parameter name=\"DGResolutionType\" value=\"VNFC\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 349,\r
+        "y": 238,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            [\r
+                "ba0ce95d.a32d48",\r
+                "cc32ed95.f1246"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba0ce95d.a32d48",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 604,\r
+        "y": 143,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            [\r
+                "c89af7a5.6217e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc32ed95.f1246",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 598.9999771118164,\r
+        "y": 336.0000305175781,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            [\r
+                "280842c.c99e1be"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c89af7a5.6217e8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 770.0000610351562,\r
+        "y": 142,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            [\r
+                "e4e7b04c.adb7d",\r
+                "d2671f6c.53d78",\r
+                "735a4bd9.4bb604"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e4e7b04c.adb7d",\r
+        "type": "record",\r
+        "name": "Log message",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 992,\r
+        "y": 143,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "735a4bd9.4bb604",\r
+        "type": "set",\r
+        "name": "Set failure code and message",\r
+        "xml": "<set>\n<parameter name='error-code' value=\"401\"/>\n<parameter name='error-message' value=\"`'Failed to resolve Application start DG for : ' + $vnfcType`\"/>\n",\r
+        "comments": "",\r
+        "x": 1037,\r
+        "y": 98.88888549804688,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d2671f6c.53d78",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 989.9998779296875,\r
+        "y": 186.00006103515625,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "70e14c1f.8e34e4",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 996.5555191040039,\r
+        "y": 335.8888854980469,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            [\r
+                "bbaacbc9.6e42a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bbaacbc9.6e42a8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1172.222267150879,\r
+        "y": 336.8888854980469,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            [\r
+                "2620f33d.ba7aac",\r
+                "d98a42e2.78acd",\r
+                "87259f65.26a31"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2620f33d.ba7aac",\r
+        "type": "set",\r
+        "name": "Set failure code and message",\r
+        "xml": "<set>\n<parameter name='error-code' value=\"401\"/>\n<parameter name='error-message' value=\"`'Application Start DG not found for : ' + $vnfcType`\" />\n",\r
+        "comments": "",\r
+        "x": 1426.5555419921875,\r
+        "y": 316.77777099609375,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d98a42e2.78acd",\r
+        "type": "record",\r
+        "name": "Log message",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1381.5554809570312,\r
+        "y": 362.8888854980469,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "87259f65.26a31",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 1379.555519104004,\r
+        "y": 408.8888854980469,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "deb77571.89feb8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1155.555549621582,\r
+        "y": 407.8888854980469,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            [\r
+                "d98a42e2.78acd",\r
+                "87259f65.26a31"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "96fd3f86.877cb",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1172.9999389648438,\r
+        "y": 264,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": [\r
+            [\r
+                "db549b18.455358",\r
+                "ba9d1c0b.3d282"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba9d1c0b.3d282",\r
+        "type": "set",\r
+        "name": "Set success code and message",\r
+        "xml": "<set>\n<parameter name='error-code' value=\"400\"/>\n<parameter name='error-message' value=\"Success\" />\n",\r
+        "comments": "",\r
+        "x": 1430.9999389648438,\r
+        "y": 218,\r
+        "z": "1cdd4efa.2a36b1",\r
+        "wires": []\r
+    }\r
+]\r