[APPC-922] Add new OpenStack Reboot Directed Graph 11/55211/2
authorDan McMillan <dm3821@att.com>
Thu, 21 Jun 2018 14:39:55 +0000 (14:39 +0000)
committerTakamune Cho <tc012c@att.com>
Thu, 21 Jun 2018 15:18:44 +0000 (15:18 +0000)
Introduce APPC_RebootVM.json directed graph

Add APPC_RebootVM to the dg_activate.txt config file

Add protocol query to APPC_healthcheck.json directed graph

Add outputdata to APPC_ansible-adapter-1.0.json success return

Change-Id: I80cc5695bf04575955b79656d731eab38b0b49c4
Issue-ID: APPC-922
Signed-off-by: Dan McMillan <dm3821@att.com>
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RebootVM.json [new file with mode: 0644]
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ansible-adapter-1.0.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/dg_activate.txt

diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RebootVM.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RebootVM.json
new file mode 100644 (file)
index 0000000..4dfb741
--- /dev/null
@@ -0,0 +1,262 @@
+[\r
+    {\r
+        "id": "2908a6da.b2a8ca",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 79.11666870117188,\r
+        "y": 100.11666870117188,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": [\r
+            [\r
+                "995f28f7.17ac08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "995f28f7.17ac08",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.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='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 236.11666870117188,\r
+        "y": 100.11666870117188,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": [\r
+            [\r
+                "13428bfe.c24b7c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "13428bfe.c24b7c",\r
+        "type": "method",\r
+        "name": "RebootVM",\r
+        "xml": "<method rpc='RebootVM' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 434.1166687011719,\r
+        "y": 102.11666870117188,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": [\r
+            [\r
+                "bf97077a.524938"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37f23061.4a84c",\r
+        "type": "success",\r
+        "name": "SUCCESS",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 802.1166381835938,\r
+        "y": 312.11663818359375,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": [\r
+            [\r
+                "2916b3cf.482764"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25a4b4ec.294ce4",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 811.1166381835938,\r
+        "y": 191.11663818359375,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": [\r
+            [\r
+                "5491c1ea.b5ae1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bd19dd70.f3047",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='error-message' value='`$error-message`' />",\r
+        "comments": "",\r
+        "x": 1358.1166381835938,\r
+        "y": 284.11663818359375,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2bac0636.1502ca",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />",\r
+        "comments": "",\r
+        "x": 1119.1166381835938,\r
+        "y": 191.11663818359375,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2916b3cf.482764",\r
+        "type": "switchNode",\r
+        "name": "switch status",\r
+        "xml": "<switch test='`$REBOOT_STATUS`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 995.1166381835938,\r
+        "y": 313.11663818359375,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": [\r
+            [\r
+                "21120d2e.1cbe7a",\r
+                "cdc5d6c9.13f118"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "21120d2e.1cbe7a",\r
+        "type": "success",\r
+        "name": "SUCCESS",\r
+        "xml": "<outcome value='SUCCESS'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1177.1166381835938,\r
+        "y": 283.11663818359375,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": [\r
+            [\r
+                "bd19dd70.f3047"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cdc5d6c9.13f118",\r
+        "type": "outcome",\r
+        "name": "ERROR",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1169.1166381835938,\r
+        "y": 442.11663818359375,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": [\r
+            [\r
+                "3bf641fb.7fe476"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3bf641fb.7fe476",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1302.1166381835938,\r
+        "y": 443.11663818359375,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": [\r
+            [\r
+                "9329c487.eecde",\r
+                "cd3bd4e.e949528"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9329c487.eecde",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1437.1166381835938,\r
+        "y": 484.1166687011719,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5491c1ea.b5ae1",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 967.1166381835938,\r
+        "y": 191.11663818359375,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": [\r
+            [\r
+                "2bac0636.1502ca"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "16882635.3581a2",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'input.payload = ' + $input.payload`\" />\n<parameter name=\"field3\" value=\"`'vm-id in context=' + $vm-id`\" />\n<parameter name=\"field4\" value=\"`'rebootype in context=' + $type`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 801.2333679199219,\r
+        "y": 132.11666870117188,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bf97077a.524938",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 622.9833374023438,\r
+        "y": 160.98333740234375,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": [\r
+            [\r
+                "16882635.3581a2",\r
+                "8ea85be7.1c77e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cd3bd4e.e949528",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n<parameter name=\"field4\" value=\"`'error-code = ' + $error_code`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1426.9833374023438,\r
+        "y": 414.98333740234375,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8ea85be7.1c77e8",\r
+        "type": "execute",\r
+        "name": "RebootVM",\r
+        "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='rebootServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.onap.appc.reboot.type\" value=\"`$type`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 639.1166381835938,\r
+        "y": 246.11666870117188,\r
+        "z": "be85a121.0dcb68",\r
+        "wires": [\r
+            [\r
+                "25a4b4ec.294ce4",\r
+                "37f23061.4a84c"\r
+            ]\r
+        ]\r
+    }\r
+]
index 4e26c44..9586002 100644 (file)
         "id": "2c831d15.81b10a",\r
         "type": "returnSuccess",\r
         "name": "return success",\r
-        "xml": "<return status='success'>\n<parameter name='output.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$org.onap.appc.adapter.ansible.results`'/>\n",\r
+        "xml": "<return status='success'>\n<parameter name='output.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$org.onap.appc.adapter.ansible.results`'/>\n<parameter name='output.status.outputdata' value= '`$org.onap.appc.adapter.ansible.output`'/>\n",\r
         "comments": "",\r
         "x": 814.6999816894531,\r
         "y": 621.8833348751068,\r
index 1541455..769dab2 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "eb339652.aa1bb",\r
+        "id": "dda01d01.8efea",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 361.8833312988281,\r
-        "y": 294.5666790008545,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 107,\r
+        "y": 100.99999809265137,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": [\r
             [\r
-                "6a6b9cbd.5c5064"\r
+                "4285b095.ad6f98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6a6b9cbd.5c5064",\r
+        "id": "4285b095.ad6f98",\r
         "type": "service-logic",\r
         "name": "APPC 4.0.0",\r
         "module": "APPC",\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='4.0.0'>",\r
         "outputs": 1,\r
-        "x": 520.8833312988281,\r
-        "y": 290.5666790008545,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 266,\r
+        "y": 96.99999809265137,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": [\r
             [\r
-                "ad9ed23f.8f9c68"\r
+                "e5582833.17866"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ad9ed23f.8f9c68",\r
+        "id": "e5582833.17866",\r
         "type": "method",\r
         "name": "method healthcheck",\r
         "xml": "<method rpc='healthcheck' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 725.8833389282227,\r
-        "y": 289.5666809082031,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 471.00000762939453,\r
+        "y": 96,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": [\r
             [\r
-                "23912012.6a432"\r
+                "29f83645.69f632"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "23912012.6a432",\r
+        "id": "29f83645.69f632",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 385.8833312988281,\r
-        "y": 398.5666790008545,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 131,\r
+        "y": 204.99999809265137,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": [\r
             [\r
-                "96f48524.be9e1",\r
-                "d37d976d.cb8ed"\r
+                "998e3410.3369e8",\r
+                "cb2757ad.de9de8",\r
+                "2d14f196.a6ca16",\r
+                "498108f.d34d378",\r
+                "c5398023.70d25",\r
+                "240eb04.368db5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "96f48524.be9e1",\r
+        "id": "998e3410.3369e8",\r
         "type": "execute",\r
         "name": "execute get and executeFlowSequence",\r
         "xml": "<execute plugin=\"org.onap.appc.flow.controller.node.RestServiceNode\" method=\"sendRequest\">\n<parameter name=\"responsePrefix\" value=\"APPC.healthcheck\" />\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 438.8832702636719,\r
-        "y": 497.01111030578613,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 240.99993896484375,\r
+        "y": 615.4444580078125,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": [\r
             [\r
-                "6be528f6.12212",\r
-                "d4a71709.a43268",\r
-                "c328bc28.cc53f"\r
+                "132553a3.a51034",\r
+                "d54c208b.83a2d",\r
+                "642a9ad3.f303cc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6be528f6.12212",\r
+        "id": "132553a3.a51034",\r
         "type": "failure",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 737.994457244873,\r
-        "y": 469.34446811676025,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 569.1111259460449,\r
+        "y": 580.7777996063232,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": [\r
             [\r
-                "248dee55.40e1d2"\r
+                "70d13f13.0b98f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "248dee55.40e1d2",\r
+        "id": "70d13f13.0b98f8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 891.4388961791992,\r
-        "y": 456.5666694641113,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 722.5555648803711,\r
+        "y": 568.0000009536743,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": [\r
             [\r
-                "31d502fd.89de4e"\r
+                "ad46f0c9.98d34"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "31d502fd.89de4e",\r
+        "id": "ad46f0c9.98d34",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to find Execute Node DG sendRequest\" />\n\n\n\t",\r
         "comments": "",\r
-        "x": 1059.9667205810547,\r
-        "y": 443.9000587463379,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 891.0833892822266,\r
+        "y": 555.3333902359009,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d4a71709.a43268",\r
+        "id": "d54c208b.83a2d",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 739.6610946655273,\r
-        "y": 514.1222286224365,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 570.7777633666992,\r
+        "y": 625.5555601119995,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": [\r
             [\r
-                "1d2f2a87.475dc5"\r
+                "4a3daa6d.e2b974"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1d2f2a87.475dc5",\r
+        "id": "4a3daa6d.e2b974",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 891.2166862487793,\r
-        "y": 507.34448051452637,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 722.3333549499512,\r
+        "y": 618.7778120040894,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": [\r
             [\r
-                "bc79231c.35d1f"\r
+                "ccdbfd0d.c05ed"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bc79231c.35d1f",\r
+        "id": "ccdbfd0d.c05ed",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$APPC.healthcheck.error-message`\" />\n\n\n\t",\r
         "comments": "",\r
-        "x": 1053.2723236083984,\r
-        "y": 500.5111427307129,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 884.3889923095703,\r
+        "y": 611.9444742202759,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d37d976d.cb8ed",\r
+        "id": "cb2757ad.de9de8",\r
         "type": "set",\r
         "name": "set Context params",\r
         "xml": "<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' /> \n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<!-- Not required in Get request<parameter name='payload' value='`$input.payload`' />  -->\n\n<parameter name='request-action-type' value= 'GET' /> \n\n\n\n",\r
         "comments": "",\r
-        "x": 1149.0261611938477,\r
-        "y": 373.67383003234863,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 882.142822265625,\r
+        "y": 98.10714721679688,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c328bc28.cc53f",\r
+        "id": "642a9ad3.f303cc",\r
         "type": "success",\r
         "name": "outcome: Other",\r
         "xml": "<outcome value=\"Other\">",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 749.9944763183594,\r
-        "y": 571.9000425338745,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 581.1111450195312,\r
+        "y": 683.3333740234375,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": [\r
             [\r
-                "a4c92174.a2ada8"\r
+                "e8bbf5.52a31c08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a4c92174.a2ada8",\r
+        "id": "e8bbf5.52a31c08",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 931.3277626037598,\r
-        "y": 570.2333450317383,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 762.4444313049316,\r
+        "y": 681.6666765213013,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": [\r
             [\r
-                "f6918f40.5299c"\r
+                "34ba67fe.c0a528"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f6918f40.5299c",\r
+        "id": "34ba67fe.c0a528",\r
         "type": "set",\r
         "name": "set payloadResponse",\r
         "xml": "<set>\n<parameter name='output.payload' value='`$APPC.healthcheck.status-message`' /> \n\n\n\n\n",\r
         "comments": "",\r
-        "x": 1175.8833465576172,\r
-        "y": 561.3166847229004,\r
-        "z": "8fbf021e.b75288",\r
+        "x": 1007.0000152587891,\r
+        "y": 672.7500162124634,\r
+        "z": "ca6ae49d.5804d",\r
         "wires": []\r
+    },\r
+    {\r
+        "id": "2d14f196.a6ca16",\r
+        "type": "get-resource",\r
+        "name": "get-resource",\r
+        "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT DISTINCT PROTOCOL FROM PROTOCOL_REFERENCE WHERE ACTION = $input.action AND VNF_TYPE = $vnf-type ;\"\n    force='true'\n\tpfx='APPC.protocol'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 389,\r
+        "y": 217,\r
+        "z": "ca6ae49d.5804d",\r
+        "wires": [\r
+            [\r
+                "f8ff44d8.ec0b8",\r
+                "fc824ec.4d19ab"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f8ff44d8.ec0b8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 603,\r
+        "y": 166,\r
+        "z": "ca6ae49d.5804d",\r
+        "wires": [\r
+            [\r
+                "adee68d3.e0ca2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fc824ec.4d19ab",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 570,\r
+        "y": 250,\r
+        "z": "ca6ae49d.5804d",\r
+        "wires": [\r
+            [\r
+                "6bbab4a.29b954c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "adee68d3.e0ca2",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 765,\r
+        "y": 164,\r
+        "z": "ca6ae49d.5804d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6bbab4a.29b954c",\r
+        "type": "set",\r
+        "name": "set protocol",\r
+        "xml": "<set>\n<parameter name='APPC.protocol.PROTOCOL' value='`$APPC.protocol.PROTOCOL`' />",\r
+        "comments": "",\r
+        "x": 763,\r
+        "y": 241,\r
+        "z": "ca6ae49d.5804d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "498108f.d34d378",\r
+        "type": "execute",\r
+        "name": "execute get property",\r
+        "xml": " <execute plugin=\"org.onap.appc.encryptiontool.wrapper.EncryptionToolDGWrapper\" method =\"getProperty\">\n <parameter name=\"prefix\" value =\"property\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 424,\r
+        "y": 316,\r
+        "z": "ca6ae49d.5804d",\r
+        "wires": [\r
+            [\r
+                "63cda702.a4978",\r
+                "a687c5e4.57d97"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "63cda702.a4978",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 626,\r
+        "y": 315,\r
+        "z": "ca6ae49d.5804d",\r
+        "wires": [\r
+            [\r
+                "bd7dc6c1.2c92b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a687c5e4.57d97",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 636,\r
+        "y": 385,\r
+        "z": "ca6ae49d.5804d",\r
+        "wires": [\r
+            [\r
+                "bd7dc6c1.2c92b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bd7dc6c1.2c92b",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 780,\r
+        "y": 326,\r
+        "z": "ca6ae49d.5804d",\r
+        "wires": [\r
+            [\r
+                "235da745.236048"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "235da745.236048",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$property.error-message`\" />",\r
+        "comments": "",\r
+        "x": 927,\r
+        "y": 325,\r
+        "z": "ca6ae49d.5804d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c5398023.70d25",\r
+        "type": "set",\r
+        "name": "set properties",\r
+        "xml": "<set>\n<parameter name=\"user\" value='`$property.user`'/>\n<parameter name=\"pwd\" value='`$property.password`'/>\n<parameter name=\"url\" value='`$property.url`'/>\n<parameter name=\"port\" value='`$property.port`'/>",\r
+        "comments": "",\r
+        "x": 338,\r
+        "y": 440,\r
+        "z": "ca6ae49d.5804d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "240eb04.368db5",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name='user' value='`$user`'/>\n<parameter name='password' value='`$password`'/>\n<parameter name='url' value='`$url`'/>\n<parameter name='port' value='`$port`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 311,\r
+        "y": 511,\r
+        "z": "ca6ae49d.5804d",\r
+        "wires": [\r
+            []\r
+        ]\r
     }\r
-]\r
+]