Bug Fix- Updated the http response code/ response message
[ccsdk/distribution.git] / platform-logic / a1Adapter-api / src / main / json / A1-ADAPTER-API_getA1PolicyType.json
index dbe473f..144a1b7 100644 (file)
-[
-    {
-        "id": "c219d1cd.b24c6",
-        "type": "service-logic",
-        "name": "A1-ADAPTER-API ${project.version}",
-        "module": "A1-ADAPTER-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='A1-ADAPTER-API' version='${project.version}'>",
-        "outputs": 1,
-        "x": 160,
-        "y": 193.0000033378601,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "9062821.e79448"
-            ]
-        ]
-    },
-    {
-        "id": "9062821.e79448",
-        "type": "method",
-        "name": "method getA1PolicyType",
-        "xml": "<method rpc='getA1PolicyType' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 223.00000762939453,
-        "y": 316.00001287460327,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "b06c71a4.a1c38"
-            ]
-        ]
-    },
-    {
-        "id": "6b437f41.4e82c",
-        "type": "record",
-        "name": "record",
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get Policy Type:\"/>\n<parameter name=\"field2\" value=\"`$get-a1-policy-type-input.near-rt-ric-url`\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 688.0000267028809,
-        "y": 129.0000023841858,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "b06c71a4.a1c38",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 426,
-        "y": 267.0000033378601,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "6b437f41.4e82c",
-                "b3ae1bd6.d9e298",
-                "5e269c0a.ba2164",
-                "10718683.4eee19",
-                "7cdd0fec.392c7"
-            ]
-        ]
-    },
-    {
-        "id": "e8848e67.6f55e",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 93,
-        "y": 129.0000033378601,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "c219d1cd.b24c6"
-            ]
-        ]
-    },
-    {
-        "id": "b3ae1bd6.d9e298",
-        "type": "set",
-        "name": "set default status value",
-        "xml": "<set>\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='getA1PolicyType executed successfully' />",
-        "comments": "",
-        "x": 725.0001068115234,
-        "y": 182.00000143051147,
-        "z": "db67b85c.6b1fb8",
-        "wires": []
-    },
-    {
-        "id": "5e269c0a.ba2164",
-        "type": "execute",
-        "name": "execute Properties",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/a1-adapter-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 725,
-        "y": 235.0000033378601,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "7cdd0fec.392c7",
-        "type": "block",
-        "name": "A1 Mediator RestAPI Invocation",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 749.0001525878906,
-        "y": 320.99999713897705,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "b1799881.cfcac8",
-                "b226a8f0.348128",
-                "8754f00.41fc21"
-            ]
-        ]
-    },
-    {
-        "id": "b1799881.cfcac8",
-        "type": "set",
-        "name": "set tmp variables for A1 Mediator REST API call",
-        "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$get-a1-policy-type-input.near-rt-ric-url`\"/>",
-        "comments": "",
-        "x": 1199.00146484375,
-        "y": 253.88914489746094,
-        "z": "db67b85c.6b1fb8",
-        "wires": []
-    },
-    {
-        "id": "b226a8f0.348128",
-        "type": "execute",
-        "name": "Get Policy Types",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.near-rt-ric-url`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"a1MediatorRsp\"/>\n<parameter name='contentType' value='application/json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1006.000602722168,
-        "y": 382.01037979125977,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "37dbc1e3.6a3a5e",
-                "debfb4b6.a67ed8"
-            ]
-        ]
-    },
-    {
-        "id": "37dbc1e3.6a3a5e",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1110.0000610351562,
-        "y": 467.0001220703125,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "4eefe752.1c7e88"
-            ]
-        ]
-    },
-    {
-        "id": "debfb4b6.a67ed8",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1286.000244140625,
-        "y": 378.0000305175781,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "9ab3dc21.fe41a"
-            ]
-        ]
-    },
-    {
-        "id": "54c0577b.f3ecf8",
-        "type": "returnFailure",
-        "name": "return failure",
-        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"response-code\" value=\"404\" />\n<parameter name=\"response-message\" value=\"Error in Getting A1 Policy Type. Aborting\" />",
-        "comments": "",
-        "x": 1382.0006103515625,
-        "y": 520.0001220703125,
-        "z": "db67b85c.6b1fb8",
-        "wires": []
-    },
-    {
-        "id": "9ab3dc21.fe41a",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1405.9999084472656,
-        "y": 340.00007581710815,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "a9c5eacf.c24728",
-                "82bcac96.18a1",
-                "c00428bd.5a7f58"
-            ]
-        ]
-    },
-    {
-        "id": "a9c5eacf.c24728",
-        "type": "record",
-        "name": "record",
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"A1 Policy Type Information \"/>\n<parameter name=\"field2\" value=\"`$a1MediatorRsp.httpResponse`\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1644,
-        "y": 249.00000524520874,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "1ba71083.247e6f",
-        "type": "set",
-        "name": "set",
-        "xml": "<set>\n<parameter name='response-code' value='500'/>\n<parameter name='response-message' value='Seems A1 Mediator Not Healthy'/>\n",
-        "comments": "",
-        "x": 1364.7539672851562,
-        "y": 418.0039367675781,
-        "z": "db67b85c.6b1fb8",
-        "wires": []
-    },
-    {
-        "id": "10718683.4eee19",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 686.7539405822754,
-        "y": 443.0039978027344,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "f62ba5fc.044078"
-            ]
-        ]
-    },
-    {
-        "id": "f62ba5fc.044078",
-        "type": "returnSuccess",
-        "name": "return success",
-        "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<parameter name='response-code' value='200' />\n<parameter name='response-message' value='A1 Adapter is healthy'/>\n<parameter name='health-status' value='200'/>\n<parameter name='ack-final' value='Y'/>\n",
-        "comments": "",
-        "x": 901.7540321350098,
-        "y": 443.0039367675781,
-        "z": "db67b85c.6b1fb8",
-        "wires": []
-    },
-    {
-        "id": "4eefe752.1c7e88",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1238.0039367675781,
-        "y": 469.00392150878906,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "54c0577b.f3ecf8",
-                "1ba71083.247e6f"
-            ]
-        ]
-    },
-    {
-        "id": "8754f00.41fc21",
-        "type": "record",
-        "name": "record",
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for A1 Adapter Get Policy Type.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-url`\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1129.9999351501465,
-        "y": 304.0000157356262,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "c00428bd.5a7f58",
-        "type": "execute",
-        "name": "Object to string - ctxSetAttribute",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxSetAttribute'>\n\t<parameter name='object' value=\t\"`$a1MediatorRsp.httpResponse`\" />\n\t<parameter name='key' value='a1PolicyTypeResponse' />",
-        "comments": "",
-        "outputs": 1,
-        "x": 1718.0001220703125,
-        "y": 366.00001287460327,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "82bcac96.18a1",
-        "type": "execute",
-        "name": "printContext",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/A1-Adapter-getPolicytype-specific-context.log' />\n\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1672.0000038146973,
-        "y": 425.00000524520874,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "c2524ba6.93b3f8",
-        "type": "execute",
-        "name": "execute jsonStringToCtx",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='a1MediatorRsp.httpResponse' />\n\t<parameter name='outputPath' value='a1MediatorgetPolicyType' />\n\t<parameter name='isEscaped' value='false' />",
-        "comments": "",
-        "outputs": 1,
-        "x": 1694.0001220703125,
-        "y": 318.00001287460327,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "4d5a07cf.0a3ee8",
-        "type": "execute",
-        "name": "remove new lines",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n    <parameter name=\"source\" value=\"`$a1MediatorRsp.httpResponse`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.a1-mediator-restapi.payload\"/>\n    <parameter name=\"target\" value=\"\\n\"/>\n    <parameter name=\"replacement\" value=\"\"/>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 2497.0001525878906,
-        "y": 457.0000305175781,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "4a30bb8b.273024",
-                "8c2e4d0d.9cbb2"
-            ]
-        ]
-    },
-    {
-        "id": "4a30bb8b.273024",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 2804.5001831054688,
-        "y": 418.00004386901855,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "3483ac68.9da354"
-            ]
-        ]
-    },
-    {
-        "id": "3483ac68.9da354",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 2939.5003356933594,
-        "y": 488.0000762939453,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "3e399081.d736e"
-            ]
-        ]
-    },
-    {
-        "id": "3e399081.d736e",
-        "type": "record",
-        "name": "record",
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with lines removed \\r\"/>\n<parameter name='field3' value='`$tmp.a1-mediator-restapi.payload`' />",
-        "comments": "",
-        "outputs": 1,
-        "x": 3122.500473022461,
-        "y": 491.0000686645508,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "8c2e4d0d.9cbb2",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 2814.5001525878906,
-        "y": 578.0000788271427,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            [
-                "ee8be8b9.4a4c48"
-            ]
-        ]
-    },
-    {
-        "id": "ee8be8b9.4a4c48",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 2967.5,
-        "y": 554.0000715255737,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "22994ac1.2145d6",
-        "type": "execute",
-        "name": "Unescape http response",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='unescapeJsonString'>\n\t<parameter name='source' value=\t\"`$a1MediatorRsp.httpResponse`\" />\n\t<parameter name='target' value='a1MediatorRsp.unescaped.httpResponse' />",
-        "comments": "",
-        "outputs": 1,
-        "x": 2517,
-        "y": 393.0000023841858,
-        "z": "db67b85c.6b1fb8",
-        "wires": [
-            []
-        ]
-    }
+[\r
+    {\r
+        "id": "8c265fc3.6b9c2",\r
+        "type": "service-logic",\r
+        "name": "A1-ADAPTER-API ${project.version}",\r
+        "module": "A1-ADAPTER-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='A1-ADAPTER-API' version='${project.version}'>",\r
+        "outputs": 1,\r
+        "x": 150,\r
+        "y": 146.11087036132812,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "6e5c6f18.9dc93"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e5c6f18.9dc93",\r
+        "type": "method",\r
+        "name": "method getA1PolicyType",\r
+        "xml": "<method rpc='getA1PolicyType' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 213.00000762939453,\r
+        "y": 269.1108798980713,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "de58383c.7e1718"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ae2a0098.f258c",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get Policy Type:\"/>\n<parameter name=\"field2\" value=\"`$get-a1-policy-type-input.near-rt-ric-url`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 678.0000267028809,\r
+        "y": 82.11086940765381,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "de58383c.7e1718",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 416,\r
+        "y": 220.11087036132812,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "ae2a0098.f258c",\r
+                "53b03c05.963dc4",\r
+                "fa97dc4d.7c138",\r
+                "746426a9.66e6a8",\r
+                "da98d4e7.a42728"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f9cdc00.4e19c8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 83,\r
+        "y": 82.11087036132812,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "8c265fc3.6b9c2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "53b03c05.963dc4",\r
+        "type": "set",\r
+        "name": "set default status value",\r
+        "xml": "<set>\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='getA1PolicyType executed successfully' />",\r
+        "comments": "",\r
+        "x": 715.0001068115234,\r
+        "y": 135.1108684539795,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fa97dc4d.7c138",\r
+        "type": "execute",\r
+        "name": "execute Properties",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/a1-adapter-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 715,\r
+        "y": 188.11087036132812,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "da98d4e7.a42728",\r
+        "type": "block",\r
+        "name": "A1 Mediator RestAPI Invocation",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 739.0001525878906,\r
+        "y": 274.11086416244507,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "9c119178.a1023",\r
+                "41a9420e.fea09c",\r
+                "26bb74a4.cb368c",\r
+                "8c9e0855.a2d458"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c119178.a1023",\r
+        "type": "set",\r
+        "name": "set tmp variables for A1 Mediator REST API call",\r
+        "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$get-a1-policy-type-input.near-rt-ric-url`\"/>",\r
+        "comments": "",\r
+        "x": 1129.00146484375,\r
+        "y": 77,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "41a9420e.fea09c",\r
+        "type": "execute",\r
+        "name": "Get Policy Types",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.near-rt-ric-url`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"a1MediatorRsp\"/>\n<parameter name='contentType' value='application/json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1025.0006103515625,\r
+        "y": 448.1212463378906,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "e1975678.7e4028",\r
+                "5c4ab5f9.8d989c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e1975678.7e4028",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1206.0000610351562,\r
+        "y": 506.1109890937805,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "1085e0df.71c62f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5c4ab5f9.8d989c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1207.0002136230469,\r
+        "y": 402.11088848114014,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "1dcf580c.db4cb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "44796ff4.052ba",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='response-code' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='response-message' value='`$a1MediatorRsp.response-message`'/>",\r
+        "comments": "",\r
+        "x": 1495.0006103515625,\r
+        "y": 540.1109924316406,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1dcf580c.db4cb8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1370.9998779296875,\r
+        "y": 376.1109313964844,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "93fea594.fd7eb8",\r
+                "bae47d21.8afde",\r
+                "e3f3a0ff.75db5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93fea594.fd7eb8",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"A1 Policy Type Information \"/>\n<parameter name=\"field2\" value=\"`$tmp.a1-mediator-restapi.httpResponse`\"/>\n<parameter name='field3' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='field4' value='`$a1MediatorRsp.response-message`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1542.9999694824219,\r
+        "y": 380.11084842681885,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b3f7367b.d92278",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n<parameter name='response-code' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='response-message' value='`$a1MediatorRsp.response-message`'/>\n",\r
+        "comments": "",\r
+        "x": 1477.75390625,\r
+        "y": 480.11480712890625,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "746426a9.66e6a8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 662.7539367675781,\r
+        "y": 541.1148681640625,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "ba0df99.5bb8508"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba0df99.5bb8508",\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<parameter name='response-code' value='200' />\n<parameter name='response-message' value='A1 Adapter is healthy'/>\n<parameter name='health-status' value='200'/>\n<parameter name='ack-final' value='Y'/>\n",\r
+        "comments": "",\r
+        "x": 877.7540283203125,\r
+        "y": 541.1148071289062,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1085e0df.71c62f",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1334.0039367675781,\r
+        "y": 508.1147885322571,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "44796ff4.052ba",\r
+                "b3f7367b.d92278"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "26bb74a4.cb368c",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for A1 Adapter Get Policy Type.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-url`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1000.9998779296875,\r
+        "y": 384.1108703613281,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bae47d21.8afde",\r
+        "type": "execute",\r
+        "name": "set",\r
+        "xml": "<set>\n<parameter name='responseBody' value=\"`$tmp.a1-mediator-restapi.httpResponse`\"/>\n<parameter name='response-code' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='response-message' value='`$a1MediatorRsp.response-message`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1544.0000915527344,\r
+        "y": 435.1108589172363,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3f3a0ff.75db5",\r
+        "type": "execute",\r
+        "name": "execute",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n    <parameter name=\"source\" value=\"`$a1MediatorRsp.httpResponse`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.a1-mediator-restapi.httpResponse\"/>\n    <parameter name=\"target\" value=\"\\n\"/>\n    <parameter name=\"replacement\" value=\"\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1545.9999694824219,\r
+        "y": 331.11084842681885,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "649cc87b.b1d558",\r
+        "type": "execute",\r
+        "name": "split near-rt-ric URL",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.near-rt-ric-url`\" />\n    <parameter name=\"regex\" value=\"/\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.near-rt-ric-url-splitList\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2080,\r
+        "y": 174.11087036132812,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ff7f26f0.209c88",\r
+        "type": "for",\r
+        "name": "for",\r
+        "xml": "<for index='idx' start='3' end=\"`$tmp.near-rt-ric-url-splitList_length`\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2046,\r
+        "y": 244.11087036132812,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "9714621a.586e5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9714621a.586e5",\r
+        "type": "execute",\r
+        "name": "set concat url",\r
+        "xml": "<set>\n<parameter name='tmp.proxy-url' value=\"`$tmp.proxy-url +'/' + $tmp.near-rt-ric-url-splitList[$idx] `\" />\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2224,\r
+        "y": 244.11087036132812,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "40760e50.fa874",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get Policy Type: Url with proxy: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2046,\r
+        "y": 301.1108703613281,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "25cac3e6.2bbd4c",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get Policy Type: No proxy found on properties file \"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1850,\r
+        "y": 210.11087036132812,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f41d0523.4fd778",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1842,\r
+        "y": 278.1108703613281,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "649cc87b.b1d558",\r
+                "ff7f26f0.209c88",\r
+                "40760e50.fa874",\r
+                "b59bb4c8.e299f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b59bb4c8.e299f8",\r
+        "type": "set",\r
+        "name": "set variables for A1 Mediator with proxy url",\r
+        "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$tmp.proxy-url`\"/>",\r
+        "comments": "",\r
+        "x": 2156,\r
+        "y": 357.1108703613281,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7dffc679.74af28",\r
+        "type": "outcome",\r
+        "name": "No proxy URL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1682,\r
+        "y": 210.11087036132812,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "25cac3e6.2bbd4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "900e04b1.441648",\r
+        "type": "outcome",\r
+        "name": "Otherwise",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1678,\r
+        "y": 278.1108703613281,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "f41d0523.4fd778"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9b05f4ee.4d7bf8",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$tmp.proxy-url`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1503,\r
+        "y": 244.11087036132812,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "7dffc679.74af28",\r
+                "900e04b1.441648"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "105ce637.9dcaaa",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get Policy Type: Check for proxy url: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1504,\r
+        "y": 161.11087036132812,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b655047a.625108",\r
+        "type": "set",\r
+        "name": "set tmp url variables with proxy information",\r
+        "xml": "<set>\n<parameter name=\"tmp.proxy-url\" value=\"`$prop.a1Mediator.proxy.url`\"/>",\r
+        "comments": "",\r
+        "x": 1621,\r
+        "y": 86.11087036132812,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8c9e0855.a2d458",\r
+        "type": "block",\r
+        "name": "block Substitute proxy address if available",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1108,\r
+        "y": 236.11087036132812,\r
+        "z": "6e7c5307.c398cc",\r
+        "wires": [\r
+            [\r
+                "b655047a.625108",\r
+                "105ce637.9dcaaa",\r
+                "9b05f4ee.4d7bf8"\r
+            ]\r
+        ]\r
+    }\r
 ]
\ No newline at end of file