Add ACM regression test suite
[policy/docker.git] / policy-regression-tests / policy-clamp-regression / src / test / resources / data / acelement-usecase1.json
1 {
2   "tosca_definitions_version": "tosca_simple_yaml_1_3",
3   "data_types": {
4     "onap.datatypes.ToscaConceptIdentifier": {
5       "derived_from": "tosca.datatypes.Root",
6       "properties": {
7         "name": {
8           "type": "string",
9           "required": true
10         },
11         "version": {
12           "type": "string",
13           "required": true
14         }
15       }
16     },
17     "onap.datatypes.native.apex.EngineService": {
18       "derived_from": "tosca.datatypes.Root",
19       "properties": {
20         "name": {
21           "type": "string",
22           "description": "Specifies the engine name",
23           "required": false,
24           "default": "ApexEngineService"
25         },
26         "version": {
27           "type": "string",
28           "description": "Specifies the engine version in double dotted format",
29           "required": false,
30           "default": "1.0.0"
31         },
32         "id": {
33           "type": "integer",
34           "description": "Specifies the engine id",
35           "required": true
36         },
37         "instance_count": {
38           "type": "integer",
39           "description": "Specifies the number of engine threads that should be run",
40           "required": true
41         },
42         "deployment_port": {
43           "type": "integer",
44           "description": "Specifies the port to connect to for engine administration",
45           "required": false,
46           "default": 1
47         },
48         "policy_model_file_name": {
49           "type": "string",
50           "description": "The name of the file from which to read the APEX policy model",
51           "required": false
52         },
53         "policy_type_impl": {
54           "type": "string",
55           "description": "The policy type implementation from which to read the APEX policy model",
56           "required": false
57         },
58         "periodic_event_period": {
59           "type": "string",
60           "description": "The time interval in milliseconds for the periodic scanning event, 0 means don't scan",
61           "required": false
62         },
63         "engine": {
64           "type": "onap.datatypes.native.apex.engineservice.Engine",
65           "description": "The parameters for all engines in the APEX engine service",
66           "required": true
67         }
68       }
69     },
70     "onap.datatypes.native.apex.EventHandler": {
71       "derived_from": "tosca.datatypes.Root",
72       "properties": {
73         "name": {
74           "type": "string",
75           "description": "Specifies the event handler name, if not specified this is set to the key name",
76           "required": false
77         },
78         "carrier_technology": {
79           "type": "onap.datatypes.native.apex.CarrierTechnology",
80           "description": "Specifies the carrier technology of the event handler (such as REST/Web Socket/Kafka)",
81           "required": true
82         },
83         "event_protocol": {
84           "type": "onap.datatypes.native.apex.EventProtocol",
85           "description": "Specifies the event protocol of events for the event handler (such as Yaml/JSON/XML/POJO)",
86           "required": true
87         },
88         "event_name": {
89           "type": "string",
90           "description": "Specifies the event name for events on this event handler, if not specified, the event name is read from or written to the event being received or sent",
91           "required": false
92         },
93         "event_name_filter": {
94           "type": "string",
95           "description": "Specifies a filter as a regular expression, events that do not match the filter are dropped, the default is to let all events through",
96           "required": false
97         },
98         "synchronous_mode": {
99           "type": "boolean",
100           "description": "Specifies the event handler is syncronous (receive event and send response)",
101           "required": false,
102           "default": false
103         },
104         "synchronous_peer": {
105           "type": "string",
106           "description": "The peer event handler (output for input or input for output) of this event handler in synchronous mode, this parameter is mandatory if the event handler is in synchronous mode",
107           "required": false
108         },
109         "synchronous_timeout": {
110           "type": "integer",
111           "description": "The timeout in milliseconds for responses to be issued by APEX torequests, this parameter is mandatory if the event handler is in synchronous mode",
112           "required": false
113         },
114         "requestor_mode": {
115           "type": "boolean",
116           "description": "Specifies the event handler is in requestor mode (send event and wait for response mode)",
117           "required": false,
118           "default": false
119         },
120         "requestor_peer": {
121           "type": "string",
122           "description": "The peer event handler (output for input or input for output) of this event handler in requestor mode, this parameter is mandatory if the event handler is in requestor mode",
123           "required": false
124         },
125         "requestor_timeout": {
126           "type": "integer",
127           "description": "The timeout in milliseconds for wait for responses to requests, this parameter is mandatory if the event handler is in requestor mode",
128           "required": false
129         }
130       }
131     },
132     "onap.datatypes.native.apex.CarrierTechnology": {
133       "derived_from": "tosca.datatypes.Root",
134       "properties": {
135         "label": {
136           "type": "string",
137           "description": "The label (name) of the carrier technology (such as REST, Kafka, WebSocket)",
138           "required": true
139         },
140         "plugin_parameter_class_name": {
141           "type": "string",
142           "description": "The class name of the class that overrides default handling of event input or output for this carrier technology, defaults to the supplied input or output class",
143           "required": false
144         }
145       }
146     },
147     "onap.datatypes.native.apex.EventProtocol": {
148       "derived_from": "tosca.datatypes.Root",
149       "properties": {
150         "label": {
151           "type": "string",
152           "description": "The label (name) of the event protocol (such as Yaml, JSON, XML, or POJO)",
153           "required": true
154         },
155         "event_protocol_plugin_class": {
156           "type": "string",
157           "description": "The class name of the class that overrides default handling of the event protocol for this carrier technology, defaults to the supplied event protocol class",
158           "required": false
159         }
160       }
161     },
162     "onap.datatypes.native.apex.Environment": {
163       "derived_from": "tosca.datatypes.Root",
164       "properties": {
165         "name": {
166           "type": "string",
167           "description": "The name of the environment variable",
168           "required": true
169         },
170         "value": {
171           "type": "string",
172           "description": "The value of the environment variable",
173           "required": true
174         }
175       }
176     },
177     "onap.datatypes.native.apex.engineservice.Engine": {
178       "derived_from": "tosca.datatypes.Root",
179       "properties": {
180         "context": {
181           "type": "onap.datatypes.native.apex.engineservice.engine.Context",
182           "description": "The properties for handling context in APEX engines, defaults to using Java maps for context",
183           "required": false
184         },
185         "executors": {
186           "type": "map",
187           "description": "The plugins for policy executors used in engines such as javascript, MVEL, Jython",
188           "required": true,
189           "entry_schema": {
190             "description": "The plugin class path for this policy executor",
191             "type": "string"
192           }
193         }
194       }
195     },
196     "onap.datatypes.native.apex.engineservice.engine.Context": {
197       "derived_from": "tosca.datatypes.Root",
198       "properties": {
199         "distributor": {
200           "type": "onap.datatypes.native.apex.Plugin",
201           "description": "The plugin to be used for distributing context between APEX PDPs at runtime",
202           "required": false
203         },
204         "schemas": {
205           "type": "map",
206           "description": "The plugins for context schemas available in APEX PDPs such as Java and Avro",
207           "required": false,
208           "entry_schema": {
209             "type": "onap.datatypes.native.apex.Plugin"
210           }
211         },
212         "locking": {
213           "type": "onap.datatypes.native.apex.Plugin",
214           "description": "The plugin to be used for locking context in and between APEX PDPs at runtime",
215           "required": false
216         },
217         "persistence": {
218           "type": "onap.datatypes.native.apex.Plugin",
219           "description": "The plugin to be used for persisting context for APEX PDPs at runtime",
220           "required": false
221         }
222       }
223     },
224     "onap.datatypes.native.apex.Plugin": {
225       "derived_from": "tosca.datatypes.Root",
226       "properties": {
227         "name": {
228           "type": "string",
229           "description": "The name of the executor such as Javascript, Jython or MVEL",
230           "required": true
231         },
232         "plugin_class_name": {
233           "type": "string",
234           "description": "The class path of the plugin class for this executor"
235         }
236       }
237     },
238     "org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest": {
239       "version": "1.0.0",
240       "derived_from": "tosca.datatypes.Root",
241       "properties": {
242         "restRequestId": {
243           "type": "onap.datatypes.ToscaConceptIdentifier",
244           "required": true,
245           "description": "The name and version of a REST request to be sent to a REST endpoint"
246         },
247         "httpMethod": {
248           "type": "string",
249           "required": true,
250           "constraints": [
251             {
252               "valid_values": [
253                 "POST",
254                 "PUT",
255                 "GET",
256                 "DELETE"
257               ]
258             }
259           ],
260           "description": "The REST method to use"
261         },
262         "path": {
263           "type": "string",
264           "required": true,
265           "description": "The path of the REST request relative to the base URL"
266         },
267         "body": {
268           "type": "string",
269           "required": false,
270           "description": "The body of the REST request for PUT and POST requests"
271         },
272         "expectedResponse": {
273           "type": "integer",
274           "required": true,
275           "constraints": [],
276           "description": "THe expected HTTP status code for the REST request"
277         }
278       }
279     },
280     "org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity": {
281       "version": "1.0.0",
282       "derived_from": "tosca.datatypes.Root",
283       "properties": {
284         "configurationEntityId": {
285           "type": "onap.datatypes.ToscaConceptIdentifier",
286           "required": true,
287           "description": "The name and version of a Configuration Entity to be handled by the HTTP Automation Composition Element"
288         },
289         "restSequence": {
290           "type": "list",
291           "entry_schema": {
292             "type": "org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest",
293             "type_version": "1.0.0"
294           },
295           "description": "A sequence of REST commands to send to the REST endpoint"
296         }
297       }
298     }
299   },
300   "policy_types": {
301     "onap.policies.Native": {
302       "derived_from": "tosca.policies.Root",
303       "description": "a base policy type for all native PDP policies",
304       "version": "1.0.0",
305       "name": "onap.policies.Native"
306     },
307     "onap.policies.native.Apex": {
308       "derived_from": "onap.policies.Native",
309       "description": "a policy type for native apex policies",
310       "version": "1.0.0",
311       "name": "onap.policies.native.Apex",
312       "properties": {
313         "engine_service": {
314           "type": "onap.datatypes.native.apex.EngineService",
315           "description": "APEX Engine Service Parameters"
316         },
317         "inputs": {
318           "type": "map",
319           "description": "Inputs for handling events coming into the APEX engine",
320           "entry_schema": {
321             "type": "onap.datatypes.native.apex.EventHandler"
322           }
323         },
324         "outputs": {
325           "type": "map",
326           "description": "Outputs for handling events going out of the APEX engine",
327           "entry_schema": {
328             "type": "onap.datatypes.native.apex.EventHandler"
329           }
330         },
331         "environment": {
332           "type": "list",
333           "description": "Envioronmental parameters for the APEX engine",
334           "entry_schema": {
335             "type": "onap.datatypes.native.apex.Environment"
336           }
337         }
338       }
339     }
340   },
341   "node_types": {
342     "org.onap.policy.clamp.acm.Participant": {
343       "version": "1.0.1",
344       "derived_from": "tosca.nodetypes.Root",
345       "properties": {
346         "provider": {
347           "type": "string",
348           "required": false
349         }
350       }
351     },
352     "org.onap.policy.clamp.acm.AutomationCompositionElement": {
353       "version": "1.0.1",
354       "derived_from": "tosca.nodetypes.Root",
355       "properties": {
356         "provider": {
357           "type": "string",
358           "required": false,
359           "metadata": {
360             "common": true
361           },
362           "description": "Specifies the organization that provides the automation composition element"
363         },
364         "startPhase": {
365           "type": "integer",
366           "required": false,
367           "constraints": [
368             {
369               "greater_or_equal": 0
370             }
371           ],
372           "metadata": {
373             "common": true
374           },
375           "description": "A value indicating the start phase in which this automation composition element will be started, the first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped in reverse start phase order. Automation Composition Elements with the same start phase are started and stopped simultaneously"
376         },
377         "uninitializedToPassiveTimeout": {
378           "type": "integer",
379           "required": false,
380           "constraints": [
381             {
382               "greater_or_equal": 0
383             }
384           ],
385           "default": 60,
386           "metadata": {
387             "common": true
388           },
389           "description": "The maximum time in seconds to wait for a state chage from uninitialized to passive"
390         },
391         "passiveToRunningTimeout": {
392           "type": "integer",
393           "required": false,
394           "constraints": [
395             {
396               "greater_or_equal": 0
397             }
398           ],
399           "default": 60,
400           "metadata": {
401             "common": true
402           },
403           "description": "The maximum time in seconds to wait for a state chage from passive to running"
404         },
405         "runningToPassiveTimeout": {
406           "type": "integer",
407           "required": false,
408           "constraints": [
409             {
410               "greater_or_equal": 0
411             }
412           ],
413           "default": 60,
414           "metadata": {
415             "common": true
416           },
417           "description": "The maximum time in seconds to wait for a state chage from running to passive"
418         },
419         "passiveToUninitializedTimeout": {
420           "type": "integer",
421           "required": false,
422           "constraints": [
423             {
424               "greater_or_equal": 0
425             }
426           ],
427           "default": 60,
428           "metadata": {
429             "common": true
430           },
431           "description": "The maximum time in seconds to wait for a state chage from passive to uninitialized"
432         }
433       }
434     },
435     "org.onap.policy.clamp.acm.AutomationComposition": {
436       "version": "1.0.1",
437       "derived_from": "tosca.nodetypes.Root",
438       "properties": {
439         "provider": {
440           "type": "string",
441           "required": false,
442           "metadata": {
443             "common": true
444           },
445           "description": "Specifies the organization that provides the automation composition element"
446         },
447         "elements": {
448           "type": "list",
449           "required": true,
450           "metadata": {
451             "common": true
452           },
453           "entry_schema": {
454             "type": "onap.datatypes.ToscaConceptIdentifier"
455           },
456           "description": "Specifies a list of automation composition element definitions that make up this automation composition definition"
457         }
458       }
459     },
460     "org.onap.policy.clamp.acm.PolicyAutomationCompositionElement": {
461       "version": "1.0.0",
462       "derived_from": "org.onap.policy.clamp.acm.AutomationCompositionElement",
463       "properties": {
464         "policy_type_id": {
465           "type": "onap.datatypes.ToscaConceptIdentifier",
466           "required": true
467         },
468         "policy_id": {
469           "type": "onap.datatypes.ToscaConceptIdentifier",
470           "required": false
471         }
472       }
473     },
474     "org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement": {
475       "version": "1.0.0",
476       "derived_from": "org.onap.policy.clamp.acm.AutomationCompositionElement",
477       "properties": {
478         "chart": {
479           "type": "string",
480           "required": true
481         },
482         "configs": {
483           "type": "list",
484           "required": false
485         },
486         "requirements": {
487           "type": "string",
488           "required": false
489         },
490         "templates": {
491           "type": "list",
492           "required": false,
493           "entry_schema": null
494         },
495         "values": {
496           "type": "string",
497           "required": true
498         }
499       }
500     },
501     "org.onap.policy.clamp.acm.HttpAutomationCompositionElement": {
502       "version": "1.0.0",
503       "derived_from": "org.onap.policy.clamp.acm.AutomationCompositionElement",
504       "properties": {
505         "baseUrl": {
506           "type": "string",
507           "required": true,
508           "description": "The base URL to be prepended to each path, identifies the host for the REST endpoints."
509         },
510         "httpHeaders": {
511           "type": "map",
512           "required": false,
513           "entry_schema": {
514             "type": "string"
515           },
516           "description": "HTTP headers to send on REST requests"
517         },
518         "configurationEntities": {
519           "type": "map",
520           "required": true,
521           "entry_schema": {
522             "type": "org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity",
523             "type_version": "1.0.0"
524           },
525           "description": "The connfiguration entities the Automation Composition Element is managing and their associated REST requests"
526         }
527       }
528     }
529   },
530   "topology_template": {
531     "inputs": {
532       "acm_element_policy": {
533         "type": "onap.datatypes.ToscaConceptIdentifier",
534         "description": "The ID of the operational policy to use",
535         "default": {
536           "name": "onap.policies.native.apex.ac.element",
537           "version": "1.0.0"
538         }
539       }
540     },
541     "node_templates": {
542       "org.onap.policy.clamp.acm.PolicyParticipant": {
543         "version": "2.3.1",
544         "type": "org.onap.policy.clamp.acm.Participant",
545         "type_version": "1.0.1",
546         "description": "Participant for Policy microservices",
547         "properties": {
548           "provider": "ONAP"
549         }
550       },
551       "onap.policy.clamp.ac.element.Policy_AutomationCompositionElement": {
552         "version": "1.2.3",
553         "type": "org.onap.policy.clamp.acm.PolicyAutomationCompositionElement",
554         "type_version": "1.0.0",
555         "description": "Automation composition element for the operational policy for Performance Management Subscription Handling",
556         "properties": {
557           "provider": "Ericsson",
558           "startPhase": 0
559         }
560       },
561       "org.onap.k8s.acm.K8SAutomationCompositionParticipant": {
562         "version": "2.3.4",
563         "type": "org.onap.policy.clamp.acm.Participant",
564         "type_version": "1.0.1",
565         "description": "Participant for K8S",
566         "properties": {
567           "provider": "ONAP"
568         }
569       },
570       "onap.policy.clamp.ac.element.K8S_StarterAutomationCompositionElement": {
571         "version": "1.2.3",
572         "type": "org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement",
573         "type_version": "1.0.0",
574         "description": "Automation composition element for the K8S microservice for AC Element Starter",
575         "properties": {
576           "provider": "ONAP",
577           "startPhase": 0,
578           "uninitializedToPassiveTimeout": 300,
579           "podStatusCheckInterval": 30
580         }
581       },
582       "onap.policy.clamp.ac.element.K8S_BridgeAutomationCompositionElement": {
583         "version": "1.2.3",
584         "type": "org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement",
585         "type_version": "1.0.0",
586         "description": "Automation composition element for the K8S microservice for AC Element Bridge",
587         "properties": {
588           "provider": "ONAP",
589           "startPhase": 0,
590           "uninitializedToPassiveTimeout": 300,
591           "podStatusCheckInterval": 30
592         }
593       },
594       "onap.policy.clamp.ac.element.K8S_SinkAutomationCompositionElement": {
595         "version": "1.2.3",
596         "type": "org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement",
597         "type_version": "1.0.0",
598         "description": "Automation composition element for the K8S microservice for AC Element Sink",
599         "properties": {
600           "provider": "ONAP",
601           "startPhase": 0,
602           "uninitializedToPassiveTimeout": 300,
603           "podStatusCheckInterval": 30
604         }
605       },
606       "org.onap.policy.clamp.acm.HttpParticipant": {
607         "version": "2.3.4",
608         "type": "org.onap.policy.clamp.acm.Participant",
609         "type_version": "1.0.1",
610         "description": "Participant for Http requests",
611         "properties": {
612           "provider": "ONAP"
613         }
614       },
615       "onap.policy.clamp.ac.element.Http_StarterAutomationCompositionElement": {
616         "version": "1.2.3",
617         "type": "org.onap.policy.clamp.acm.HttpAutomationCompositionElement",
618         "type_version": "1.0.0",
619         "description": "Automation composition element for the http requests of AC Element Starter microservice",
620         "properties": {
621           "provider": "ONAP",
622           "uninitializedToPassiveTimeout": 300,
623           "startPhase": 1
624         }
625       },
626       "onap.policy.clamp.ac.element.Http_BridgeAutomationCompositionElement": {
627         "version": "1.2.3",
628         "type": "org.onap.policy.clamp.acm.HttpAutomationCompositionElement",
629         "type_version": "1.0.0",
630         "description": "Automation composition element for the http requests of AC Element Bridge microservice",
631         "properties": {
632           "provider": "ONAP",
633           "uninitializedToPassiveTimeout": 300,
634           "startPhase": 1
635         }
636       },
637       "onap.policy.clamp.ac.element.Http_SinkAutomationCompositionElement": {
638         "version": "1.2.3",
639         "type": "org.onap.policy.clamp.acm.HttpAutomationCompositionElement",
640         "type_version": "1.0.0",
641         "description": "Automation composition element for the http requests of AC Element Sink microservice",
642         "properties": {
643           "provider": "ONAP",
644           "uninitializedToPassiveTimeout": 300,
645           "startPhase": 1
646         }
647       },
648       "onap.policy.clamp.ac.element.AutomationCompositionDefinition": {
649         "version": "1.2.3",
650         "type": "org.onap.policy.clamp.acm.AutomationComposition",
651         "type_version": "1.0.1",
652         "description": "Automation composition for Demo",
653         "properties": {
654           "provider": "ONAP",
655           "elements": [
656             {
657               "name": "onap.policy.clamp.ac.element.Policy_AutomationCompositionElement",
658               "version": "1.2.3"
659             },
660             {
661               "name": "onap.policy.clamp.ac.element.K8S_StarterAutomationCompositionElement",
662               "version": "1.2.3"
663             },
664             {
665               "name": "onap.policy.clamp.ac.element.K8S_BridgeAutomationCompositionElement",
666               "version": "1.2.3"
667             },
668             {
669               "name": "onap.policy.clamp.ac.element.K8S_SinkAutomationCompositionElement",
670               "version": "1.2.3"
671             },
672             {
673               "name": "onap.policy.clamp.ac.element.Http_StarterAutomationCompositionElement",
674               "version": "1.2.3"
675             },
676             {
677               "name": "onap.policy.clamp.ac.element.Http_BridgeAutomationCompositionElement",
678               "version": "1.2.3"
679             },
680             {
681               "name": "onap.policy.clamp.ac.element.Http_SinkAutomationCompositionElement",
682               "version": "1.2.3"
683             }
684           ]
685         }
686       }
687     },
688     "policies": [
689       {
690         "onap.policies.native.apex.ac.element": {
691           "type": "onap.policies.native.Apex",
692           "type_version": "1.0.0",
693           "properties": {
694             "engineServiceParameters": {
695               "name": "MyApexEngine",
696               "version": "0.0.1",
697               "id": 45,
698               "instanceCount": 2,
699               "deploymentPort": 12561,
700               "engineParameters": {
701                 "executorParameters": {
702                   "JAVASCRIPT": {
703                     "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"
704                   }
705                 },
706                 "contextParameters": {
707                   "parameterClassName": "org.onap.policy.apex.context.parameters.ContextParameters",
708                   "schemaParameters": {
709                     "Json": {
710                       "parameterClassName": "org.onap.policy.apex.plugins.context.schema.json.JsonSchemaHelperParameters"
711                     }
712                   }
713                 }
714               },
715               "policy_type_impl": {
716                 "policies": {
717                   "key": {
718                     "name": "APEXacElementPolicy_Policies",
719                     "version": "0.0.1"
720                   },
721                   "policyMap": {
722                     "entry": [
723                       {
724                         "key": {
725                           "name": "ReceiveEventPolicy",
726                           "version": "0.0.1"
727                         },
728                         "value": {
729                           "policyKey": {
730                             "name": "ReceiveEventPolicy",
731                             "version": "0.0.1"
732                           },
733                           "template": "Freestyle",
734                           "state": {
735                             "entry": [
736                               {
737                                 "key": "DecideForwardingState",
738                                 "value": {
739                                   "stateKey": {
740                                     "parentKeyName": "ReceiveEventPolicy",
741                                     "parentKeyVersion": "0.0.1",
742                                     "parentLocalName": "NULL",
743                                     "localName": "DecideForwardingState"
744                                   },
745                                   "trigger": {
746                                     "name": "AcElementEvent",
747                                     "version": "0.0.1"
748                                   },
749                                   "stateOutputs": {
750                                     "entry": [
751                                       {
752                                         "key": "CreateForwardPayload",
753                                         "value": {
754                                           "key": {
755                                             "parentKeyName": "ReceiveEventPolicy",
756                                             "parentKeyVersion": "0.0.1",
757                                             "parentLocalName": "DecideForwardingState",
758                                             "localName": "CreateForwardPayload"
759                                           },
760                                           "outgoingEvent": {
761                                             "name": "DmaapResponseStatusEvent",
762                                             "version": "0.0.1"
763                                           },
764                                           "outgoingEventReference": [
765                                             {
766                                               "name": "DmaapResponseStatusEvent",
767                                               "version": "0.0.1"
768                                             }
769                                           ],
770                                           "nextState": {
771                                             "parentKeyName": "NULL",
772                                             "parentKeyVersion": "0.0.0",
773                                             "parentLocalName": "NULL",
774                                             "localName": "NULL"
775                                           }
776                                         }
777                                       }
778                                     ]
779                                   },
780                                   "contextAlbumReference": [],
781                                   "taskSelectionLogic": {
782                                     "key": {
783                                       "parentKeyName": "NULL",
784                                       "parentKeyVersion": "0.0.0",
785                                       "parentLocalName": "NULL",
786                                       "localName": "NULL"
787                                     },
788                                     "logicFlavour": "UNDEFINED",
789                                     "logic": ""
790                                   },
791                                   "stateFinalizerLogicMap": {
792                                     "entry": []
793                                   },
794                                   "defaultTask": {
795                                     "name": "ForwardPayloadTask",
796                                     "version": "0.0.1"
797                                   },
798                                   "taskReferences": {
799                                     "entry": [
800                                       {
801                                         "key": {
802                                           "name": "ForwardPayloadTask",
803                                           "version": "0.0.1"
804                                         },
805                                         "value": {
806                                           "key": {
807                                             "parentKeyName": "ReceiveEventPolicy",
808                                             "parentKeyVersion": "0.0.1",
809                                             "parentLocalName": "DecideForwardingState",
810                                             "localName": "ReceiveEventPolicy"
811                                           },
812                                           "outputType": "DIRECT",
813                                           "output": {
814                                             "parentKeyName": "ReceiveEventPolicy",
815                                             "parentKeyVersion": "0.0.1",
816                                             "parentLocalName": "DecideForwardingState",
817                                             "localName": "CreateForwardPayload"
818                                           }
819                                         }
820                                       }
821                                     ]
822                                   }
823                                 }
824                               }
825                             ]
826                           },
827                           "firstState": "DecideForwardingState"
828                         }
829                       }
830                     ]
831                   }
832                 },
833                 "tasks": {
834                   "key": {
835                     "name": "APEXacElementPolicy_Tasks",
836                     "version": "0.0.1"
837                   },
838                   "taskMap": {
839                     "entry": [
840                       {
841                         "key": {
842                           "name": "ForwardPayloadTask",
843                           "version": "0.0.1"
844                         },
845                         "value": {
846                           "key": {
847                             "name": "ForwardPayloadTask",
848                             "version": "0.0.1"
849                           },
850                           "inputEvent": {
851                             "key": {
852                               "name": "AcElementEvent",
853                               "version": "0.0.1"
854                             },
855                             "nameSpace": "org.onap.policy.apex.ac.element",
856                             "source": "Dmaap",
857                             "target": "APEX",
858                             "parameter": {
859                               "entry": [
860                                 {
861                                   "key": "DmaapResponseEvent",
862                                   "value": {
863                                     "key": {
864                                       "parentKeyName": "AcElementEvent",
865                                       "parentKeyVersion": "0.0.1",
866                                       "parentLocalName": "NULL",
867                                       "localName": "DmaapResponseEvent"
868                                     },
869                                     "fieldSchemaKey": {
870                                       "name": "ACEventType",
871                                       "version": "0.0.1"
872                                     },
873                                     "optional": false
874                                   }
875                                 }
876                               ]
877                             },
878                             "toscaPolicyState": "ENTRY"
879                           },
880                           "outputEvents": {
881                             "entry": [
882                               {
883                                 "key": "DmaapResponseStatusEvent",
884                                 "value": {
885                                   "key": {
886                                     "name": "DmaapResponseStatusEvent",
887                                     "version": "0.0.1"
888                                   },
889                                   "nameSpace": "org.onap.policy.apex.ac.element",
890                                   "source": "APEX",
891                                   "target": "Dmaap",
892                                   "parameter": {
893                                     "entry": [
894                                       {
895                                         "key": "DmaapResponseStatusEvent",
896                                         "value": {
897                                           "key": {
898                                             "parentKeyName": "DmaapResponseStatusEvent",
899                                             "parentKeyVersion": "0.0.1",
900                                             "parentLocalName": "NULL",
901                                             "localName": "DmaapResponseStatusEvent"
902                                           },
903                                           "fieldSchemaKey": {
904                                             "name": "ACEventType",
905                                             "version": "0.0.1"
906                                           },
907                                           "optional": false
908                                         }
909                                       }
910                                     ]
911                                   },
912                                   "toscaPolicyState": ""
913                                 }
914                               }
915                             ]
916                           },
917                           "taskParameters": {
918                             "entry": []
919                           },
920                           "contextAlbumReference": [
921                             {
922                               "name": "ACElementAlbum",
923                               "version": "0.0.1"
924                             }
925                           ],
926                           "taskLogic": {
927                             "key": {
928                               "parentKeyName": "ForwardPayloadTask",
929                               "parentKeyVersion": "0.0.1",
930                               "parentLocalName": "NULL",
931                               "localName": "TaskLogic"
932                             },
933                             "logicFlavour": "JAVASCRIPT",
934                             "logic": "/*\n * ============LICENSE_START=======================================================\n *  Copyright (C) 2022 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the 'License');\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an 'AS IS' BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar msgResponse = executor.inFields.get('DmaapResponseEvent');\nexecutor.logger.info('Task in progress with mesages: ' + msgResponse);\n\nvar elementId = msgResponse.get('elementId').get('name');\n\nif (msgResponse.get('messageType') == 'STATUS' &&\n    (elementId == 'onap.policy.clamp.ac.startertobridge'\n    || elementId == 'onap.policy.clamp.ac.bridgetosink')) {\n\n    var receiverId = '';\n    if (elementId == 'onap.policy.clamp.ac.startertobridge') {\n        receiverId = 'onap.policy.clamp.ac.bridge';\n    } else {\n        receiverId = 'onap.policy.clamp.ac.sink';\n    }\n\n    var elementIdResponse = new java.util.HashMap();\n    elementIdResponse.put('name', receiverId);\n    elementIdResponse.put('version', msgResponse.get('elementId').get('version'));\n\n    var dmaapResponse = new java.util.HashMap();\n    dmaapResponse.put('elementId', elementIdResponse);\n\n    var message = msgResponse.get('message') + ' trace added from policy';\n    dmaapResponse.put('message', message);\n    dmaapResponse.put('messageType', 'STATUS');\n    dmaapResponse.put('messageId', msgResponse.get('messageId'));\n    dmaapResponse.put('timestamp', msgResponse.get('timestamp'));\n\n    executor.logger.info('Sending forwarding Event to Ac element: ' + dmaapResponse);\n\n    executor.outFields.put('DmaapResponseStatusEvent', dmaapResponse);\n}\n\ntrue;"
935                           }
936                         }
937                       }
938                     ]
939                   }
940                 },
941                 "events": {
942                   "key": {
943                     "name": "APEXacElementPolicy_Events",
944                     "version": "0.0.1"
945                   },
946                   "eventMap": {
947                     "entry": [
948                       {
949                         "key": {
950                           "name": "AcElementEvent",
951                           "version": "0.0.1"
952                         },
953                         "value": {
954                           "key": {
955                             "name": "AcElementEvent",
956                             "version": "0.0.1"
957                           },
958                           "nameSpace": "org.onap.policy.apex.ac.element",
959                           "source": "Dmaap",
960                           "target": "APEX",
961                           "parameter": {
962                             "entry": [
963                               {
964                                 "key": "DmaapResponseEvent",
965                                 "value": {
966                                   "key": {
967                                     "parentKeyName": "AcElementEvent",
968                                     "parentKeyVersion": "0.0.1",
969                                     "parentLocalName": "NULL",
970                                     "localName": "DmaapResponseEvent"
971                                   },
972                                   "fieldSchemaKey": {
973                                     "name": "ACEventType",
974                                     "version": "0.0.1"
975                                   },
976                                   "optional": false
977                                 }
978                               }
979                             ]
980                           },
981                           "toscaPolicyState": "ENTRY"
982                         }
983                       },
984                       {
985                         "key": {
986                           "name": "DmaapResponseStatusEvent",
987                           "version": "0.0.1"
988                         },
989                         "value": {
990                           "key": {
991                             "name": "DmaapResponseStatusEvent",
992                             "version": "0.0.1"
993                           },
994                           "nameSpace": "org.onap.policy.apex.ac.element",
995                           "source": "APEX",
996                           "target": "Dmaap",
997                           "parameter": {
998                             "entry": [
999                               {
1000                                 "key": "DmaapResponseStatusEvent",
1001                                 "value": {
1002                                   "key": {
1003                                     "parentKeyName": "DmaapResponseStatusEvent",
1004                                     "parentKeyVersion": "0.0.1",
1005                                     "parentLocalName": "NULL",
1006                                     "localName": "DmaapResponseStatusEvent"
1007                                   },
1008                                   "fieldSchemaKey": {
1009                                     "name": "ACEventType",
1010                                     "version": "0.0.1"
1011                                   },
1012                                   "optional": false
1013                                 }
1014                               }
1015                             ]
1016                           },
1017                           "toscaPolicyState": ""
1018                         }
1019                       },
1020                       {
1021                         "key": {
1022                           "name": "LogEvent",
1023                           "version": "0.0.1"
1024                         },
1025                         "value": {
1026                           "key": {
1027                             "name": "LogEvent",
1028                             "version": "0.0.1"
1029                           },
1030                           "nameSpace": "org.onap.policy.apex.ac.element",
1031                           "source": "APEX",
1032                           "target": "file",
1033                           "parameter": {
1034                             "entry": [
1035                               {
1036                                 "key": "final_status",
1037                                 "value": {
1038                                   "key": {
1039                                     "parentKeyName": "LogEvent",
1040                                     "parentKeyVersion": "0.0.1",
1041                                     "parentLocalName": "NULL",
1042                                     "localName": "final_status"
1043                                   },
1044                                   "fieldSchemaKey": {
1045                                     "name": "SimpleStringType",
1046                                     "version": "0.0.1"
1047                                   },
1048                                   "optional": false
1049                                 }
1050                               },
1051                               {
1052                                 "key": "message",
1053                                 "value": {
1054                                   "key": {
1055                                     "parentKeyName": "LogEvent",
1056                                     "parentKeyVersion": "0.0.1",
1057                                     "parentLocalName": "NULL",
1058                                     "localName": "message"
1059                                   },
1060                                   "fieldSchemaKey": {
1061                                     "name": "SimpleStringType",
1062                                     "version": "0.0.1"
1063                                   },
1064                                   "optional": false
1065                                 }
1066                               }
1067                             ]
1068                           },
1069                           "toscaPolicyState": ""
1070                         }
1071                       }
1072                     ]
1073                   }
1074                 },
1075                 "albums": {
1076                   "key": {
1077                     "name": "APEXacElementPolicy_Albums",
1078                     "version": "0.0.1"
1079                   },
1080                   "albums": {
1081                     "entry": [
1082                       {
1083                         "key": {
1084                           "name": "ACElementAlbum",
1085                           "version": "0.0.1"
1086                         },
1087                         "value": {
1088                           "key": {
1089                             "name": "ACElementAlbum",
1090                             "version": "0.0.1"
1091                           },
1092                           "scope": "policy",
1093                           "isWritable": true,
1094                           "itemSchema": {
1095                             "name": "ACEventType",
1096                             "version": "0.0.1"
1097                           }
1098                         }
1099                       }
1100                     ]
1101                   }
1102                 },
1103                 "schemas": {
1104                   "key": {
1105                     "name": "APEXacElementPolicy_Schemas",
1106                     "version": "0.0.1"
1107                   },
1108                   "schemas": {
1109                     "entry": [
1110                       {
1111                         "key": {
1112                           "name": "ACEventType",
1113                           "version": "0.0.1"
1114                         },
1115                         "value": {
1116                           "key": {
1117                             "name": "ACEventType",
1118                             "version": "0.0.1"
1119                           },
1120                           "schemaFlavour": "Json",
1121                           "schemaDefinition": "{\n    \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n    \"type\": \"object\",\n    \"properties\": {\n        \"elementId\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"name\": {\n                    \"type\": \"string\"\n                },\n                \"version\": {\n                    \"type\": \"string\"\n                }\n            },\n            \"required\": [\n                \"name\",\n                \"version\"\n            ]\n        },\n        \"message\": {\n            \"type\": \"string\"\n        },\n        \"messageType\": {\n            \"type\": \"string\"\n        }\n    },\n    \"required\": [\n        \"elementId\",\n        \"message\",\n        \"messageType\"\n    ]\n}"
1122                         }
1123                       },
1124                       {
1125                         "key": {
1126                           "name": "SimpleIntType",
1127                           "version": "0.0.1"
1128                         },
1129                         "value": {
1130                           "key": {
1131                             "name": "SimpleIntType",
1132                             "version": "0.0.1"
1133                           },
1134                           "schemaFlavour": "Java",
1135                           "schemaDefinition": "java.lang.Integer"
1136                         }
1137                       },
1138                       {
1139                         "key": {
1140                           "name": "SimpleStringType",
1141                           "version": "0.0.1"
1142                         },
1143                         "value": {
1144                           "key": {
1145                             "name": "SimpleStringType",
1146                             "version": "0.0.1"
1147                           },
1148                           "schemaFlavour": "Java",
1149                           "schemaDefinition": "java.lang.String"
1150                         }
1151                       },
1152                       {
1153                         "key": {
1154                           "name": "UUIDType",
1155                           "version": "0.0.1"
1156                         },
1157                         "value": {
1158                           "key": {
1159                             "name": "UUIDType",
1160                             "version": "0.0.1"
1161                           },
1162                           "schemaFlavour": "Java",
1163                           "schemaDefinition": "java.util.UUID"
1164                         }
1165                       }
1166                     ]
1167                   }
1168                 },
1169                 "key": {
1170                   "name": "APEXacElementPolicy",
1171                   "version": "0.0.1"
1172                 },
1173                 "keyInformation": {
1174                   "key": {
1175                     "name": "APEXacElementPolicy_KeyInfo",
1176                     "version": "0.0.1"
1177                   },
1178                   "keyInfoMap": {
1179                     "entry": [
1180                       {
1181                         "key": {
1182                           "name": "ACElementAlbum",
1183                           "version": "0.0.1"
1184                         },
1185                         "value": {
1186                           "key": {
1187                             "name": "ACElementAlbum",
1188                             "version": "0.0.1"
1189                           },
1190                           "UUID": "7cddfab8-6d3f-3f7f-8ac3-e2eb5979c900",
1191                           "description": "Generated description for concept referred to by key \"ACElementAlbum:0.0.1\""
1192                         }
1193                       },
1194                       {
1195                         "key": {
1196                           "name": "ACEventType",
1197                           "version": "0.0.1"
1198                         },
1199                         "value": {
1200                           "key": {
1201                             "name": "ACEventType",
1202                             "version": "0.0.1"
1203                           },
1204                           "UUID": "dab78794-b666-3929-a75b-70d634b04fe5",
1205                           "description": "Generated description for concept referred to by key \"ACEventType:0.0.1\""
1206                         }
1207                       },
1208                       {
1209                         "key": {
1210                           "name": "APEXacElementPolicy",
1211                           "version": "0.0.1"
1212                         },
1213                         "value": {
1214                           "key": {
1215                             "name": "APEXacElementPolicy",
1216                             "version": "0.0.1"
1217                           },
1218                           "UUID": "da478611-7d77-3c46-b4be-be968769ba4e",
1219                           "description": "Generated description for concept referred to by key \"APEXacElementPolicy:0.0.1\""
1220                         }
1221                       },
1222                       {
1223                         "key": {
1224                           "name": "APEXacElementPolicy_Albums",
1225                           "version": "0.0.1"
1226                         },
1227                         "value": {
1228                           "key": {
1229                             "name": "APEXacElementPolicy_Albums",
1230                             "version": "0.0.1"
1231                           },
1232                           "UUID": "fa8dc15e-8c8d-3de3-a0f8-585b76511175",
1233                           "description": "Generated description for concept referred to by key \"APEXacElementPolicy_Albums:0.0.1\""
1234                         }
1235                       },
1236                       {
1237                         "key": {
1238                           "name": "APEXacElementPolicy_Events",
1239                           "version": "0.0.1"
1240                         },
1241                         "value": {
1242                           "key": {
1243                             "name": "APEXacElementPolicy_Events",
1244                             "version": "0.0.1"
1245                           },
1246                           "UUID": "8508cd65-8dd2-342d-a5c6-1570810dbe2b",
1247                           "description": "Generated description for concept referred to by key \"APEXacElementPolicy_Events:0.0.1\""
1248                         }
1249                       },
1250                       {
1251                         "key": {
1252                           "name": "APEXacElementPolicy_KeyInfo",
1253                           "version": "0.0.1"
1254                         },
1255                         "value": {
1256                           "key": {
1257                             "name": "APEXacElementPolicy_KeyInfo",
1258                             "version": "0.0.1"
1259                           },
1260                           "UUID": "09e6927d-c5ac-3779-919f-9333994eed22",
1261                           "description": "Generated description for concept referred to by key \"APEXacElementPolicy_KeyInfo:0.0.1\""
1262                         }
1263                       },
1264                       {
1265                         "key": {
1266                           "name": "APEXacElementPolicy_Policies",
1267                           "version": "0.0.1"
1268                         },
1269                         "value": {
1270                           "key": {
1271                             "name": "APEXacElementPolicy_Policies",
1272                             "version": "0.0.1"
1273                           },
1274                           "UUID": "cade3c9a-1600-3642-a6f4-315612187f46",
1275                           "description": "Generated description for concept referred to by key \"APEXacElementPolicy_Policies:0.0.1\""
1276                         }
1277                       },
1278                       {
1279                         "key": {
1280                           "name": "APEXacElementPolicy_Schemas",
1281                           "version": "0.0.1"
1282                         },
1283                         "value": {
1284                           "key": {
1285                             "name": "APEXacElementPolicy_Schemas",
1286                             "version": "0.0.1"
1287                           },
1288                           "UUID": "5bb4a8e9-35fa-37db-9a49-48ef036a7ba9",
1289                           "description": "Generated description for concept referred to by key \"APEXacElementPolicy_Schemas:0.0.1\""
1290                         }
1291                       },
1292                       {
1293                         "key": {
1294                           "name": "APEXacElementPolicy_Tasks",
1295                           "version": "0.0.1"
1296                         },
1297                         "value": {
1298                           "key": {
1299                             "name": "APEXacElementPolicy_Tasks",
1300                             "version": "0.0.1"
1301                           },
1302                           "UUID": "2527eeec-0d1f-3094-ad3f-212622b12836",
1303                           "description": "Generated description for concept referred to by key \"APEXacElementPolicy_Tasks:0.0.1\""
1304                         }
1305                       },
1306                       {
1307                         "key": {
1308                           "name": "AcElementEvent",
1309                           "version": "0.0.1"
1310                         },
1311                         "value": {
1312                           "key": {
1313                             "name": "AcElementEvent",
1314                             "version": "0.0.1"
1315                           },
1316                           "UUID": "32c013e2-2740-3986-a626-cbdf665b63e9",
1317                           "description": "Generated description for concept referred to by key \"AcElementEvent:0.0.1\""
1318                         }
1319                       },
1320                       {
1321                         "key": {
1322                           "name": "DmaapResponseStatusEvent",
1323                           "version": "0.0.1"
1324                         },
1325                         "value": {
1326                           "key": {
1327                             "name": "DmaapResponseStatusEvent",
1328                             "version": "0.0.1"
1329                           },
1330                           "UUID": "2715cb6c-2778-3461-8b69-871e79f95935",
1331                           "description": "Generated description for concept referred to by key \"DmaapResponseStatusEvent:0.0.1\""
1332                         }
1333                       },
1334                       {
1335                         "key": {
1336                           "name": "ForwardPayloadTask",
1337                           "version": "0.0.1"
1338                         },
1339                         "value": {
1340                           "key": {
1341                             "name": "ForwardPayloadTask",
1342                             "version": "0.0.1"
1343                           },
1344                           "UUID": "51defa03-1ecf-3314-bf34-2a652bce57fa",
1345                           "description": "Generated description for concept referred to by key \"ForwardPayloadTask:0.0.1\""
1346                         }
1347                       },
1348                       {
1349                         "key": {
1350                           "name": "LogEvent",
1351                           "version": "0.0.1"
1352                         },
1353                         "value": {
1354                           "key": {
1355                             "name": "LogEvent",
1356                             "version": "0.0.1"
1357                           },
1358                           "UUID": "c540f048-96af-35e3-a36e-e9c29377cba7",
1359                           "description": "Generated description for concept referred to by key \"LogEvent:0.0.1\""
1360                         }
1361                       },
1362                       {
1363                         "key": {
1364                           "name": "ReceiveEventPolicy",
1365                           "version": "0.0.1"
1366                         },
1367                         "value": {
1368                           "key": {
1369                             "name": "ReceiveEventPolicy",
1370                             "version": "0.0.1"
1371                           },
1372                           "UUID": "568b7345-9de1-36d3-b6a3-9b857e6809a1",
1373                           "description": "Generated description for concept referred to by key \"ReceiveEventPolicy:0.0.1\""
1374                         }
1375                       },
1376                       {
1377                         "key": {
1378                           "name": "SimpleIntType",
1379                           "version": "0.0.1"
1380                         },
1381                         "value": {
1382                           "key": {
1383                             "name": "SimpleIntType",
1384                             "version": "0.0.1"
1385                           },
1386                           "UUID": "153791fd-ae0a-36a7-88a5-309a7936415d",
1387                           "description": "Generated description for concept referred to by key \"SimpleIntType:0.0.1\""
1388                         }
1389                       },
1390                       {
1391                         "key": {
1392                           "name": "SimpleStringType",
1393                           "version": "0.0.1"
1394                         },
1395                         "value": {
1396                           "key": {
1397                             "name": "SimpleStringType",
1398                             "version": "0.0.1"
1399                           },
1400                           "UUID": "8a4957cf-9493-3a76-8c22-a208e23259af",
1401                           "description": "Generated description for concept referred to by key \"SimpleStringType:0.0.1\""
1402                         }
1403                       },
1404                       {
1405                         "key": {
1406                           "name": "UUIDType",
1407                           "version": "0.0.1"
1408                         },
1409                         "value": {
1410                           "key": {
1411                             "name": "UUIDType",
1412                             "version": "0.0.1"
1413                           },
1414                           "UUID": "6a8cc68e-dfc8-3403-9c6d-071c886b319c",
1415                           "description": "Generated description for concept referred to by key \"UUIDType:0.0.1\""
1416                         }
1417                       }
1418                     ]
1419                   }
1420                 }
1421               }
1422             },
1423             "eventInputParameters": {
1424               "DmaapConsumer": {
1425                 "carrierTechnologyParameters": {
1426                   "carrierTechnology": "KAFKA",
1427                   "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters",
1428                   "parameters": {
1429                     "bootstrapServers": "kafka:9092",
1430                     "groupId": "clamp-grp",
1431                     "enableAutoCommit": true,
1432                     "autoCommitTime": 1000,
1433                     "sessionTimeout": 30000,
1434                     "consumerPollTime": 100,
1435                     "consumerTopicList": [
1436                       "ac_element_msg"
1437                     ],
1438                     "keyDeserializer": "org.apache.kafka.common.serialization.StringDeserializer",
1439                     "valueDeserializer": "org.apache.kafka.common.serialization.StringDeserializer",
1440                     "kafkaProperties": []
1441                   }
1442                 },
1443                 "eventProtocolParameters": {
1444                   "eventProtocol": "JSON",
1445                   "parameters": {
1446                     "pojoField": "DmaapResponseEvent"
1447                   }
1448                 },
1449                 "eventName": "AcElementEvent",
1450                 "eventNameFilter": "AcElementEvent"
1451               }
1452             },
1453             "eventOutputParameters": {
1454               "logOutputter": {
1455                 "carrierTechnologyParameters": {
1456                   "carrierTechnology": "FILE",
1457                   "parameters": {
1458                     "fileName": "outputevents.log"
1459                   }
1460                 },
1461                 "eventProtocolParameters": {
1462                   "eventProtocol": "JSON"
1463                 }
1464               },
1465               "DmaapReplyProducer": {
1466                 "carrierTechnologyParameters": {
1467                   "carrierTechnology": "KAFKA",
1468                   "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters",
1469                   "parameters": {
1470                     "bootstrapServers": "kafka:9092",
1471                     "acks": "all",
1472                     "retries": 0,
1473                     "batchSize": 16384,
1474                     "lingerTime": 1,
1475                     "bufferMemory": 33554432,
1476                     "producerTopic": "policy_update_msg",
1477                     "keySerializer": "org.apache.kafka.common.serialization.StringSerializer",
1478                     "valueSerializer": "org.apache.kafka.common.serialization.StringSerializer",
1479                     "kafkaProperties": []
1480                   }
1481                 },
1482                 "eventProtocolParameters": {
1483                   "eventProtocol": "JSON",
1484                   "parameters": {
1485                     "pojoField": "DmaapResponseStatusEvent"
1486                   }
1487                 },
1488                 "eventNameFilter": "LogEvent|DmaapResponseStatusEvent"
1489               }
1490             }
1491           },
1492           "name": "onap.policies.native.apex.ac.element",
1493           "version": "1.0.0"
1494         }
1495       }
1496     ]
1497   }
1498 }