-[
- {
- "id": "5a3c07ae.e366b8",
- "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": 175,
- "y": 157.00000095367432,
- "z": "4a015e5c.e4da6",
- "wires": [
- [
- "b7bd1ba7.d04778"
- ]
- ]
- },
- {
- "id": "b7bd1ba7.d04778",
- "type": "method",
- "name": "method getA1PolicyType",
- "xml": "<method rpc='getA1PolicyType' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 238.00000762939453,
- "y": 280.0000104904175,
- "z": "4a015e5c.e4da6",
- "wires": [
- [
- "3f32665d.c1c8ba"
- ]
- ]
- },
- {
- "id": "f83e0069.d60a28",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get Policy Type:\"/>\n<parameter name=\"field2\" value=\"`$get-a1-policy-type-input.near-rt-ric-url`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 703.0000267028809,
- "y": 93,
- "z": "4a015e5c.e4da6",
- "wires": [
- []
- ]
- },
- {
- "id": "3f32665d.c1c8ba",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 441,
- "y": 231.00000095367432,
- "z": "4a015e5c.e4da6",
- "wires": [
- [
- "f83e0069.d60a28",
- "ece1263.0cc9bd8",
- "c4f19376.cb13b",
- "644e8ac.a2fb1f4",
- "479ab38c.15d78c"
- ]
- ]
- },
- {
- "id": "e311365b.05491",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 108,
- "y": 93.00000095367432,
- "z": "4a015e5c.e4da6",
- "wires": [
- [
- "5a3c07ae.e366b8"
- ]
- ]
- },
- {
- "id": "ece1263.0cc9bd8",
- "type": "set",
- "name": "set default status value",
- "xml": "<set>\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='getA1PolicyType executed successfully' />",
- "comments": "",
- "x": 740.0001068115234,
- "y": 145.99999904632568,
- "z": "4a015e5c.e4da6",
- "wires": []
- },
- {
- "id": "c4f19376.cb13b",
- "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": 740,
- "y": 199.00000095367432,
- "z": "4a015e5c.e4da6",
- "wires": [
- []
- ]
- },
- {
- "id": "479ab38c.15d78c",
- "type": "block",
- "name": "A1 Mediator RestAPI Invocation",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 764.0001525878906,
- "y": 284.99999475479126,
- "z": "4a015e5c.e4da6",
- "wires": [
- [
- "72ae0a37.799b94",
- "56399f4b.cae578",
- "40012c04.89442c"
- ]
- ]
- },
- {
- "id": "72ae0a37.799b94",
- "type": "set",
- "name": "set tmp variables for A1 Mediator REST API call",
- "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$get-a1-policy-type-input.near-rt-ric-url`\"/>",
- "comments": "",
- "x": 1214.00146484375,
- "y": 217.88914251327515,
- "z": "4a015e5c.e4da6",
- "wires": []
- },
- {
- "id": "56399f4b.cae578",
- "type": "execute",
- "name": "Get Policy Types",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.near-rt-ric-url`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"a1MediatorRsp\"/>\n<parameter name='contentType' value='application/json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1021.000602722168,
- "y": 346.010377407074,
- "z": "4a015e5c.e4da6",
- "wires": [
- [
- "90458ba.4afa9f8",
- "901d354.b45acc8"
- ]
- ]
- },
- {
- "id": "90458ba.4afa9f8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1125.0000610351562,
- "y": 431.0001196861267,
- "z": "4a015e5c.e4da6",
- "wires": [
- [
- "774aa433.0336b4"
- ]
- ]
- },
- {
- "id": "901d354.b45acc8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1257.000244140625,
- "y": 330.0000305175781,
- "z": "4a015e5c.e4da6",
- "wires": [
- [
- "45b9b49f.441fbc"
- ]
- ]
- },
- {
- "id": "69c58cb1.928354",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"response-code\" value=\"404\" />\n<parameter name=\"response-message\" value=\"Error in Getting A1 Policy Type. Aborting\" />",
- "comments": "",
- "x": 1397.0006103515625,
- "y": 484.0001196861267,
- "z": "4a015e5c.e4da6",
- "wires": []
- },
- {
- "id": "45b9b49f.441fbc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1420.9999084472656,
- "y": 304.00007343292236,
- "z": "4a015e5c.e4da6",
- "wires": [
- [
- "3592b1c6.fc7b6e",
- "6af8fc5a.b2bd5c",
- "2c18e75d.32018"
- ]
- ]
- },
- {
- "id": "3592b1c6.fc7b6e",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"A1 Policy Type Information \"/>\n<parameter name=\"field2\" value=\"`$tmp.a1-mediator-restapi.httpResponse`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1660,
- "y": 212,
- "z": "4a015e5c.e4da6",
- "wires": [
- []
- ]
- },
- {
- "id": "a14ef7ef.d0bba8",
- "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": 1378.75390625,
- "y": 382.0039367675781,
- "z": "4a015e5c.e4da6",
- "wires": []
- },
- {
- "id": "644e8ac.a2fb1f4",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 701.7539405822754,
- "y": 407.0039954185486,
- "z": "4a015e5c.e4da6",
- "wires": [
- [
- "17123f41.a49541"
- ]
- ]
- },
- {
- "id": "17123f41.a49541",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='A1 Adapter is healthy'/>\n<parameter name='health-status' value='200'/>\n<parameter name='ack-final' value='Y'/>\n",
- "comments": "",
- "x": 916.7540321350098,
- "y": 407.00393438339233,
- "z": "4a015e5c.e4da6",
- "wires": []
- },
- {
- "id": "774aa433.0336b4",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1253.0039367675781,
- "y": 433.00391912460327,
- "z": "4a015e5c.e4da6",
- "wires": [
- [
- "69c58cb1.928354",
- "a14ef7ef.d0bba8"
- ]
- ]
- },
- {
- "id": "40012c04.89442c",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for A1 Adapter Get Policy Type.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-url`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1144.9999351501465,
- "y": 268.00001335144043,
- "z": "4a015e5c.e4da6",
- "wires": [
- []
- ]
- },
- {
- "id": "6af8fc5a.b2bd5c",
- "type": "execute",
- "name": "set",
- "xml": "<set>\n<parameter name='responseBody' value=\"`$tmp.a1-mediator-restapi.httpResponse`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1709.0001220703125,
- "y": 282.0000104904175,
- "z": "4a015e5c.e4da6",
- "wires": [
- []
- ]
- },
- {
- "id": "2c18e75d.32018",
- "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": 1663,
- "y": 163,
- "z": "4a015e5c.e4da6",
- "wires": [
- []
- ]
- }
+[\r
+ {\r
+ "id": "8c265fc3.6b9c2",\r
+ "type": "service-logic",\r
+ "name": "A1-ADAPTER-API ${project.version}",\r
+ "module": "A1-ADAPTER-API",\r
+ "version": "${project.version}",\r
+ "comments": "",\r
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='A1-ADAPTER-API' version='${project.version}'>",\r
+ "outputs": 1,\r
+ "x": 150,\r
+ "y": 146.11087036132812,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "6e5c6f18.9dc93"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6e5c6f18.9dc93",\r
+ "type": "method",\r
+ "name": "method getA1PolicyType",\r
+ "xml": "<method rpc='getA1PolicyType' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 213.00000762939453,\r
+ "y": 269.1108798980713,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "de58383c.7e1718"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ae2a0098.f258c",\r
+ "type": "record",\r
+ "name": "record",\r
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get Policy Type:\"/>\n<parameter name=\"field2\" value=\"`$get-a1-policy-type-input.near-rt-ric-url`\"/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 678.0000267028809,\r
+ "y": 82.11086940765381,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "de58383c.7e1718",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 416,\r
+ "y": 220.11087036132812,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "ae2a0098.f258c",\r
+ "53b03c05.963dc4",\r
+ "fa97dc4d.7c138",\r
+ "746426a9.66e6a8",\r
+ "da98d4e7.a42728"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8f9cdc00.4e19c8",\r
+ "type": "dgstart",\r
+ "name": "DGSTART",\r
+ "outputs": 1,\r
+ "x": 83,\r
+ "y": 82.11087036132812,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "8c265fc3.6b9c2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "53b03c05.963dc4",\r
+ "type": "set",\r
+ "name": "set default status value",\r
+ "xml": "<set>\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='getA1PolicyType executed successfully' />",\r
+ "comments": "",\r
+ "x": 715.0001068115234,\r
+ "y": 135.1108684539795,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fa97dc4d.7c138",\r
+ "type": "execute",\r
+ "name": "execute Properties",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/a1-adapter-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 715,\r
+ "y": 188.11087036132812,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "da98d4e7.a42728",\r
+ "type": "block",\r
+ "name": "A1 Mediator RestAPI Invocation",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 739.0001525878906,\r
+ "y": 274.11086416244507,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "9c119178.a1023",\r
+ "41a9420e.fea09c",\r
+ "26bb74a4.cb368c",\r
+ "8c9e0855.a2d458"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9c119178.a1023",\r
+ "type": "set",\r
+ "name": "set tmp variables for A1 Mediator REST API call",\r
+ "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$get-a1-policy-type-input.near-rt-ric-url`\"/>",\r
+ "comments": "",\r
+ "x": 1129.00146484375,\r
+ "y": 77,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "41a9420e.fea09c",\r
+ "type": "execute",\r
+ "name": "Get Policy Types",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.near-rt-ric-url`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"a1MediatorRsp\"/>\n<parameter name='contentType' value='application/json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1025.0006103515625,\r
+ "y": 448.1212463378906,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "e1975678.7e4028",\r
+ "5c4ab5f9.8d989c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e1975678.7e4028",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1206.0000610351562,\r
+ "y": 506.1109890937805,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "1085e0df.71c62f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5c4ab5f9.8d989c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1207.0002136230469,\r
+ "y": 402.11088848114014,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "1dcf580c.db4cb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "44796ff4.052ba",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='response-code' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='response-message' value='`$a1MediatorRsp.response-message`'/>",\r
+ "comments": "",\r
+ "x": 1495.0006103515625,\r
+ "y": 540.1109924316406,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1dcf580c.db4cb8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1370.9998779296875,\r
+ "y": 376.1109313964844,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "93fea594.fd7eb8",\r
+ "bae47d21.8afde",\r
+ "e3f3a0ff.75db5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "93fea594.fd7eb8",\r
+ "type": "record",\r
+ "name": "record",\r
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"A1 Policy Type Information \"/>\n<parameter name=\"field2\" value=\"`$tmp.a1-mediator-restapi.httpResponse`\"/>\n<parameter name='field3' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='field4' value='`$a1MediatorRsp.response-message`'/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1542.9999694824219,\r
+ "y": 380.11084842681885,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "b3f7367b.d92278",\r
+ "type": "set",\r
+ "name": "set",\r
+ "xml": "<set>\n<parameter name='response-code' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='response-message' value='`$a1MediatorRsp.response-message`'/>\n",\r
+ "comments": "",\r
+ "x": 1477.75390625,\r
+ "y": 480.11480712890625,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "746426a9.66e6a8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 662.7539367675781,\r
+ "y": 541.1148681640625,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "ba0df99.5bb8508"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ba0df99.5bb8508",\r
+ "type": "returnSuccess",\r
+ "name": "return success",\r
+ "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='A1 Adapter is healthy'/>\n<parameter name='health-status' value='200'/>\n<parameter name='ack-final' value='Y'/>\n",\r
+ "comments": "",\r
+ "x": 877.7540283203125,\r
+ "y": 541.1148071289062,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1085e0df.71c62f",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1334.0039367675781,\r
+ "y": 508.1147885322571,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "44796ff4.052ba",\r
+ "b3f7367b.d92278"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "26bb74a4.cb368c",\r
+ "type": "record",\r
+ "name": "record",\r
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for A1 Adapter Get Policy Type.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-url`\"/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1000.9998779296875,\r
+ "y": 384.1108703613281,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "bae47d21.8afde",\r
+ "type": "execute",\r
+ "name": "set",\r
+ "xml": "<set>\n<parameter name='responseBody' value=\"`$tmp.a1-mediator-restapi.httpResponse`\"/>\n<parameter name='response-code' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='response-message' value='`$a1MediatorRsp.response-message`'/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1544.0000915527344,\r
+ "y": 435.1108589172363,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e3f3a0ff.75db5",\r
+ "type": "execute",\r
+ "name": "execute",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$a1MediatorRsp.httpResponse`\"/>\n <parameter name=\"outputPath\" value=\"tmp.a1-mediator-restapi.httpResponse\"/>\n <parameter name=\"target\" value=\"\\n\"/>\n <parameter name=\"replacement\" value=\"\"/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1545.9999694824219,\r
+ "y": 331.11084842681885,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "649cc87b.b1d558",\r
+ "type": "execute",\r
+ "name": "split near-rt-ric URL",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.near-rt-ric-url`\" />\n <parameter name=\"regex\" value=\"/\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.near-rt-ric-url-splitList\"/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2080,\r
+ "y": 174.11087036132812,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ff7f26f0.209c88",\r
+ "type": "for",\r
+ "name": "for",\r
+ "xml": "<for index='idx' start='3' end=\"`$tmp.near-rt-ric-url-splitList_length`\" >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2046,\r
+ "y": 244.11087036132812,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "9714621a.586e5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9714621a.586e5",\r
+ "type": "execute",\r
+ "name": "set concat url",\r
+ "xml": "<set>\n<parameter name='tmp.proxy-url' value=\"`$tmp.proxy-url +'/' + $tmp.near-rt-ric-url-splitList[$idx] `\" />\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2224,\r
+ "y": 244.11087036132812,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "40760e50.fa874",\r
+ "type": "record",\r
+ "name": "record",\r
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get Policy Type: Url with proxy: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2046,\r
+ "y": 301.1108703613281,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "25cac3e6.2bbd4c",\r
+ "type": "record",\r
+ "name": "record",\r
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get Policy Type: No proxy found on properties file \"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1850,\r
+ "y": 210.11087036132812,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f41d0523.4fd778",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1842,\r
+ "y": 278.1108703613281,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "649cc87b.b1d558",\r
+ "ff7f26f0.209c88",\r
+ "40760e50.fa874",\r
+ "b59bb4c8.e299f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b59bb4c8.e299f8",\r
+ "type": "set",\r
+ "name": "set variables for A1 Mediator with proxy url",\r
+ "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$tmp.proxy-url`\"/>",\r
+ "comments": "",\r
+ "x": 2156,\r
+ "y": 357.1108703613281,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7dffc679.74af28",\r
+ "type": "outcome",\r
+ "name": "No proxy URL",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1682,\r
+ "y": 210.11087036132812,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "25cac3e6.2bbd4c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "900e04b1.441648",\r
+ "type": "outcome",\r
+ "name": "Otherwise",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1678,\r
+ "y": 278.1108703613281,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "f41d0523.4fd778"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9b05f4ee.4d7bf8",\r
+ "type": "switchNode",\r
+ "name": "switch",\r
+ "xml": "<switch test='`$tmp.proxy-url`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1503,\r
+ "y": 244.11087036132812,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "7dffc679.74af28",\r
+ "900e04b1.441648"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "105ce637.9dcaaa",\r
+ "type": "record",\r
+ "name": "record",\r
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get Policy Type: Check for proxy url: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1504,\r
+ "y": 161.11087036132812,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "b655047a.625108",\r
+ "type": "set",\r
+ "name": "set tmp url variables with proxy information",\r
+ "xml": "<set>\n<parameter name=\"tmp.proxy-url\" value=\"`$prop.a1Mediator.proxy.url`\"/>",\r
+ "comments": "",\r
+ "x": 1621,\r
+ "y": 86.11087036132812,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8c9e0855.a2d458",\r
+ "type": "block",\r
+ "name": "block Substitute proxy address if available",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1108,\r
+ "y": 236.11087036132812,\r
+ "z": "6e7c5307.c398cc",\r
+ "wires": [\r
+ [\r
+ "b655047a.625108",\r
+ "105ce637.9dcaaa",\r
+ "9b05f4ee.4d7bf8"\r
+ ]\r
+ ]\r
+ }\r
]
\ No newline at end of file