3 "id": "792b8892.64457",
4 "type": "service-logic",
5 "name": "A1-ADAPTER-API ${project.version}",
6 "module": "A1-ADAPTER-API",
7 "version": "${project.version}",
9 "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}'>",
13 "z": "6c2cfe41.61b868",
21 "id": "11f7d7b8.1b7cb8",
23 "name": "method getA1PolicyStatus",
24 "xml": "<method rpc='getA1PolicyStatus' mode='sync'>\n",
29 "z": "6c2cfe41.61b868",
37 "id": "606404ab.821cbc",
40 "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`\"/>",
45 "z": "6c2cfe41.61b868",
51 "id": "ea8cdc1c.7ad76",
53 "name": "block : atomic",
54 "xml": "<block atomic='true'>",
60 "z": "6c2cfe41.61b868",
72 "id": "90a09247.4437",
78 "z": "6c2cfe41.61b868",
86 "id": "722eabeb.6d1a7c",
88 "name": "set default status value",
89 "xml": "<set>\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='Get A1 Policy executed successfully' />",
91 "x": 731.0000610351562,
93 "z": "6c2cfe41.61b868",
97 "id": "1786ef85.c617a8",
99 "name": "execute Properties",
100 "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",
105 "z": "6c2cfe41.61b868",
111 "id": "1c69a7a7.5059e",
113 "name": "A1 Mediator RestAPI Invocation",
114 "xml": "<block atomic='true'>",
118 "x": 760.0001220703125,
120 "z": "6c2cfe41.61b868",
130 "id": "42b67c54.7a5fc4",
132 "name": "set tmp variables for A1 Mediator REST API call",
133 "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$get-a1-policy-status-input.near-rt-ric-url`\"/>",
135 "x": 1122.00146484375,
136 "y": 198.88912963867188,
137 "z": "6c2cfe41.61b868",
141 "id": "350bef62.ead7a",
144 "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`\"/>",
147 "x": 1009.0001220703125,
149 "z": "6c2cfe41.61b868",
155 "id": "3c854250.ea03ce",
157 "name": "Get Policy Instance Status",
158 "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\"/>",
161 "x": 1055.0006103515625,
162 "y": 370.0104064941406,
163 "z": "6c2cfe41.61b868",
172 "id": "db967cfd.662b5",
175 "xml": "<outcome value='failure'>\n",
179 "y": 439.0001220703125,
180 "z": "6c2cfe41.61b868",
188 "id": "f7373336.a9f2d8",
191 "xml": "<outcome value='success'>\n",
194 "x": 1273.000244140625,
195 "y": 283.0000305175781,
196 "z": "6c2cfe41.61b868",
204 "id": "9eba774e.8b338",
205 "type": "returnFailure",
206 "name": "return failure",
207 "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 Status. Aborting\" />",
209 "x": 1605.0006103515625,
210 "y": 493.00006103515625,
211 "z": "6c2cfe41.61b868",
215 "id": "ff2d7ebe.e41298",
222 "x": 1445.9998779296875,
223 "y": 284.00006103515625,
224 "z": "6c2cfe41.61b868",
234 "id": "a55d0be.aa42678",
237 "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`\"/>",
242 "z": "6c2cfe41.61b868",
248 "id": "1979a6a.06a3759",
251 "xml": "<set>\n<parameter name='response-code' value='500'/>\n<parameter name='response-message' value='Seems A1 Mediator Not Healthy'/>\n",
255 "z": "6c2cfe41.61b868",
259 "id": "9795ae5f.c333",
268 "z": "6c2cfe41.61b868",
276 "id": "d253316a.832ce",
277 "type": "returnSuccess",
278 "name": "return success",
279 "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",
281 "x": 854.7539672851562,
282 "y": 478.00396728515625,
283 "z": "6c2cfe41.61b868",
287 "id": "e83b2b7e.0baf9",
295 "y": 438.0039367675781,
296 "z": "6c2cfe41.61b868",
305 "id": "73d80df5.3d29b4",
308 "xml": "<set>\n<parameter name='responseBody' value='`$tmp.a1-mediator-restapi.httpResponse`'/>",
313 "z": "6c2cfe41.61b868",
319 "id": "49aaac04.dffde4",
322 "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=\"\"/>",
327 "z": "6c2cfe41.61b868",