Bug Fix- Update DG to add proxy support
[ccsdk/distribution.git] / platform-logic / a1Adapter-api / src / main / json / A1-ADAPTER-API_getA1PolicyStatus.json
index 14b08a8..2a6c92c 100644 (file)
-[
-    {
-        "id": "792b8892.64457",
-        "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": 167,
-        "y": 179,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            [
-                "11f7d7b8.1b7cb8"
-            ]
-        ]
-    },
-    {
-        "id": "11f7d7b8.1b7cb8",
-        "type": "method",
-        "name": "method getA1PolicyStatus",
-        "xml": "<method rpc='getA1PolicyStatus' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 226,
-        "y": 300,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            [
-                "ea8cdc1c.7ad76"
-            ]
-        ]
-    },
-    {
-        "id": "606404ab.821cbc",
-        "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 Status:\"/>\n<parameter name=\"field2\" value=\"`$get-a1-policy-status-input.near-rt-ric-url`\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 690,
-        "y": 114,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "ea8cdc1c.7ad76",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 431,
-        "y": 254,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            [
-                "606404ab.821cbc",
-                "722eabeb.6d1a7c",
-                "1786ef85.c617a8",
-                "9795ae5f.c333",
-                "1c69a7a7.5059e"
-            ]
-        ]
-    },
-    {
-        "id": "90a09247.4437",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 98,
-        "y": 116,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            [
-                "792b8892.64457"
-            ]
-        ]
-    },
-    {
-        "id": "722eabeb.6d1a7c",
-        "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": 731.0000610351562,
-        "y": 169,
-        "z": "6c2cfe41.61b868",
-        "wires": []
-    },
-    {
-        "id": "1786ef85.c617a8",
-        "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": 730,
-        "y": 222,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "1c69a7a7.5059e",
-        "type": "block",
-        "name": "A1 Mediator RestAPI Invocation",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 760.0001220703125,
-        "y": 306,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            [
-                "350bef62.ead7a",
-                "42b67c54.7a5fc4",
-                "3c854250.ea03ce"
-            ]
-        ]
-    },
-    {
-        "id": "42b67c54.7a5fc4",
-        "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-status-input.near-rt-ric-url`\"/>",
-        "comments": "",
-        "x": 1122.00146484375,
-        "y": 198.88912963867188,
-        "z": "6c2cfe41.61b868",
-        "wires": []
-    },
-    {
-        "id": "350bef62.ead7a",
-        "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 Status.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-url`\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1009.0001220703125,
-        "y": 289,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "3c854250.ea03ce",
-        "type": "execute",
-        "name": "Get Policy Instance Status",
-        "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": 1055.0006103515625,
-        "y": 370.0104064941406,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            [
-                "db967cfd.662b5",
-                "f7373336.a9f2d8"
-            ]
-        ]
-    },
-    {
-        "id": "db967cfd.662b5",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1282,
-        "y": 439.0001220703125,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            [
-                "e83b2b7e.0baf9"
-            ]
-        ]
-    },
-    {
-        "id": "f7373336.a9f2d8",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1273.000244140625,
-        "y": 283.0000305175781,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            [
-                "ff2d7ebe.e41298"
-            ]
-        ]
-    },
-    {
-        "id": "9eba774e.8b338",
-        "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 Status. Aborting\" />",
-        "comments": "",
-        "x": 1605.0006103515625,
-        "y": 493.00006103515625,
-        "z": "6c2cfe41.61b868",
-        "wires": []
-    },
-    {
-        "id": "ff2d7ebe.e41298",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1445.9998779296875,
-        "y": 284.00006103515625,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            [
-                "a55d0be.aa42678",
-                "73d80df5.3d29b4",
-                "49aaac04.dffde4"
-            ]
-        ]
-    },
-    {
-        "id": "a55d0be.aa42678",
-        "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 Status \"/>\n<parameter name=\"field2\" value=\"`$tmp.a1-mediator-restapi.httpResponse`\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1604,
-        "y": 230,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "1979a6a.06a3759",
-        "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": 1578.75390625,
-        "y": 386.00390625,
-        "z": "6c2cfe41.61b868",
-        "wires": []
-    },
-    {
-        "id": "9795ae5f.c333",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 693.75390625,
-        "y": 478.00390625,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            [
-                "d253316a.832ce"
-            ]
-        ]
-    },
-    {
-        "id": "d253316a.832ce",
-        "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 Policy Status executed successfully'/>\n<parameter name='ack-final' value='Y'/>\n",
-        "comments": "",
-        "x": 854.7539672851562,
-        "y": 478.00396728515625,
-        "z": "6c2cfe41.61b868",
-        "wires": []
-    },
-    {
-        "id": "e83b2b7e.0baf9",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1437.00390625,
-        "y": 438.0039367675781,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            [
-                "1979a6a.06a3759",
-                "9eba774e.8b338"
-            ]
-        ]
-    },
-    {
-        "id": "73d80df5.3d29b4",
-        "type": "execute",
-        "name": "set",
-        "xml": "<set>\n<parameter name='responseBody' value='`$tmp.a1-mediator-restapi.httpResponse`'/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1609,
-        "y": 334,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "49aaac04.dffde4",
-        "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": 1602,
-        "y": 155,
-        "z": "6c2cfe41.61b868",
-        "wires": [
-            []
-        ]
-    }
+[\r
+    {\r
+        "id": "7c350fad.38b66",\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": 177,\r
+        "y": 218,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "19b27448.2b723c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "19b27448.2b723c",\r
+        "type": "method",\r
+        "name": "method getA1PolicyStatus",\r
+        "xml": "<method rpc='getA1PolicyStatus' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 236,\r
+        "y": 339,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "310cf291.4f5d3e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83efabcd.4dd618",\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 Status:\"/>\n<parameter name=\"field2\" value=\"`$get-a1-policy-status-input.near-rt-ric-url`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 700,\r
+        "y": 153,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "310cf291.4f5d3e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 441,\r
+        "y": 293,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "83efabcd.4dd618",\r
+                "9d749d26.ebe4a",\r
+                "ddb1f38.9ac071",\r
+                "2570c18d.2d6dee",\r
+                "7e2d427e.fb9bbc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "701d74fb.dfe40c",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 108,\r
+        "y": 155,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "7c350fad.38b66"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e2d427e.fb9bbc",\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": 741.0000610351562,\r
+        "y": 208,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9d749d26.ebe4a",\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": 740,\r
+        "y": 261,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2570c18d.2d6dee",\r
+        "type": "block",\r
+        "name": "A1 Mediator RestAPI Invocation",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 770.0001220703125,\r
+        "y": 345,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "1d60f60b.a9b00a",\r
+                "3d73b30b.b1f39c",\r
+                "88733351.38598",\r
+                "e804fc09.010ed"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d73b30b.b1f39c",\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-status-input.near-rt-ric-url`\"/>\n<parameter name=\"tmp.proxy-url\" value=\"`$prop.a1Mediator.proxy.url`\"/>",\r
+        "comments": "",\r
+        "x": 1143.00146484375,\r
+        "y": 242.88912963867188,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1d60f60b.a9b00a",\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 Status.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-url`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1020.0001220703125,\r
+        "y": 421,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "88733351.38598",\r
+        "type": "execute",\r
+        "name": "Get Policy Instance Status",\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\"/>\n<parameter name=\"proxyUrl\" value=\"`$tmp.proxy-url`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1084.0006103515625,\r
+        "y": 549.0103759765625,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "d2d7b31.70bc05",\r
+                "819e4409.feff38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d2d7b31.70bc05",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1308,\r
+        "y": 629.0001220703125,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "84aea1ff.acb6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "819e4409.feff38",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1312.000244140625,\r
+        "y": 475.0000305175781,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "c9d3e245.debc5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a999bcc.eb2b74",\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": 1615.0006103515625,\r
+        "y": 684.0000610351562,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c9d3e245.debc5",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1455.9998779296875,\r
+        "y": 475.00006103515625,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "1154b965.2bce37",\r
+                "4a098571.4acf5c",\r
+                "ce829e00.7d38f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1154b965.2bce37",\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 Status \"/>\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": 1617,\r
+        "y": 474,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "875ba0c0.31d41",\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": 1588.75390625,\r
+        "y": 577.00390625,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ddb1f38.9ac071",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 703.75390625,\r
+        "y": 565.00390625,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "76ed31f9.64a93"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "76ed31f9.64a93",\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 Policy Status executed successfully'/>\n<parameter name='ack-final' value='Y'/>\n",\r
+        "comments": "",\r
+        "x": 864.7539672851562,\r
+        "y": 565.0039672851562,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "84aea1ff.acb6c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1447.00390625,\r
+        "y": 629.0039367675781,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "875ba0c0.31d41",\r
+                "6a999bcc.eb2b74"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a098571.4acf5c",\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": 1619,\r
+        "y": 525,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce829e00.7d38f",\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": 1621,\r
+        "y": 431,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5fb0527b.74655c",\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 Status: No proxy found on properties file \"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1796,\r
+        "y": 290,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa63c9cd.555b38",\r
+        "type": "outcome",\r
+        "name": "Otherwise",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1624,\r
+        "y": 358,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "2a68aa17.88a926"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "337f8172.242f2e",\r
+        "type": "outcome",\r
+        "name": "No proxy URL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1628,\r
+        "y": 290,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "5fb0527b.74655c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "124eb317.931f9d",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$tmp.proxy-url`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1449,\r
+        "y": 324,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "337f8172.242f2e",\r
+                "aa63c9cd.555b38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a68aa17.88a926",\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 Status: Proxy url: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1778,\r
+        "y": 359,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e804fc09.010ed",\r
+        "type": "block",\r
+        "name": "block check if proxy address is available",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1122,\r
+        "y": 326,\r
+        "z": "4625f4a8.985c2c",\r
+        "wires": [\r
+            [\r
+                "124eb317.931f9d"\r
+            ]\r
+        ]\r
+    }\r
 ]
\ No newline at end of file