3 "id": "5a3c07ae.e366b8",
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}'>",
12 "y": 157.00000095367432,
13 "z": "4a015e5c.e4da6",
21 "id": "b7bd1ba7.d04778",
23 "name": "method getA1PolicyType",
24 "xml": "<method rpc='getA1PolicyType' mode='sync'>\n",
27 "x": 238.00000762939453,
28 "y": 280.0000104904175,
29 "z": "4a015e5c.e4da6",
37 "id": "f83e0069.d60a28",
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 Policy Type:\"/>\n<parameter name=\"field2\" value=\"`$get-a1-policy-type-input.near-rt-ric-url`\"/>",
43 "x": 703.0000267028809,
45 "z": "4a015e5c.e4da6",
51 "id": "3f32665d.c1c8ba",
53 "name": "block : atomic",
54 "xml": "<block atomic='true'>",
59 "y": 231.00000095367432,
60 "z": "4a015e5c.e4da6",
72 "id": "e311365b.05491",
77 "y": 93.00000095367432,
78 "z": "4a015e5c.e4da6",
86 "id": "ece1263.0cc9bd8",
88 "name": "set default status value",
89 "xml": "<set>\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='getA1PolicyType executed successfully' />",
91 "x": 740.0001068115234,
92 "y": 145.99999904632568,
93 "z": "4a015e5c.e4da6",
97 "id": "c4f19376.cb13b",
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",
104 "y": 199.00000095367432,
105 "z": "4a015e5c.e4da6",
111 "id": "479ab38c.15d78c",
113 "name": "A1 Mediator RestAPI Invocation",
114 "xml": "<block atomic='true'>",
118 "x": 764.0001525878906,
119 "y": 284.99999475479126,
120 "z": "4a015e5c.e4da6",
130 "id": "72ae0a37.799b94",
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-type-input.near-rt-ric-url`\"/>",
135 "x": 1214.00146484375,
136 "y": 217.88914251327515,
137 "z": "4a015e5c.e4da6",
141 "id": "56399f4b.cae578",
143 "name": "Get Policy Types",
144 "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\"/>",
147 "x": 1021.000602722168,
148 "y": 346.010377407074,
149 "z": "4a015e5c.e4da6",
158 "id": "90458ba.4afa9f8",
161 "xml": "<outcome value='failure'>\n",
164 "x": 1125.0000610351562,
165 "y": 431.0001196861267,
166 "z": "4a015e5c.e4da6",
174 "id": "901d354.b45acc8",
177 "xml": "<outcome value='success'>\n",
180 "x": 1257.000244140625,
181 "y": 330.0000305175781,
182 "z": "4a015e5c.e4da6",
190 "id": "69c58cb1.928354",
191 "type": "returnFailure",
192 "name": "return failure",
193 "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\" />",
195 "x": 1397.0006103515625,
196 "y": 484.0001196861267,
197 "z": "4a015e5c.e4da6",
201 "id": "45b9b49f.441fbc",
208 "x": 1420.9999084472656,
209 "y": 304.00007343292236,
210 "z": "4a015e5c.e4da6",
220 "id": "3592b1c6.fc7b6e",
223 "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`\"/>",
228 "z": "4a015e5c.e4da6",
234 "id": "a14ef7ef.d0bba8",
237 "xml": "<set>\n<parameter name='response-code' value='500'/>\n<parameter name='response-message' value='Seems A1 Mediator Not Healthy'/>\n",
240 "y": 382.0039367675781,
241 "z": "4a015e5c.e4da6",
245 "id": "644e8ac.a2fb1f4",
252 "x": 701.7539405822754,
253 "y": 407.0039954185486,
254 "z": "4a015e5c.e4da6",
262 "id": "17123f41.a49541",
263 "type": "returnSuccess",
264 "name": "return success",
265 "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",
267 "x": 916.7540321350098,
268 "y": 407.00393438339233,
269 "z": "4a015e5c.e4da6",
273 "id": "774aa433.0336b4",
280 "x": 1253.0039367675781,
281 "y": 433.00391912460327,
282 "z": "4a015e5c.e4da6",
291 "id": "40012c04.89442c",
294 "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`\"/>",
297 "x": 1144.9999351501465,
298 "y": 268.00001335144043,
299 "z": "4a015e5c.e4da6",
305 "id": "6af8fc5a.b2bd5c",
308 "xml": "<set>\n<parameter name='responseBody' value=\"`$tmp.a1-mediator-restapi.httpResponse`\"/>",
311 "x": 1709.0001220703125,
312 "y": 282.0000104904175,
313 "z": "4a015e5c.e4da6",
319 "id": "2c18e75d.32018",
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": "4a015e5c.e4da6",