Update versions in relesae notes
[ccsdk/distribution.git] / platform-logic / a1Adapter-api / src / main / json / A1-ADAPTER-API_getPolicyInstance.json
1 [
2     {
3         "id": "97b83863.1e9f28",
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": 193,
12         "y": 90,
13         "z": "758646cf.8567e8",
14         "wires": [
15             [
16                 "2c1bb19d.1f605e"
17             ]
18         ]
19     },
20     {
21         "id": "2c1bb19d.1f605e",
22         "type": "method",
23         "name": "method getPolicyInstance",
24         "xml": "<method rpc='getPolicyInstance' mode='sync'>\n",
25         "comments": "",
26         "outputs": 1,
27         "x": 254,
28         "y": 210,
29         "z": "758646cf.8567e8",
30         "wires": [
31             [
32                 "b5f6b2ec.ef41b"
33             ]
34         ]
35     },
36     {
37         "id": "efbffea8.48951",
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 Policy Instance details associated with Near RT RIC ID and Policy Type ID\"/>\n<parameter name=\"field2\" value=\"`$get-policy-instance-input.near-rt-ric-id`\"/>\n<parameter name=\"field3\" value=\"`$get-policy-instance-input.policy-type-id`\"/>\n<parameter name=\"field4\" value=\"`$get-policy-instance-input.policy-instance-id`\"/>",
41         "comments": "",
42         "outputs": 1,
43         "x": 718,
44         "y": 25,
45         "z": "758646cf.8567e8",
46         "wires": [
47             []
48         ]
49     },
50     {
51         "id": "b5f6b2ec.ef41b",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 459,
59         "y": 164,
60         "z": "758646cf.8567e8",
61         "wires": [
62             [
63                 "efbffea8.48951",
64                 "148e2110.a4834f",
65                 "18026c55.380af4",
66                 "39a10e6b.20e9d2",
67                 "27fa4f62.a357e"
68             ]
69         ]
70     },
71     {
72         "id": "26a452fa.b3c30e",
73         "type": "dgstart",
74         "name": "DGSTART",
75         "outputs": 1,
76         "x": 126,
77         "y": 26,
78         "z": "758646cf.8567e8",
79         "wires": [
80             [
81                 "97b83863.1e9f28"
82             ]
83         ]
84     },
85     {
86         "id": "148e2110.a4834f",
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='getPolicyInstance executed successfully' />",
90         "comments": "",
91         "x": 758.0000457763672,
92         "y": 79.00000095367432,
93         "z": "758646cf.8567e8",
94         "wires": []
95     },
96     {
97         "id": "18026c55.380af4",
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": 758,
104         "y": 132,
105         "z": "758646cf.8567e8",
106         "wires": [
107             []
108         ]
109     },
110     {
111         "id": "39a10e6b.20e9d2",
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": 708,
118         "y": 188,
119         "z": "758646cf.8567e8",
120         "wires": [
121             [
122                 "98ca2153.5878",
123                 "6d44289a.6170c8"
124             ]
125         ]
126     },
127     {
128         "id": "6d44289a.6170c8",
129         "type": "outcome",
130         "name": "Deployed",
131         "xml": "<outcome value='true'>\n",
132         "comments": "",
133         "outputs": 1,
134         "x": 992.0000457763672,
135         "y": 48.000065326690674,
136         "z": "758646cf.8567e8",
137         "wires": [
138             [
139                 "5cf6b010.ca826"
140             ]
141         ]
142     },
143     {
144         "id": "5cf6b010.ca826",
145         "type": "block",
146         "name": "block : atomic",
147         "xml": "<block atomic='true'>",
148         "atomic": "true",
149         "comments": "",
150         "outputs": 1,
151         "x": 969.0000953674316,
152         "y": 194.00001764297485,
153         "z": "758646cf.8567e8",
154         "wires": [
155             [
156                 "2aab41ec.e46f5e"
157             ]
158         ]
159     },
160     {
161         "id": "98ca2153.5878",
162         "type": "outcome",
163         "name": "Not Deployed",
164         "xml": "<outcome value='false'>\n",
165         "comments": "",
166         "outputs": 1,
167         "x": 945.0000686645508,
168         "y": 483.0000615119934,
169         "z": "758646cf.8567e8",
170         "wires": [
171             [
172                 "f07c3468.9111e8"
173             ]
174         ]
175     },
176     {
177         "id": "f07c3468.9111e8",
178         "type": "block",
179         "name": "block",
180         "xml": "<block>\n",
181         "atomic": "false",
182         "comments": "",
183         "outputs": 1,
184         "x": 1160.0001068115234,
185         "y": 612.0000143051147,
186         "z": "758646cf.8567e8",
187         "wires": [
188             [
189                 "2cd09689.a09f0a",
190                 "6164d8bd.4d3918",
191                 "d08cdaa2.2497e8"
192             ]
193         ]
194     },
195     {
196         "id": "2cd09689.a09f0a",
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 Instance. Aborting\" />",
200         "comments": "",
201         "x": 1289.9999237060547,
202         "y": 692.9999985694885,
203         "z": "758646cf.8567e8",
204         "wires": []
205     },
206     {
207         "id": "2aab41ec.e46f5e",
208         "type": "block",
209         "name": "A1 Mediator RestAPI Invocation",
210         "xml": "<block atomic='true'>",
211         "atomic": "true",
212         "comments": "",
213         "outputs": 1,
214         "x": 1163.0001068115234,
215         "y": 305.00000447034836,
216         "z": "758646cf.8567e8",
217         "wires": [
218             [
219                 "c4334ddb.ffe25",
220                 "37a120b.00129e",
221                 "f4688866.4effb8",
222                 "da836929.9c5f78",
223                 "c1d4adc6.62ca2",
224                 "ebc97fe1.51a3a"
225             ]
226         ]
227     },
228     {
229         "id": "37a120b.00129e",
230         "type": "set",
231         "name": "set tmp variables for A1 Mediator REST API call",
232         "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-id\" value=\"`$get-policy-instance-input.near-rt-ric-id`\"/>\n<parameter name=\"tmp.policy-type-id\" value=\"`$get-policy-instance-input.policy-type-id`\"/>\n<parameter name=\"tmp.policy-instance-id\" value=\"`$get-policy-instance-input.policy-instance-id`\"/>\n",
233         "comments": "",
234         "x": 1501.00146484375,
235         "y": 102.88913059234619,
236         "z": "758646cf.8567e8",
237         "wires": []
238     },
239     {
240         "id": "c4334ddb.ffe25",
241         "type": "record",
242         "name": "record",
243         "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-id`\"/>\n<parameter name=\"field3\" value=\"`$tmp.policy-type-id`\"/>\n<parameter name=\"field4\" value=\"`$tmp.policy-instance-id`\"/>",
244         "comments": "",
245         "outputs": 1,
246         "x": 1422.0000953674316,
247         "y": 156.00000286102295,
248         "z": "758646cf.8567e8",
249         "wires": [
250             []
251         ]
252     },
253     {
254         "id": "f4688866.4effb8",
255         "type": "execute",
256         "name": "Get Policy Instances",
257         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.a1Mediator.url + '/' + $tmp.restapi.policyinstance-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\"/>",
258         "comments": "",
259         "outputs": 1,
260         "x": 1440.0006103515625,
261         "y": 359.0103979110718,
262         "z": "758646cf.8567e8",
263         "wires": [
264             [
265                 "b526d90b.44e268",
266                 "b94ea3f0.48558"
267             ]
268         ]
269     },
270     {
271         "id": "b526d90b.44e268",
272         "type": "failure",
273         "name": "failure",
274         "xml": "<outcome value='failure'>\n",
275         "comments": "",
276         "outputs": 1,
277         "x": 1416.0000305175781,
278         "y": 456.00011348724365,
279         "z": "758646cf.8567e8",
280         "wires": [
281             [
282                 "f8459ad3.8c2c48"
283             ]
284         ]
285     },
286     {
287         "id": "b94ea3f0.48558",
288         "type": "success",
289         "name": "success",
290         "xml": "<outcome value='success'>\n",
291         "comments": "",
292         "outputs": 1,
293         "x": 1660.0002746582031,
294         "y": 327.0000219345093,
295         "z": "758646cf.8567e8",
296         "wires": [
297             [
298                 "6285d3a5.ab56dc"
299             ]
300         ]
301     },
302     {
303         "id": "94dc60b.42280a",
304         "type": "returnFailure",
305         "name": "return failure",
306         "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\" />",
307         "comments": "",
308         "x": 1576.0006103515625,
309         "y": 563.0000829696655,
310         "z": "758646cf.8567e8",
311         "wires": []
312     },
313     {
314         "id": "6285d3a5.ab56dc",
315         "type": "block",
316         "name": "block",
317         "xml": "<block>\n",
318         "atomic": "false",
319         "comments": "",
320         "outputs": 1,
321         "x": 1809.9998798370361,
322         "y": 291.00005197525024,
323         "z": "758646cf.8567e8",
324         "wires": [
325             [
326                 "5db65a6d.9f3e14",
327                 "ca2d2c79.f3d44",
328                 "3c595f87.c89d7",
329                 "f44c6a04.7c7928"
330             ]
331         ]
332     },
333     {
334         "id": "5db65a6d.9f3e14",
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=\"Details of A1 Policy Instance \"/>\n<parameter name=\"field2\" value=\"`$a1MediatorRsp.httpResponse`\"/>",
338         "comments": "",
339         "outputs": 1,
340         "x": 1976,
341         "y": 158,
342         "z": "758646cf.8567e8",
343         "wires": [
344             []
345         ]
346     },
347     {
348         "id": "6164d8bd.4d3918",
349         "type": "block",
350         "name": "DMAAP Reponse Publish",
351         "xml": "<block atomic='true'>",
352         "atomic": "true",
353         "comments": "",
354         "outputs": 1,
355         "x": 1946.0001220703125,
356         "y": 660.0001516342163,
357         "z": "758646cf.8567e8",
358         "wires": [
359             [
360                 "e185025b.25cad",
361                 "ad621b23.b3ace8",
362                 "3610d471.52412c"
363             ]
364         ]
365     },
366     {
367         "id": "ad621b23.b3ace8",
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": 2295.0003204345703,
374         "y": 837.9995563030243,
375         "z": "758646cf.8567e8",
376         "wires": [
377             [
378                 "b4fb73f0.839e1",
379                 "44c81024.27ce2"
380             ]
381         ]
382     },
383     {
384         "id": "e185025b.25cad",
385         "type": "set",
386         "name": "set",
387         "xml": "<set>\n<parameter name='tmp.a1-adapter-api.rpc-name' value='getPolicyInstance'/>\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='`$tmp.a1-mediator-restapi.payload`' />",
388         "comments": "",
389         "x": 2284.667037963867,
390         "y": 629.0001125335693,
391         "z": "758646cf.8567e8",
392         "wires": []
393     },
394     {
395         "id": "b4fb73f0.839e1",
396         "type": "failure",
397         "name": "failure",
398         "xml": "<outcome value='failure'>\n",
399         "comments": "",
400         "outputs": 1,
401         "x": 2510.5002059936523,
402         "y": 760.9168601036072,
403         "z": "758646cf.8567e8",
404         "wires": [
405             [
406                 "8e7ce8fd.116958"
407             ]
408         ]
409     },
410     {
411         "id": "44c81024.27ce2",
412         "type": "success",
413         "name": "success",
414         "xml": "<outcome value='success'>\n",
415         "comments": "",
416         "outputs": 1,
417         "x": 2514.5001258850098,
418         "y": 899.916702747345,
419         "z": "758646cf.8567e8",
420         "wires": [
421             [
422                 "b83226f6.1f4ac8"
423             ]
424         ]
425     },
426     {
427         "id": "8e7ce8fd.116958",
428         "type": "block",
429         "name": "block",
430         "xml": "<block>\n",
431         "atomic": "false",
432         "comments": "",
433         "outputs": 1,
434         "x": 2670.5000400543213,
435         "y": 762.9168610572815,
436         "z": "758646cf.8567e8",
437         "wires": [
438             [
439                 "4ca5110c.d6744"
440             ]
441         ]
442     },
443     {
444         "id": "4ca5110c.d6744",
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": 2852.499771118164,
450         "y": 753.9169368743896,
451         "z": "758646cf.8567e8",
452         "wires": []
453     },
454     {
455         "id": "b83226f6.1f4ac8",
456         "type": "block",
457         "name": "block",
458         "xml": "<block>\n",
459         "atomic": "false",
460         "comments": "",
461         "outputs": 1,
462         "x": 2697.4997692108154,
463         "y": 892.916811466217,
464         "z": "758646cf.8567e8",
465         "wires": [
466             [
467                 "b666dc86.2cbb5"
468             ]
469         ]
470     },
471     {
472         "id": "b666dc86.2cbb5",
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": 2883.4999237060547,
479         "y": 880.9171352386475,
480         "z": "758646cf.8567e8",
481         "wires": [
482             []
483         ]
484     },
485     {
486         "id": "3610d471.52412c",
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": 2293.500259399414,
493         "y": 720.4550924301147,
494         "z": "758646cf.8567e8",
495         "wires": [
496             []
497         ]
498     },
499     {
500         "id": "d08cdaa2.2497e8",
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": 1361.0001525878906,
506         "y": 545.0000214576721,
507         "z": "758646cf.8567e8",
508         "wires": []
509     },
510     {
511         "id": "47937742.d68258",
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": 1735.753963470459,
517         "y": 392.00389766693115,
518         "z": "758646cf.8567e8",
519         "wires": []
520     },
521     {
522         "id": "27fa4f62.a357e",
523         "type": "block",
524         "name": "block",
525         "xml": "<block>\n",
526         "atomic": "false",
527         "comments": "",
528         "outputs": 1,
529         "x": 701.7538948059082,
530         "y": 802.0039358139038,
531         "z": "758646cf.8567e8",
532         "wires": [
533             [
534                 "b67da5ac.72ddb8",
535                 "6164d8bd.4d3918"
536             ]
537         ]
538     },
539     {
540         "id": "b67da5ac.72ddb8",
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='getPolicyInstance executed successfully'/>\n<parameter name='ack-final' value='Y'/>\n",
544         "comments": "",
545         "x": 851.7539386749268,
546         "y": 884.0039052963257,
547         "z": "758646cf.8567e8",
548         "wires": []
549     },
550     {
551         "id": "f8459ad3.8c2c48",
552         "type": "block",
553         "name": "block",
554         "xml": "<block>\n",
555         "atomic": "false",
556         "comments": "",
557         "outputs": 1,
558         "x": 1562.0038719177246,
559         "y": 459.0039281845093,
560         "z": "758646cf.8567e8",
561         "wires": [
562             [
563                 "47937742.d68258",
564                 "6164d8bd.4d3918",
565                 "94dc60b.42280a"
566             ]
567         ]
568     },
569     {
570         "id": "da836929.9c5f78",
571         "type": "execute",
572         "name": "generate A1 Mediator URL 1",
573         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.policy`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.policyinstance-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": 1491.0003356933594,
577         "y": 205.9999988079071,
578         "z": "758646cf.8567e8",
579         "wires": [
580             []
581         ]
582     },
583     {
584         "id": "c1d4adc6.62ca2",
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 Instance.\"/>\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.policy-instance-id`\"/>\n<parameter name=\"field5\" value=\"`$tmp.restapi.policyinstance-url`\"/>",
588         "comments": "",
589         "outputs": 1,
590         "x": 1438.0007286071777,
591         "y": 295.87860012054443,
592         "z": "758646cf.8567e8",
593         "wires": [
594             []
595         ]
596     },
597     {
598         "id": "ebc97fe1.51a3a",
599         "type": "execute",
600         "name": "generate A1 Mediator URL 2",
601         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.policyinstance-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.policyinstance-url\"/>\n    <parameter name=\"target\" value=\"{policy_instance_id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.policy-instance-id`\"/>\n",
602         "comments": "",
603         "outputs": 1,
604         "x": 1497.2499694824219,
605         "y": 254.00000619888306,
606         "z": "758646cf.8567e8",
607         "wires": [
608             []
609         ]
610     },
611     {
612         "id": "bb49c2bd.dc0af",
613         "type": "success",
614         "name": "success",
615         "xml": "<outcome value='success'>\n",
616         "comments": "",
617         "outputs": 1,
618         "x": 2249.500244140625,
619         "y": 261.99993896484375,
620         "z": "758646cf.8567e8",
621         "wires": [
622             [
623                 "fbebe673.4fde58"
624             ]
625         ]
626     },
627     {
628         "id": "fbebe673.4fde58",
629         "type": "block",
630         "name": "block : atomic",
631         "xml": "<block atomic='true'>",
632         "atomic": "true",
633         "comments": "",
634         "outputs": 1,
635         "x": 2413.50048828125,
636         "y": 252.99996948242188,
637         "z": "758646cf.8567e8",
638         "wires": [
639             [
640                 "eda3df5a.16141"
641             ]
642         ]
643     },
644     {
645         "id": "eda3df5a.16141",
646         "type": "record",
647         "name": "record",
648         "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=\"Redndred template with lines removed \\r\"/>\n<parameter name='field3' value='`$tmp.a1-mediator-restapi.payload`' />",
649         "comments": "",
650         "outputs": 1,
651         "x": 2566.500244140625,
652         "y": 253.99993896484375,
653         "z": "758646cf.8567e8",
654         "wires": [
655             []
656         ]
657     },
658     {
659         "id": "52187a89.4e78f4",
660         "type": "failure",
661         "name": "failure",
662         "xml": "<outcome value='failure'>\n",
663         "comments": "",
664         "outputs": 1,
665         "x": 2234.500244140625,
666         "y": 357.9999694824219,
667         "z": "758646cf.8567e8",
668         "wires": [
669             [
670                 "c30420f9.bcb1a"
671             ]
672         ]
673     },
674     {
675         "id": "c30420f9.bcb1a",
676         "type": "block",
677         "name": "block",
678         "xml": "<block>\n",
679         "atomic": "false",
680         "comments": "",
681         "outputs": 1,
682         "x": 2398.5,
683         "y": 357.9999694824219,
684         "z": "758646cf.8567e8",
685         "wires": [
686             []
687         ]
688     },
689     {
690         "id": "ca2d2c79.f3d44",
691         "type": "execute",
692         "name": "remove new lines",
693         "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.payload\"/>\n    <parameter name=\"target\" value=\"\\n\"/>\n    <parameter name=\"replacement\" value=\"\"/>\n",
694         "comments": "",
695         "outputs": 1,
696         "x": 2021,
697         "y": 233,
698         "z": "758646cf.8567e8",
699         "wires": [
700             []
701         ]
702     },
703     {
704         "id": "3c595f87.c89d7",
705         "type": "execute",
706         "name": "remove tabs",
707         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n    <parameter name=\"source\" value=\"`$tmp.a1-mediator-restapi.payload`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.a1-mediator-restapi.payload\"/>\n    <parameter name=\"target\" value=\"\\t\"/>\n    <parameter name=\"replacement\" value=\"\"/>",
708         "comments": "",
709         "outputs": 1,
710         "x": 2025,
711         "y": 295,
712         "z": "758646cf.8567e8",
713         "wires": [
714             [
715                 "bb49c2bd.dc0af",
716                 "52187a89.4e78f4"
717             ]
718         ]
719     },
720     {
721         "id": "f44c6a04.7c7928",
722         "type": "execute",
723         "name": "printContext",
724         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/A1-Adapter-getPolicyInstance-specific-context.log' />\n\n\n",
725         "comments": "",
726         "outputs": 1,
727         "x": 1974,
728         "y": 359,
729         "z": "758646cf.8567e8",
730         "wires": [
731             []
732         ]
733     }
734 ]

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use