Update doc CLAMP Policy Participant Smoke Tests
[policy/parent.git] / docs / development / devtools / smoke / tosca / tosca_service_template_pptnt_smoke.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_3
2 data_types:
3   onap.datatypes.ToscaConceptIdentifier:
4     derived_from: tosca.datatypes.Root
5     properties:
6       name:
7         type: string
8         required: true
9       version:
10         type: string
11         required: true
12
13   onap.datatypes.native.apex.EngineService:
14     derived_from: tosca.datatypes.Root
15     properties:
16       name:
17         type: string
18         description: Specifies the engine name
19         required: false
20         default: "ApexEngineService"
21       version:
22         type: string
23         description: Specifies the engine version in double dotted format
24         required: false
25         default: "1.0.0"
26       id:
27         type: integer
28         description: Specifies the engine id
29         required: true
30       instance_count:
31         type: integer
32         description: Specifies the number of engine threads that should be run
33         required: true
34       deployment_port:
35         type: integer
36         description: Specifies the port to connect to for engine administration
37         required: false
38         default: 1
39       policy_model_file_name:
40         type: string
41         description: The name of the file from which to read the APEX policy model
42         required: false
43       policy_type_impl:
44         type: string
45         description: The policy type implementation from which to read the APEX policy model
46         required: false
47       periodic_event_period:
48         type: string
49         description: The time interval in milliseconds for the periodic scanning event, 0 means don't scan
50         required: false
51       engine:
52         type: onap.datatypes.native.apex.engineservice.Engine
53         description: The parameters for all engines in the APEX engine service
54         required: true
55   onap.datatypes.native.apex.EventHandler:
56     derived_from: tosca.datatypes.Root
57     properties:
58       name:
59         type: string
60         description: Specifies the event handler name, if not specified this is set to the key name
61         required: false
62       carrier_technology:
63         type: onap.datatypes.native.apex.CarrierTechnology
64         description: Specifies the carrier technology of the event handler (such as REST/Web Socket/Kafka)
65         required: true
66       event_protocol:
67         type: onap.datatypes.native.apex.EventProtocol
68         description: Specifies the event protocol of events for the event handler (such as Yaml/JSON/XML/POJO)
69         required: true
70       event_name:
71         type: string
72         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
73         required: false
74       event_name_filter:
75         type: string
76         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
77         required: false
78       synchronous_mode:
79         type: boolean
80         description: Specifies the event handler is syncronous (receive event and send response)
81         required: false
82         default: false
83       synchronous_peer:
84         type: string
85         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
86         required: false
87       synchronous_timeout:
88         type: integer
89         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
90         required: false
91       requestor_mode:
92         type: boolean
93         description: Specifies the event handler is in requestor mode (send event and wait for response mode)
94         required: false
95         default: false
96       requestor_peer:
97         type: string
98         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
99         required: false
100       requestor_timeout:
101         type: integer
102         description: The timeout in milliseconds for wait for responses to requests, this parameter is mandatory if the event handler is in requestor mode
103         required: false
104   onap.datatypes.native.apex.CarrierTechnology:
105     derived_from: tosca.datatypes.Root
106     properties:
107       label:
108         type: string
109         description: The label (name) of the carrier technology (such as REST, Kafka, WebSocket)
110         required: true
111       plugin_parameter_class_name:
112         type: string
113         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
114         required: false
115   onap.datatypes.native.apex.EventProtocol:
116     derived_from: tosca.datatypes.Root
117     properties:
118       label:
119         type: string
120         description: The label (name) of the event protocol (such as Yaml, JSON, XML, or POJO)
121         required: true
122       event_protocol_plugin_class:
123         type: string
124         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
125         required: false
126   onap.datatypes.native.apex.Environment:
127     derived_from: tosca.datatypes.Root
128     properties:
129       name:
130         type: string
131         description: The name of the environment variable
132         required: true
133       value:
134         type: string
135         description: The value of the environment variable
136         required: true
137   onap.datatypes.native.apex.engineservice.Engine:
138     derived_from: tosca.datatypes.Root
139     properties:
140       context:
141         type: onap.datatypes.native.apex.engineservice.engine.Context
142         description: The properties for handling context in APEX engines, defaults to using Java maps for context
143         required: false
144       executors:
145         type: map
146         description: The plugins for policy executors used in engines such as javascript, MVEL, Jython
147         required: true
148         entry_schema:
149           description: The plugin class path for this policy executor
150           type: string
151   onap.datatypes.native.apex.engineservice.engine.Context:
152     derived_from: tosca.datatypes.Root
153     properties:
154       distributor:
155         type: onap.datatypes.native.apex.Plugin
156         description: The plugin to be used for distributing context between APEX PDPs at runtime
157         required: false
158       schemas:
159         type: map
160         description: The plugins for context schemas available in APEX PDPs such as Java and Avro
161         required: false
162         entry_schema:
163           type: onap.datatypes.native.apex.Plugin
164       locking:
165         type: onap.datatypes.native.apex.Plugin
166         description: The plugin to be used for locking context in and between APEX PDPs at runtime
167         required: false
168       persistence:
169         type: onap.datatypes.native.apex.Plugin
170         description: The plugin to be used for persisting context for APEX PDPs at runtime
171         required: false
172   onap.datatypes.native.apex.Plugin:
173     derived_from: tosca.datatypes.Root
174     properties:
175       name:
176         type: string
177         description: The name of the executor such as Javascript, Jython or MVEL
178         required: true
179       plugin_class_name:
180         type: string
181         description: The class path of the plugin class for this executor
182
183 policy_types:
184   onap.policies.Native:
185     derived_from: tosca.policies.Root
186     description: a base policy type for all native PDP policies
187     version: 1.0.0
188     name: onap.policies.Native
189   onap.policies.native.Apex:
190     derived_from: onap.policies.Native
191     description: a policy type for native apex policies
192     version: 1.0.0
193     name: onap.policies.native.Apex
194     properties:
195       engine_service:
196         type: onap.datatypes.native.apex.EngineService
197         description: APEX Engine Service Parameters
198       inputs:
199         type: map
200         description: Inputs for handling events coming into the APEX engine
201         entry_schema:
202           type: onap.datatypes.native.apex.EventHandler
203       outputs:
204         type: map
205         description: Outputs for handling events going out of the APEX engine
206         entry_schema:
207           type: onap.datatypes.native.apex.EventHandler
208       environment:
209         type: list
210         description: Envioronmental parameters for the APEX engine
211         entry_schema:
212           type: onap.datatypes.native.apex.Environment
213
214
215 node_types:
216   org.onap.policy.clamp.acm.Participant:
217     version: 1.0.1
218     derived_from: tosca.nodetypes.Root
219     properties:
220       provider:
221         type: string
222         required: false
223   org.onap.policy.clamp.acm.AutomationCompositionElement:
224     version: 1.0.1
225     derived_from: tosca.nodetypes.Root
226     properties:
227       provider:
228         type: string
229         required: false
230         metadata:
231           common: true
232         description: Specifies the organization that provides the automation composition element
233       startPhase:
234         type: integer
235         required: false
236         constraints:
237           - greater_or_equal: 0
238         metadata:
239           common: true
240         description: A value indicating the start phase in which this automation composition element will be started, the
241           first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped
242           in reverse start phase order. Automation Composition Elements with the same start phase are started and
243           stopped simultaneously
244       uninitializedToPassiveTimeout:
245         type: integer
246         required: false
247         constraints:
248           - greater_or_equal: 0
249         default: 60
250         metadata:
251           common: true
252         description: The maximum time in seconds to wait for a state chage from uninitialized to passive
253       passiveToRunningTimeout:
254         type: integer
255         required: false
256         constraints:
257           - greater_or_equal: 0
258         default: 60
259         metadata:
260           common: true
261         description: The maximum time in seconds to wait for a state chage from passive to running
262       runningToPassiveTimeout:
263         type: integer
264         required: false
265         constraints:
266           - greater_or_equal: 0
267         default: 60
268         metadata:
269           common: true
270         description: The maximum time in seconds to wait for a state chage from running to passive
271       passiveToUninitializedTimeout:
272         type: integer
273         required: false
274         constraints:
275           - greater_or_equal: 0
276         default: 60
277         metadata:
278           common: true
279         description: The maximum time in seconds to wait for a state chage from passive to uninitialized
280   org.onap.policy.clamp.acm.AutomationComposition:
281     version: 1.0.1
282     derived_from: tosca.nodetypes.Root
283     properties:
284       provider:
285         type: string
286         required: false
287         metadata:
288           common: true
289         description: Specifies the organization that provides the automation composition element
290       elements:
291         type: list
292         required: true
293         metadata:
294           common: true
295         entry_schema:
296           type: onap.datatypes.ToscaConceptIdentifier
297         description: Specifies a list of automation composition element definitions that make up this automation composition definition
298   org.onap.policy.clamp.acm.PolicyAutomationCompositionElement:
299     version: 1.0.0
300     derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
301     properties:
302       policy_type_id:
303         type: onap.datatypes.ToscaConceptIdentifier
304         required: true
305       policy_id:
306         type: onap.datatypes.ToscaConceptIdentifier
307         required: false
308
309
310 topology_template:
311   inputs:
312     acm_element_policy:
313       type: onap.datatypes.ToscaConceptIdentifier
314       description: The ID of the operational policy to use
315       default:
316         name: onap.policies.native.apex.ac.element
317         version: 1.0.0
318   node_templates:
319     org.onap.policy.clamp.acm.PolicyParticipant:
320       version: 2.3.1
321       type: org.onap.policy.clamp.acm.Participant
322       type_version: 1.0.1
323       description: Participant for Policy microservices
324       properties:
325         provider: ONAP
326     onap.policy.clamp.ac.element.Policy_AutomationCompositionElement:
327       version: 1.2.3
328       type: org.onap.policy.clamp.acm.PolicyAutomationCompositionElement
329       type_version: 1.0.0
330       description: Automation composition element for the operational policy for Performance Management Subscription Handling
331       properties:
332         provider: Ericsson
333         policy_type_id:
334           name: onap.policies.operational.pm-subscription-handler
335           version: 1.0.0
336         startPhase: 0
337         policy_id:
338           get_input: acm_element_policy
339
340     onap.policy.clamp.ac.element.AutomationCompositionDefinition:
341       version: 1.2.3
342       type: org.onap.policy.clamp.acm.AutomationComposition
343       type_version: 1.0.1
344       description: Automation composition for Demp
345       properties:
346         provider: ONAP
347         elements:
348           - name: onap.policy.clamp.ac.element.Policy_AutomationCompositionElement
349             version: 1.2.3
350
351   policies:
352   - onap.policies.native.apex.ac.element:
353       type: onap.policies.native.Apex
354       type_version: 1.0.0
355       properties:
356         engineServiceParameters:
357           name: MyApexEngine
358           version: 0.0.1
359           id: 45
360           instanceCount: 2
361           deploymentPort: 12561
362           engineParameters:
363             executorParameters:
364               JAVASCRIPT:
365                 parameterClassName: org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters
366             contextParameters:
367               parameterClassName: org.onap.policy.apex.context.parameters.ContextParameters
368               schemaParameters:
369                 Json:
370                   parameterClassName: org.onap.policy.apex.plugins.context.schema.json.JsonSchemaHelperParameters
371           policy_type_impl:
372             policies:
373               key:
374                 name: APEXacElementPolicy_Policies
375                 version: 0.0.1
376               policyMap:
377                 entry:
378                 - key:
379                     name: ReceiveEventPolicy
380                     version: 0.0.1
381                   value:
382                     policyKey:
383                       name: ReceiveEventPolicy
384                       version: 0.0.1
385                     template: Freestyle
386                     state:
387                       entry:
388                       - key: DecideForwardingState
389                         value:
390                           stateKey:
391                             parentKeyName: ReceiveEventPolicy
392                             parentKeyVersion: 0.0.1
393                             parentLocalName: 'NULL'
394                             localName: DecideForwardingState
395                           trigger:
396                             name: AcElementEvent
397                             version: 0.0.1
398                           stateOutputs:
399                             entry:
400                             - key: CreateForwardPayload
401                               value:
402                                 key:
403                                   parentKeyName: ReceiveEventPolicy
404                                   parentKeyVersion: 0.0.1
405                                   parentLocalName: DecideForwardingState
406                                   localName: CreateForwardPayload
407                                 outgoingEvent:
408                                   name: DmaapResponseStatusEvent
409                                   version: 0.0.1
410                                 outgoingEventReference:
411                                 - name: DmaapResponseStatusEvent
412                                   version: 0.0.1
413                                 nextState:
414                                   parentKeyName: 'NULL'
415                                   parentKeyVersion: 0.0.0
416                                   parentLocalName: 'NULL'
417                                   localName: 'NULL'
418                           contextAlbumReference: []
419                           taskSelectionLogic:
420                             key:
421                               parentKeyName: 'NULL'
422                               parentKeyVersion: 0.0.0
423                               parentLocalName: 'NULL'
424                               localName: 'NULL'
425                             logicFlavour: UNDEFINED
426                             logic: ''
427                           stateFinalizerLogicMap:
428                             entry: []
429                           defaultTask:
430                             name: ForwardPayloadTask
431                             version: 0.0.1
432                           taskReferences:
433                             entry:
434                             - key:
435                                 name: ForwardPayloadTask
436                                 version: 0.0.1
437                               value:
438                                 key:
439                                   parentKeyName: ReceiveEventPolicy
440                                   parentKeyVersion: 0.0.1
441                                   parentLocalName: DecideForwardingState
442                                   localName: ReceiveEventPolicy
443                                 outputType: DIRECT
444                                 output:
445                                   parentKeyName: ReceiveEventPolicy
446                                   parentKeyVersion: 0.0.1
447                                   parentLocalName: DecideForwardingState
448                                   localName: CreateForwardPayload
449                     firstState: DecideForwardingState
450             tasks:
451               key:
452                 name: APEXacElementPolicy_Tasks
453                 version: 0.0.1
454               taskMap:
455                 entry:
456                 - key:
457                     name: ForwardPayloadTask
458                     version: 0.0.1
459                   value:
460                     key:
461                       name: ForwardPayloadTask
462                       version: 0.0.1
463                     inputEvent:
464                       key:
465                         name: AcElementEvent
466                         version: 0.0.1
467                       nameSpace: org.onap.policy.apex.ac.element
468                       source: Dmaap
469                       target: APEX
470                       parameter:
471                         entry:
472                         - key: DmaapResponseEvent
473                           value:
474                             key:
475                               parentKeyName: AcElementEvent
476                               parentKeyVersion: 0.0.1
477                               parentLocalName: 'NULL'
478                               localName: DmaapResponseEvent
479                             fieldSchemaKey:
480                               name: ACEventType
481                               version: 0.0.1
482                             optional: false
483                       toscaPolicyState: ENTRY
484                     outputEvents:
485                       entry:
486                       - key: DmaapResponseStatusEvent
487                         value:
488                           key:
489                             name: DmaapResponseStatusEvent
490                             version: 0.0.1
491                           nameSpace: org.onap.policy.apex.ac.element
492                           source: APEX
493                           target: Dmaap
494                           parameter:
495                             entry:
496                             - key: DmaapResponseStatusEvent
497                               value:
498                                 key:
499                                   parentKeyName: DmaapResponseStatusEvent
500                                   parentKeyVersion: 0.0.1
501                                   parentLocalName: 'NULL'
502                                   localName: DmaapResponseStatusEvent
503                                 fieldSchemaKey:
504                                   name: ACEventType
505                                   version: 0.0.1
506                                 optional: false
507                           toscaPolicyState: ''
508                     taskParameters:
509                       entry: []
510                     contextAlbumReference:
511                     - name: ACElementAlbum
512                       version: 0.0.1
513                     taskLogic:
514                       key:
515                         parentKeyName: ForwardPayloadTask
516                         parentKeyVersion: 0.0.1
517                         parentLocalName: 'NULL'
518                         localName: TaskLogic
519                       logicFlavour: JAVASCRIPT
520                       logic: "/*\n * ============LICENSE_START=======================================================\n\
521                         \ *  Copyright (C) 2022 Nordix. All rights reserved.\n * ================================================================================\n\
522                         \ * Licensed under the Apache License, Version 2.0 (the 'License');\n\
523                         \ * you may not use this file except in compliance with the\
524                         \ License.\n * You may obtain a copy of the License at\n *\n\
525                         \ *      http://www.apache.org/licenses/LICENSE-2.0\n *\n\
526                         \ * Unless required by applicable law or agreed to in writing,\
527                         \ software\n * distributed under the License is distributed\
528                         \ on an 'AS IS' BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS\
529                         \ OF ANY KIND, either express or implied.\n * See the License\
530                         \ for the specific language governing permissions and\n *\
531                         \ limitations under the License.\n *\n * SPDX-License-Identifier:\
532                         \ Apache-2.0\n * ============LICENSE_END=========================================================\n\
533                         \ */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\
534                         \nvar msgResponse = executor.inFields.get('DmaapResponseEvent');\n\
535                         executor.logger.info('Task in progress with mesages: ' + msgResponse);\n\
536                         \nvar elementId = msgResponse.get('elementId').get('name');\n\
537                         \nif (msgResponse.get('messageType') == 'STATUS' &&\n    (elementId\
538                         \ == 'onap.policy.clamp.ac.startertobridge'\n    || elementId\
539                         \ == 'onap.policy.clamp.ac.bridgetosink')) {\n\n    var receiverId\
540                         \ = '';\n    if (elementId == 'onap.policy.clamp.ac.startertobridge')\
541                         \ {\n        receiverId = 'onap.policy.clamp.ac.bridge';\n\
542                         \    } else {\n        receiverId = 'onap.policy.clamp.ac.sink';\n\
543                         \    }\n\n    var elementIdResponse = new java.util.HashMap();\n\
544                         \    elementIdResponse.put('name', receiverId);\n    elementIdResponse.put('version',\
545                         \ msgResponse.get('elementId').get('version'));\n\n    var\
546                         \ dmaapResponse = new java.util.HashMap();\n    dmaapResponse.put('elementId',\
547                         \ elementIdResponse);\n\n    var message = msgResponse.get('message')\
548                         \ + ' trace added from policy';\n    dmaapResponse.put('message',\
549                         \ message);\n    dmaapResponse.put('messageType', 'STATUS');\n\
550                         \    dmaapResponse.put('messageId', msgResponse.get('messageId'));\n\
551                         \    dmaapResponse.put('timestamp', msgResponse.get('timestamp'));\n\
552                         \n    executor.logger.info('Sending forwarding Event to Ac\
553                         \ element: ' + dmaapResponse);\n\n    executor.outFields.put('DmaapResponseStatusEvent',\
554                         \ dmaapResponse);\n}\n\ntrue;"
555             events:
556               key:
557                 name: APEXacElementPolicy_Events
558                 version: 0.0.1
559               eventMap:
560                 entry:
561                 - key:
562                     name: AcElementEvent
563                     version: 0.0.1
564                   value:
565                     key:
566                       name: AcElementEvent
567                       version: 0.0.1
568                     nameSpace: org.onap.policy.apex.ac.element
569                     source: Dmaap
570                     target: APEX
571                     parameter:
572                       entry:
573                       - key: DmaapResponseEvent
574                         value:
575                           key:
576                             parentKeyName: AcElementEvent
577                             parentKeyVersion: 0.0.1
578                             parentLocalName: 'NULL'
579                             localName: DmaapResponseEvent
580                           fieldSchemaKey:
581                             name: ACEventType
582                             version: 0.0.1
583                           optional: false
584                     toscaPolicyState: ENTRY
585                 - key:
586                     name: DmaapResponseStatusEvent
587                     version: 0.0.1
588                   value:
589                     key:
590                       name: DmaapResponseStatusEvent
591                       version: 0.0.1
592                     nameSpace: org.onap.policy.apex.ac.element
593                     source: APEX
594                     target: Dmaap
595                     parameter:
596                       entry:
597                       - key: DmaapResponseStatusEvent
598                         value:
599                           key:
600                             parentKeyName: DmaapResponseStatusEvent
601                             parentKeyVersion: 0.0.1
602                             parentLocalName: 'NULL'
603                             localName: DmaapResponseStatusEvent
604                           fieldSchemaKey:
605                             name: ACEventType
606                             version: 0.0.1
607                           optional: false
608                     toscaPolicyState: ''
609                 - key:
610                     name: LogEvent
611                     version: 0.0.1
612                   value:
613                     key:
614                       name: LogEvent
615                       version: 0.0.1
616                     nameSpace: org.onap.policy.apex.ac.element
617                     source: APEX
618                     target: file
619                     parameter:
620                       entry:
621                       - key: final_status
622                         value:
623                           key:
624                             parentKeyName: LogEvent
625                             parentKeyVersion: 0.0.1
626                             parentLocalName: 'NULL'
627                             localName: final_status
628                           fieldSchemaKey:
629                             name: SimpleStringType
630                             version: 0.0.1
631                           optional: false
632                       - key: message
633                         value:
634                           key:
635                             parentKeyName: LogEvent
636                             parentKeyVersion: 0.0.1
637                             parentLocalName: 'NULL'
638                             localName: message
639                           fieldSchemaKey:
640                             name: SimpleStringType
641                             version: 0.0.1
642                           optional: false
643                     toscaPolicyState: ''
644             albums:
645               key:
646                 name: APEXacElementPolicy_Albums
647                 version: 0.0.1
648               albums:
649                 entry:
650                 - key:
651                     name: ACElementAlbum
652                     version: 0.0.1
653                   value:
654                     key:
655                       name: ACElementAlbum
656                       version: 0.0.1
657                     scope: policy
658                     isWritable: true
659                     itemSchema:
660                       name: ACEventType
661                       version: 0.0.1
662             schemas:
663               key:
664                 name: APEXacElementPolicy_Schemas
665                 version: 0.0.1
666               schemas:
667                 entry:
668                 - key:
669                     name: ACEventType
670                     version: 0.0.1
671                   value:
672                     key:
673                       name: ACEventType
674                       version: 0.0.1
675                     schemaFlavour: Json
676                     schemaDefinition: "{\n    \"$schema\": \"http://json-schema.org/draft-04/schema#\"\
677                       ,\n    \"type\": \"object\",\n    \"properties\": {\n      \
678                       \  \"elementId\": {\n            \"type\": \"object\",\n   \
679                       \         \"properties\": {\n                \"name\": {\n \
680                       \                   \"type\": \"string\"\n                },\n\
681                       \                \"version\": {\n                    \"type\"\
682                       : \"string\"\n                }\n            },\n          \
683                       \  \"required\": [\n                \"name\",\n            \
684                       \    \"version\"\n            ]\n        },\n        \"message\"\
685                       : {\n            \"type\": \"string\"\n        },\n        \"\
686                       messageType\": {\n            \"type\": \"string\"\n       \
687                       \ }\n    },\n    \"required\": [\n        \"elementId\",\n \
688                       \       \"message\",\n        \"messageType\"\n    ]\n}"
689                 - key:
690                     name: SimpleIntType
691                     version: 0.0.1
692                   value:
693                     key:
694                       name: SimpleIntType
695                       version: 0.0.1
696                     schemaFlavour: Java
697                     schemaDefinition: java.lang.Integer
698                 - key:
699                     name: SimpleStringType
700                     version: 0.0.1
701                   value:
702                     key:
703                       name: SimpleStringType
704                       version: 0.0.1
705                     schemaFlavour: Java
706                     schemaDefinition: java.lang.String
707                 - key:
708                     name: UUIDType
709                     version: 0.0.1
710                   value:
711                     key:
712                       name: UUIDType
713                       version: 0.0.1
714                     schemaFlavour: Java
715                     schemaDefinition: java.util.UUID
716             key:
717               name: APEXacElementPolicy
718               version: 0.0.1
719             keyInformation:
720               key:
721                 name: APEXacElementPolicy_KeyInfo
722                 version: 0.0.1
723               keyInfoMap:
724                 entry:
725                 - key:
726                     name: ACElementAlbum
727                     version: 0.0.1
728                   value:
729                     key:
730                       name: ACElementAlbum
731                       version: 0.0.1
732                     UUID: 7cddfab8-6d3f-3f7f-8ac3-e2eb5979c900
733                     description: Generated description for concept referred to by
734                       key "ACElementAlbum:0.0.1"
735                 - key:
736                     name: ACEventType
737                     version: 0.0.1
738                   value:
739                     key:
740                       name: ACEventType
741                       version: 0.0.1
742                     UUID: dab78794-b666-3929-a75b-70d634b04fe5
743                     description: Generated description for concept referred to by
744                       key "ACEventType:0.0.1"
745                 - key:
746                     name: APEXacElementPolicy
747                     version: 0.0.1
748                   value:
749                     key:
750                       name: APEXacElementPolicy
751                       version: 0.0.1
752                     UUID: da478611-7d77-3c46-b4be-be968769ba4e
753                     description: Generated description for concept referred to by
754                       key "APEXacElementPolicy:0.0.1"
755                 - key:
756                     name: APEXacElementPolicy_Albums
757                     version: 0.0.1
758                   value:
759                     key:
760                       name: APEXacElementPolicy_Albums
761                       version: 0.0.1
762                     UUID: fa8dc15e-8c8d-3de3-a0f8-585b76511175
763                     description: Generated description for concept referred to by
764                       key "APEXacElementPolicy_Albums:0.0.1"
765                 - key:
766                     name: APEXacElementPolicy_Events
767                     version: 0.0.1
768                   value:
769                     key:
770                       name: APEXacElementPolicy_Events
771                       version: 0.0.1
772                     UUID: 8508cd65-8dd2-342d-a5c6-1570810dbe2b
773                     description: Generated description for concept referred to by
774                       key "APEXacElementPolicy_Events:0.0.1"
775                 - key:
776                     name: APEXacElementPolicy_KeyInfo
777                     version: 0.0.1
778                   value:
779                     key:
780                       name: APEXacElementPolicy_KeyInfo
781                       version: 0.0.1
782                     UUID: 09e6927d-c5ac-3779-919f-9333994eed22
783                     description: Generated description for concept referred to by
784                       key "APEXacElementPolicy_KeyInfo:0.0.1"
785                 - key:
786                     name: APEXacElementPolicy_Policies
787                     version: 0.0.1
788                   value:
789                     key:
790                       name: APEXacElementPolicy_Policies
791                       version: 0.0.1
792                     UUID: cade3c9a-1600-3642-a6f4-315612187f46
793                     description: Generated description for concept referred to by
794                       key "APEXacElementPolicy_Policies:0.0.1"
795                 - key:
796                     name: APEXacElementPolicy_Schemas
797                     version: 0.0.1
798                   value:
799                     key:
800                       name: APEXacElementPolicy_Schemas
801                       version: 0.0.1
802                     UUID: 5bb4a8e9-35fa-37db-9a49-48ef036a7ba9
803                     description: Generated description for concept referred to by
804                       key "APEXacElementPolicy_Schemas:0.0.1"
805                 - key:
806                     name: APEXacElementPolicy_Tasks
807                     version: 0.0.1
808                   value:
809                     key:
810                       name: APEXacElementPolicy_Tasks
811                       version: 0.0.1
812                     UUID: 2527eeec-0d1f-3094-ad3f-212622b12836
813                     description: Generated description for concept referred to by
814                       key "APEXacElementPolicy_Tasks:0.0.1"
815                 - key:
816                     name: AcElementEvent
817                     version: 0.0.1
818                   value:
819                     key:
820                       name: AcElementEvent
821                       version: 0.0.1
822                     UUID: 32c013e2-2740-3986-a626-cbdf665b63e9
823                     description: Generated description for concept referred to by
824                       key "AcElementEvent:0.0.1"
825                 - key:
826                     name: DmaapResponseStatusEvent
827                     version: 0.0.1
828                   value:
829                     key:
830                       name: DmaapResponseStatusEvent
831                       version: 0.0.1
832                     UUID: 2715cb6c-2778-3461-8b69-871e79f95935
833                     description: Generated description for concept referred to by
834                       key "DmaapResponseStatusEvent:0.0.1"
835                 - key:
836                     name: ForwardPayloadTask
837                     version: 0.0.1
838                   value:
839                     key:
840                       name: ForwardPayloadTask
841                       version: 0.0.1
842                     UUID: 51defa03-1ecf-3314-bf34-2a652bce57fa
843                     description: Generated description for concept referred to by
844                       key "ForwardPayloadTask:0.0.1"
845                 - key:
846                     name: LogEvent
847                     version: 0.0.1
848                   value:
849                     key:
850                       name: LogEvent
851                       version: 0.0.1
852                     UUID: c540f048-96af-35e3-a36e-e9c29377cba7
853                     description: Generated description for concept referred to by
854                       key "LogEvent:0.0.1"
855                 - key:
856                     name: ReceiveEventPolicy
857                     version: 0.0.1
858                   value:
859                     key:
860                       name: ReceiveEventPolicy
861                       version: 0.0.1
862                     UUID: 568b7345-9de1-36d3-b6a3-9b857e6809a1
863                     description: Generated description for concept referred to by
864                       key "ReceiveEventPolicy:0.0.1"
865                 - key:
866                     name: SimpleIntType
867                     version: 0.0.1
868                   value:
869                     key:
870                       name: SimpleIntType
871                       version: 0.0.1
872                     UUID: 153791fd-ae0a-36a7-88a5-309a7936415d
873                     description: Generated description for concept referred to by
874                       key "SimpleIntType:0.0.1"
875                 - key:
876                     name: SimpleStringType
877                     version: 0.0.1
878                   value:
879                     key:
880                       name: SimpleStringType
881                       version: 0.0.1
882                     UUID: 8a4957cf-9493-3a76-8c22-a208e23259af
883                     description: Generated description for concept referred to by
884                       key "SimpleStringType:0.0.1"
885                 - key:
886                     name: UUIDType
887                     version: 0.0.1
888                   value:
889                     key:
890                       name: UUIDType
891                       version: 0.0.1
892                     UUID: 6a8cc68e-dfc8-3403-9c6d-071c886b319c
893                     description: Generated description for concept referred to by
894                       key "UUIDType:0.0.1"
895         eventInputParameters:
896           DmaapConsumer:
897             carrierTechnologyParameters:
898               carrierTechnology: RESTCLIENT
899               parameterClassName: org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters
900               parameters:
901                 url: http://message-router:3904/events/AC_ELEMENT_MSG/APEX/1?timeout=30000
902             eventProtocolParameters:
903               eventProtocol: JSON
904               parameters:
905                 pojoField: DmaapResponseEvent
906             eventName: AcElementEvent
907             eventNameFilter: AcElementEvent
908         eventOutputParameters:
909           logOutputter:
910             carrierTechnologyParameters:
911               carrierTechnology: FILE
912               parameters:
913                 fileName: outputevents.log
914             eventProtocolParameters:
915               eventProtocol: JSON
916           DmaapReplyProducer:
917             carrierTechnologyParameters:
918               carrierTechnology: RESTCLIENT
919               parameterClassName: org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters
920               parameters:
921                 url: http://message-router:3904/events/POLICY_UPDATE_MSG
922             eventProtocolParameters:
923               eventProtocol: JSON
924               parameters:
925                 pojoField: DmaapResponseStatusEvent
926             eventNameFilter: (LogEvent|DmaapResponseStatusEvent)
927       name: onap.policies.native.apex.ac.element
928       version: 1.0.0