DG's and Templates for A1 Adapter
[ccsdk/distribution.git] / platform-logic / a1Adapter-api / src / main / json / A1-ADAPTER-API_deletePolicyType.json
1 [
2     {
3         "id": "528161c6.ca5cc",
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": 222.00390625,
12         "y": 126.00390625,
13         "z": "bd2d1622.7875d8",
14         "wires": [
15             [
16                 "570dbd6.b447044"
17             ]
18         ]
19     },
20     {
21         "id": "570dbd6.b447044",
22         "type": "method",
23         "name": "method deletePolicyType",
24         "xml": "<method rpc='deletePolicyType' mode='sync'>\n",
25         "comments": "",
26         "outputs": 1,
27         "x": 285.00391387939453,
28         "y": 249.00391578674316,
29         "z": "bd2d1622.7875d8",
30         "wires": [
31             [
32                 "a960170a.25ddb8"
33             ]
34         ]
35     },
36     {
37         "id": "28f744fe.e4b2dc",
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=\"Delete Policy Type from Near RT RIC ID\"/>\n<parameter name=\"field2\" value=\"`$delete-policy-type-input.near-rt-ric-id`\"/>\n<parameter name=\"field3\" value=\"`$delete-policy-type-input.policy-type-id`\"/>",
41         "comments": "",
42         "outputs": 1,
43         "x": 748.0039215087891,
44         "y": 64.00390481948853,
45         "z": "bd2d1622.7875d8",
46         "wires": [
47             []
48         ]
49     },
50     {
51         "id": "a960170a.25ddb8",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 488.00390625,
59         "y": 200.00390625,
60         "z": "bd2d1622.7875d8",
61         "wires": [
62             [
63                 "28f744fe.e4b2dc",
64                 "bef5d8a0.98d8d8",
65                 "886fc2e2.c002c",
66                 "213c6c30.2b9d94",
67                 "e9d83a7c.da03c8"
68             ]
69         ]
70     },
71     {
72         "id": "47be5f8d.0adad",
73         "type": "dgstart",
74         "name": "DGSTART",
75         "outputs": 1,
76         "x": 155.00390625,
77         "y": 62.00390625,
78         "z": "bd2d1622.7875d8",
79         "wires": [
80             [
81                 "528161c6.ca5cc"
82             ]
83         ]
84     },
85     {
86         "id": "bef5d8a0.98d8d8",
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='deletePolicyType executed successfully' />",
90         "comments": "",
91         "x": 787.0040130615234,
92         "y": 115.00390434265137,
93         "z": "bd2d1622.7875d8",
94         "wires": []
95     },
96     {
97         "id": "886fc2e2.c002c",
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": 787.00390625,
104         "y": 168.00390625,
105         "z": "bd2d1622.7875d8",
106         "wires": [
107             []
108         ]
109     },
110     {
111         "id": "213c6c30.2b9d94",
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": 737.00390625,
118         "y": 224.00390625,
119         "z": "bd2d1622.7875d8",
120         "wires": [
121             [
122                 "e51fb4c1.a78c38",
123                 "e80e3882.d37798"
124             ]
125         ]
126     },
127     {
128         "id": "e80e3882.d37798",
129         "type": "outcome",
130         "name": "Deployed",
131         "xml": "<outcome value='true'>\n",
132         "comments": "",
133         "outputs": 1,
134         "x": 1021.0039520263672,
135         "y": 84.00397157669067,
136         "z": "bd2d1622.7875d8",
137         "wires": [
138             [
139                 "6dd79b4a.5d7ee4"
140             ]
141         ]
142     },
143     {
144         "id": "6dd79b4a.5d7ee4",
145         "type": "block",
146         "name": "block : atomic",
147         "xml": "<block atomic='true'>",
148         "atomic": "true",
149         "comments": "",
150         "outputs": 1,
151         "x": 998.0040016174316,
152         "y": 230.00392389297485,
153         "z": "bd2d1622.7875d8",
154         "wires": [
155             [
156                 "abbff9fc.ef6df8"
157             ]
158         ]
159     },
160     {
161         "id": "e51fb4c1.a78c38",
162         "type": "outcome",
163         "name": "Not Deployed",
164         "xml": "<outcome value='false'>\n",
165         "comments": "",
166         "outputs": 1,
167         "x": 974.0039749145508,
168         "y": 519.0039677619934,
169         "z": "bd2d1622.7875d8",
170         "wires": [
171             [
172                 "d5da56ba.4ea078"
173             ]
174         ]
175     },
176     {
177         "id": "d5da56ba.4ea078",
178         "type": "block",
179         "name": "block",
180         "xml": "<block>\n",
181         "atomic": "false",
182         "comments": "",
183         "outputs": 1,
184         "x": 1189.0040130615234,
185         "y": 648.0039205551147,
186         "z": "bd2d1622.7875d8",
187         "wires": [
188             [
189                 "80281362.5baa8",
190                 "a218740b.e03078",
191                 "44ff6d07.0fa8a4"
192             ]
193         ]
194     },
195     {
196         "id": "80281362.5baa8",
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=\"A1 Mediator Not Deployed. Aborting Policy Delete\" />",
200         "comments": "",
201         "x": 1314.0037689208984,
202         "y": 729.0039050579071,
203         "z": "bd2d1622.7875d8",
204         "wires": []
205     },
206     {
207         "id": "abbff9fc.ef6df8",
208         "type": "block",
209         "name": "A1 Mediator RestAPI Invocation",
210         "xml": "<block atomic='true'>",
211         "atomic": "true",
212         "comments": "",
213         "outputs": 1,
214         "x": 1192.0040130615234,
215         "y": 341.00391072034836,
216         "z": "bd2d1622.7875d8",
217         "wires": [
218             [
219                 "76c6cf0a.1a173",
220                 "59b120e4.f40e1",
221                 "c40bc3d7.346b7",
222                 "960ee141.dd015",
223                 "903b4506.e4f458"
224             ]
225         ]
226     },
227     {
228         "id": "59b120e4.f40e1",
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=\"`$delete-policy-type-input.near-rt-ric-id`\"/>\n<parameter name=\"tmp.policy-type-id\" value=\"`$delete-policy-type-input.policy-type-id`\"/>",
232         "comments": "",
233         "x": 1539.0054321289062,
234         "y": 179.8930459022522,
235         "z": "bd2d1622.7875d8",
236         "wires": []
237     },
238     {
239         "id": "76c6cf0a.1a173",
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 Delete 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": 1454.0040550231934,
246         "y": 333.0039167404175,
247         "z": "bd2d1622.7875d8",
248         "wires": [
249             []
250         ]
251     },
252     {
253         "id": "c40bc3d7.346b7",
254         "type": "execute",
255         "name": "Delete  Policy Type",
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=\"DELETE\"/>\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=\"false\"/>",
257         "comments": "",
258         "outputs": 1,
259         "x": 1482.0045776367188,
260         "y": 405.01428031921387,
261         "z": "bd2d1622.7875d8",
262         "wires": [
263             [
264                 "1d585b60.0cc545",
265                 "359283da.4d5d6c"
266             ]
267         ]
268     },
269     {
270         "id": "1d585b60.0cc545",
271         "type": "failure",
272         "name": "failure",
273         "xml": "<outcome value='failure'>\n",
274         "comments": "",
275         "outputs": 1,
276         "x": 1445.0039367675781,
277         "y": 492.00401973724365,
278         "z": "bd2d1622.7875d8",
279         "wires": [
280             [
281                 "c2e429d5.e069b8"
282             ]
283         ]
284     },
285     {
286         "id": "359283da.4d5d6c",
287         "type": "success",
288         "name": "success",
289         "xml": "<outcome value='success'>\n",
290         "comments": "",
291         "outputs": 1,
292         "x": 1689.0041809082031,
293         "y": 363.0039281845093,
294         "z": "bd2d1622.7875d8",
295         "wires": [
296             [
297                 "42c902a9.e4df7c"
298             ]
299         ]
300     },
301     {
302         "id": "23c85e16.e15d92",
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 Delete Policy. Aborting\" />",
306         "comments": "",
307         "x": 1605.0045166015625,
308         "y": 599.0039892196655,
309         "z": "bd2d1622.7875d8",
310         "wires": []
311     },
312     {
313         "id": "42c902a9.e4df7c",
314         "type": "block",
315         "name": "block",
316         "xml": "<block>\n",
317         "atomic": "false",
318         "comments": "",
319         "outputs": 1,
320         "x": 1839.0037860870361,
321         "y": 327.00395822525024,
322         "z": "bd2d1622.7875d8",
323         "wires": [
324             [
325                 "e5100108.3dca4"
326             ]
327         ]
328     },
329     {
330         "id": "e5100108.3dca4",
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=\"Delete policy type operation executed against A1 Mediator \"/>",
334         "comments": "",
335         "outputs": 1,
336         "x": 2026.0040035247803,
337         "y": 318.0039052963257,
338         "z": "bd2d1622.7875d8",
339         "wires": [
340             []
341         ]
342     },
343     {
344         "id": "a218740b.e03078",
345         "type": "block",
346         "name": "DMAAP Reponse Publish",
347         "xml": "<block atomic='true'>",
348         "atomic": "true",
349         "comments": "",
350         "outputs": 1,
351         "x": 1975.0040283203125,
352         "y": 696.0040578842163,
353         "z": "bd2d1622.7875d8",
354         "wires": [
355             [
356                 "8220447b.8289d8",
357                 "1dba3ab6.471df5",
358                 "942029f7.65a818"
359             ]
360         ]
361     },
362     {
363         "id": "1dba3ab6.471df5",
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": 2324.0042266845703,
370         "y": 874.0034625530243,
371         "z": "bd2d1622.7875d8",
372         "wires": [
373             [
374                 "b33ac859.8eb828",
375                 "b9c18111.fc69a"
376             ]
377         ]
378     },
379     {
380         "id": "8220447b.8289d8",
381         "type": "set",
382         "name": "set",
383         "xml": "<set>\n<parameter name='tmp.a1-adapter-api.rpc-name' value='deletePolicyType'/>\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.670913696289,
386         "y": 670.004056930542,
387         "z": "bd2d1622.7875d8",
388         "wires": []
389     },
390     {
391         "id": "b33ac859.8eb828",
392         "type": "failure",
393         "name": "failure",
394         "xml": "<outcome value='failure'>\n",
395         "comments": "",
396         "outputs": 1,
397         "x": 2539.5041122436523,
398         "y": 796.9207663536072,
399         "z": "bd2d1622.7875d8",
400         "wires": [
401             [
402                 "625161a.b68eea"
403             ]
404         ]
405     },
406     {
407         "id": "b9c18111.fc69a",
408         "type": "success",
409         "name": "success",
410         "xml": "<outcome value='success'>\n",
411         "comments": "",
412         "outputs": 1,
413         "x": 2543.5040321350098,
414         "y": 935.920608997345,
415         "z": "bd2d1622.7875d8",
416         "wires": [
417             [
418                 "3ca9895c.5c6906"
419             ]
420         ]
421     },
422     {
423         "id": "625161a.b68eea",
424         "type": "block",
425         "name": "block",
426         "xml": "<block>\n",
427         "atomic": "false",
428         "comments": "",
429         "outputs": 1,
430         "x": 2699.5039463043213,
431         "y": 798.9207673072815,
432         "z": "bd2d1622.7875d8",
433         "wires": [
434             [
435                 "f57ce8d7.112bf8"
436             ]
437         ]
438     },
439     {
440         "id": "f57ce8d7.112bf8",
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": 2881.503677368164,
446         "y": 789.9208431243896,
447         "z": "bd2d1622.7875d8",
448         "wires": []
449     },
450     {
451         "id": "3ca9895c.5c6906",
452         "type": "block",
453         "name": "block",
454         "xml": "<block>\n",
455         "atomic": "false",
456         "comments": "",
457         "outputs": 1,
458         "x": 2726.5036754608154,
459         "y": 928.920717716217,
460         "z": "bd2d1622.7875d8",
461         "wires": [
462             [
463                 "53f57334.ecf73c"
464             ]
465         ]
466     },
467     {
468         "id": "53f57334.ecf73c",
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": 2913.5039825439453,
475         "y": 918.9210071563721,
476         "z": "bd2d1622.7875d8",
477         "wires": [
478             []
479         ]
480     },
481     {
482         "id": "942029f7.65a818",
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": 2322.504165649414,
489         "y": 756.4589986801147,
490         "z": "bd2d1622.7875d8",
491         "wires": [
492             []
493         ]
494     },
495     {
496         "id": "44ff6d07.0fa8a4",
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": 1394.004238128662,
502         "y": 585.0038967132568,
503         "z": "bd2d1622.7875d8",
504         "wires": []
505     },
506     {
507         "id": "9346d287.a0b54",
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": 1770.7577896118164,
513         "y": 438.00782680511475,
514         "z": "bd2d1622.7875d8",
515         "wires": []
516     },
517     {
518         "id": "e9d83a7c.da03c8",
519         "type": "block",
520         "name": "block",
521         "xml": "<block>\n",
522         "atomic": "false",
523         "comments": "",
524         "outputs": 1,
525         "x": 730.7578010559082,
526         "y": 838.0078420639038,
527         "z": "bd2d1622.7875d8",
528         "wires": [
529             [
530                 "c1eda177.24fc5",
531                 "a218740b.e03078"
532             ]
533         ]
534     },
535     {
536         "id": "c1eda177.24fc5",
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": 880.7578449249268,
542         "y": 920.0078115463257,
543         "z": "bd2d1622.7875d8",
544         "wires": []
545     },
546     {
547         "id": "c2e429d5.e069b8",
548         "type": "block",
549         "name": "block",
550         "xml": "<block>\n",
551         "atomic": "false",
552         "comments": "",
553         "outputs": 1,
554         "x": 1591.0077781677246,
555         "y": 495.0078344345093,
556         "z": "bd2d1622.7875d8",
557         "wires": [
558             [
559                 "9346d287.a0b54",
560                 "a218740b.e03078",
561                 "23c85e16.e15d92"
562             ]
563         ]
564     },
565     {
566         "id": "f4535bee.c15298",
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": 214.00390625,
572         "y": 491.00390625,
573         "z": "bd2d1622.7875d8",
574         "wires": []
575     },
576     {
577         "id": "960ee141.dd015",
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": 1522.0032653808594,
584         "y": 282.12531089782715,
585         "z": "bd2d1622.7875d8",
586         "wires": [
587             []
588         ]
589     },
590     {
591         "id": "46b5244a.8aaaac",
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": 169.0029296875,
598         "y": 664.1148071289062,
599         "z": "bd2d1622.7875d8",
600         "wires": [
601             []
602         ]
603     },
604     {
605         "id": "55b4ff0a.c8ef9",
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": 216.0029296875,
611         "y": 607.1148071289062,
612         "z": "bd2d1622.7875d8",
613         "wires": []
614     },
615     {
616         "id": "903b4506.e4f458",
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 Delete 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": 1458.0038719177246,
623         "y": 231.00391292572021,
624         "z": "bd2d1622.7875d8",
625         "wires": [
626             []
627         ]
628     }
629 ]

© 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