summaryrefslogtreecommitdiffstats
path: root/platform-logic/a1Adapter-api/src/main/json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/a1Adapter-api/src/main/json')
-rw-r--r--platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1PolicyType.json455
-rw-r--r--platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getPolicyType.json860
2 files changed, 455 insertions, 860 deletions
diff --git a/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1PolicyType.json b/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1PolicyType.json
new file mode 100644
index 00000000..dbe473f6
--- /dev/null
+++ b/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1PolicyType.json
@@ -0,0 +1,455 @@
+[
+ {
+ "id": "c219d1cd.b24c6",
+ "type": "service-logic",
+ "name": "A1-ADAPTER-API ${project.version}",
+ "module": "A1-ADAPTER-API",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='A1-ADAPTER-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 160,
+ "y": 193.0000033378601,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "9062821.e79448"
+ ]
+ ]
+ },
+ {
+ "id": "9062821.e79448",
+ "type": "method",
+ "name": "method getA1PolicyType",
+ "xml": "<method rpc='getA1PolicyType' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 223.00000762939453,
+ "y": 316.00001287460327,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "b06c71a4.a1c38"
+ ]
+ ]
+ },
+ {
+ "id": "6b437f41.4e82c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get Policy Type:\"/>\n<parameter name=\"field2\" value=\"`$get-a1-policy-type-input.near-rt-ric-url`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 688.0000267028809,
+ "y": 129.0000023841858,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b06c71a4.a1c38",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 426,
+ "y": 267.0000033378601,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "6b437f41.4e82c",
+ "b3ae1bd6.d9e298",
+ "5e269c0a.ba2164",
+ "10718683.4eee19",
+ "7cdd0fec.392c7"
+ ]
+ ]
+ },
+ {
+ "id": "e8848e67.6f55e",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 93,
+ "y": 129.0000033378601,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "c219d1cd.b24c6"
+ ]
+ ]
+ },
+ {
+ "id": "b3ae1bd6.d9e298",
+ "type": "set",
+ "name": "set default status value",
+ "xml": "<set>\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='getA1PolicyType executed successfully' />",
+ "comments": "",
+ "x": 725.0001068115234,
+ "y": 182.00000143051147,
+ "z": "db67b85c.6b1fb8",
+ "wires": []
+ },
+ {
+ "id": "5e269c0a.ba2164",
+ "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": 725,
+ "y": 235.0000033378601,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7cdd0fec.392c7",
+ "type": "block",
+ "name": "A1 Mediator RestAPI Invocation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 749.0001525878906,
+ "y": 320.99999713897705,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "b1799881.cfcac8",
+ "b226a8f0.348128",
+ "8754f00.41fc21"
+ ]
+ ]
+ },
+ {
+ "id": "b1799881.cfcac8",
+ "type": "set",
+ "name": "set tmp variables for A1 Mediator REST API call",
+ "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$get-a1-policy-type-input.near-rt-ric-url`\"/>",
+ "comments": "",
+ "x": 1199.00146484375,
+ "y": 253.88914489746094,
+ "z": "db67b85c.6b1fb8",
+ "wires": []
+ },
+ {
+ "id": "b226a8f0.348128",
+ "type": "execute",
+ "name": "Get Policy Types",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.near-rt-ric-url`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"a1MediatorRsp\"/>\n<parameter name='contentType' value='application/json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1006.000602722168,
+ "y": 382.01037979125977,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "37dbc1e3.6a3a5e",
+ "debfb4b6.a67ed8"
+ ]
+ ]
+ },
+ {
+ "id": "37dbc1e3.6a3a5e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1110.0000610351562,
+ "y": 467.0001220703125,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "4eefe752.1c7e88"
+ ]
+ ]
+ },
+ {
+ "id": "debfb4b6.a67ed8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1286.000244140625,
+ "y": 378.0000305175781,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "9ab3dc21.fe41a"
+ ]
+ ]
+ },
+ {
+ "id": "54c0577b.f3ecf8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"response-code\" value=\"404\" />\n<parameter name=\"response-message\" value=\"Error in Getting A1 Policy Type. Aborting\" />",
+ "comments": "",
+ "x": 1382.0006103515625,
+ "y": 520.0001220703125,
+ "z": "db67b85c.6b1fb8",
+ "wires": []
+ },
+ {
+ "id": "9ab3dc21.fe41a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1405.9999084472656,
+ "y": 340.00007581710815,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "a9c5eacf.c24728",
+ "82bcac96.18a1",
+ "c00428bd.5a7f58"
+ ]
+ ]
+ },
+ {
+ "id": "a9c5eacf.c24728",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"A1 Policy Type Information \"/>\n<parameter name=\"field2\" value=\"`$a1MediatorRsp.httpResponse`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1644,
+ "y": 249.00000524520874,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1ba71083.247e6f",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='response-code' value='500'/>\n<parameter name='response-message' value='Seems A1 Mediator Not Healthy'/>\n",
+ "comments": "",
+ "x": 1364.7539672851562,
+ "y": 418.0039367675781,
+ "z": "db67b85c.6b1fb8",
+ "wires": []
+ },
+ {
+ "id": "10718683.4eee19",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 686.7539405822754,
+ "y": 443.0039978027344,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "f62ba5fc.044078"
+ ]
+ ]
+ },
+ {
+ "id": "f62ba5fc.044078",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='A1 Adapter is healthy'/>\n<parameter name='health-status' value='200'/>\n<parameter name='ack-final' value='Y'/>\n",
+ "comments": "",
+ "x": 901.7540321350098,
+ "y": 443.0039367675781,
+ "z": "db67b85c.6b1fb8",
+ "wires": []
+ },
+ {
+ "id": "4eefe752.1c7e88",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1238.0039367675781,
+ "y": 469.00392150878906,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "54c0577b.f3ecf8",
+ "1ba71083.247e6f"
+ ]
+ ]
+ },
+ {
+ "id": "8754f00.41fc21",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for A1 Adapter Get Policy Type.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-url`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1129.9999351501465,
+ "y": 304.0000157356262,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c00428bd.5a7f58",
+ "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='a1PolicyTypeResponse' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1718.0001220703125,
+ "y": 366.00001287460327,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82bcac96.18a1",
+ "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": 1672.0000038146973,
+ "y": 425.00000524520874,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c2524ba6.93b3f8",
+ "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": 1694.0001220703125,
+ "y": 318.00001287460327,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4d5a07cf.0a3ee8",
+ "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": 2497.0001525878906,
+ "y": 457.0000305175781,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "4a30bb8b.273024",
+ "8c2e4d0d.9cbb2"
+ ]
+ ]
+ },
+ {
+ "id": "4a30bb8b.273024",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2804.5001831054688,
+ "y": 418.00004386901855,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "3483ac68.9da354"
+ ]
+ ]
+ },
+ {
+ "id": "3483ac68.9da354",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2939.5003356933594,
+ "y": 488.0000762939453,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "3e399081.d736e"
+ ]
+ ]
+ },
+ {
+ "id": "3e399081.d736e",
+ "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": 3122.500473022461,
+ "y": 491.0000686645508,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8c2e4d0d.9cbb2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2814.5001525878906,
+ "y": 578.0000788271427,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ [
+ "ee8be8b9.4a4c48"
+ ]
+ ]
+ },
+ {
+ "id": "ee8be8b9.4a4c48",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2967.5,
+ "y": 554.0000715255737,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "22994ac1.2145d6",
+ "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": 2517,
+ "y": 393.0000023841858,
+ "z": "db67b85c.6b1fb8",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file
diff --git a/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getPolicyType.json b/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getPolicyType.json
deleted file mode 100644
index 5a0d4ac0..00000000
--- a/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getPolicyType.json
+++ /dev/null
@@ -1,860 +0,0 @@
-[
- {
- "id": "5b092693.8b31a8",
- "type": "service-logic",
- "name": "A1-ADAPTER-API ${project.version}",
- "module": "A1-ADAPTER-API",
- "version": "${project.version}",
- "comments": "",
- "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='A1-ADAPTER-API' version='${project.version}'>",
- "outputs": 1,
- "x": 184,
- "y": 97.00000095367432,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "afc11ca.4c58de"
- ]
- ]
- },
- {
- "id": "afc11ca.4c58de",
- "type": "method",
- "name": "method getPolicyType",
- "xml": "<method rpc='getPolicyType' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 247.00000762939453,
- "y": 220.00001049041748,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "3ad9b2ad.8bd4de"
- ]
- ]
- },
- {
- "id": "6646c270.0174cc",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get Policy Type from Near RT RIC ID\"/>\n<parameter name=\"field2\" value=\"`$get-policy-type-input.near-rt-ric-id`\"/>\n<parameter name=\"field3\" value=\"`$get-policy-type-input.policy-type-id`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 712.0000267028809,
- "y": 33,
- "z": "b55eea1d.a59fe8",
- "wires": [
- []
- ]
- },
- {
- "id": "3ad9b2ad.8bd4de",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 450,
- "y": 171.00000095367432,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "6646c270.0174cc",
- "1372436.3cfc4bd",
- "48c86cd1.d4ec04",
- "7589e079.778f",
- "610eb9a7.c191a8"
- ]
- ]
- },
- {
- "id": "217182fc.bc476e",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 117,
- "y": 33.000000953674316,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "5b092693.8b31a8"
- ]
- ]
- },
- {
- "id": "1372436.3cfc4bd",
- "type": "set",
- "name": "set default status value",
- "xml": "<set>\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='getPolicyTypes executed successfully' />",
- "comments": "",
- "x": 749.0001068115234,
- "y": 85.99999904632568,
- "z": "b55eea1d.a59fe8",
- "wires": []
- },
- {
- "id": "48c86cd1.d4ec04",
- "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": 749,
- "y": 139.00000095367432,
- "z": "b55eea1d.a59fe8",
- "wires": [
- []
- ]
- },
- {
- "id": "7589e079.778f",
- "type": "switchNode",
- "name": "A1 Mediator Deployed",
- "xml": "<switch test='`$prop.ric-plt-A1Mediator-deployed`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 699,
- "y": 195.00000095367432,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "4960c05e.4a48e",
- "9d487d40.76962"
- ]
- ]
- },
- {
- "id": "9d487d40.76962",
- "type": "outcome",
- "name": "Deployed",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 983.0000457763672,
- "y": 55.00006628036499,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "fae15a24.468558"
- ]
- ]
- },
- {
- "id": "fae15a24.468558",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 960.0000953674316,
- "y": 201.00001859664917,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "8adeeb48.5c34c8"
- ]
- ]
- },
- {
- "id": "4960c05e.4a48e",
- "type": "outcome",
- "name": "Not Deployed",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 936.0000686645508,
- "y": 490.0000624656677,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "cafd16f3.2ead98"
- ]
- ]
- },
- {
- "id": "cafd16f3.2ead98",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1151.0001068115234,
- "y": 619.0000152587891,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "e3d060c0.b81ec",
- "944ee6aa.e0ceb8",
- "77b3dd76.a3cb44"
- ]
- ]
- },
- {
- "id": "e3d060c0.b81ec",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"response-code\" value=\"500\" />\n<parameter name=\"response-message\" value=\"Error in Getting A1 Policy Type. Aborting\" />",
- "comments": "",
- "x": 1275.9998626708984,
- "y": 699.9999997615814,
- "z": "b55eea1d.a59fe8",
- "wires": []
- },
- {
- "id": "8adeeb48.5c34c8",
- "type": "block",
- "name": "A1 Mediator RestAPI Invocation",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1154.0001068115234,
- "y": 312.0000054240227,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "38afaf12.aee1f",
- "3a82d4a7.de542c",
- "c33b0782.69bf48",
- "77404dcb.5cb384",
- "de061428.e131a8"
- ]
- ]
- },
- {
- "id": "3a82d4a7.de542c",
- "type": "set",
- "name": "set tmp variables for A1 Mediator REST API call",
- "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-id\" value=\"`$get-policy-type-input.near-rt-ric-id`\"/>\n<parameter name=\"tmp.policy-type-id\" value=\"`$get-policy-type-input.policy-type-id`\"/>",
- "comments": "",
- "x": 1489.0014953613281,
- "y": 151.88913679122925,
- "z": "b55eea1d.a59fe8",
- "wires": []
- },
- {
- "id": "38afaf12.aee1f",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for A1 Adapter Get Policy Type.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-id`\"/>\n<parameter name=\"field3\" value=\"`$tmp.restapi.policytype-url`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1418.0001220703125,
- "y": 305,
- "z": "b55eea1d.a59fe8",
- "wires": [
- []
- ]
- },
- {
- "id": "c33b0782.69bf48",
- "type": "execute",
- "name": "Get Policy Types",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.a1Mediator.url + '/' + $tmp.restapi.policytype-url`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"a1MediatorRsp\"/>\n<parameter name='contentType' value='application/json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1443.0006065368652,
- "y": 375.01036834716797,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "e4055a3f.3f1948",
- "d16bd1ec.d9d41"
- ]
- ]
- },
- {
- "id": "e4055a3f.3f1948",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1407.0000305175781,
- "y": 463.00011444091797,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "75a0dbe4.4e34d4"
- ]
- ]
- },
- {
- "id": "d16bd1ec.d9d41",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1651.0002746582031,
- "y": 334.0000228881836,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "670e82ec.e25a0c"
- ]
- ]
- },
- {
- "id": "c041efea.9ebb8",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"response-code\" value=\"404\" />\n<parameter name=\"response-message\" value=\"Error in Getting A1 Policy Type. Aborting\" />",
- "comments": "",
- "x": 1567.0006103515625,
- "y": 570.0000839233398,
- "z": "b55eea1d.a59fe8",
- "wires": []
- },
- {
- "id": "670e82ec.e25a0c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1800.9998798370361,
- "y": 298.00005292892456,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "a67a8a02.c4eee8",
- "ae1fa477.a961e8",
- "4e22b738.909c78",
- "d3650671.cbdc18"
- ]
- ]
- },
- {
- "id": "a67a8a02.c4eee8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"A1 Policy Type Information \"/>\n<parameter name=\"field2\" value=\"`$a1MediatorRsp.httpResponse`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1991,
- "y": 279,
- "z": "b55eea1d.a59fe8",
- "wires": [
- []
- ]
- },
- {
- "id": "944ee6aa.e0ceb8",
- "type": "block",
- "name": "DMAAP Reponse Publish",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1937.0001220703125,
- "y": 667.0001525878906,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "fc69fb2.0d81f08",
- "4306b6e3.228028",
- "7c10f260.44e35c"
- ]
- ]
- },
- {
- "id": "4306b6e3.228028",
- "type": "execute",
- "name": "execute DmaapMsg",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-generic-response.template`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + $prop.a1Adapter-dmaap-policy-response.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />",
- "comments": "",
- "outputs": 1,
- "x": 2286.0003204345703,
- "y": 844.9995572566986,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "a20937dd.f06898",
- "afcdec04.54575"
- ]
- ]
- },
- {
- "id": "fc69fb2.0d81f08",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='tmp.a1-adapter-api.rpc-name' value='getPolicyType'/>\n<parameter name='tmp.a1Adapter-dmaap-resp.status-code' value='`$response-code`'/>\n<parameter name='tmp.a1Adapter-dmaap-resp.status-value' value='`$response-message`'/>\n<parameter name='tmp.a1Policy-dmaap-resp.payload' value='`$tmp.a1-mediator-restapi.payload`' />",
- "comments": "",
- "x": 2276.6669921875,
- "y": 637.0001220703125,
- "z": "b55eea1d.a59fe8",
- "wires": []
- },
- {
- "id": "a20937dd.f06898",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2501.5002059936523,
- "y": 767.9168610572815,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "6180ced9.26a6c"
- ]
- ]
- },
- {
- "id": "afcdec04.54575",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2505.5001258850098,
- "y": 906.9167037010193,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "e35e575c.da5738"
- ]
- ]
- },
- {
- "id": "6180ced9.26a6c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2661.5000400543213,
- "y": 769.9168620109558,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "2c8065c6.6dbfda"
- ]
- ]
- },
- {
- "id": "2c8065c6.6dbfda",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"response-code\" value=\"500\" />\n<parameter name=\"response-message\" value=\"Error publishing DMAAP A1 Policy Response message. \" />",
- "comments": "",
- "x": 2843.499771118164,
- "y": 760.916937828064,
- "z": "b55eea1d.a59fe8",
- "wires": []
- },
- {
- "id": "e35e575c.da5738",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2688.4997692108154,
- "y": 899.9168124198914,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "b0aef6ff.309868"
- ]
- ]
- },
- {
- "id": "b0aef6ff.309868",
- "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=\"DMAAP A1Policy message Successfully Published \"/>",
- "comments": "",
- "outputs": 1,
- "x": 2874.4999237060547,
- "y": 887.9171361923218,
- "z": "b55eea1d.a59fe8",
- "wires": [
- []
- ]
- },
- {
- "id": "7c10f260.44e35c",
- "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=\"Before DMAAP Event - template file name, restapiURL\"/>\n<parameter name='field3' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-generic-response.template`\" />\n<parameter name='field4' value=\"`$prop.dmaap-message-router.url + $prop.a1Adapter-dmaap-policy-response.topic`\" />\n<parameter name='field5' value=\"Status Code and Status Value to be published\" />\n<parameter name='field6' value=\"`$tmp.a1Adapter-dmaap-resp.status-code`\" />\n<parameter name='field7' value=\"`$tmp.a1Adapter-dmaap-resp.status-value`\" />\n<parameter name='field8' value=\"A1 Adapter DMAAP Response Payload\" />\n<parameter name='field9' value=\"`$tmp.a1Policy-dmaap-resp.payload`\" />\n<parameter name='field10' value=\"RPC Name\" />\n<parameter name='field11' value=\"`$tmp.a1-adapter-api.rpc-name`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2287.500244140625,
- "y": 727.455078125,
- "z": "b55eea1d.a59fe8",
- "wires": [
- []
- ]
- },
- {
- "id": "77b3dd76.a3cb44",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='response-code' value='500'/>\n<parameter name='response-message' value='A1 Mediator Not Deployed'/>\n",
- "comments": "",
- "x": 1354.0002212524414,
- "y": 553.0000228881836,
- "z": "b55eea1d.a59fe8",
- "wires": []
- },
- {
- "id": "c52c6d9d.59628",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='response-code' value='500'/>\n<parameter name='response-message' value='Seems A1 Mediator Not Healthy'/>\n",
- "comments": "",
- "x": 1730.7539443969727,
- "y": 403.00392150878906,
- "z": "b55eea1d.a59fe8",
- "wires": []
- },
- {
- "id": "610eb9a7.c191a8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 692.7538948059082,
- "y": 809.0039367675781,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "e54fca82.f54998",
- "944ee6aa.e0ceb8"
- ]
- ]
- },
- {
- "id": "e54fca82.f54998",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='A1 Adapter is healthy'/>\n<parameter name='health-status' value='200'/>\n<parameter name='ack-final' value='Y'/>\n",
- "comments": "",
- "x": 842.7539386749268,
- "y": 891.00390625,
- "z": "b55eea1d.a59fe8",
- "wires": []
- },
- {
- "id": "75a0dbe4.4e34d4",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1555.0039405822754,
- "y": 469.00392866134644,
- "z": "b55eea1d.a59fe8",
- "wires": [
- [
- "c52c6d9d.59628",
- "944ee6aa.e0ceb8",
- "c041efea.9ebb8"
- ]
- ]
- },
- {
- "id": "e78926ee.e57698",
- "type": "set",
- "name": "set tmp variables for input RPC parms",
- "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-id\" value=\"`$create-policy-type-input.near-rt-ric-id`\"/>\n<parameter name=\"tmp.policy-type-id\" value=\"`$create-policy-type-input.policy-type-id`\"/>\n<parameter name=\"tmp.name\" value=\"`$create-policy-type-input.name`\"/>\n<parameter name=\"tmp.description\" value=\"`$create-policy-type-input.description`\"/>",
- "comments": "",
- "x": 176,
- "y": 462.0000009536743,
- "z": "b55eea1d.a59fe8",
- "wires": []
- },
- {
- "id": "77404dcb.5cb384",
- "type": "execute",
- "name": "generate A1 Mediator URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.policytype`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.policytype-url\"/>\n <parameter name=\"target\" value=\"{policy_type_id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.policy-type-id`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1483.9994506835938,
- "y": 251.12139892578125,
- "z": "b55eea1d.a59fe8",
- "wires": [
- []
- ]
- },
- {
- "id": "4ee7bbbd.0e4a04",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for A1 Adapter Create Policy Type.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-id`\"/>\n<parameter name=\"field3\" value=\"`$tmp.policy-type-id`\"/>\n<parameter name=\"field4\" value=\"`$tmp.name`\"/>\n<parameter name=\"field5\" value=\"`$tmp.restapi.policytype-url`\"/>\n<parameter name=\"field6\" value=\"`$a1-mediator.restapi-payload`\"/>\n<parameter name=\"field7\" value=\"Temporary A1 Mediatory Payload\"/>\n<parameter name=\"field8\" value=\"`$tmp.a1-mediator-restapi.payload`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 130.9990234375,
- "y": 635.1109018325806,
- "z": "b55eea1d.a59fe8",
- "wires": [
- []
- ]
- },
- {
- "id": "84be517a.aeb94",
- "type": "set",
- "name": "set A1Mediator payload manually",
- "xml": "<set>\n<parameter name=\"tmp.a1-mediator-restapi.payload\" value='{\"blocking_rate\": 20,\"enforce\": true,\"trigger_threshold\": 10,\"window_length\": 10}'/>",
- "comments": "",
- "x": 177.9990234375,
- "y": 578.1109018325806,
- "z": "b55eea1d.a59fe8",
- "wires": []
- },
- {
- "id": "de061428.e131a8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/A1-Adapter.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for A1 Adapter Get Policy Type.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-id`\"/>\n<parameter name=\"field3\" value=\"`$tmp.policy-type-id`\"/>",
- "comments": "",
- "outputs": 1,
- "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",
- "wires": [
- []
- ]
- }
-] \ No newline at end of file