fix odl patches
[ccsdk/distribution.git] / platform-logic / a1Adapter-api / src / main / json / A1-ADAPTER-API_getPolicyInstances.json
1 [
2     {
3         "id": "2ef2c73.a74c138",
4         "type": "service-logic",
5         "name": "A1-ADAPTER-API ${project.version}",
6         "module": "A1-ADAPTER-API",
7         "version": "${project.version}",
8         "comments": "",
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}'>",
10         "outputs": 1,
11         "x": 207,
12         "y": 97,
13         "z": "7ab03abd.cfb3d4",
14         "wires": [
15             [
16                 "9c18f2.85c8071"
17             ]
18         ]
19     },
20     {
21         "id": "9c18f2.85c8071",
22         "type": "method",
23         "name": "method getPolicyInstances",
24         "xml": "<method rpc='getPolicyInstances' mode='sync'>\n",
25         "comments": "",
26         "outputs": 1,
27         "x": 268,
28         "y": 217,
29         "z": "7ab03abd.cfb3d4",
30         "wires": [
31             [
32                 "322607d6.ede268"
33             ]
34         ]
35     },
36     {
37         "id": "d9aa77b7.d8d998",
38         "type": "record",
39         "name": "record",
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 All Policy Instance from Near RT RIC ID and Policy Type ID\"/>\n<parameter name=\"field2\" value=\"`$get-policy-instances-input.near-rt-ric-id`\"/>\n<parameter name=\"field3\" value=\"`$get-policy-instances-input.policy-type-id`\"/>",
41         "comments": "",
42         "outputs": 1,
43         "x": 732,
44         "y": 32,
45         "z": "7ab03abd.cfb3d4",
46         "wires": [
47             []
48         ]
49     },
50     {
51         "id": "322607d6.ede268",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 473,
59         "y": 171,
60         "z": "7ab03abd.cfb3d4",
61         "wires": [
62             [
63                 "d9aa77b7.d8d998",
64                 "c08be395.f405a",
65                 "17f931de.f2160e",
66                 "62f4ed6b.a9b444",
67                 "e2373e18.e3f52"
68             ]
69         ]
70     },
71     {
72         "id": "3877a9a8.bee066",
73         "type": "dgstart",
74         "name": "DGSTART",
75         "outputs": 1,
76         "x": 140,
77         "y": 33,
78         "z": "7ab03abd.cfb3d4",
79         "wires": [
80             [
81                 "2ef2c73.a74c138"
82             ]
83         ]
84     },
85     {
86         "id": "c08be395.f405a",
87         "type": "set",
88         "name": "set default status value",
89         "xml": "<set>\n<parameter name='response-code' value='200' />\n<parameter name='response-message' value='getPolicyInstances executed successfully' />",
90         "comments": "",
91         "x": 772.0000457763672,
92         "y": 86.00000095367432,
93         "z": "7ab03abd.cfb3d4",
94         "wires": []
95     },
96     {
97         "id": "17f931de.f2160e",
98         "type": "execute",
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",
101         "comments": "",
102         "outputs": 1,
103         "x": 772,
104         "y": 139,
105         "z": "7ab03abd.cfb3d4",
106         "wires": [
107             []
108         ]
109     },
110     {
111         "id": "62f4ed6b.a9b444",
112         "type": "switchNode",
113         "name": "A1 Mediator Deployed",
114         "xml": "<switch test='`$prop.ric-plt-A1Mediator-deployed`'>\n",
115         "comments": "",
116         "outputs": 1,
117         "x": 722,
118         "y": 195,
119         "z": "7ab03abd.cfb3d4",
120         "wires": [
121             [
122                 "6ee8b33f.55947c",
123                 "4038226b.2b505c"
124             ]
125         ]
126     },
127     {
128         "id": "4038226b.2b505c",
129         "type": "outcome",
130         "name": "Deployed",
131         "xml": "<outcome value='true'>\n",
132         "comments": "",
133         "outputs": 1,
134         "x": 1006.0000457763672,
135         "y": 55.000065326690674,
136         "z": "7ab03abd.cfb3d4",
137         "wires": [
138             [
139                 "b1b2d727.4a5fc8"
140             ]
141         ]
142     },
143     {
144         "id": "b1b2d727.4a5fc8",
145         "type": "block",
146         "name": "block : atomic",
147         "xml": "<block atomic='true'>",
148         "atomic": "true",
149         "comments": "",
150         "outputs": 1,
151         "x": 983.0000953674316,
152         "y": 201.00001764297485,
153         "z": "7ab03abd.cfb3d4",
154         "wires": [
155             [
156                 "e2a4df1a.855f6"
157             ]
158         ]
159     },
160     {
161         "id": "6ee8b33f.55947c",
162         "type": "outcome",
163         "name": "Not Deployed",
164         "xml": "<outcome value='false'>\n",
165         "comments": "",
166         "outputs": 1,
167         "x": 959.0000686645508,
168         "y": 490.0000615119934,
169         "z": "7ab03abd.cfb3d4",
170         "wires": [
171             [
172                 "c2f215d2.1cb368"
173             ]
174         ]
175     },
176     {
177         "id": "c2f215d2.1cb368",
178         "type": "block",
179         "name": "block",
180         "xml": "<block>\n",
181         "atomic": "false",
182         "comments": "",
183         "outputs": 1,
184         "x": 1174.0001068115234,
185         "y": 619.0000143051147,
186         "z": "7ab03abd.cfb3d4",
187         "wires": [
188             [
189                 "ad62ff09.05a02",
190                 "55e0d36.689052c",
191                 "91cd032.df9ff"
192             ]
193         ]
194     },
195     {
196         "id": "ad62ff09.05a02",
197         "type": "returnFailure",
198         "name": "return failure",
199         "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 Instances. Aborting\" />",
200         "comments": "",
201         "x": 1298.9998626708984,
202         "y": 699.9999988079071,
203         "z": "7ab03abd.cfb3d4",
204         "wires": []
205     },
206     {
207         "id": "e2a4df1a.855f6",
208         "type": "block",
209         "name": "A1 Mediator RestAPI Invocation",
210         "xml": "<block atomic='true'>",
211         "atomic": "true",
212         "comments": "",
213         "outputs": 1,
214         "x": 1177.0001068115234,
215         "y": 312.00000447034836,
216         "z": "7ab03abd.cfb3d4",
217         "wires": [
218             [
219                 "fef9cb64.204608",
220                 "ae52adc3.7b016",
221                 "d64ef10d.f5309",
222                 "f8cb76ee.b9e368",
223                 "e5e2e791.7e4778"
224             ]
225         ]
226     },
227     {
228         "id": "ae52adc3.7b016",
229         "type": "set",
230         "name": "set tmp variables for A1 Mediator REST API call",
231         "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-id\" value=\"`$get-policy-instances-input.near-rt-ric-id`\"/>\n<parameter name=\"tmp.policy-type-id\" value=\"`$get-policy-instances-input.policy-type-id`\"/>",
232         "comments": "",
233         "x": 1514.0014343261719,
234         "y": 138.88912868499756,
235         "z": "7ab03abd.cfb3d4",
236         "wires": []
237     },
238     {
239         "id": "fef9cb64.204608",
240         "type": "record",
241         "name": "record",
242         "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 Instances.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-id`\"/>\n<parameter name=\"field3\" value=\"`$tmp.policy-type-id`\"/>",
243         "comments": "",
244         "outputs": 1,
245         "x": 1440.0000915527344,
246         "y": 185.9999942779541,
247         "z": "7ab03abd.cfb3d4",
248         "wires": [
249             []
250         ]
251     },
252     {
253         "id": "d64ef10d.f5309",
254         "type": "execute",
255         "name": "Get Policy Instances",
256         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.a1Mediator.url + '/' + $tmp.restapi.policyinstances-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\"/>",
257         "comments": "",
258         "outputs": 1,
259         "x": 1454.0006103515625,
260         "y": 366.0103979110718,
261         "z": "7ab03abd.cfb3d4",
262         "wires": [
263             [
264                 "d71e51ff.7be1a",
265                 "d4d5f1ab.35cd9"
266             ]
267         ]
268     },
269     {
270         "id": "d71e51ff.7be1a",
271         "type": "failure",
272         "name": "failure",
273         "xml": "<outcome value='failure'>\n",
274         "comments": "",
275         "outputs": 1,
276         "x": 1430.0000305175781,
277         "y": 463.00011348724365,
278         "z": "7ab03abd.cfb3d4",
279         "wires": [
280             [
281                 "d59b92db.746d5"
282             ]
283         ]
284     },
285     {
286         "id": "d4d5f1ab.35cd9",
287         "type": "success",
288         "name": "success",
289         "xml": "<outcome value='success'>\n",
290         "comments": "",
291         "outputs": 1,
292         "x": 1674.0002746582031,
293         "y": 334.0000219345093,
294         "z": "7ab03abd.cfb3d4",
295         "wires": [
296             [
297                 "b5885e67.58f09"
298             ]
299         ]
300     },
301     {
302         "id": "52dad0a2.d0077",
303         "type": "returnFailure",
304         "name": "return failure",
305         "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 Instances. Aborting\" />",
306         "comments": "",
307         "x": 1590.0006103515625,
308         "y": 570.0000829696655,
309         "z": "7ab03abd.cfb3d4",
310         "wires": []
311     },
312     {
313         "id": "b5885e67.58f09",
314         "type": "block",
315         "name": "block",
316         "xml": "<block>\n",
317         "atomic": "false",
318         "comments": "",
319         "outputs": 1,
320         "x": 1823.9998798370361,
321         "y": 298.00005197525024,
322         "z": "7ab03abd.cfb3d4",
323         "wires": [
324             [
325                 "2a60eb9b.39ccc4",
326                 "e3ef35fd.a96518",
327                 "e055c0d1.c51e3",
328                 "78e8b370.a1c68c",
329                 "52acbf94.d0542"
330             ]
331         ]
332     },
333     {
334         "id": "2a60eb9b.39ccc4",
335         "type": "record",
336         "name": "record",
337         "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=\"List of A1 Policy Instances: \"/>\n<parameter name=\"field2\" value=\"`$a1MediatorRsp`\"/>",
338         "comments": "",
339         "outputs": 1,
340         "x": 2020,
341         "y": 230,
342         "z": "7ab03abd.cfb3d4",
343         "wires": [
344             []
345         ]
346     },
347     {
348         "id": "55e0d36.689052c",
349         "type": "block",
350         "name": "DMAAP Reponse Publish",
351         "xml": "<block atomic='true'>",
352         "atomic": "true",
353         "comments": "",
354         "outputs": 1,
355         "x": 1960.0001220703125,
356         "y": 667.0001516342163,
357         "z": "7ab03abd.cfb3d4",
358         "wires": [
359             [
360                 "39c58f15.87c84",
361                 "b6fb1d33.d4dce",
362                 "68afbda6.b2da84"
363             ]
364         ]
365     },
366     {
367         "id": "b6fb1d33.d4dce",
368         "type": "execute",
369         "name": "execute DmaapMsg",
370         "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' />",
371         "comments": "",
372         "outputs": 1,
373         "x": 2309.0003204345703,
374         "y": 844.9995563030243,
375         "z": "7ab03abd.cfb3d4",
376         "wires": [
377             [
378                 "18afe330.09bd4d",
379                 "730fd2a5.584c7c"
380             ]
381         ]
382     },
383     {
384         "id": "39c58f15.87c84",
385         "type": "set",
386         "name": "set",
387         "xml": "<set>\n<parameter name='tmp.a1-adapter-api.rpc-name' value='getPolicyInstances'/>\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='`$a1-mediator.policyInstancesList`' />",
388         "comments": "",
389         "x": 2304.6669921875,
390         "y": 640.0001220703125,
391         "z": "7ab03abd.cfb3d4",
392         "wires": []
393     },
394     {
395         "id": "18afe330.09bd4d",
396         "type": "failure",
397         "name": "failure",
398         "xml": "<outcome value='failure'>\n",
399         "comments": "",
400         "outputs": 1,
401         "x": 2524.5002059936523,
402         "y": 767.9168601036072,
403         "z": "7ab03abd.cfb3d4",
404         "wires": [
405             [
406                 "ddc3776c.e922d8"
407             ]
408         ]
409     },
410     {
411         "id": "730fd2a5.584c7c",
412         "type": "success",
413         "name": "success",
414         "xml": "<outcome value='success'>\n",
415         "comments": "",
416         "outputs": 1,
417         "x": 2528.5001258850098,
418         "y": 906.916702747345,
419         "z": "7ab03abd.cfb3d4",
420         "wires": [
421             [
422                 "c2e51e51.ce11"
423             ]
424         ]
425     },
426     {
427         "id": "ddc3776c.e922d8",
428         "type": "block",
429         "name": "block",
430         "xml": "<block>\n",
431         "atomic": "false",
432         "comments": "",
433         "outputs": 1,
434         "x": 2684.5000400543213,
435         "y": 769.9168610572815,
436         "z": "7ab03abd.cfb3d4",
437         "wires": [
438             [
439                 "37ee6733.0d3ce8"
440             ]
441         ]
442     },
443     {
444         "id": "37ee6733.0d3ce8",
445         "type": "returnFailure",
446         "name": "return failure",
447         "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. \" />",
448         "comments": "",
449         "x": 2866.499771118164,
450         "y": 760.9169368743896,
451         "z": "7ab03abd.cfb3d4",
452         "wires": []
453     },
454     {
455         "id": "c2e51e51.ce11",
456         "type": "block",
457         "name": "block",
458         "xml": "<block>\n",
459         "atomic": "false",
460         "comments": "",
461         "outputs": 1,
462         "x": 2711.4997692108154,
463         "y": 899.916811466217,
464         "z": "7ab03abd.cfb3d4",
465         "wires": [
466             [
467                 "79473b19.1f2a54"
468             ]
469         ]
470     },
471     {
472         "id": "79473b19.1f2a54",
473         "type": "record",
474         "name": "record",
475         "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 \"/>",
476         "comments": "",
477         "outputs": 1,
478         "x": 2897.4999237060547,
479         "y": 887.9171352386475,
480         "z": "7ab03abd.cfb3d4",
481         "wires": [
482             []
483         ]
484     },
485     {
486         "id": "68afbda6.b2da84",
487         "type": "record",
488         "name": "record",
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=\"__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`\" />",
490         "comments": "",
491         "outputs": 1,
492         "x": 2307.500259399414,
493         "y": 727.4550924301147,
494         "z": "7ab03abd.cfb3d4",
495         "wires": [
496             []
497         ]
498     },
499     {
500         "id": "91cd032.df9ff",
501         "type": "set",
502         "name": "set",
503         "xml": "<set>\n<parameter name='response-code' value='500'/>\n<parameter name='response-message' value='A1 Mediator Not Deployed'/>\n",
504         "comments": "",
505         "x": 1375.0001525878906,
506         "y": 552.0000214576721,
507         "z": "7ab03abd.cfb3d4",
508         "wires": []
509     },
510     {
511         "id": "e7488f0e.105bf",
512         "type": "set",
513         "name": "set",
514         "xml": "<set>\n<parameter name='response-code' value='500'/>\n<parameter name='response-message' value='Seems A1 Mediator Not Healthy'/>\n",
515         "comments": "",
516         "x": 1749.753963470459,
517         "y": 399.00389766693115,
518         "z": "7ab03abd.cfb3d4",
519         "wires": []
520     },
521     {
522         "id": "e2373e18.e3f52",
523         "type": "block",
524         "name": "block",
525         "xml": "<block>\n",
526         "atomic": "false",
527         "comments": "",
528         "outputs": 1,
529         "x": 715.7538948059082,
530         "y": 809.0039358139038,
531         "z": "7ab03abd.cfb3d4",
532         "wires": [
533             [
534                 "5a09f4bf.92845c",
535                 "55e0d36.689052c"
536             ]
537         ]
538     },
539     {
540         "id": "5a09f4bf.92845c",
541         "type": "returnSuccess",
542         "name": "return success",
543         "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='getPolicyInstances executed successfully'/>\n<parameter name='ack-final' value='Y'/>\n",
544         "comments": "",
545         "x": 865.7539386749268,
546         "y": 891.0039052963257,
547         "z": "7ab03abd.cfb3d4",
548         "wires": []
549     },
550     {
551         "id": "d59b92db.746d5",
552         "type": "block",
553         "name": "block",
554         "xml": "<block>\n",
555         "atomic": "false",
556         "comments": "",
557         "outputs": 1,
558         "x": 1576.0038719177246,
559         "y": 466.0039281845093,
560         "z": "7ab03abd.cfb3d4",
561         "wires": [
562             [
563                 "e7488f0e.105bf",
564                 "55e0d36.689052c",
565                 "52dad0a2.d0077"
566             ]
567         ]
568     },
569     {
570         "id": "f8cb76ee.b9e368",
571         "type": "execute",
572         "name": "generate A1 Mediator URL",
573         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.policies`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.policyinstances-url\"/>\n    <parameter name=\"target\" value=\"{policy_type_id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.policy-type-id`\"/>\n",
574         "comments": "",
575         "outputs": 1,
576         "x": 1503.0002136230469,
577         "y": 242.00000619888306,
578         "z": "7ab03abd.cfb3d4",
579         "wires": [
580             []
581         ]
582     },
583     {
584         "id": "e5e2e791.7e4778",
585         "type": "record",
586         "name": "record",
587         "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 Instances.\"/>\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.restapi.policyinstances-url`\"/>",
588         "comments": "",
589         "outputs": 1,
590         "x": 1452.0007286071777,
591         "y": 302.87860012054443,
592         "z": "7ab03abd.cfb3d4",
593         "wires": [
594             []
595         ]
596     },
597     {
598         "id": "e3ef35fd.a96518",
599         "type": "execute",
600         "name": "execute TemplateNode",
601         "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.template.TemplateNode\" method=\"evaluateTemplate\" >\n    <parameter name='templatePath' value='a1Mediator-get-policy-instances.vtl' />\n    <parameter name='output' value='policyInstancesList' />\n    <parameter name='prefix' value='a1-mediator' />",
602         "comments": "",
603         "outputs": 1,
604         "x": 2048,
605         "y": 295,
606         "z": "7ab03abd.cfb3d4",
607         "wires": [
608             [
609                 "21769c4f.d52394"
610             ]
611         ]
612     },
613     {
614         "id": "21769c4f.d52394",
615         "type": "success",
616         "name": "success",
617         "xml": "<outcome value='success'>\n",
618         "comments": "",
619         "outputs": 1,
620         "x": 2236,
621         "y": 294,
622         "z": "7ab03abd.cfb3d4",
623         "wires": [
624             [
625                 "1c25c1be.5becce"
626             ]
627         ]
628     },
629     {
630         "id": "1c25c1be.5becce",
631         "type": "block",
632         "name": "block : atomic",
633         "xml": "<block atomic='true'>",
634         "atomic": "true",
635         "comments": "",
636         "outputs": 1,
637         "x": 2412,
638         "y": 290,
639         "z": "7ab03abd.cfb3d4",
640         "wires": [
641             [
642                 "7866876.a2cfe78"
643             ]
644         ]
645     },
646     {
647         "id": "7866876.a2cfe78",
648         "type": "record",
649         "name": "record",
650         "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 Policiy Instances List\"/>\n<parameter name='field3' value='`$a1-mediator.policyInstancesList`' />",
651         "comments": "",
652         "outputs": 1,
653         "x": 2592,
654         "y": 290,
655         "z": "7ab03abd.cfb3d4",
656         "wires": [
657             []
658         ]
659     },
660     {
661         "id": "e055c0d1.c51e3",
662         "type": "execute",
663         "name": "printContext",
664         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/A1-Adapter-getPolicyInstances-context.log' />\n\n\n",
665         "comments": "",
666         "outputs": 1,
667         "x": 2038,
668         "y": 374,
669         "z": "7ab03abd.cfb3d4",
670         "wires": [
671             []
672         ]
673     },
674     {
675         "id": "78e8b370.a1c68c",
676         "type": "record",
677         "name": "record",
678         "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=\"List of A1 Policy Types: \"/>\n<parameter name=\"field2\" value=\"`$a1MediatorRsp._length`\"/>\n<parameter name=\"field3\" value=\"`$a1MediatorRsp.httpResponse`\"/>\n<parameter name=\"field4\" value=\"`$a1MediatorRsp.response-code`\"/>\n<parameter name=\"field5\" value='`$a1MediatorRsp._length`' />\n<parameter name=\"field6\" value='`$a1-mediator.policyInstancesList`' />\n\n\n\n",
679         "comments": "",
680         "outputs": 1,
681         "x": 1975,
682         "y": 457,
683         "z": "7ab03abd.cfb3d4",
684         "wires": [
685             []
686         ]
687     },
688     {
689         "id": "52acbf94.d0542",
690         "type": "execute",
691         "name": "execute jsonStringToCtx",
692         "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='a1MediatorPolicyInstancesList' />\n\t<parameter name='isEscaped' value='false' />",
693         "comments": "",
694         "outputs": 1,
695         "x": 2040,
696         "y": 154,
697         "z": "7ab03abd.cfb3d4",
698         "wires": [
699             []
700         ]
701     }
702 ]