Bug Fix- Updated the http response code/ response message
[ccsdk/distribution.git] / platform-logic / a1Adapter-api / src / main / json / A1-ADAPTER-API_deleteA1Policy.json
index bae3ba8..8534f6d 100644 (file)
-[
-    {
-        "id": "40b94c2a.1d5be4",
-        "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": 194,
-        "y": 237,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "c8e7631.2112ba"
-            ]
-        ]
-    },
-    {
-        "id": "c8e7631.2112ba",
-        "type": "method",
-        "name": "method deleteA1Policy",
-        "xml": "<method rpc='deleteA1Policy' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 254,
-        "y": 357,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "4faf22ab.4c738c"
-            ]
-        ]
-    },
-    {
-        "id": "166f48b5.9a3a17",
-        "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=\"Delete A1 Policy:\"/>\n<parameter name=\"field2\" value=\"`$delete-a1-policy-input.near-rt-ric-url`\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 718,
-        "y": 171,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "4faf22ab.4c738c",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 459,
-        "y": 311,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "166f48b5.9a3a17",
-                "b2679b68.1462c8",
-                "4148a57a.c7efcc",
-                "f504796c.262f88",
-                "aba0ccb1.73758"
-            ]
-        ]
-    },
-    {
-        "id": "4e2bdc30.8909a4",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 126,
-        "y": 173,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "40b94c2a.1d5be4"
-            ]
-        ]
-    },
-    {
-        "id": "b2679b68.1462c8",
-        "type": "set",
-        "name": "set default status value",
-        "xml": "<set>\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='deletePolicy executed successfully' />",
-        "comments": "",
-        "x": 759.0000610351562,
-        "y": 226,
-        "z": "5421e0da.e98ea",
-        "wires": []
-    },
-    {
-        "id": "4148a57a.c7efcc",
-        "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": 758,
-        "y": 279,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "aba0ccb1.73758",
-        "type": "block",
-        "name": "A1 Mediator RestAPI Invocation",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 788.0001220703125,
-        "y": 363,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "c6ab5263.f678d",
-                "5cd5776d.1e0278",
-                "628e7bf2.7d9964",
-                "793b4300.b8738c"
-            ]
-        ]
-    },
-    {
-        "id": "5cd5776d.1e0278",
-        "type": "set",
-        "name": "set tmp variables for A1 Mediator REST API call",
-        "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$delete-a1-policy-input.near-rt-ric-url`\"/>",
-        "comments": "",
-        "x": 1161.00146484375,
-        "y": 136.88912963867188,
-        "z": "5421e0da.e98ea",
-        "wires": []
-    },
-    {
-        "id": "c6ab5263.f678d",
-        "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 Delete Policy Instance.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-url`\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1056.0001220703125,
-        "y": 461,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "628e7bf2.7d9964",
-        "type": "execute",
-        "name": "Delete 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=\"DELETE\"/>\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": 1096.0006103515625,
-        "y": 536.0104064941406,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "2eaa9315.f1267c",
-                "1b5b58af.e3d147"
-            ]
-        ]
-    },
-    {
-        "id": "2eaa9315.f1267c",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1325,
-        "y": 625.0001220703125,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "8fd194ab.4d6f48"
-            ]
-        ]
-    },
-    {
-        "id": "1b5b58af.e3d147",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1315.000244140625,
-        "y": 470.0000305175781,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "4ca53b3d.e09944"
-            ]
-        ]
-    },
-    {
-        "id": "c96895f9.6920d8",
-        "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 Deleting A1 Policy Instance. Aborting\" />",
-        "comments": "",
-        "x": 1648.0006103515625,
-        "y": 680.0000610351562,
-        "z": "5421e0da.e98ea",
-        "wires": []
-    },
-    {
-        "id": "4ca53b3d.e09944",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1488.9998779296875,
-        "y": 470.00006103515625,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "e8211cdb.f1c0b",
-                "4e8c89de.7e4e78"
-            ]
-        ]
-    },
-    {
-        "id": "e8211cdb.f1c0b",
-        "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 Delete Policy Information \"/>\n<parameter name=\"field2\" value=\"`$a1MediatorRsp.httpResponse`\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1646,
-        "y": 416,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "ab28de1f.ae2e2",
-        "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": 1621.75390625,
-        "y": 573.00390625,
-        "z": "5421e0da.e98ea",
-        "wires": []
-    },
-    {
-        "id": "f504796c.262f88",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 697.75390625,
-        "y": 545.00390625,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "2fbb20e3.ff965"
-            ]
-        ]
-    },
-    {
-        "id": "2fbb20e3.ff965",
-        "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='deletePolicyInstance executed successfully'/>\n<parameter name='ack-final' value='Y'/>\n",
-        "comments": "",
-        "x": 858.7539672851562,
-        "y": 545.0039672851562,
-        "z": "5421e0da.e98ea",
-        "wires": []
-    },
-    {
-        "id": "8fd194ab.4d6f48",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1480.00390625,
-        "y": 624.0039367675781,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "ab28de1f.ae2e2",
-                "c96895f9.6920d8"
-            ]
-        ]
-    },
-    {
-        "id": "4e8c89de.7e4e78",
-        "type": "execute",
-        "name": "set",
-        "xml": "<set>\n<parameter name='body' value='`$a1MediatorRsp.httpResponse`'/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1652,
-        "y": 520,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "19e9382.863dfc8",
-        "type": "execute",
-        "name": "split near-rt-ric URL",
-        "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\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 2055,
-        "y": 252,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "df43d920.c48608",
-        "type": "for",
-        "name": "for",
-        "xml": "<for index='idx' start='3' end=\"`$tmp.near-rt-ric-url-splitList_length`\" >",
-        "comments": "",
-        "outputs": 1,
-        "x": 2021,
-        "y": 322,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "e32aea7c.0c7418"
-            ]
-        ]
-    },
-    {
-        "id": "e32aea7c.0c7418",
-        "type": "execute",
-        "name": "set concat url",
-        "xml": "<set>\n<parameter name='tmp.proxy-url' value=\"`$tmp.proxy-url +'/' + $tmp.near-rt-ric-url-splitList[$idx] `\" />\n\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 2199,
-        "y": 322,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "695b0eaa.faece",
-        "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=\"Delete A1 Policy: Url with proxy: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 2021,
-        "y": 376,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "c793909b.fccf4",
-        "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=\"Delete A1 Policy: No proxy found on properties file \"/>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1825,
-        "y": 288,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "dbb430eb.1e3ee",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1817,
-        "y": 356,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "19e9382.863dfc8",
-                "df43d920.c48608",
-                "695b0eaa.faece",
-                "cb7535ae.d9c2b8"
-            ]
-        ]
-    },
-    {
-        "id": "cb7535ae.d9c2b8",
-        "type": "set",
-        "name": "set variables for A1 Mediator with proxy url",
-        "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$tmp.proxy-url`\"/>",
-        "comments": "",
-        "x": 2131,
-        "y": 435,
-        "z": "5421e0da.e98ea",
-        "wires": []
-    },
-    {
-        "id": "3bf50c57.2c0d74",
-        "type": "outcome",
-        "name": "No proxy URL",
-        "xml": "<outcome value=''>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1657,
-        "y": 288,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "c793909b.fccf4"
-            ]
-        ]
-    },
-    {
-        "id": "719dd702.c98f88",
-        "type": "outcome",
-        "name": "Otherwise",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1653,
-        "y": 356,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "dbb430eb.1e3ee"
-            ]
-        ]
-    },
-    {
-        "id": "77200c7b.1ac3f4",
-        "type": "set",
-        "name": "set tmp url variables with proxy information",
-        "xml": "<set>\n<parameter name=\"tmp.proxy-url\" value=\"`$prop.a1Mediator.proxy.url`\"/>",
-        "comments": "",
-        "x": 1596,
-        "y": 164,
-        "z": "5421e0da.e98ea",
-        "wires": []
-    },
-    {
-        "id": "f471f3e5.a3e5c",
-        "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=\"Delete A1 Policy: Check for proxy url: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1479,
-        "y": 239,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "d521b1c.f9f805",
-        "type": "switchNode",
-        "name": "switch",
-        "xml": "<switch test='`$tmp.proxy-url`'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1478,
-        "y": 322,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "3bf50c57.2c0d74",
-                "719dd702.c98f88"
-            ]
-        ]
-    },
-    {
-        "id": "793b4300.b8738c",
-        "type": "block",
-        "name": "block Substitute proxy address if available",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1141,
-        "y": 321,
-        "z": "5421e0da.e98ea",
-        "wires": [
-            [
-                "77200c7b.1ac3f4",
-                "f471f3e5.a3e5c",
-                "d521b1c.f9f805"
-            ]
-        ]
-    }
+[\r
+    {\r
+        "id": "a447a452.635fa8",\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": 148,\r
+        "y": 146.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "aa9f057c.f13598"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa9f057c.f13598",\r
+        "type": "method",\r
+        "name": "method deleteA1Policy",\r
+        "xml": "<method rpc='deleteA1Policy' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 208,\r
+        "y": 266.1108703613281,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "5c8824d3.f2344c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9fb06523.31d628",\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=\"Delete A1 Policy:\"/>\n<parameter name=\"field2\" value=\"`$delete-a1-policy-input.near-rt-ric-url`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 672,\r
+        "y": 80.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5c8824d3.f2344c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 413,\r
+        "y": 220.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "9fb06523.31d628",\r
+                "23fdd8fa.63f2d8",\r
+                "1c180e5.366e5f2",\r
+                "36348c30.bf23e4",\r
+                "233e808.6a2288"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d0de73d.0e8098",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 80,\r
+        "y": 82.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "a447a452.635fa8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "233e808.6a2288",\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='deletePolicy executed successfully' />",\r
+        "comments": "",\r
+        "x": 713.0000610351562,\r
+        "y": 135.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "23fdd8fa.63f2d8",\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": 712,\r
+        "y": 188.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "36348c30.bf23e4",\r
+        "type": "block",\r
+        "name": "A1 Mediator RestAPI Invocation",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 742.0001220703125,\r
+        "y": 272.1108703613281,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "67c4647.5e9d39c",\r
+                "137a540e.529a0c",\r
+                "5d1ae490.dcddcc",\r
+                "5d1a137e.2dac4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "137a540e.529a0c",\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=\"`$delete-a1-policy-input.near-rt-ric-url`\"/>",\r
+        "comments": "",\r
+        "x": 1115.00146484375,\r
+        "y": 46,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "67c4647.5e9d39c",\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 Delete Policy Instance.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-url`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1010.0001220703125,\r
+        "y": 370.1108703613281,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d1ae490.dcddcc",\r
+        "type": "execute",\r
+        "name": "Delete 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=\"DELETE\"/>\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": 1050.0006103515625,\r
+        "y": 445.12127685546875,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "af85ffea.175b3",\r
+                "d620d649.a947c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af85ffea.175b3",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1279,\r
+        "y": 534.1109924316406,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "56ddc908.6336c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d620d649.a947c8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1269.000244140625,\r
+        "y": 379.11090087890625,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "def3924e.1551b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e291aaf.e9f6b6",\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": 1602.0006103515625,\r
+        "y": 589.1109313964844,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "def3924e.1551b",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1442.9998779296875,\r
+        "y": 379.1109313964844,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "2b3c81b8.a1a58e",\r
+                "5e3d39b8.e4f438"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b3c81b8.a1a58e",\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 Delete Policy Information \"/>\n<parameter name=\"field2\" value=\"`$a1MediatorRsp.httpResponse`\"/>\n<parameter name='field3' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='field4' value='`$a1MediatorRsp.response-message`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1600,\r
+        "y": 325.1108703613281,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "58e12f5b.03ab6",\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": 1575.75390625,\r
+        "y": 482.1147766113281,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1c180e5.366e5f2",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 651.75390625,\r
+        "y": 454.1147766113281,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "d4c1291b.ee9338"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d4c1291b.ee9338",\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='deletePolicyInstance executed successfully'/>\n<parameter name='ack-final' value='Y'/>\n",\r
+        "comments": "",\r
+        "x": 812.7539672851562,\r
+        "y": 454.1148376464844,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "56ddc908.6336c8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1434.00390625,\r
+        "y": 533.1148071289062,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "58e12f5b.03ab6",\r
+                "2e291aaf.e9f6b6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5e3d39b8.e4f438",\r
+        "type": "execute",\r
+        "name": "set",\r
+        "xml": "<set>\n<parameter name='body' value='`$a1MediatorRsp.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": 1606,\r
+        "y": 429.1108703613281,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8784b71f.4102c8",\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": 2009,\r
+        "y": 161.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a62f928.6bd3f8",\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": 1975,\r
+        "y": 231.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "70dc997b.0486a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "70dc997b.0486a8",\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": 2153,\r
+        "y": 231.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9476835d.fd86",\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=\"Delete A1 Policy: Url with proxy: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1975,\r
+        "y": 285.1108703613281,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f3d9622e.f23b9",\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=\"Delete A1 Policy: No proxy found on properties file \"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1779,\r
+        "y": 197.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "19526cfe.e22a53",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1771,\r
+        "y": 265.1108703613281,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "8784b71f.4102c8",\r
+                "4a62f928.6bd3f8",\r
+                "9476835d.fd86",\r
+                "fdf5e62e.ff4588"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fdf5e62e.ff4588",\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": 2085,\r
+        "y": 344.1108703613281,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c4aac840.55b728",\r
+        "type": "outcome",\r
+        "name": "No proxy URL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1611,\r
+        "y": 197.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "f3d9622e.f23b9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6f2cfaad.7863b4",\r
+        "type": "outcome",\r
+        "name": "Otherwise",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1607,\r
+        "y": 265.1108703613281,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "19526cfe.e22a53"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a770dc4.985ed4",\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": 1550,\r
+        "y": 73.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "49b752da.8fb6bc",\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=\"Delete A1 Policy: Check for proxy url: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1433,\r
+        "y": 148.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa685353.a5b32",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$tmp.proxy-url`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1432,\r
+        "y": 231.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "c4aac840.55b728",\r
+                "6f2cfaad.7863b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d1a137e.2dac4c",\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": 1095,\r
+        "y": 230.11087036132812,\r
+        "z": "b095413b.d2f8d",\r
+        "wires": [\r
+            [\r
+                "4a770dc4.985ed4",\r
+                "49b752da.8fb6bc",\r
+                "aa685353.a5b32"\r
+            ]\r
+        ]\r
+    }\r
 ]
\ No newline at end of file