Merge "Fix ansible-server for parsing ouput of executing Ansible playbooks"
[ccsdk/distribution.git] / platform-logic / a1Adapter-api / src / main / json / A1-ADAPTER-API_getPolicyType.json
1 [
2     {
3         "id": "deb6b7ae.432f48",
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": 227.00390625,
12         "y": 105.00390625,
13         "z": "4e8e4e8b.e7eb7",
14         "wires": [
15             [
16                 "42af6ba5.ed05e4"
17             ]
18         ]
19     },
20     {
21         "id": "42af6ba5.ed05e4",
22         "type": "method",
23         "name": "method getPolicyType",
24         "xml": "<method rpc='getPolicyType' mode='sync'>\n",
25         "comments": "",
26         "outputs": 1,
27         "x": 290.00391387939453,
28         "y": 228.00391578674316,
29         "z": "4e8e4e8b.e7eb7",
30         "wires": [
31             [
32                 "7d583e57.3a038"
33             ]
34         ]
35     },
36     {
37         "id": "14acd312.55d52d",
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 Type from Near RT RIC ID\"/>\n<parameter name=\"field2\" value=\"`$get-policy-type-input.near-rt-ric-id`\"/>\n<parameter name=\"field3\" value=\"`$get-policy-type-input.policy-type-id`\"/>",
41         "comments": "",
42         "outputs": 1,
43         "x": 755.0039329528809,
44         "y": 41.003905296325684,
45         "z": "4e8e4e8b.e7eb7",
46         "wires": [
47             []
48         ]
49     },
50     {
51         "id": "7d583e57.3a038",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 493.00390625,
59         "y": 179.00390625,
60         "z": "4e8e4e8b.e7eb7",
61         "wires": [
62             [
63                 "14acd312.55d52d",
64                 "278bea58.810416",
65                 "9f2d6793.a34c08",
66                 "656e0fe4.4c146",
67                 "699ddeff.ea20c"
68             ]
69         ]
70     },
71     {
72         "id": "71079a32.757f84",
73         "type": "dgstart",
74         "name": "DGSTART",
75         "outputs": 1,
76         "x": 160.00390625,
77         "y": 41.00390625,
78         "z": "4e8e4e8b.e7eb7",
79         "wires": [
80             [
81                 "deb6b7ae.432f48"
82             ]
83         ]
84     },
85     {
86         "id": "278bea58.810416",
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='getPolicyTypes executed successfully' />",
90         "comments": "",
91         "x": 792.0040130615234,
92         "y": 94.00390434265137,
93         "z": "4e8e4e8b.e7eb7",
94         "wires": []
95     },
96     {
97         "id": "9f2d6793.a34c08",
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": 792.00390625,
104         "y": 147.00390625,
105         "z": "4e8e4e8b.e7eb7",
106         "wires": [
107             []
108         ]
109     },
110     {
111         "id": "656e0fe4.4c146",
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": 742.00390625,
118         "y": 203.00390625,
119         "z": "4e8e4e8b.e7eb7",
120         "wires": [
121             [
122                 "dca8b30a.68fdc",
123                 "9120c0b9.1ccb5"
124             ]
125         ]
126     },
127     {
128         "id": "9120c0b9.1ccb5",
129         "type": "outcome",
130         "name": "Deployed",
131         "xml": "<outcome value='true'>\n",
132         "comments": "",
133         "outputs": 1,
134         "x": 1026.0039520263672,
135         "y": 63.003971576690674,
136         "z": "4e8e4e8b.e7eb7",
137         "wires": [
138             [
139                 "c8aa8c79.ffc7b"
140             ]
141         ]
142     },
143     {
144         "id": "c8aa8c79.ffc7b",
145         "type": "block",
146         "name": "block : atomic",
147         "xml": "<block atomic='true'>",
148         "atomic": "true",
149         "comments": "",
150         "outputs": 1,
151         "x": 1003.0040016174316,
152         "y": 209.00392389297485,
153         "z": "4e8e4e8b.e7eb7",
154         "wires": [
155             [
156                 "f87feba2.fca948"
157             ]
158         ]
159     },
160     {
161         "id": "dca8b30a.68fdc",
162         "type": "outcome",
163         "name": "Not Deployed",
164         "xml": "<outcome value='false'>\n",
165         "comments": "",
166         "outputs": 1,
167         "x": 979.0039749145508,
168         "y": 498.0039677619934,
169         "z": "4e8e4e8b.e7eb7",
170         "wires": [
171             [
172                 "3f2d9857.202c88"
173             ]
174         ]
175     },
176     {
177         "id": "3f2d9857.202c88",
178         "type": "block",
179         "name": "block",
180         "xml": "<block>\n",
181         "atomic": "false",
182         "comments": "",
183         "outputs": 1,
184         "x": 1194.0040130615234,
185         "y": 627.0039205551147,
186         "z": "4e8e4e8b.e7eb7",
187         "wires": [
188             [
189                 "1628f3ec.4529fc",
190                 "941815be.0e6418",
191                 "af6e494e.eba298"
192             ]
193         ]
194     },
195     {
196         "id": "1628f3ec.4529fc",
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 Type. Aborting\" />",
200         "comments": "",
201         "x": 1319.0037689208984,
202         "y": 708.0039050579071,
203         "z": "4e8e4e8b.e7eb7",
204         "wires": []
205     },
206     {
207         "id": "f87feba2.fca948",
208         "type": "block",
209         "name": "A1 Mediator RestAPI Invocation",
210         "xml": "<block atomic='true'>",
211         "atomic": "true",
212         "comments": "",
213         "outputs": 1,
214         "x": 1197.0040130615234,
215         "y": 320.00391072034836,
216         "z": "4e8e4e8b.e7eb7",
217         "wires": [
218             [
219                 "5d39225d.b5d86c",
220                 "8bcf78cb.a45fa8",
221                 "ec0ff476.077b18",
222                 "adeac94f.c6b478",
223                 "ca2401e.27b07"
224             ]
225         ]
226     },
227     {
228         "id": "8bcf78cb.a45fa8",
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-type-input.near-rt-ric-id`\"/>\n<parameter name=\"tmp.policy-type-id\" value=\"`$get-policy-type-input.policy-type-id`\"/>",
232         "comments": "",
233         "x": 1532.0054016113281,
234         "y": 159.89304208755493,
235         "z": "4e8e4e8b.e7eb7",
236         "wires": []
237     },
238     {
239         "id": "5d39225d.b5d86c",
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 Type.\"/>\n<parameter name=\"field2\" value=\"`$tmp.near-rt-ric-id`\"/>\n<parameter name=\"field3\" value=\"`$tmp.restapi.policytype-url`\"/>",
243         "comments": "",
244         "outputs": 1,
245         "x": 1459.0040550231934,
246         "y": 312.0039167404175,
247         "z": "4e8e4e8b.e7eb7",
248         "wires": [
249             []
250         ]
251     },
252     {
253         "id": "ec0ff476.077b18",
254         "type": "execute",
255         "name": "Get Policy Types",
256         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.a1Mediator.url + '/' + $tmp.restapi.policytype-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": 1486.0045127868652,
260         "y": 383.01427364349365,
261         "z": "4e8e4e8b.e7eb7",
262         "wires": [
263             [
264                 "6449f6f.dddf208",
265                 "d6f09679.a01fe8"
266             ]
267         ]
268     },
269     {
270         "id": "6449f6f.dddf208",
271         "type": "failure",
272         "name": "failure",
273         "xml": "<outcome value='failure'>\n",
274         "comments": "",
275         "outputs": 1,
276         "x": 1450.0039367675781,
277         "y": 471.00401973724365,
278         "z": "4e8e4e8b.e7eb7",
279         "wires": [
280             [
281                 "91104dd5.632de"
282             ]
283         ]
284     },
285     {
286         "id": "d6f09679.a01fe8",
287         "type": "success",
288         "name": "success",
289         "xml": "<outcome value='success'>\n",
290         "comments": "",
291         "outputs": 1,
292         "x": 1694.0041809082031,
293         "y": 342.0039281845093,
294         "z": "4e8e4e8b.e7eb7",
295         "wires": [
296             [
297                 "e81637cc.588ed8"
298             ]
299         ]
300     },
301     {
302         "id": "d8c6f411.0c63d8",
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=\"404\" />\n<parameter name=\"response-message\" value=\"Error in Getting A1 Policy Type. Aborting\" />",
306         "comments": "",
307         "x": 1610.0045166015625,
308         "y": 578.0039892196655,
309         "z": "4e8e4e8b.e7eb7",
310         "wires": []
311     },
312     {
313         "id": "e81637cc.588ed8",
314         "type": "block",
315         "name": "block",
316         "xml": "<block>\n",
317         "atomic": "false",
318         "comments": "",
319         "outputs": 1,
320         "x": 1844.0037860870361,
321         "y": 306.00395822525024,
322         "z": "4e8e4e8b.e7eb7",
323         "wires": [
324             [
325                 "a2df3924.7ce618"
326             ]
327         ]
328     },
329     {
330         "id": "a2df3924.7ce618",
331         "type": "record",
332         "name": "record",
333         "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=\"`$a1MediatorRsp.*`\"/>",
334         "comments": "",
335         "outputs": 1,
336         "x": 2025.00390625,
337         "y": 283.00390911102295,
338         "z": "4e8e4e8b.e7eb7",
339         "wires": [
340             []
341         ]
342     },
343     {
344         "id": "941815be.0e6418",
345         "type": "block",
346         "name": "DMAAP Reponse Publish",
347         "xml": "<block atomic='true'>",
348         "atomic": "true",
349         "comments": "",
350         "outputs": 1,
351         "x": 1980.0040283203125,
352         "y": 675.0040578842163,
353         "z": "4e8e4e8b.e7eb7",
354         "wires": [
355             [
356                 "1211b972.fe3cf7",
357                 "3f01de14.4ed1b2",
358                 "ffe957f0.991a38"
359             ]
360         ]
361     },
362     {
363         "id": "3f01de14.4ed1b2",
364         "type": "execute",
365         "name": "execute DmaapMsg",
366         "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' />",
367         "comments": "",
368         "outputs": 1,
369         "x": 2329.0042266845703,
370         "y": 853.0034625530243,
371         "z": "4e8e4e8b.e7eb7",
372         "wires": [
373             [
374                 "a14ff319.1db5f",
375                 "1fd03359.fc712d"
376             ]
377         ]
378     },
379     {
380         "id": "1211b972.fe3cf7",
381         "type": "set",
382         "name": "set",
383         "xml": "<set>\n<parameter name='tmp.a1-adapter-api.rpc-name' value='getPolicyType'/>\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=\"Working On it\" />",
384         "comments": "",
385         "x": 2318.670944213867,
386         "y": 644.0040187835693,
387         "z": "4e8e4e8b.e7eb7",
388         "wires": []
389     },
390     {
391         "id": "a14ff319.1db5f",
392         "type": "failure",
393         "name": "failure",
394         "xml": "<outcome value='failure'>\n",
395         "comments": "",
396         "outputs": 1,
397         "x": 2544.5041122436523,
398         "y": 775.9207663536072,
399         "z": "4e8e4e8b.e7eb7",
400         "wires": [
401             [
402                 "1c603946.e2ec57"
403             ]
404         ]
405     },
406     {
407         "id": "1fd03359.fc712d",
408         "type": "success",
409         "name": "success",
410         "xml": "<outcome value='success'>\n",
411         "comments": "",
412         "outputs": 1,
413         "x": 2548.5040321350098,
414         "y": 914.920608997345,
415         "z": "4e8e4e8b.e7eb7",
416         "wires": [
417             [
418                 "f06f4733.197198"
419             ]
420         ]
421     },
422     {
423         "id": "1c603946.e2ec57",
424         "type": "block",
425         "name": "block",
426         "xml": "<block>\n",
427         "atomic": "false",
428         "comments": "",
429         "outputs": 1,
430         "x": 2704.5039463043213,
431         "y": 777.9207673072815,
432         "z": "4e8e4e8b.e7eb7",
433         "wires": [
434             [
435                 "758bbaed.01d694"
436             ]
437         ]
438     },
439     {
440         "id": "758bbaed.01d694",
441         "type": "returnFailure",
442         "name": "return failure",
443         "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. \" />",
444         "comments": "",
445         "x": 2886.503677368164,
446         "y": 768.9208431243896,
447         "z": "4e8e4e8b.e7eb7",
448         "wires": []
449     },
450     {
451         "id": "f06f4733.197198",
452         "type": "block",
453         "name": "block",
454         "xml": "<block>\n",
455         "atomic": "false",
456         "comments": "",
457         "outputs": 1,
458         "x": 2731.5036754608154,
459         "y": 907.920717716217,
460         "z": "4e8e4e8b.e7eb7",
461         "wires": [
462             [
463                 "f7ca92e4.64915"
464             ]
465         ]
466     },
467     {
468         "id": "f7ca92e4.64915",
469         "type": "record",
470         "name": "record",
471         "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 \"/>",
472         "comments": "",
473         "outputs": 1,
474         "x": 2917.5038299560547,
475         "y": 895.9210414886475,
476         "z": "4e8e4e8b.e7eb7",
477         "wires": [
478             []
479         ]
480     },
481     {
482         "id": "ffe957f0.991a38",
483         "type": "record",
484         "name": "record",
485         "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`\" />",
486         "comments": "",
487         "outputs": 1,
488         "x": 2327.504165649414,
489         "y": 735.4589986801147,
490         "z": "4e8e4e8b.e7eb7",
491         "wires": [
492             []
493         ]
494     },
495     {
496         "id": "af6e494e.eba298",
497         "type": "set",
498         "name": "set",
499         "xml": "<set>\n<parameter name='response-code' value='500'/>\n<parameter name='response-message' value='A1 Mediator Not Deployed'/>\n",
500         "comments": "",
501         "x": 1397.0041275024414,
502         "y": 561.0039281845093,
503         "z": "4e8e4e8b.e7eb7",
504         "wires": []
505     },
506     {
507         "id": "b95a43d4.018fc",
508         "type": "set",
509         "name": "set",
510         "xml": "<set>\n<parameter name='response-code' value='500'/>\n<parameter name='response-message' value='Seems A1 Mediator Not Healthy'/>\n",
511         "comments": "",
512         "x": 1773.7578506469727,
513         "y": 411.00782680511475,
514         "z": "4e8e4e8b.e7eb7",
515         "wires": []
516     },
517     {
518         "id": "699ddeff.ea20c",
519         "type": "block",
520         "name": "block",
521         "xml": "<block>\n",
522         "atomic": "false",
523         "comments": "",
524         "outputs": 1,
525         "x": 735.7578010559082,
526         "y": 817.0078420639038,
527         "z": "4e8e4e8b.e7eb7",
528         "wires": [
529             [
530                 "12f7b185.4d91ee",
531                 "941815be.0e6418"
532             ]
533         ]
534     },
535     {
536         "id": "12f7b185.4d91ee",
537         "type": "returnSuccess",
538         "name": "return success",
539         "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",
540         "comments": "",
541         "x": 885.7578449249268,
542         "y": 899.0078115463257,
543         "z": "4e8e4e8b.e7eb7",
544         "wires": []
545     },
546     {
547         "id": "91104dd5.632de",
548         "type": "block",
549         "name": "block",
550         "xml": "<block>\n",
551         "atomic": "false",
552         "comments": "",
553         "outputs": 1,
554         "x": 1598.0078468322754,
555         "y": 477.0078339576721,
556         "z": "4e8e4e8b.e7eb7",
557         "wires": [
558             [
559                 "b95a43d4.018fc",
560                 "941815be.0e6418",
561                 "d8c6f411.0c63d8"
562             ]
563         ]
564     },
565     {
566         "id": "9b40ce31.b3a69",
567         "type": "set",
568         "name": "set tmp variables for input RPC parms",
569         "xml": "<set>\n<parameter name=\"tmp.near-rt-ric-id\" value=\"`$create-policy-type-input.near-rt-ric-id`\"/>\n<parameter name=\"tmp.policy-type-id\" value=\"`$create-policy-type-input.policy-type-id`\"/>\n<parameter name=\"tmp.name\" value=\"`$create-policy-type-input.name`\"/>\n<parameter name=\"tmp.description\" value=\"`$create-policy-type-input.description`\"/>",
570         "comments": "",
571         "x": 219.00390625,
572         "y": 470.00390625,
573         "z": "4e8e4e8b.e7eb7",
574         "wires": []
575     },
576     {
577         "id": "adeac94f.c6b478",
578         "type": "execute",
579         "name": "generate A1 Mediator URL",
580         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.policytype`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.policytype-url\"/>\n    <parameter name=\"target\" value=\"{policy_type_id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.policy-type-id`\"/>",
581         "comments": "",
582         "outputs": 1,
583         "x": 1527.0033569335938,
584         "y": 259.12530422210693,
585         "z": "4e8e4e8b.e7eb7",
586         "wires": [
587             []
588         ]
589     },
590     {
591         "id": "a2adb928.6c9c98",
592         "type": "record",
593         "name": "record",
594         "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 Create Policy Type.\"/>\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.name`\"/>\n<parameter name=\"field5\" value=\"`$tmp.restapi.policytype-url`\"/>\n<parameter name=\"field6\" value=\"`$a1-mediator.restapi-payload`\"/>\n<parameter name=\"field7\" value=\"Temporary A1 Mediatory Payload\"/>\n<parameter name=\"field8\" value=\"`$tmp.a1-mediator-restapi.payload`\"/>",
595         "comments": "",
596         "outputs": 1,
597         "x": 174.0029296875,
598         "y": 643.1148071289062,
599         "z": "4e8e4e8b.e7eb7",
600         "wires": [
601             []
602         ]
603     },
604     {
605         "id": "a095d160.04b79",
606         "type": "set",
607         "name": "set A1Mediator payload manually",
608         "xml": "<set>\n<parameter name=\"tmp.a1-mediator-restapi.payload\" value='{\"blocking_rate\": 20,\"enforce\": true,\"trigger_threshold\": 10,\"window_length\": 10}'/>",
609         "comments": "",
610         "x": 221.0029296875,
611         "y": 586.1148071289062,
612         "z": "4e8e4e8b.e7eb7",
613         "wires": []
614     },
615     {
616         "id": "ca2401e.27b07",
617         "type": "record",
618         "name": "record",
619         "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-id`\"/>\n<parameter name=\"field3\" value=\"`$tmp.policy-type-id`\"/>",
620         "comments": "",
621         "outputs": 1,
622         "x": 1463.0038719177246,
623         "y": 210.00391292572021,
624         "z": "4e8e4e8b.e7eb7",
625         "wires": [
626             []
627         ]
628     }
629 ]