[\r
{\r
- "id": "a447a452.635fa8",\r
+ "id": "e4c21709.3d35e8",\r
"type": "service-logic",\r
"name": "A1-ADAPTER-API ${project.version}",\r
"module": "A1-ADAPTER-API",\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
+ "x": 187,\r
+ "y": 256.1108703613281,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "aa9f057c.f13598"\r
+ "7351113d.4dc8d"\r
]\r
]\r
},\r
{\r
- "id": "aa9f057c.f13598",\r
+ "id": "7351113d.4dc8d",\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
+ "x": 247,\r
+ "y": 376.1108703613281,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "5c8824d3.f2344c"\r
+ "a6106995.99c388"\r
]\r
]\r
},\r
{\r
- "id": "9fb06523.31d628",\r
+ "id": "1fdea711.7bf739",\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
+ "x": 711,\r
+ "y": 190.11087036132812,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "5c8824d3.f2344c",\r
+ "id": "a6106995.99c388",\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
+ "x": 452,\r
+ "y": 330.1108703613281,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "9fb06523.31d628",\r
- "23fdd8fa.63f2d8",\r
- "1c180e5.366e5f2",\r
- "36348c30.bf23e4",\r
- "233e808.6a2288"\r
+ "1fdea711.7bf739",\r
+ "df6f8931.8d6ba8",\r
+ "bf53837.9af008",\r
+ "779d5e07.992c3",\r
+ "ab7a89c3.e79ca8"\r
]\r
]\r
},\r
{\r
- "id": "5d0de73d.0e8098",\r
+ "id": "eca34eaa.ef167",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 80,\r
- "y": 82.11087036132812,\r
- "z": "b095413b.d2f8d",\r
+ "x": 119,\r
+ "y": 192.11087036132812,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "a447a452.635fa8"\r
+ "e4c21709.3d35e8"\r
]\r
]\r
},\r
{\r
- "id": "233e808.6a2288",\r
+ "id": "ab7a89c3.e79ca8",\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
+ "x": 752.0000610351562,\r
+ "y": 245.11087036132812,\r
+ "z": "9f3fc64.f80e438",\r
"wires": []\r
},\r
{\r
- "id": "23fdd8fa.63f2d8",\r
+ "id": "df6f8931.8d6ba8",\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
+ "x": 751,\r
+ "y": 298.1108703613281,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "36348c30.bf23e4",\r
+ "id": "779d5e07.992c3",\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
+ "x": 781.0001220703125,\r
+ "y": 382.1108703613281,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "67c4647.5e9d39c",\r
- "137a540e.529a0c",\r
- "5d1ae490.dcddcc",\r
- "5d1a137e.2dac4c"\r
+ "a2a8e78a.0a5698",\r
+ "11e3f573.11084b",\r
+ "d83ec9ce.0707c8",\r
+ "7a6201b8.1f6e"\r
]\r
]\r
},\r
{\r
- "id": "137a540e.529a0c",\r
+ "id": "11e3f573.11084b",\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
+ "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$delete-a1-policy-input.near-rt-ric-url`\"/>\n<parameter name=\"tmp.proxy-url\" value=\"`$prop.a1Mediator.proxy.url`\"/>",\r
"comments": "",\r
- "x": 1115.00146484375,\r
- "y": 46,\r
- "z": "b095413b.d2f8d",\r
+ "x": 1156.00146484375,\r
+ "y": 265,\r
+ "z": "9f3fc64.f80e438",\r
"wires": []\r
},\r
{\r
- "id": "67c4647.5e9d39c",\r
+ "id": "a2a8e78a.0a5698",\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
+ "x": 1032.0001220703125,\r
+ "y": 432.1108703613281,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "5d1ae490.dcddcc",\r
+ "id": "d83ec9ce.0707c8",\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
+ "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\"/>\n<parameter name=\"proxyUrl\" value=\"`$tmp.proxy-url`\"/>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1050.0006103515625,\r
- "y": 445.12127685546875,\r
- "z": "b095413b.d2f8d",\r
+ "x": 1089.0006103515625,\r
+ "y": 555.1212768554688,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "af85ffea.175b3",\r
- "d620d649.a947c8"\r
+ "7aaf8bd7.b90fd4",\r
+ "5d03cdff.c8b994"\r
]\r
]\r
},\r
{\r
- "id": "af85ffea.175b3",\r
+ "id": "7aaf8bd7.b90fd4",\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
+ "x": 1318,\r
+ "y": 644.1109924316406,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "56ddc908.6336c8"\r
+ "699e69ac.ce1b08"\r
]\r
]\r
},\r
{\r
- "id": "d620d649.a947c8",\r
+ "id": "5d03cdff.c8b994",\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
+ "x": 1308.000244140625,\r
+ "y": 489.11090087890625,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "def3924e.1551b"\r
+ "7e838704.3bc158"\r
]\r
]\r
},\r
{\r
- "id": "2e291aaf.e9f6b6",\r
+ "id": "a25d170c.4028a8",\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
+ "x": 1641.0006103515625,\r
+ "y": 699.1109313964844,\r
+ "z": "9f3fc64.f80e438",\r
"wires": []\r
},\r
{\r
- "id": "def3924e.1551b",\r
+ "id": "7e838704.3bc158",\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
+ "x": 1481.9998779296875,\r
+ "y": 489.1109313964844,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "2b3c81b8.a1a58e",\r
- "5e3d39b8.e4f438"\r
+ "c956702b.47c63",\r
+ "f40ed653.cbf8d8"\r
]\r
]\r
},\r
{\r
- "id": "2b3c81b8.a1a58e",\r
+ "id": "c956702b.47c63",\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
+ "x": 1639,\r
+ "y": 435.1108703613281,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "58e12f5b.03ab6",\r
+ "id": "d9f032dc.714c2",\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
+ "x": 1614.75390625,\r
+ "y": 592.1147766113281,\r
+ "z": "9f3fc64.f80e438",\r
"wires": []\r
},\r
{\r
- "id": "1c180e5.366e5f2",\r
+ "id": "bf53837.9af008",\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
+ "x": 690.75390625,\r
+ "y": 564.1147766113281,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "d4c1291b.ee9338"\r
+ "b470d2cd.36f17"\r
]\r
]\r
},\r
{\r
- "id": "d4c1291b.ee9338",\r
+ "id": "b470d2cd.36f17",\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
+ "x": 851.7539672851562,\r
+ "y": 564.1148376464844,\r
+ "z": "9f3fc64.f80e438",\r
"wires": []\r
},\r
{\r
- "id": "56ddc908.6336c8",\r
+ "id": "699e69ac.ce1b08",\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
+ "x": 1473.00390625,\r
+ "y": 643.1148071289062,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "58e12f5b.03ab6",\r
- "2e291aaf.e9f6b6"\r
+ "a25d170c.4028a8",\r
+ "d9f032dc.714c2"\r
]\r
]\r
},\r
{\r
- "id": "5e3d39b8.e4f438",\r
+ "id": "f40ed653.cbf8d8",\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
+ "x": 1645,\r
+ "y": 539.1108703613281,\r
+ "z": "9f3fc64.f80e438",\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
+ "id": "65ead593.3fe92c",\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
+ "x": 1818,\r
+ "y": 307.1108703613281,\r
+ "z": "9f3fc64.f80e438",\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
+ "id": "7a4b5616.141bb8",\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
+ "x": 1650,\r
+ "y": 307.1108703613281,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "f3d9622e.f23b9"\r
+ "65ead593.3fe92c"\r
]\r
]\r
},\r
{\r
- "id": "6f2cfaad.7863b4",\r
+ "id": "14b993ce.6d780c",\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
+ "x": 1646,\r
+ "y": 375.1108703613281,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "19526cfe.e22a53"\r
+ "13deae40.f06f42"\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
+ "id": "13deae40.f06f42",\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
+ "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: 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
+ "x": 1805,\r
+ "y": 376.1108703613281,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "aa685353.a5b32",\r
+ "id": "b270170d.e4d2e8",\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
+ "x": 1471,\r
+ "y": 341.1108703613281,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "c4aac840.55b728",\r
- "6f2cfaad.7863b4"\r
+ "7a4b5616.141bb8",\r
+ "14b993ce.6d780c"\r
]\r
]\r
},\r
{\r
- "id": "5d1a137e.2dac4c",\r
+ "id": "7a6201b8.1f6e",\r
"type": "block",\r
- "name": "block Substitute proxy address if available",\r
+ "name": "block check if proxy address is 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
+ "x": 1134,\r
+ "y": 340.1108703613281,\r
+ "z": "9f3fc64.f80e438",\r
"wires": [\r
[\r
- "4a770dc4.985ed4",\r
- "49b752da.8fb6bc",\r
- "aa685353.a5b32"\r
+ "b270170d.e4d2e8"\r
]\r
]\r
}\r
[\r
{\r
- "id": "6b8e8ac6.27c604",\r
+ "id": "10e97b34.bcf315",\r
"type": "service-logic",\r
"name": "A1-ADAPTER-API ${project.version}",\r
"module": "A1-ADAPTER-API",\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
+ "x": 166,\r
+ "y": 257,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "f3000999.b457c8"\r
+ "34cf59af.6236f6"\r
]\r
]\r
},\r
{\r
- "id": "f3000999.b457c8",\r
+ "id": "34cf59af.6236f6",\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
+ "x": 225,\r
+ "y": 378,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "fd6ab97c.15c398"\r
+ "d016778f.76d178"\r
]\r
]\r
},\r
{\r
- "id": "b0630652.2b2fd8",\r
+ "id": "237a560f.9552ba",\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
+ "x": 686,\r
+ "y": 179,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "fd6ab97c.15c398",\r
+ "id": "d016778f.76d178",\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
+ "x": 430,\r
+ "y": 332,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "b0630652.2b2fd8",\r
- "4adbc81e.0b0048",\r
- "4fe0b14e.770ba",\r
- "edc9dec.2ed5c2",\r
- "b199f172.85d81"\r
+ "237a560f.9552ba",\r
+ "88a7e3f8.aef34",\r
+ "fa770c9c.fa8f4",\r
+ "b82e4819.e59fa8",\r
+ "3c47174a.181888"\r
]\r
]\r
},\r
{\r
- "id": "f5e8f571.ccf0c8",\r
+ "id": "48fb0377.e5bbdc",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 78,\r
- "y": 87,\r
- "z": "545d3747.09bc48",\r
+ "x": 97,\r
+ "y": 194,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "6b8e8ac6.27c604"\r
+ "10e97b34.bcf315"\r
]\r
]\r
},\r
{\r
- "id": "b199f172.85d81",\r
+ "id": "3c47174a.181888",\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
+ "x": 730.0000610351562,\r
+ "y": 247,\r
+ "z": "f36dd077.0bd7e",\r
"wires": []\r
},\r
{\r
- "id": "4adbc81e.0b0048",\r
+ "id": "88a7e3f8.aef34",\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
+ "x": 729,\r
+ "y": 300,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "edc9dec.2ed5c2",\r
+ "id": "b82e4819.e59fa8",\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
+ "x": 759.0001220703125,\r
+ "y": 384,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "39a6720a.10988e",\r
- "33dfeef0.7d5242",\r
- "7a4641c.b4572c",\r
- "df6fc431.781608"\r
+ "8c55c732.d89748",\r
+ "ad49f33b.d3377",\r
+ "8027c342.f7a8",\r
+ "fcd99fa2.71eae"\r
]\r
]\r
},\r
{\r
- "id": "33dfeef0.7d5242",\r
+ "id": "ad49f33b.d3377",\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
+ "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$get-a1-policy-input.near-rt-ric-url`\"/>\n<parameter name=\"tmp.proxy-url\" value=\"`$prop.a1Mediator.proxy.url`\"/>",\r
"comments": "",\r
- "x": 1111.00146484375,\r
- "y": 71.88912963867188,\r
- "z": "545d3747.09bc48",\r
+ "x": 1138.00146484375,\r
+ "y": 256.8891296386719,\r
+ "z": "f36dd077.0bd7e",\r
"wires": []\r
},\r
{\r
- "id": "39a6720a.10988e",\r
+ "id": "8c55c732.d89748",\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
+ "x": 1019.0001220703125,\r
+ "y": 456,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "7a4641c.b4572c",\r
+ "id": "8027c342.f7a8",\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
+ "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\"/>\n<parameter name=\"proxyUrl\" value=\"`$tmp.proxy-url`\"/>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1029.0006103515625,\r
- "y": 424.0104064941406,\r
- "z": "545d3747.09bc48",\r
+ "x": 1048.0006103515625,\r
+ "y": 531.0104064941406,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "928c2359.89c87",\r
- "db81e29d.785cf"\r
+ "9897b12a.32ced",\r
+ "e71419ff.61bbb8"\r
]\r
]\r
},\r
{\r
- "id": "928c2359.89c87",\r
+ "id": "9897b12a.32ced",\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
+ "x": 1258,\r
+ "y": 629.0001220703125,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "5dfae475.8705bc"\r
+ "1c9ae028.670bf"\r
]\r
]\r
},\r
{\r
- "id": "db81e29d.785cf",\r
+ "id": "e71419ff.61bbb8",\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
+ "x": 1265.000244140625,\r
+ "y": 530.0000305175781,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "26c1647d.47560c"\r
+ "afc5b777.009a08"\r
]\r
]\r
},\r
{\r
- "id": "c3778115.31514",\r
+ "id": "f3898b18.20aed8",\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
+ "x": 1582.0006103515625,\r
+ "y": 739.0000610351562,\r
+ "z": "f36dd077.0bd7e",\r
"wires": []\r
},\r
{\r
- "id": "26c1647d.47560c",\r
+ "id": "afc5b777.009a08",\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
+ "x": 1421.9998779296875,\r
+ "y": 529.0000610351562,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "dc2efa73.54ac98",\r
- "64acc423.194b8c",\r
- "a368a134.d9d3"\r
+ "9ba38f90.43984",\r
+ "5c8a496b.1d4158",\r
+ "7164a263.76f1bc"\r
]\r
]\r
},\r
{\r
- "id": "dc2efa73.54ac98",\r
+ "id": "9ba38f90.43984",\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
+ "x": 1573,\r
+ "y": 527,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "352d49a0.502856",\r
+ "id": "2fae5a38.614356",\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
+ "x": 1572.75390625,\r
+ "y": 655.00390625,\r
+ "z": "f36dd077.0bd7e",\r
"wires": []\r
},\r
{\r
- "id": "4fe0b14e.770ba",\r
+ "id": "fa770c9c.fa8f4",\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
+ "x": 692.75390625,\r
+ "y": 556.00390625,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "2868e6a6.21dd1a"\r
+ "f52c3841.f4dc38"\r
]\r
]\r
},\r
{\r
- "id": "2868e6a6.21dd1a",\r
+ "id": "f52c3841.f4dc38",\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
+ "x": 853.7539672851562,\r
+ "y": 556.0039672851562,\r
+ "z": "f36dd077.0bd7e",\r
"wires": []\r
},\r
{\r
- "id": "5dfae475.8705bc",\r
+ "id": "1c9ae028.670bf",\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
+ "x": 1418.00390625,\r
+ "y": 693.00390625,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "352d49a0.502856",\r
- "c3778115.31514"\r
+ "2fae5a38.614356",\r
+ "f3898b18.20aed8"\r
]\r
]\r
},\r
{\r
- "id": "64acc423.194b8c",\r
+ "id": "5c8a496b.1d4158",\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
+ "x": 1573,\r
+ "y": 572,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "a368a134.d9d3",\r
+ "id": "7164a263.76f1bc",\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
+ "x": 1578,\r
+ "y": 478,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "df6fc431.781608",\r
+ "id": "fcd99fa2.71eae",\r
"type": "block",\r
- "name": "block Substitute proxy address if available",\r
+ "name": "block check if proxy address is available",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1116,\r
- "y": 185,\r
- "z": "545d3747.09bc48",\r
+ "x": 1132,\r
+ "y": 329,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "1289f0de.0acddf",\r
- "3504c3f2.901f0c",\r
- "4102f074.51249"\r
+ "682992.2dd0967"\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
+ "id": "74ebffed.36e5d",\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
+ "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: Proxy url: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1950,\r
- "y": 219,\r
- "z": "545d3747.09bc48",\r
+ "x": 1751,\r
+ "y": 360,\r
+ "z": "f36dd077.0bd7e",\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
+ "id": "682992.2dd0967",\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
+ "x": 1419,\r
+ "y": 327,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "442627aa.ecfb28",\r
- "7f1b2e0f.e847e"\r
+ "1ffdd50c.057bdb",\r
+ "dcf5e334.20da6"\r
]\r
]\r
},\r
{\r
- "id": "442627aa.ecfb28",\r
+ "id": "1ffdd50c.057bdb",\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
+ "x": 1598,\r
+ "y": 293,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "3c8e8474.1813cc"\r
+ "5af6fc8b.6b28b4"\r
]\r
]\r
},\r
{\r
- "id": "3c8e8474.1813cc",\r
+ "id": "5af6fc8b.6b28b4",\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
+ "x": 1766,\r
+ "y": 293,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "7f1b2e0f.e847e",\r
+ "id": "dcf5e334.20da6",\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
+ "x": 1594,\r
+ "y": 361,\r
+ "z": "f36dd077.0bd7e",\r
"wires": [\r
[\r
- "39d6481.0e40eb8"\r
+ "74ebffed.36e5d"\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
[\r
{\r
- "id": "1f03ae12.22b482",\r
+ "id": "7c350fad.38b66",\r
"type": "service-logic",\r
"name": "A1-ADAPTER-API ${project.version}",\r
"module": "A1-ADAPTER-API",\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": 162,\r
- "y": 133,\r
- "z": "82264c28.fa865",\r
+ "x": 177,\r
+ "y": 218,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "8bd7382e.5951c8"\r
+ "19b27448.2b723c"\r
]\r
]\r
},\r
{\r
- "id": "8bd7382e.5951c8",\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": 221,\r
- "y": 254,\r
- "z": "82264c28.fa865",\r
+ "x": 236,\r
+ "y": 339,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "79d72e28.bcc54"\r
+ "310cf291.4f5d3e"\r
]\r
]\r
},\r
{\r
- "id": "e61b6ee5.b949b",\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": 685,\r
- "y": 68,\r
- "z": "82264c28.fa865",\r
+ "x": 700,\r
+ "y": 153,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "79d72e28.bcc54",\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": 426,\r
- "y": 208,\r
- "z": "82264c28.fa865",\r
+ "x": 441,\r
+ "y": 293,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "e61b6ee5.b949b",\r
- "577dc417.5a651c",\r
- "7cb48c00.8ced04",\r
- "eee487dc.9ea2f8",\r
- "57df804c.8c393"\r
+ "83efabcd.4dd618",\r
+ "9d749d26.ebe4a",\r
+ "ddb1f38.9ac071",\r
+ "2570c18d.2d6dee",\r
+ "7e2d427e.fb9bbc"\r
]\r
]\r
},\r
{\r
- "id": "bfa9b29.612d95",\r
+ "id": "701d74fb.dfe40c",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 93,\r
- "y": 70,\r
- "z": "82264c28.fa865",\r
+ "x": 108,\r
+ "y": 155,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "1f03ae12.22b482"\r
+ "7c350fad.38b66"\r
]\r
]\r
},\r
{\r
- "id": "57df804c.8c393",\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": 726.0000610351562,\r
- "y": 123,\r
- "z": "82264c28.fa865",\r
+ "x": 741.0000610351562,\r
+ "y": 208,\r
+ "z": "4625f4a8.985c2c",\r
"wires": []\r
},\r
{\r
- "id": "577dc417.5a651c",\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": 725,\r
- "y": 176,\r
- "z": "82264c28.fa865",\r
+ "x": 740,\r
+ "y": 261,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "eee487dc.9ea2f8",\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": 755.0001220703125,\r
- "y": 260,\r
- "z": "82264c28.fa865",\r
+ "x": 770.0001220703125,\r
+ "y": 345,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "95f961b6.beecd",\r
- "a037b233.bd226",\r
- "64616aa3.fae654",\r
- "321db38.935fb4c"\r
+ "1d60f60b.a9b00a",\r
+ "3d73b30b.b1f39c",\r
+ "88733351.38598",\r
+ "e804fc09.010ed"\r
]\r
]\r
},\r
{\r
- "id": "a037b233.bd226",\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`\"/>",\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": 1128.00146484375,\r
- "y": 157.88912963867188,\r
- "z": "82264c28.fa865",\r
+ "x": 1143.00146484375,\r
+ "y": 242.88912963867188,\r
+ "z": "4625f4a8.985c2c",\r
"wires": []\r
},\r
{\r
- "id": "95f961b6.beecd",\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": 1005.0001220703125,\r
- "y": 336,\r
- "z": "82264c28.fa865",\r
+ "x": 1020.0001220703125,\r
+ "y": 421,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "64616aa3.fae654",\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\"/>",\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": 1069.0006103515625,\r
- "y": 464.0103759765625,\r
- "z": "82264c28.fa865",\r
+ "x": 1084.0006103515625,\r
+ "y": 549.0103759765625,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "c0ddbe62.cabd8",\r
- "c22e34cd.633688"\r
+ "d2d7b31.70bc05",\r
+ "819e4409.feff38"\r
]\r
]\r
},\r
{\r
- "id": "c0ddbe62.cabd8",\r
+ "id": "d2d7b31.70bc05",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1293,\r
- "y": 544.0001220703125,\r
- "z": "82264c28.fa865",\r
+ "x": 1308,\r
+ "y": 629.0001220703125,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "4c3581c9.8dd8c"\r
+ "84aea1ff.acb6c"\r
]\r
]\r
},\r
{\r
- "id": "c22e34cd.633688",\r
+ "id": "819e4409.feff38",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1297.000244140625,\r
- "y": 390.0000305175781,\r
- "z": "82264c28.fa865",\r
+ "x": 1312.000244140625,\r
+ "y": 475.0000305175781,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "731c889.917be78"\r
+ "c9d3e245.debc5"\r
]\r
]\r
},\r
{\r
- "id": "81538b07.beae38",\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": 1600.0006103515625,\r
- "y": 599.0000610351562,\r
- "z": "82264c28.fa865",\r
+ "x": 1615.0006103515625,\r
+ "y": 684.0000610351562,\r
+ "z": "4625f4a8.985c2c",\r
"wires": []\r
},\r
{\r
- "id": "731c889.917be78",\r
+ "id": "c9d3e245.debc5",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1440.9998779296875,\r
- "y": 390.00006103515625,\r
- "z": "82264c28.fa865",\r
+ "x": 1455.9998779296875,\r
+ "y": 475.00006103515625,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "ad128057.33ef5",\r
- "622953f6.7f580c",\r
- "3768e233.b0e54e"\r
+ "1154b965.2bce37",\r
+ "4a098571.4acf5c",\r
+ "ce829e00.7d38f"\r
]\r
]\r
},\r
{\r
- "id": "ad128057.33ef5",\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": 1602,\r
- "y": 389,\r
- "z": "82264c28.fa865",\r
+ "x": 1617,\r
+ "y": 474,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "d1a2e2f7.325b4",\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": 1573.75390625,\r
- "y": 492.00390625,\r
- "z": "82264c28.fa865",\r
+ "x": 1588.75390625,\r
+ "y": 577.00390625,\r
+ "z": "4625f4a8.985c2c",\r
"wires": []\r
},\r
{\r
- "id": "7cb48c00.8ced04",\r
+ "id": "ddb1f38.9ac071",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 688.75390625,\r
- "y": 480.00390625,\r
- "z": "82264c28.fa865",\r
+ "x": 703.75390625,\r
+ "y": 565.00390625,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "d4ec5ef4.1fe0c"\r
+ "76ed31f9.64a93"\r
]\r
]\r
},\r
{\r
- "id": "d4ec5ef4.1fe0c",\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": 849.7539672851562,\r
- "y": 480.00396728515625,\r
- "z": "82264c28.fa865",\r
+ "x": 864.7539672851562,\r
+ "y": 565.0039672851562,\r
+ "z": "4625f4a8.985c2c",\r
"wires": []\r
},\r
{\r
- "id": "4c3581c9.8dd8c",\r
+ "id": "84aea1ff.acb6c",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1432.00390625,\r
- "y": 544.0039367675781,\r
- "z": "82264c28.fa865",\r
+ "x": 1447.00390625,\r
+ "y": 629.0039367675781,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "d1a2e2f7.325b4",\r
- "81538b07.beae38"\r
+ "875ba0c0.31d41",\r
+ "6a999bcc.eb2b74"\r
]\r
]\r
},\r
{\r
- "id": "622953f6.7f580c",\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": 1604,\r
- "y": 440,\r
- "z": "82264c28.fa865",\r
+ "x": 1619,\r
+ "y": 525,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "3768e233.b0e54e",\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": 1606,\r
- "y": 346,\r
- "z": "82264c28.fa865",\r
+ "x": 1621,\r
+ "y": 431,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "54b03a04.8e9294",\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": 1984,\r
- "y": 238,\r
- "z": "82264c28.fa865",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "15d0daec.fa9565",\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": 1950,\r
- "y": 308,\r
- "z": "82264c28.fa865",\r
- "wires": [\r
- [\r
- "b8eadff3.5b547"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "b8eadff3.5b547",\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": 2128,\r
- "y": 308,\r
- "z": "82264c28.fa865",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "403fcfda.caf91",\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: Url with proxy: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1950,\r
- "y": 371,\r
- "z": "82264c28.fa865",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "b78a829f.08531",\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": 1781,\r
- "y": 205,\r
- "z": "82264c28.fa865",\r
+ "x": 1796,\r
+ "y": 290,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "a39978a8.b502b8",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1773,\r
- "y": 273,\r
- "z": "82264c28.fa865",\r
- "wires": [\r
- [\r
- "54b03a04.8e9294",\r
- "15d0daec.fa9565",\r
- "403fcfda.caf91",\r
- "10e3a2b.3a8635d"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "10e3a2b.3a8635d",\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": 2060,\r
- "y": 432,\r
- "z": "82264c28.fa865",\r
- "wires": []\r
- },\r
- {\r
- "id": "c2e7e2c1.1efa3",\r
+ "id": "aa63c9cd.555b38",\r
"type": "outcome",\r
"name": "Otherwise",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1609,\r
- "y": 273,\r
- "z": "82264c28.fa865",\r
+ "x": 1624,\r
+ "y": 358,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "a39978a8.b502b8"\r
+ "2a68aa17.88a926"\r
]\r
]\r
},\r
{\r
- "id": "351e35ee.b9fb4a",\r
+ "id": "337f8172.242f2e",\r
"type": "outcome",\r
"name": "No proxy URL",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1613,\r
- "y": 205,\r
- "z": "82264c28.fa865",\r
+ "x": 1628,\r
+ "y": 290,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "b78a829f.08531"\r
+ "5fb0527b.74655c"\r
]\r
]\r
},\r
{\r
- "id": "b187a08d.4a91",\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": 1434,\r
- "y": 239,\r
- "z": "82264c28.fa865",\r
+ "x": 1449,\r
+ "y": 324,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "351e35ee.b9fb4a",\r
- "c2e7e2c1.1efa3"\r
+ "337f8172.242f2e",\r
+ "aa63c9cd.555b38"\r
]\r
]\r
},\r
{\r
- "id": "762e23e5.f9bb9c",\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: Check for proxy url: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",\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": 1435,\r
- "y": 156,\r
- "z": "82264c28.fa865",\r
+ "x": 1778,\r
+ "y": 359,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "eec4f452.eb64e8",\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": 1552,\r
- "y": 81,\r
- "z": "82264c28.fa865",\r
- "wires": []\r
- },\r
- {\r
- "id": "321db38.935fb4c",\r
+ "id": "e804fc09.010ed",\r
"type": "block",\r
- "name": "block Substitute proxy address if available",\r
+ "name": "block check if proxy address is available",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1107,\r
- "y": 246,\r
- "z": "82264c28.fa865",\r
+ "x": 1122,\r
+ "y": 326,\r
+ "z": "4625f4a8.985c2c",\r
"wires": [\r
[\r
- "eec4f452.eb64e8",\r
- "762e23e5.f9bb9c",\r
- "b187a08d.4a91"\r
+ "124eb317.931f9d"\r
]\r
]\r
}\r
[\r
{\r
- "id": "8c265fc3.6b9c2",\r
+ "id": "2f4671b1.4a364e",\r
"type": "service-logic",\r
"name": "A1-ADAPTER-API ${project.version}",\r
"module": "A1-ADAPTER-API",\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
+ "x": 173,\r
+ "y": 202.11087036132812,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "6e5c6f18.9dc93"\r
+ "74d6a6f.e349e58"\r
]\r
]\r
},\r
{\r
- "id": "6e5c6f18.9dc93",\r
+ "id": "74d6a6f.e349e58",\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
+ "x": 236.00000762939453,\r
+ "y": 325.1108798980713,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "de58383c.7e1718"\r
+ "f761005e.026d4"\r
]\r
]\r
},\r
{\r
- "id": "ae2a0098.f258c",\r
+ "id": "ded0e1ed.d90b8",\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
+ "x": 701.0000267028809,\r
+ "y": 138.1108694076538,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "de58383c.7e1718",\r
+ "id": "f761005e.026d4",\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
+ "x": 439,\r
+ "y": 276.1108703613281,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "ae2a0098.f258c",\r
- "53b03c05.963dc4",\r
- "fa97dc4d.7c138",\r
- "746426a9.66e6a8",\r
- "da98d4e7.a42728"\r
+ "ded0e1ed.d90b8",\r
+ "2baff500.547f5c",\r
+ "fe3000ed.24c2b",\r
+ "16444abc.b89ea5",\r
+ "8cd7c8b3.03d4d8"\r
]\r
]\r
},\r
{\r
- "id": "8f9cdc00.4e19c8",\r
+ "id": "a30ec915.db69b8",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 83,\r
- "y": 82.11087036132812,\r
- "z": "6e7c5307.c398cc",\r
+ "x": 106,\r
+ "y": 138.11087036132812,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "8c265fc3.6b9c2"\r
+ "2f4671b1.4a364e"\r
]\r
]\r
},\r
{\r
- "id": "53b03c05.963dc4",\r
+ "id": "2baff500.547f5c",\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
+ "x": 738.0001068115234,\r
+ "y": 191.1108684539795,\r
+ "z": "1f7e4863.a496f8",\r
"wires": []\r
},\r
{\r
- "id": "fa97dc4d.7c138",\r
+ "id": "fe3000ed.24c2b",\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
+ "x": 738,\r
+ "y": 244.11087036132812,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "da98d4e7.a42728",\r
+ "id": "8cd7c8b3.03d4d8",\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
+ "x": 762.0001525878906,\r
+ "y": 330.11086416244507,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "9c119178.a1023",\r
- "41a9420e.fea09c",\r
- "26bb74a4.cb368c",\r
- "8c9e0855.a2d458"\r
+ "176964cc.05c21b",\r
+ "a874e667.eb9a98",\r
+ "f71606ee.f54688",\r
+ "63821578.3e8abc"\r
]\r
]\r
},\r
{\r
- "id": "9c119178.a1023",\r
+ "id": "176964cc.05c21b",\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
+ "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$get-a1-policy-type-input.near-rt-ric-url`\"/>\n<parameter name=\"tmp.proxy-url\" value=\"`$prop.a1Mediator.proxy.url`\"/>",\r
"comments": "",\r
- "x": 1129.00146484375,\r
- "y": 77,\r
- "z": "6e7c5307.c398cc",\r
+ "x": 1149.00146484375,\r
+ "y": 225,\r
+ "z": "1f7e4863.a496f8",\r
"wires": []\r
},\r
{\r
- "id": "41a9420e.fea09c",\r
+ "id": "a874e667.eb9a98",\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
+ "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": 1025.0006103515625,\r
- "y": 448.1212463378906,\r
- "z": "6e7c5307.c398cc",\r
+ "x": 1048.0006103515625,\r
+ "y": 504.1212463378906,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "e1975678.7e4028",\r
- "5c4ab5f9.8d989c"\r
+ "526251db.acb75",\r
+ "6f33632a.dc1fac"\r
]\r
]\r
},\r
{\r
- "id": "e1975678.7e4028",\r
+ "id": "526251db.acb75",\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
+ "x": 1229.0000610351562,\r
+ "y": 562.1109890937805,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "1085e0df.71c62f"\r
+ "b5ba372c.92ad48"\r
]\r
]\r
},\r
{\r
- "id": "5c4ab5f9.8d989c",\r
+ "id": "6f33632a.dc1fac",\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
+ "x": 1230.0002136230469,\r
+ "y": 458.11088848114014,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "1dcf580c.db4cb8"\r
+ "3914e552.85e15a"\r
]\r
]\r
},\r
{\r
- "id": "44796ff4.052ba",\r
+ "id": "fef8b587.543ac8",\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
+ "x": 1518.0006103515625,\r
+ "y": 596.1109924316406,\r
+ "z": "1f7e4863.a496f8",\r
"wires": []\r
},\r
{\r
- "id": "1dcf580c.db4cb8",\r
+ "id": "3914e552.85e15a",\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
+ "x": 1393.9998779296875,\r
+ "y": 432.1109313964844,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "93fea594.fd7eb8",\r
- "bae47d21.8afde",\r
- "e3f3a0ff.75db5"\r
+ "a2b706cb.13b4b8",\r
+ "90dda7a5.529068",\r
+ "85fe9dc4.e41ff"\r
]\r
]\r
},\r
{\r
- "id": "93fea594.fd7eb8",\r
+ "id": "a2b706cb.13b4b8",\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
+ "x": 1565.9999694824219,\r
+ "y": 436.11084842681885,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "b3f7367b.d92278",\r
+ "id": "e91418e5.8658e8",\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
+ "x": 1500.75390625,\r
+ "y": 536.1148071289062,\r
+ "z": "1f7e4863.a496f8",\r
"wires": []\r
},\r
{\r
- "id": "746426a9.66e6a8",\r
+ "id": "16444abc.b89ea5",\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
+ "x": 685.7539367675781,\r
+ "y": 597.1148681640625,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "ba0df99.5bb8508"\r
+ "35da5f95.df0a6"\r
]\r
]\r
},\r
{\r
- "id": "ba0df99.5bb8508",\r
+ "id": "35da5f95.df0a6",\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
+ "x": 900.7540283203125,\r
+ "y": 597.1148071289062,\r
+ "z": "1f7e4863.a496f8",\r
"wires": []\r
},\r
{\r
- "id": "1085e0df.71c62f",\r
+ "id": "b5ba372c.92ad48",\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
+ "x": 1357.0039367675781,\r
+ "y": 564.1147885322571,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "44796ff4.052ba",\r
- "b3f7367b.d92278"\r
+ "fef8b587.543ac8",\r
+ "e91418e5.8658e8"\r
]\r
]\r
},\r
{\r
- "id": "26bb74a4.cb368c",\r
+ "id": "f71606ee.f54688",\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
+ "x": 1023.9998779296875,\r
+ "y": 440.1108703613281,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "bae47d21.8afde",\r
+ "id": "90dda7a5.529068",\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
+ "x": 1567.0000915527344,\r
+ "y": 491.1108589172363,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "e3f3a0ff.75db5",\r
+ "id": "85fe9dc4.e41ff",\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
+ "x": 1568.9999694824219,\r
+ "y": 387.11084842681885,\r
+ "z": "1f7e4863.a496f8",\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
+ "id": "46ef0e6f.ac078",\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
+ "x": 1745,\r
+ "y": 258.1108703613281,\r
+ "z": "1f7e4863.a496f8",\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
+ "id": "77d9a0fa.cb6ed",\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
+ "x": 1577,\r
+ "y": 258.1108703613281,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "25cac3e6.2bbd4c"\r
+ "46ef0e6f.ac078"\r
]\r
]\r
},\r
{\r
- "id": "900e04b1.441648",\r
+ "id": "4908d507.106ffc",\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
+ "x": 1573,\r
+ "y": 326.1108703613281,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "f41d0523.4fd778"\r
+ "57e4f785.2a2818"\r
]\r
]\r
},\r
{\r
- "id": "9b05f4ee.4d7bf8",\r
+ "id": "9126aa92.42c718",\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
+ "x": 1398,\r
+ "y": 292.1108703613281,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "7dffc679.74af28",\r
- "900e04b1.441648"\r
+ "77d9a0fa.cb6ed",\r
+ "4908d507.106ffc"\r
]\r
]\r
},\r
{\r
- "id": "105ce637.9dcaaa",\r
+ "id": "57e4f785.2a2818",\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
+ "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: 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
+ "x": 1727,\r
+ "y": 326.1108703613281,\r
+ "z": "1f7e4863.a496f8",\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
+ "id": "63821578.3e8abc",\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
+ "x": 1131,\r
+ "y": 292.1108703613281,\r
+ "z": "1f7e4863.a496f8",\r
"wires": [\r
[\r
- "b655047a.625108",\r
- "105ce637.9dcaaa",\r
- "9b05f4ee.4d7bf8"\r
+ "9126aa92.42c718"\r
]\r
]\r
}\r
[
{
- "id": "f0b343f7.2be9e",
+ "id": "6fe6315.c6a1bd",
"type": "service-logic",
"name": "A1-ADAPTER-API ${project.version}",
"module": "A1-ADAPTER-API",
"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": 171,
- "y": 158.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 177,
+ "y": 269.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": [
[
- "2678a73a.39c8f8"
+ "fb2e5825.9a3128"
]
]
},
{
- "id": "2678a73a.39c8f8",
+ "id": "fb2e5825.9a3128",
"type": "method",
"name": "method putA1Policy",
"xml": "<method rpc='putA1Policy' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 158,
- "y": 227.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 164,
+ "y": 338.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": [
[
- "d272b5cc.a1b7f8"
+ "df682f6a.462ce"
]
]
},
{
- "id": "12301d8a.e4f432",
+ "id": "915488d9.7845e8",
"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=\"Put A1 Policy :\"/>\n<parameter name=\"field2\" value=\"`$put-a1-policy-input.near-rt-ric-url`\"/>\n<parameter name=\"field3\" value=\"`$put-a1-policy-input.body`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 472,
- "y": 195.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 478,
+ "y": 306.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": [
[]
]
},
{
- "id": "d272b5cc.a1b7f8",
+ "id": "df682f6a.462ce",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 222,
- "y": 294.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 228,
+ "y": 405.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": [
[
- "12301d8a.e4f432",
- "bc37eadd.393f78",
- "f048e341.89262",
- "71eb89dc.50c988"
+ "915488d9.7845e8",
+ "e2505a8d.6cb778",
+ "a9158c4b.092d",
+ "d3227515.2a39c8"
]
]
},
{
- "id": "3f8d81.fa4c128",
+ "id": "7b9fa46b.caaa3c",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 99,
- "y": 96.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 105,
+ "y": 207.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": [
[
- "f0b343f7.2be9e"
+ "6fe6315.c6a1bd"
]
]
},
{
- "id": "bc37eadd.393f78",
+ "id": "e2505a8d.6cb778",
"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": 506,
- "y": 293.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 512,
+ "y": 404.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": [
[]
]
},
{
- "id": "7ab1678d.f80c88",
+ "id": "895a1021.a1ea2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 988.0001220703125,
- "y": 371.1109619140625,
- "z": "4a7b9942.c07f28",
+ "x": 994.0001220703125,
+ "y": 482.1109619140625,
+ "z": "ef1ae006.6efce",
"wires": [
[
- "3fb495cc.83461a"
+ "43219d41.f548b4"
]
]
},
{
- "id": "95b564a6.d15fe8",
+ "id": "75925e3d.bab",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 995.0003051757812,
- "y": 461.11094665527344,
- "z": "4a7b9942.c07f28",
+ "x": 1001.0003051757812,
+ "y": 572.1109466552734,
+ "z": "ef1ae006.6efce",
"wires": [
[
- "433e6f59.30f93"
+ "1675a1d6.64adbe"
]
]
},
{
- "id": "433e6f59.30f93",
+ "id": "1675a1d6.64adbe",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1136.9999389648438,
- "y": 457.1109619140625,
- "z": "4a7b9942.c07f28",
+ "x": 1143.9998779296875,
+ "y": 572.1109619140625,
+ "z": "ef1ae006.6efce",
"wires": [
[
- "7ae91a72.664794",
- "913c45bf.182ef8"
+ "c6e4bee1.82c53",
+ "d89555ac.557618"
]
]
},
{
- "id": "a42156e5.b04b38",
+ "id": "f498cd2f.096d9",
"type": "set",
"name": "set tmp variables for input RPC parms",
- "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$put-a1-policy-input.near-rt-ric-url`\"/>\n<parameter name=\"tmp.body\" value=\"`$put-a1-policy-input.body`\"/>",
+ "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$put-a1-policy-input.near-rt-ric-url`\"/>\n<parameter name=\"tmp.body\" value=\"`$put-a1-policy-input.body`\"/>\n<parameter name=\"tmp.proxy-url\" value=\"`$prop.a1Mediator.proxy.url`\"/>",
"comments": "",
- "x": 890.0010375976562,
- "y": 20,
- "z": "4a7b9942.c07f28",
+ "x": 922.0010375976562,
+ "y": 254,
+ "z": "ef1ae006.6efce",
"wires": []
},
{
- "id": "382bcbbf.30d774",
+ "id": "adc43a9e.a48a18",
"type": "execute",
"name": "Put A1 Policy",
- "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=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"a1MediatorRsp\"/>\n<parameter name='contentType' value='application/json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"requestBody\" value=\"`$tmp.body`\"/>\n<parameter name=\"convertResponse\" value=\"false\"/>\n",
+ "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=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"a1MediatorRsp\"/>\n<parameter name='contentType' value='application/json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"requestBody\" value=\"`$tmp.body`\"/>\n<parameter name=\"convertResponse\" value=\"false\"/>\n<parameter name=\"proxyUrl\" value=\"`$tmp.proxy-url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 811.00048828125,
- "y": 419.12127685546875,
- "z": "4a7b9942.c07f28",
+ "x": 817.00048828125,
+ "y": 530.1212768554688,
+ "z": "ef1ae006.6efce",
"wires": [
[
- "7ab1678d.f80c88",
- "95b564a6.d15fe8"
+ "895a1021.a1ea2",
+ "75925e3d.bab"
]
]
},
{
- "id": "71eb89dc.50c988",
+ "id": "d3227515.2a39c8",
"type": "block",
"name": "A1 Mediator RestAPI Invocation",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 542.0000305175781,
- "y": 358.1109619140625,
- "z": "4a7b9942.c07f28",
+ "x": 548.0000305175781,
+ "y": 469.1109619140625,
+ "z": "ef1ae006.6efce",
"wires": [
[
- "33f22af5.30a6a6",
- "a42156e5.b04b38",
- "382bcbbf.30d774",
- "f58a390e.bb1448"
+ "65624437.a307ac",
+ "f498cd2f.096d9",
+ "adc43a9e.a48a18",
+ "72384bae.e338a4"
]
]
},
{
- "id": "33f22af5.30a6a6",
+ "id": "65624437.a307ac",
"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 Put A1 Policy.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.body`\"/>",
"comments": "",
"outputs": 1,
- "x": 792.0000610351562,
- "y": 373.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 820.0000610351562,
+ "y": 419.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": [
[]
]
},
{
- "id": "7ae91a72.664794",
+ "id": "c6e4bee1.82c53",
"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 Instance Created.\"/>\n<parameter name='field2' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='field3' value='`$a1MediatorRsp.response-message`'/>",
"comments": "",
"outputs": 1,
- "x": 1293,
- "y": 456.1109619140625,
- "z": "4a7b9942.c07f28",
+ "x": 1282,
+ "y": 550.1109619140625,
+ "z": "ef1ae006.6efce",
"wires": [
[]
]
},
{
- "id": "2a1d66c6.e2c83a",
+ "id": "4aa855d3.13558c",
"type": "returnFailure",
"name": "return failure",
"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`'/>",
"comments": "",
- "x": 1286,
- "y": 409.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 1292,
+ "y": 509.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": []
},
{
- "id": "f048e341.89262",
+ "id": "a9158c4b.092d",
"type": "set",
"name": "set default status value",
"xml": "<set>\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='Put A1 Policy executed successfully' />",
"comments": "",
- "x": 517,
- "y": 248.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 523,
+ "y": 359.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": []
},
{
- "id": "3fb495cc.83461a",
+ "id": "43219d41.f548b4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1124,
- "y": 369.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 1133,
+ "y": 482.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": [
[
- "2b1ad7ca.a27288",
- "2a1d66c6.e2c83a"
+ "20980396.38371c",
+ "4aa855d3.13558c"
]
]
},
{
- "id": "2b1ad7ca.a27288",
+ "id": "20980396.38371c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='response-code' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='response-message' value='`$a1MediatorRsp.response-message`'/>\n",
"comments": "",
- "x": 1268,
- "y": 315.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 1278,
+ "y": 447.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": []
},
{
- "id": "4e18beb6.1fd51",
- "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": 1840,
- "y": 136.11090087890625,
- "z": "4a7b9942.c07f28",
- "wires": [
- []
- ]
- },
- {
- "id": "942f87e2.c78888",
- "type": "for",
- "name": "for",
- "xml": "<for index='idx' start='3' end=\"`$tmp.near-rt-ric-url-splitList_length`\" >",
- "comments": "",
- "outputs": 1,
- "x": 1806,
- "y": 206.11090087890625,
- "z": "4a7b9942.c07f28",
- "wires": [
- [
- "d1411417.1b3fd8"
- ]
- ]
- },
- {
- "id": "d1411417.1b3fd8",
- "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": 1984,
- "y": 206.11090087890625,
- "z": "4a7b9942.c07f28",
- "wires": [
- []
- ]
- },
- {
- "id": "71b2d26a.47135c",
- "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=\"Put A1 Policy: Url with proxy: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1806,
- "y": 263.11090087890625,
- "z": "4a7b9942.c07f28",
- "wires": [
- []
- ]
- },
- {
- "id": "65d0298a.e1aef8",
+ "id": "ebc637df.f0ef88",
"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=\"Put A1 Policy: No proxy found on properties file \"/>\n",
"comments": "",
"outputs": 1,
- "x": 1610,
- "y": 172.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 1616,
+ "y": 283.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": [
[]
]
},
{
- "id": "500c1a89.8dca64",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1602,
- "y": 240.11090087890625,
- "z": "4a7b9942.c07f28",
- "wires": [
- [
- "4e18beb6.1fd51",
- "942f87e2.c78888",
- "71b2d26a.47135c",
- "1970005a.3ee34"
- ]
- ]
- },
- {
- "id": "1970005a.3ee34",
- "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": 1916,
- "y": 319.11090087890625,
- "z": "4a7b9942.c07f28",
- "wires": []
- },
- {
- "id": "31a126f2.88900a",
+ "id": "b876b8ea.d136b8",
"type": "outcome",
"name": "No proxy URL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1442,
- "y": 172.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 1448,
+ "y": 283.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": [
[
- "65d0298a.e1aef8"
+ "ebc637df.f0ef88"
]
]
},
{
- "id": "3f7e5430.1f4f6c",
+ "id": "dfb1d01a.73a1e",
"type": "outcome",
"name": "Otherwise",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1438,
- "y": 240.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 1444,
+ "y": 351.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": [
[
- "500c1a89.8dca64"
+ "d9a8bda2.1b53c"
]
]
},
{
- "id": "7ec42ee0.b7f28",
- "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": 1381,
- "y": 48.11090087890625,
- "z": "4a7b9942.c07f28",
- "wires": []
- },
- {
- "id": "c930a111.4cc59",
+ "id": "d9a8bda2.1b53c",
"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=\"Put A1 Policy: Check for proxy url: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",
+ "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=\"Put A1 Policy: Proxy url: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1264,
- "y": 123.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 1609,
+ "y": 352.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": [
[]
]
},
{
- "id": "bbe2ee18.70915",
+ "id": "7cba1ce8.66a944",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$tmp.proxy-url`'>\n",
"comments": "",
"outputs": 1,
- "x": 1263,
- "y": 206.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 1269,
+ "y": 317.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": [
[
- "31a126f2.88900a",
- "3f7e5430.1f4f6c"
+ "b876b8ea.d136b8",
+ "dfb1d01a.73a1e"
]
]
},
{
- "id": "f58a390e.bb1448",
+ "id": "72384bae.e338a4",
"type": "block",
- "name": "block Substitute proxy address if available",
+ "name": "block check if proxy address is available",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 926,
- "y": 205.11090087890625,
- "z": "4a7b9942.c07f28",
+ "x": 932,
+ "y": 316.11090087890625,
+ "z": "ef1ae006.6efce",
"wires": [
[
- "7ec42ee0.b7f28",
- "c930a111.4cc59",
- "bbe2ee18.70915"
+ "7cba1ce8.66a944"
]
]
},
{
- "id": "913c45bf.182ef8",
+ "id": "d89555ac.557618",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='response-code' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='response-message' value='`$a1MediatorRsp.response-message`'/>",
"comments": "",
- "x": 1308,
- "y": 514,
- "z": "4a7b9942.c07f28",
+ "x": 1281,
+ "y": 598,
+ "z": "ef1ae006.6efce",
"wires": []
}
]
\ No newline at end of file
<block atomic='true'>\r
<set>\r
<parameter name="tmp.near-rt-ric-url" value="`$delete-a1-policy-input.near-rt-ric-url`"/>\r
+ <parameter name="tmp.proxy-url" value="`$prop.a1Mediator.proxy.url`"/>\r
</set>\r
<block>\r
- <set>\r
- <parameter name="tmp.proxy-url" value="`$prop.a1Mediator.proxy.url`"/>\r
- </set>\r
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
- <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />\r
- <parameter name="level" value="info" />\r
- <parameter name="field1" value="Delete A1 Policy: Check for proxy url: "/>\r
- <parameter name="field2" value="`$tmp.proxy-url`"/>\r
- </record>\r
<switch test='`$tmp.proxy-url`'>\r
<outcome value=''>\r
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
</record>\r
</outcome>\r
<outcome value='Other'>\r
- <block>\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\r
- <parameter name="original_string" value="`$tmp.near-rt-ric-url`" />\r
- <parameter name="regex" value="/"/>\r
- <parameter name="ctx_memory_result_key" value="tmp.near-rt-ric-url-splitList"/>\r
- </execute>\r
- <for index='idx' start='3' end="`$tmp.near-rt-ric-url-splitList_length`" >\r
- <set>\r
- <parameter name='tmp.proxy-url' value="`$tmp.proxy-url +'/' + $tmp.near-rt-ric-url-splitList[$idx] `" />\r
- </set>\r
- </for>\r
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
- <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />\r
- <parameter name="level" value="info" />\r
- <parameter name="field1" value="Delete A1 Policy: Url with proxy: "/>\r
- <parameter name="field2" value="`$tmp.proxy-url`"/>\r
- </record>\r
- <set>\r
- <parameter name="tmp.near-rt-ric-url" value="`$tmp.proxy-url`"/>\r
- </set>\r
- </block>\r
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
+ <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />\r
+ <parameter name="level" value="info" />\r
+ <parameter name="field1" value="Delete A1 Policy: Proxy url: "/>\r
+ <parameter name="field2" value="`$tmp.proxy-url`"/>\r
+ </record>\r
</outcome>\r
</switch>\r
</block>\r
<parameter name='contentType' value='application/json' />\r
<parameter name='accept' value='application/json' />\r
<parameter name="convertResponse" value="false"/>\r
+ <parameter name="proxyUrl" value="`$tmp.proxy-url`"/>\r
<outcome value='success'>\r
<block>\r
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
<block atomic='true'>\r
<set>\r
<parameter name="tmp.near-rt-ric-url" value="`$get-a1-policy-input.near-rt-ric-url`"/>\r
+ <parameter name="tmp.proxy-url" value="`$prop.a1Mediator.proxy.url`"/>\r
</set>\r
<block>\r
- <set>\r
- <parameter name="tmp.proxy-url" value="`$prop.a1Mediator.proxy.url`"/>\r
- </set>\r
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
- <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />\r
- <parameter name="level" value="info" />\r
- <parameter name="field1" value="A1 Get Policy Information: Check for proxy url: "/>\r
- <parameter name="field2" value="`$tmp.proxy-url`"/>\r
- </record>\r
<switch test='`$tmp.proxy-url`'>\r
<outcome value=''>\r
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
</record>\r
</outcome>\r
<outcome value='Other'>\r
- <block>\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\r
- <parameter name="original_string" value="`$tmp.near-rt-ric-url`" />\r
- <parameter name="regex" value="/"/>\r
- <parameter name="ctx_memory_result_key" value="tmp.near-rt-ric-url-splitList"/>\r
- </execute>\r
- <for index='idx' start='3' end="`$tmp.near-rt-ric-url-splitList_length`" >\r
- <set>\r
- <parameter name='tmp.proxy-url' value="`$tmp.proxy-url +'/' + $tmp.near-rt-ric-url-splitList[$idx] `" />\r
- </set>\r
- </for>\r
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
- <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />\r
- <parameter name="level" value="info" />\r
- <parameter name="field1" value="A1 Get Policy Information: Url with proxy: "/>\r
- <parameter name="field2" value="`$tmp.proxy-url`"/>\r
- </record>\r
- <set>\r
- <parameter name="tmp.near-rt-ric-url" value="`$tmp.proxy-url`"/>\r
- </set>\r
- </block>\r
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
+ <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />\r
+ <parameter name="level" value="info" />\r
+ <parameter name="field1" value="A1 Get Policy Information: Proxy url: "/>\r
+ <parameter name="field2" value="`$tmp.proxy-url`"/>\r
+ </record>\r
</outcome>\r
</switch>\r
</block>\r
<parameter name='contentType' value='application/json' />\r
<parameter name='accept' value='application/json' />\r
<parameter name="convertResponse" value="false"/>\r
+ <parameter name="proxyUrl" value="`$tmp.proxy-url`"/>\r
<outcome value='success'>\r
<block>\r
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\r
<block atomic='true'>\r
<set>\r
<parameter name="tmp.near-rt-ric-url" value="`$get-a1-policy-status-input.near-rt-ric-url`"/>\r
+ <parameter name="tmp.proxy-url" value="`$prop.a1Mediator.proxy.url`"/>\r
</set>\r
<block>\r
- <set>\r
- <parameter name="tmp.proxy-url" value="`$prop.a1Mediator.proxy.url`"/>\r
- </set>\r
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
- <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />\r
- <parameter name="level" value="info" />\r
- <parameter name="field1" value="Get A1 Policy Status: Check for proxy url: "/>\r
- <parameter name="field2" value="`$tmp.proxy-url`"/>\r
- </record>\r
<switch test='`$tmp.proxy-url`'>\r
<outcome value=''>\r
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
</record>\r
</outcome>\r
<outcome value='Other'>\r
- <block>\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\r
- <parameter name="original_string" value="`$tmp.near-rt-ric-url`" />\r
- <parameter name="regex" value="/"/>\r
- <parameter name="ctx_memory_result_key" value="tmp.near-rt-ric-url-splitList"/>\r
- </execute>\r
- <for index='idx' start='3' end="`$tmp.near-rt-ric-url-splitList_length`" >\r
- <set>\r
- <parameter name='tmp.proxy-url' value="`$tmp.proxy-url +'/' + $tmp.near-rt-ric-url-splitList[$idx] `" />\r
- </set>\r
- </for>\r
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
- <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />\r
- <parameter name="level" value="info" />\r
- <parameter name="field1" value="Get A1 Policy Status: Url with proxy: "/>\r
- <parameter name="field2" value="`$tmp.proxy-url`"/>\r
- </record>\r
- <set>\r
- <parameter name="tmp.near-rt-ric-url" value="`$tmp.proxy-url`"/>\r
- </set>\r
- </block>\r
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
+ <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />\r
+ <parameter name="level" value="info" />\r
+ <parameter name="field1" value="Get A1 Policy Status: Proxy url: "/>\r
+ <parameter name="field2" value="`$tmp.proxy-url`"/>\r
+ </record>\r
</outcome>\r
</switch>\r
</block>\r
<parameter name='contentType' value='application/json' />\r
<parameter name='accept' value='application/json' />\r
<parameter name="convertResponse" value="true"/>\r
+ <parameter name="proxyUrl" value="`$tmp.proxy-url`"/>\r
<outcome value='success'>\r
<block>\r
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\r
<block atomic='true'>\r
<set>\r
<parameter name="tmp.near-rt-ric-url" value="`$get-a1-policy-type-input.near-rt-ric-url`"/>\r
+ <parameter name="tmp.proxy-url" value="`$prop.a1Mediator.proxy.url`"/>\r
</set>\r
<block>\r
- <set>\r
- <parameter name="tmp.proxy-url" value="`$prop.a1Mediator.proxy.url`"/>\r
- </set>\r
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
- <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />\r
- <parameter name="level" value="info" />\r
- <parameter name="field1" value="Get Policy Type: Check for proxy url: "/>\r
- <parameter name="field2" value="`$tmp.proxy-url`"/>\r
- </record>\r
<switch test='`$tmp.proxy-url`'>\r
<outcome value=''>\r
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
</record>\r
</outcome>\r
<outcome value='Other'>\r
- <block>\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\r
- <parameter name="original_string" value="`$tmp.near-rt-ric-url`" />\r
- <parameter name="regex" value="/"/>\r
- <parameter name="ctx_memory_result_key" value="tmp.near-rt-ric-url-splitList"/>\r
- </execute>\r
- <for index='idx' start='3' end="`$tmp.near-rt-ric-url-splitList_length`" >\r
- <set>\r
- <parameter name='tmp.proxy-url' value="`$tmp.proxy-url +'/' + $tmp.near-rt-ric-url-splitList[$idx] `" />\r
- </set>\r
- </for>\r
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
- <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />\r
- <parameter name="level" value="info" />\r
- <parameter name="field1" value="Get Policy Type: Url with proxy: "/>\r
- <parameter name="field2" value="`$tmp.proxy-url`"/>\r
- </record>\r
- <set>\r
- <parameter name="tmp.near-rt-ric-url" value="`$tmp.proxy-url`"/>\r
- </set>\r
- </block>\r
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
+ <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />\r
+ <parameter name="level" value="info" />\r
+ <parameter name="field1" value="Get Policy Type: Proxy url: "/>\r
+ <parameter name="field2" value="`$tmp.proxy-url`"/>\r
+ </record>\r
</outcome>\r
</switch>\r
</block>\r
<parameter name='contentType' value='application/json' />\r
<parameter name='accept' value='application/json' />\r
<parameter name="convertResponse" value="true"/>\r
+ <parameter name="proxyUrl" value="`$tmp.proxy-url`"/>\r
<outcome value='success'>\r
<block>\r
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\r
<set>
<parameter name="tmp.near-rt-ric-url" value="`$put-a1-policy-input.near-rt-ric-url`"/>
<parameter name="tmp.body" value="`$put-a1-policy-input.body`"/>
+ <parameter name="tmp.proxy-url" value="`$prop.a1Mediator.proxy.url`"/>
</set>
<block>
- <set>
- <parameter name="tmp.proxy-url" value="`$prop.a1Mediator.proxy.url`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Put A1 Policy: Check for proxy url: "/>
- <parameter name="field2" value="`$tmp.proxy-url`"/>
- </record>
<switch test='`$tmp.proxy-url`'>
<outcome value=''>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
</record>
</outcome>
<outcome value='Other'>
- <block>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
- <parameter name="original_string" value="`$tmp.near-rt-ric-url`" />
- <parameter name="regex" value="/"/>
- <parameter name="ctx_memory_result_key" value="tmp.near-rt-ric-url-splitList"/>
- </execute>
- <for index='idx' start='3' end="`$tmp.near-rt-ric-url-splitList_length`" >
- <set>
- <parameter name='tmp.proxy-url' value="`$tmp.proxy-url +'/' + $tmp.near-rt-ric-url-splitList[$idx] `" />
- </set>
- </for>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Put A1 Policy: Url with proxy: "/>
- <parameter name="field2" value="`$tmp.proxy-url`"/>
- </record>
- <set>
- <parameter name="tmp.near-rt-ric-url" value="`$tmp.proxy-url`"/>
- </set>
- </block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Put A1 Policy: Proxy url: "/>
+ <parameter name="field2" value="`$tmp.proxy-url`"/>
+ </record>
</outcome>
</switch>
</block>
<parameter name='accept' value='application/json' />
<parameter name="requestBody" value="`$tmp.body`"/>
<parameter name="convertResponse" value="false"/>
+ <parameter name="proxyUrl" value="`$tmp.proxy-url`"/>
<outcome value='failure'>
<block>
<set>