summaryrefslogtreecommitdiffstats
path: root/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1Policy.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1Policy.json')
-rw-r--r--platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1Policy.json284
1 files changed, 142 insertions, 142 deletions
diff --git a/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1Policy.json b/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1Policy.json
index 900b041a..068f49ee 100644
--- a/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1Policy.json
+++ b/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1Policy.json
@@ -1,6 +1,6 @@
[
{
- "id": "10e97b34.bcf315",
+ "id": "bec86b4b.ba3328",
"type": "service-logic",
"name": "A1-ADAPTER-API ${project.version}",
"module": "A1-ADAPTER-API",
@@ -8,419 +8,419 @@
"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": 166,
- "y": 257,
- "z": "f36dd077.0bd7e",
+ "x": 178,
+ "y": 162,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "34cf59af.6236f6"
+ "40b3e4f0.5a940c"
]
]
},
{
- "id": "34cf59af.6236f6",
+ "id": "40b3e4f0.5a940c",
"type": "method",
"name": "method getA1Policy",
"xml": "<method rpc='getA1Policy' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 225,
- "y": 378,
- "z": "f36dd077.0bd7e",
+ "x": 237,
+ "y": 283,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "d016778f.76d178"
+ "2c58b14.20ee84e"
]
]
},
{
- "id": "237a560f.9552ba",
+ "id": "cbe7f06b.6c19d",
"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 A1 Policy:\"/>\n<parameter name=\"field2\" value=\"`$get-a1-policy-input.near-rt-ric-url`\"/>",
"comments": "",
"outputs": 1,
- "x": 686,
- "y": 179,
- "z": "f36dd077.0bd7e",
+ "x": 698,
+ "y": 84,
+ "z": "89b637c9.3cf8e8",
"wires": [
[]
]
},
{
- "id": "d016778f.76d178",
+ "id": "2c58b14.20ee84e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 430,
- "y": 332,
- "z": "f36dd077.0bd7e",
+ "x": 442,
+ "y": 237,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "237a560f.9552ba",
- "88a7e3f8.aef34",
- "fa770c9c.fa8f4",
- "b82e4819.e59fa8",
- "3c47174a.181888"
+ "cbe7f06b.6c19d",
+ "47954dd7.8ff874",
+ "a9bf18c8.669f28",
+ "de6281f7.a2b8f",
+ "6237535d.14298c"
]
]
},
{
- "id": "48fb0377.e5bbdc",
+ "id": "cec98e10.085a3",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 97,
- "y": 194,
- "z": "f36dd077.0bd7e",
+ "x": 109,
+ "y": 99,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "10e97b34.bcf315"
+ "bec86b4b.ba3328"
]
]
},
{
- "id": "3c47174a.181888",
+ "id": "6237535d.14298c",
"type": "set",
"name": "set default status value",
- "xml": "<set>\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='Get A1 Policy executed successfully' />",
+ "xml": "<set>\n<parameter name='tmp-response-code' value='200' />\n<parameter name='response-message' value='Get A1 Policy executed successfully' />",
"comments": "",
- "x": 730.0000610351562,
- "y": 247,
- "z": "f36dd077.0bd7e",
+ "x": 742.0000610351562,
+ "y": 152,
+ "z": "89b637c9.3cf8e8",
"wires": []
},
{
- "id": "88a7e3f8.aef34",
+ "id": "47954dd7.8ff874",
"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": 729,
- "y": 300,
- "z": "f36dd077.0bd7e",
+ "x": 741,
+ "y": 205,
+ "z": "89b637c9.3cf8e8",
"wires": [
[]
]
},
{
- "id": "b82e4819.e59fa8",
+ "id": "de6281f7.a2b8f",
"type": "block",
"name": "A1 Mediator RestAPI Invocation",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 759.0001220703125,
- "y": 384,
- "z": "f36dd077.0bd7e",
+ "x": 771.0001220703125,
+ "y": 289,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "8c55c732.d89748",
- "ad49f33b.d3377",
- "8027c342.f7a8",
- "fcd99fa2.71eae"
+ "86e8102.231c3f",
+ "1e10a4f2.183f7b",
+ "7b93a0dc.5f888",
+ "294bdccf.e91f34"
]
]
},
{
- "id": "ad49f33b.d3377",
+ "id": "1e10a4f2.183f7b",
"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-input.near-rt-ric-url`\"/>\n<parameter name=\"tmp.proxy-url\" value=\"`$prop.a1Mediator.proxy.url`\"/>",
"comments": "",
- "x": 1138.00146484375,
- "y": 256.8891296386719,
- "z": "f36dd077.0bd7e",
+ "x": 1150.00146484375,
+ "y": 161.88912963867188,
+ "z": "89b637c9.3cf8e8",
"wires": []
},
{
- "id": "8c55c732.d89748",
+ "id": "86e8102.231c3f",
"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 Instance.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-url`\"/>",
"comments": "",
"outputs": 1,
- "x": 1019.0001220703125,
- "y": 456,
- "z": "f36dd077.0bd7e",
+ "x": 1031.0001220703125,
+ "y": 361,
+ "z": "89b637c9.3cf8e8",
"wires": [
[]
]
},
{
- "id": "8027c342.f7a8",
+ "id": "7b93a0dc.5f888",
"type": "execute",
"name": "Get Policy Instance",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.near-rt-ric-url`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"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`\"/>",
"comments": "",
"outputs": 1,
- "x": 1048.0006103515625,
- "y": 531.0104064941406,
- "z": "f36dd077.0bd7e",
+ "x": 1060.0006103515625,
+ "y": 436.0104064941406,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "9897b12a.32ced",
- "e71419ff.61bbb8"
+ "8bafe9f1.1a33a8",
+ "fb3ab616.11d348"
]
]
},
{
- "id": "9897b12a.32ced",
+ "id": "8bafe9f1.1a33a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1258,
- "y": 629.0001220703125,
- "z": "f36dd077.0bd7e",
+ "x": 1270,
+ "y": 534.0001220703125,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "1c9ae028.670bf"
+ "5f14ee4d.9f533"
]
]
},
{
- "id": "e71419ff.61bbb8",
+ "id": "fb3ab616.11d348",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1265.000244140625,
- "y": 530.0000305175781,
- "z": "f36dd077.0bd7e",
+ "x": 1277.000244140625,
+ "y": 435.0000305175781,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "afc5b777.009a08"
+ "c0139db9.f37a1"
]
]
},
{
- "id": "f3898b18.20aed8",
+ "id": "e7f0e32e.e3189",
"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": 1582.0006103515625,
- "y": 739.0000610351562,
- "z": "f36dd077.0bd7e",
+ "x": 1594.0006103515625,
+ "y": 644.0000610351562,
+ "z": "89b637c9.3cf8e8",
"wires": []
},
{
- "id": "afc5b777.009a08",
+ "id": "c0139db9.f37a1",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1421.9998779296875,
- "y": 529.0000610351562,
- "z": "f36dd077.0bd7e",
+ "x": 1433.9998779296875,
+ "y": 434.00006103515625,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "9ba38f90.43984",
- "5c8a496b.1d4158",
- "7164a263.76f1bc"
+ "be994933.35af78",
+ "95ed4634.c435e8",
+ "db2f8823.d15a78"
]
]
},
{
- "id": "9ba38f90.43984",
+ "id": "be994933.35af78",
"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 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`'/>",
"comments": "",
"outputs": 1,
- "x": 1573,
- "y": 527,
- "z": "f36dd077.0bd7e",
+ "x": 1585,
+ "y": 432,
+ "z": "89b637c9.3cf8e8",
"wires": [
[]
]
},
{
- "id": "2fae5a38.614356",
+ "id": "732e181b.d6b9d8",
"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": 1572.75390625,
- "y": 655.00390625,
- "z": "f36dd077.0bd7e",
+ "x": 1584.75390625,
+ "y": 560.00390625,
+ "z": "89b637c9.3cf8e8",
"wires": []
},
{
- "id": "fa770c9c.fa8f4",
+ "id": "a9bf18c8.669f28",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 692.75390625,
- "y": 556.00390625,
- "z": "f36dd077.0bd7e",
+ "x": 704.75390625,
+ "y": 461.00390625,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "f52c3841.f4dc38"
+ "d0d4fe14.ba524"
]
]
},
{
- "id": "f52c3841.f4dc38",
+ "id": "d0d4fe14.ba524",
"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='Get PolicyInstance executed successfully'/>\n<parameter name='ack-final' value='Y'/>\n",
+ "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=\"`$tmp-response-code`\" />\n<parameter name='response-message' value=\"Get PolicyInstance executed successfully\"/>\n<parameter name='ack-final' value='Y'/>\n",
"comments": "",
- "x": 853.7539672851562,
- "y": 556.0039672851562,
- "z": "f36dd077.0bd7e",
+ "x": 865.7539672851562,
+ "y": 461.00396728515625,
+ "z": "89b637c9.3cf8e8",
"wires": []
},
{
- "id": "1c9ae028.670bf",
+ "id": "5f14ee4d.9f533",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1418.00390625,
- "y": 693.00390625,
- "z": "f36dd077.0bd7e",
+ "x": 1430.00390625,
+ "y": 598.00390625,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "2fae5a38.614356",
- "f3898b18.20aed8"
+ "732e181b.d6b9d8",
+ "e7f0e32e.e3189"
]
]
},
{
- "id": "5c8a496b.1d4158",
+ "id": "95ed4634.c435e8",
"type": "execute",
"name": "set",
- "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`'/>",
+ "xml": "<set>\n<parameter name='responseBody' value='`$tmp.a1-mediator-restapi.httpResponse`'/>\n<parameter name='tmp-response-code' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='response-message' value='`$a1MediatorRsp.response-message`'/>",
"comments": "",
"outputs": 1,
- "x": 1573,
- "y": 572,
- "z": "f36dd077.0bd7e",
+ "x": 1585,
+ "y": 477,
+ "z": "89b637c9.3cf8e8",
"wires": [
[]
]
},
{
- "id": "7164a263.76f1bc",
+ "id": "db2f8823.d15a78",
"type": "execute",
"name": "execute",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$a1MediatorRsp.httpResponse`\"/>\n <parameter name=\"outputPath\" value=\"tmp.a1-mediator-restapi.httpResponse\"/>\n <parameter name=\"target\" value=\"\\n\"/>\n <parameter name=\"replacement\" value=\"\"/>",
"comments": "",
"outputs": 1,
- "x": 1578,
- "y": 478,
- "z": "f36dd077.0bd7e",
+ "x": 1590,
+ "y": 383,
+ "z": "89b637c9.3cf8e8",
"wires": [
[]
]
},
{
- "id": "fcd99fa2.71eae",
+ "id": "294bdccf.e91f34",
"type": "block",
"name": "block check if proxy address is available",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1132,
- "y": 329,
- "z": "f36dd077.0bd7e",
+ "x": 1144,
+ "y": 234,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "682992.2dd0967"
+ "a6ec8b06.48bfe8"
]
]
},
{
- "id": "74ebffed.36e5d",
+ "id": "d5093ff.5c2bbc",
"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 Get Policy Information: Proxy url: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1751,
- "y": 360,
- "z": "f36dd077.0bd7e",
+ "x": 1763,
+ "y": 265,
+ "z": "89b637c9.3cf8e8",
"wires": [
[]
]
},
{
- "id": "682992.2dd0967",
+ "id": "a6ec8b06.48bfe8",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$tmp.proxy-url`'>\n",
"comments": "",
"outputs": 1,
- "x": 1419,
- "y": 327,
- "z": "f36dd077.0bd7e",
+ "x": 1431,
+ "y": 232,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "1ffdd50c.057bdb",
- "dcf5e334.20da6"
+ "16ff777b.6f7569",
+ "7c0d754.e85938c"
]
]
},
{
- "id": "1ffdd50c.057bdb",
+ "id": "16ff777b.6f7569",
"type": "outcome",
"name": "No proxy URL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1598,
- "y": 293,
- "z": "f36dd077.0bd7e",
+ "x": 1610,
+ "y": 198,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "5af6fc8b.6b28b4"
+ "b8c7fa11.eff4c8"
]
]
},
{
- "id": "5af6fc8b.6b28b4",
+ "id": "b8c7fa11.eff4c8",
"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 Get Policy Information: No proxy found on properties file \"/>\n",
"comments": "",
"outputs": 1,
- "x": 1766,
- "y": 293,
- "z": "f36dd077.0bd7e",
+ "x": 1778,
+ "y": 198,
+ "z": "89b637c9.3cf8e8",
"wires": [
[]
]
},
{
- "id": "dcf5e334.20da6",
+ "id": "7c0d754.e85938c",
"type": "outcome",
"name": "Otherwise",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1594,
- "y": 361,
- "z": "f36dd077.0bd7e",
+ "x": 1606,
+ "y": 266,
+ "z": "89b637c9.3cf8e8",
"wires": [
[
- "74ebffed.36e5d"
+ "d5093ff.5c2bbc"
]
]
}