3 "id": "8c265fc3.6b9c2",
\r
4 "type": "service-logic",
\r
5 "name": "A1-ADAPTER-API ${project.version}",
\r
6 "module": "A1-ADAPTER-API",
\r
7 "version": "${project.version}",
\r
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}'>",
\r
12 "y": 146.11087036132812,
\r
13 "z": "6e7c5307.c398cc",
\r
21 "id": "6e5c6f18.9dc93",
\r
23 "name": "method getA1PolicyType",
\r
24 "xml": "<method rpc='getA1PolicyType' mode='sync'>\n",
\r
27 "x": 213.00000762939453,
\r
28 "y": 269.1108798980713,
\r
29 "z": "6e7c5307.c398cc",
\r
37 "id": "ae2a0098.f258c",
\r
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`\"/>",
\r
43 "x": 678.0000267028809,
\r
44 "y": 82.11086940765381,
\r
45 "z": "6e7c5307.c398cc",
\r
51 "id": "de58383c.7e1718",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic='true'>",
\r
59 "y": 220.11087036132812,
\r
60 "z": "6e7c5307.c398cc",
\r
72 "id": "8f9cdc00.4e19c8",
\r
77 "y": 82.11087036132812,
\r
78 "z": "6e7c5307.c398cc",
\r
86 "id": "53b03c05.963dc4",
\r
88 "name": "set default status value",
\r
89 "xml": "<set>\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='getA1PolicyType executed successfully' />",
\r
91 "x": 715.0001068115234,
\r
92 "y": 135.1108684539795,
\r
93 "z": "6e7c5307.c398cc",
\r
97 "id": "fa97dc4d.7c138",
\r
99 "name": "execute Properties",
\r
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",
\r
104 "y": 188.11087036132812,
\r
105 "z": "6e7c5307.c398cc",
\r
111 "id": "da98d4e7.a42728",
\r
113 "name": "A1 Mediator RestAPI Invocation",
\r
114 "xml": "<block atomic='true'>",
\r
118 "x": 739.0001525878906,
\r
119 "y": 274.11086416244507,
\r
120 "z": "6e7c5307.c398cc",
\r
131 "id": "9c119178.a1023",
\r
133 "name": "set tmp variables for A1 Mediator REST API call",
\r
134 "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$get-a1-policy-type-input.near-rt-ric-url`\"/>",
\r
136 "x": 1129.00146484375,
\r
138 "z": "6e7c5307.c398cc",
\r
142 "id": "41a9420e.fea09c",
\r
144 "name": "Get Policy Types",
\r
145 "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\"/>",
\r
148 "x": 1025.0006103515625,
\r
149 "y": 448.1212463378906,
\r
150 "z": "6e7c5307.c398cc",
\r
159 "id": "e1975678.7e4028",
\r
162 "xml": "<outcome value='failure'>\n",
\r
165 "x": 1206.0000610351562,
\r
166 "y": 506.1109890937805,
\r
167 "z": "6e7c5307.c398cc",
\r
175 "id": "5c4ab5f9.8d989c",
\r
178 "xml": "<outcome value='success'>\n",
\r
181 "x": 1207.0002136230469,
\r
182 "y": 402.11088848114014,
\r
183 "z": "6e7c5307.c398cc",
\r
191 "id": "44796ff4.052ba",
\r
192 "type": "returnFailure",
\r
193 "name": "return failure",
\r
194 "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`'/>",
\r
196 "x": 1495.0006103515625,
\r
197 "y": 540.1109924316406,
\r
198 "z": "6e7c5307.c398cc",
\r
202 "id": "1dcf580c.db4cb8",
\r
205 "xml": "<block>\n",
\r
209 "x": 1370.9998779296875,
\r
210 "y": 376.1109313964844,
\r
211 "z": "6e7c5307.c398cc",
\r
221 "id": "93fea594.fd7eb8",
\r
224 "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`\"/>\n<parameter name='field3' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='field4' value='`$a1MediatorRsp.response-message`'/>",
\r
227 "x": 1542.9999694824219,
\r
228 "y": 380.11084842681885,
\r
229 "z": "6e7c5307.c398cc",
\r
235 "id": "b3f7367b.d92278",
\r
238 "xml": "<set>\n<parameter name='response-code' value='`$a1MediatorRsp.response-code`'/>\n<parameter name='response-message' value='`$a1MediatorRsp.response-message`'/>\n",
\r
240 "x": 1477.75390625,
\r
241 "y": 480.11480712890625,
\r
242 "z": "6e7c5307.c398cc",
\r
246 "id": "746426a9.66e6a8",
\r
249 "xml": "<block>\n",
\r
253 "x": 662.7539367675781,
\r
254 "y": 541.1148681640625,
\r
255 "z": "6e7c5307.c398cc",
\r
263 "id": "ba0df99.5bb8508",
\r
264 "type": "returnSuccess",
\r
265 "name": "return success",
\r
266 "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",
\r
268 "x": 877.7540283203125,
\r
269 "y": 541.1148071289062,
\r
270 "z": "6e7c5307.c398cc",
\r
274 "id": "1085e0df.71c62f",
\r
277 "xml": "<block>\n",
\r
281 "x": 1334.0039367675781,
\r
282 "y": 508.1147885322571,
\r
283 "z": "6e7c5307.c398cc",
\r
292 "id": "26bb74a4.cb368c",
\r
295 "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`\"/>",
\r
298 "x": 1000.9998779296875,
\r
299 "y": 384.1108703613281,
\r
300 "z": "6e7c5307.c398cc",
\r
306 "id": "bae47d21.8afde",
\r
309 "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`'/>",
\r
312 "x": 1544.0000915527344,
\r
313 "y": 435.1108589172363,
\r
314 "z": "6e7c5307.c398cc",
\r
320 "id": "e3f3a0ff.75db5",
\r
323 "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=\"\"/>",
\r
326 "x": 1545.9999694824219,
\r
327 "y": 331.11084842681885,
\r
328 "z": "6e7c5307.c398cc",
\r
334 "id": "649cc87b.b1d558",
\r
336 "name": "split near-rt-ric URL",
\r
337 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.near-rt-ric-url`\" />\n <parameter name=\"regex\" value=\"/\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.near-rt-ric-url-splitList\"/>",
\r
341 "y": 174.11087036132812,
\r
342 "z": "6e7c5307.c398cc",
\r
348 "id": "ff7f26f0.209c88",
\r
351 "xml": "<for index='idx' start='3' end=\"`$tmp.near-rt-ric-url-splitList_length`\" >",
\r
355 "y": 244.11087036132812,
\r
356 "z": "6e7c5307.c398cc",
\r
364 "id": "9714621a.586e5",
\r
366 "name": "set concat url",
\r
367 "xml": "<set>\n<parameter name='tmp.proxy-url' value=\"`$tmp.proxy-url +'/' + $tmp.near-rt-ric-url-splitList[$idx] `\" />\n\n\n",
\r
371 "y": 244.11087036132812,
\r
372 "z": "6e7c5307.c398cc",
\r
378 "id": "40760e50.fa874",
\r
381 "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: Url with proxy: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",
\r
385 "y": 301.1108703613281,
\r
386 "z": "6e7c5307.c398cc",
\r
392 "id": "25cac3e6.2bbd4c",
\r
395 "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: No proxy found on properties file \"/>\n",
\r
399 "y": 210.11087036132812,
\r
400 "z": "6e7c5307.c398cc",
\r
406 "id": "f41d0523.4fd778",
\r
409 "xml": "<block>\n",
\r
414 "y": 278.1108703613281,
\r
415 "z": "6e7c5307.c398cc",
\r
426 "id": "b59bb4c8.e299f8",
\r
428 "name": "set variables for A1 Mediator with proxy url",
\r
429 "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-url\" value=\"`$tmp.proxy-url`\"/>",
\r
432 "y": 357.1108703613281,
\r
433 "z": "6e7c5307.c398cc",
\r
437 "id": "7dffc679.74af28",
\r
439 "name": "No proxy URL",
\r
440 "xml": "<outcome value=''>\n",
\r
444 "y": 210.11087036132812,
\r
445 "z": "6e7c5307.c398cc",
\r
453 "id": "900e04b1.441648",
\r
455 "name": "Otherwise",
\r
456 "xml": "<outcome value='Other'>\n",
\r
460 "y": 278.1108703613281,
\r
461 "z": "6e7c5307.c398cc",
\r
469 "id": "9b05f4ee.4d7bf8",
\r
470 "type": "switchNode",
\r
472 "xml": "<switch test='`$tmp.proxy-url`'>\n",
\r
476 "y": 244.11087036132812,
\r
477 "z": "6e7c5307.c398cc",
\r
486 "id": "105ce637.9dcaaa",
\r
489 "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: Check for proxy url: \"/>\n<parameter name=\"field2\" value=\"`$tmp.proxy-url`\"/>\n\n",
\r
493 "y": 161.11087036132812,
\r
494 "z": "6e7c5307.c398cc",
\r
500 "id": "b655047a.625108",
\r
502 "name": "set tmp url variables with proxy information",
\r
503 "xml": "<set>\n<parameter name=\"tmp.proxy-url\" value=\"`$prop.a1Mediator.proxy.url`\"/>",
\r
506 "y": 86.11087036132812,
\r
507 "z": "6e7c5307.c398cc",
\r
511 "id": "8c9e0855.a2d458",
\r
513 "name": "block Substitute proxy address if available",
\r
514 "xml": "<block>\n",
\r
519 "y": 236.11087036132812,
\r
520 "z": "6e7c5307.c398cc",
\r