+ "x": 1419.9999656677246,
+ "y": 202.00000762939453,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "347044de.5be97c",
+ "type": "execute",
+ "name": "Object to string - ctxSetAttribute",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxSetAttribute'>\n\t<parameter name='object' value=\t\"`$a1MediatorRsp.httpResponse`\" />\n\t<parameter name='key' value='a1MediatorRsp.unescaped.httpResponse' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2524,
+ "y": 235,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ae1fa477.a961e8",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/A1-Adapter-getPolicytype-specific-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1962,
+ "y": 522,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dc58bba7.2a8c48",
+ "type": "execute",
+ "name": "Unescape http response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='unescapeJsonString'>\n\t<parameter name='source' value=\t\"`$a1MediatorRsp.httpResponse`\" />\n\t<parameter name='target' value='a1MediatorRsp.unescaped.httpResponse' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2541,
+ "y": 297,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "178332cc.70a4dd",
+ "type": "execute",
+ "name": "execute TemplateNode",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.template.TemplateNode\" method=\"evaluateTemplate\" >\n <parameter name='templatePath' value='a1Mediator-get-policy.vtl' />\n <parameter name='output' value='policy' />\n <parameter name='prefix' value='a1-mediator' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2061,
+ "y": 341,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ [
+ "71224d76.822194"
+ ]
+ ]
+ },
+ {
+ "id": "71224d76.822194",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2283,
+ "y": 348,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ [
+ "651f0c08.1762d4"
+ ]
+ ]
+ },
+ {
+ "id": "651f0c08.1762d4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2442,
+ "y": 384,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ [
+ "410a16ab.2db198"
+ ]
+ ]
+ },
+ {
+ "id": "410a16ab.2db198",
+ "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=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"A1 Policy Info: a1-mediator.policy\"/>\n<parameter name='field3' value='`$a1-mediator.policy`' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2629,
+ "y": 400,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "568eaf0f.6c1b8",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='a1MediatorRsp.httpResponse' />\n\t<parameter name='outputPath' value='a1MediatorgetPolicyType' />\n\t<parameter name='isEscaped' value='false' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2039,
+ "y": 199,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4e22b738.909c78",
+ "type": "execute",
+ "name": "remove new lines",
+ "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.payload\"/>\n <parameter name=\"target\" value=\"\\n\"/>\n <parameter name=\"replacement\" value=\"\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2055,
+ "y": 398,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ [
+ "858d973a.bd78e8",
+ "2a34ede9.f48572"
+ ]
+ ]
+ },
+ {
+ "id": "858d973a.bd78e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2550.5001068115234,
+ "y": 477.0000033378601,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ [
+ "416d5516.42b47c"
+ ]
+ ]
+ },
+ {
+ "id": "416d5516.42b47c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2685.500259399414,
+ "y": 547.0000357627869,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ [
+ "9fd68ab6.cc7f68"
+ ]
+ ]
+ },
+ {
+ "id": "9fd68ab6.cc7f68",
+ "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=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with lines removed \\r\"/>\n<parameter name='field3' value='`$tmp.a1-mediator-restapi.payload`' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2757.500198364258,
+ "y": 465.9999976158142,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2a34ede9.f48572",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2560.5000762939453,
+ "y": 637.0000382959843,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ [
+ "c19e3ee9.36685"
+ ]
+ ]
+ },
+ {
+ "id": "c19e3ee9.36685",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2713.4999237060547,
+ "y": 613.0000309944153,
+ "z": "b55eea1d.a59fe8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d3650671.cbdc18",
+ "type": "execute",
+ "name": "remove tabs",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$tmp.a1-mediator-restapi.payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.a1-mediator-restapi.payload\"/>\n <parameter name=\"target\" value=\"\\t\"/>\n <parameter name=\"replacement\" value=\"\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2033,
+ "y": 470,
+ "z": "b55eea1d.a59fe8",