Bug Fix- Updated the http response code/ response message
[ccsdk/distribution.git] / platform-logic / a1Adapter-api / src / main / json / A1-ADAPTER-API_getA1Policy.json
index 65f97d0..f8a716f 100644 (file)
-[
-    {
-        "id": "9623ac21.784518",
-        "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": 168,
-        "y": 142,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            [
-                "ccd84436.04e408"
-            ]
-        ]
-    },
-    {
-        "id": "ccd84436.04e408",
-        "type": "method",
-        "name": "method getA1Policy",
-        "xml": "<method rpc='getA1Policy' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 227,
-        "y": 263,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            [
-                "c915f152.8fae9"
-            ]
-        ]
-    },
-    {
-        "id": "7b756479.f5b4c4",
-        "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 A1 Policy:\"/>\n<parameter name=\"field2\" value=\"`$get-a1-policy-input.near-rt-ric-url`\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 691,
-        "y": 77,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "c915f152.8fae9",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 432,
-        "y": 217,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            [
-                "7b756479.f5b4c4",
-                "ecf93800.1c6098",
-                "50c242ff.949c04",
-                "91f0150f.12ce4",
-                "63a848d9.da34b"
-            ]
-        ]
-    },
-    {
-        "id": "9209420.b905c4",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 99,
-        "y": 79,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            [
-                "9623ac21.784518"
-            ]
-        ]
-    },
-    {
-        "id": "ecf93800.1c6098",
-        "type": "set",
-        "name": "set default status value",
-        "xml": "<set>\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='Get A1 Policy executed successfully' />",
-        "comments": "",
-        "x": 732.0000610351562,
-        "y": 132,
-        "z": "e064bcd1.68ce88",
-        "wires": []
-    },
-    {
-        "id": "50c242ff.949c04",
-        "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": 731,
-        "y": 185,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "63a848d9.da34b",
-        "type": "block",
-        "name": "A1 Mediator RestAPI Invocation",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 761.0001220703125,
-        "y": 269,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            [
-                "291f2c44.cafa94",
-                "91d29dbf.a6a538",
-                "81af0899.ed949"
-            ]
-        ]
-    },
-    {
-        "id": "91d29dbf.a6a538",
-        "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-input.near-rt-ric-url`\"/>",
-        "comments": "",
-        "x": 1123.00146484375,
-        "y": 161.88912963867188,
-        "z": "e064bcd1.68ce88",
-        "wires": []
-    },
-    {
-        "id": "291f2c44.cafa94",
-        "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 Instance.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-url`\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1011.0001220703125,
-        "y": 251,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "81af0899.ed949",
-        "type": "execute",
-        "name": "Get Policy Instance",
-        "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=\"false\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1056.0006103515625,
-        "y": 333.0104064941406,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            [
-                "13d8386c.8ddea8",
-                "af0b89cf.ac16e8"
-            ]
-        ]
-    },
-    {
-        "id": "13d8386c.8ddea8",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1283,
-        "y": 402.0001220703125,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            [
-                "bf13d67e.e0cbb"
-            ]
-        ]
-    },
-    {
-        "id": "af0b89cf.ac16e8",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1274.000244140625,
-        "y": 246.00003051757812,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            [
-                "98798a19.a969a"
-            ]
-        ]
-    },
-    {
-        "id": "508b9b05.e13d4c",
-        "type": "returnFailure",
-        "name": "return failure",
-        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"response-code\" value=\"500\" />\n<parameter name=\"response-message\" value=\"Error in Getting A1 Policy Instance. Aborting\" />",
-        "comments": "",
-        "x": 1606.0006103515625,
-        "y": 456.00006103515625,
-        "z": "e064bcd1.68ce88",
-        "wires": []
-    },
-    {
-        "id": "98798a19.a969a",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1446.9998779296875,
-        "y": 247.00006103515625,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            [
-                "c4d70fbd.f8a89",
-                "efe59c04.f94ff",
-                "7d3fa61b.39674"
-            ]
-        ]
-    },
-    {
-        "id": "c4d70fbd.f8a89",
-        "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 Get Policy Information \"/>\n<parameter name=\"field2\" value=\"`$tmp.a1-mediator-restapi.httpResponse`\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1615,
-        "y": 219,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "3864588e.e52d2",
-        "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": 1579.75390625,
-        "y": 349.00390625,
-        "z": "e064bcd1.68ce88",
-        "wires": []
-    },
-    {
-        "id": "91f0150f.12ce4",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 694.75390625,
-        "y": 441.00390625,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            [
-                "a170f7d2.fa1e18"
-            ]
-        ]
-    },
-    {
-        "id": "a170f7d2.fa1e18",
-        "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='Get PolicyInstance executed successfully'/>\n<parameter name='ack-final' value='Y'/>\n",
-        "comments": "",
-        "x": 855.7539672851562,
-        "y": 441.00396728515625,
-        "z": "e064bcd1.68ce88",
-        "wires": []
-    },
-    {
-        "id": "bf13d67e.e0cbb",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1438.00390625,
-        "y": 401.0039367675781,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            [
-                "3864588e.e52d2",
-                "508b9b05.e13d4c"
-            ]
-        ]
-    },
-    {
-        "id": "efe59c04.f94ff",
-        "type": "execute",
-        "name": "set",
-        "xml": "<set>\n<parameter name='responseBody' value='`$tmp.a1-mediator-restapi.httpResponse`'/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1611,
-        "y": 297,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "7d3fa61b.39674",
-        "type": "execute",
-        "name": "execute",
-        "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=\"\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1614,
-        "y": 152,
-        "z": "e064bcd1.68ce88",
-        "wires": [
-            []
-        ]
-    }
+[\r
+    {\r
+        "id": "6b8e8ac6.27c604",\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": 147,\r
+        "y": 150,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "f3000999.b457c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f3000999.b457c8",\r
+        "type": "method",\r
+        "name": "method getA1Policy",\r
+        "xml": "<method rpc='getA1Policy' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 206,\r
+        "y": 271,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "fd6ab97c.15c398"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b0630652.2b2fd8",\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 A1 Policy:\"/>\n<parameter name=\"field2\" value=\"`$get-a1-policy-input.near-rt-ric-url`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 667,\r
+        "y": 72,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fd6ab97c.15c398",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 411,\r
+        "y": 225,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "b0630652.2b2fd8",\r
+                "4adbc81e.0b0048",\r
+                "4fe0b14e.770ba",\r
+                "edc9dec.2ed5c2",\r
+                "b199f172.85d81"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f5e8f571.ccf0c8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 78,\r
+        "y": 87,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "6b8e8ac6.27c604"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b199f172.85d81",\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='Get A1 Policy executed successfully' />",\r
+        "comments": "",\r
+        "x": 711.0000610351562,\r
+        "y": 140,\r
+        "z": "545d3747.09bc48",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4adbc81e.0b0048",\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": 710,\r
+        "y": 193,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "edc9dec.2ed5c2",\r
+        "type": "block",\r
+        "name": "A1 Mediator RestAPI Invocation",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 740.0001220703125,\r
+        "y": 277,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "39a6720a.10988e",\r
+                "33dfeef0.7d5242",\r
+                "7a4641c.b4572c",\r
+                "df6fc431.781608"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "33dfeef0.7d5242",\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-input.near-rt-ric-url`\"/>",\r
+        "comments": "",\r
+        "x": 1111.00146484375,\r
+        "y": 71.88912963867188,\r
+        "z": "545d3747.09bc48",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "39a6720a.10988e",\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 Instance.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-url`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 996.0001220703125,\r
+        "y": 276,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7a4641c.b4572c",\r
+        "type": "execute",\r
+        "name": "Get Policy Instance",\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=\"false\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1029.0006103515625,\r
+        "y": 424.0104064941406,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "928c2359.89c87",\r
+                "db81e29d.785cf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "928c2359.89c87",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1239,\r
+        "y": 522.0001220703125,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "5dfae475.8705bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "db81e29d.785cf",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1246.000244140625,\r
+        "y": 423.0000305175781,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "26c1647d.47560c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c3778115.31514",\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": 1563.0006103515625,\r
+        "y": 632.0000610351562,\r
+        "z": "545d3747.09bc48",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "26c1647d.47560c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1402.9998779296875,\r
+        "y": 422.00006103515625,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "dc2efa73.54ac98",\r
+                "64acc423.194b8c",\r
+                "a368a134.d9d3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dc2efa73.54ac98",\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 Get Policy 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": 1554,\r
+        "y": 420,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "352d49a0.502856",\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`'/>",\r
+        "comments": "",\r
+        "x": 1553.75390625,\r
+        "y": 548.00390625,\r
+        "z": "545d3747.09bc48",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4fe0b14e.770ba",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 673.75390625,\r
+        "y": 449.00390625,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "2868e6a6.21dd1a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2868e6a6.21dd1a",\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='Get PolicyInstance executed successfully'/>\n<parameter name='ack-final' value='Y'/>\n",\r
+        "comments": "",\r
+        "x": 834.7539672851562,\r
+        "y": 449.00396728515625,\r
+        "z": "545d3747.09bc48",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5dfae475.8705bc",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1399.00390625,\r
+        "y": 586.00390625,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "352d49a0.502856",\r
+                "c3778115.31514"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "64acc423.194b8c",\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": 1554,\r
+        "y": 465,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a368a134.d9d3",\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": 1559,\r
+        "y": 371,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "df6fc431.781608",\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": 1116,\r
+        "y": 185,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "1289f0de.0acddf",\r
+                "3504c3f2.901f0c",\r
+                "4102f074.51249"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1289f0de.0acddf",\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": 1518,\r
+        "y": 62,\r
+        "z": "545d3747.09bc48",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3504c3f2.901f0c",\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 Get Policy Information: Check for proxy url: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1401,\r
+        "y": 137,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8911bb5d.b025b8",\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": 1950,\r
+        "y": 219,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e6ae7ab5.9009e8",\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": 1916,\r
+        "y": 289,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "a8f7d018.65cc3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8f7d018.65cc3",\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": 2094,\r
+        "y": 289,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d03c0ffe.7fff9",\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 Get Policy Information: Url with proxy: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1916,\r
+        "y": 352,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4102f074.51249",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$tmp.proxy-url`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1400,\r
+        "y": 220,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "442627aa.ecfb28",\r
+                "7f1b2e0f.e847e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "442627aa.ecfb28",\r
+        "type": "outcome",\r
+        "name": "No proxy URL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1579,\r
+        "y": 186,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "3c8e8474.1813cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3c8e8474.1813cc",\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 Get Policy Information: No proxy found on properties file \"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1747,\r
+        "y": 186,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7f1b2e0f.e847e",\r
+        "type": "outcome",\r
+        "name": "Otherwise",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1575,\r
+        "y": 254,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "39d6481.0e40eb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "39d6481.0e40eb8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1739,\r
+        "y": 254,\r
+        "z": "545d3747.09bc48",\r
+        "wires": [\r
+            [\r
+                "8911bb5d.b025b8",\r
+                "e6ae7ab5.9009e8",\r
+                "d03c0ffe.7fff9",\r
+                "958535d2.70fcf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "958535d2.70fcf8",\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": 2026,\r
+        "y": 413,\r
+        "z": "545d3747.09bc48",\r
+        "wires": []\r
+    }\r
 ]
\ No newline at end of file