c15d116438ea6ed2ac9ce98dc74721580ffaa8c4
[policy/clamp.git] /
1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2021 Nordix Foundation.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
18 tosca_definitions_version: tosca_simple_yaml_1_3
19 data_types:
20   onap.datatypes.ToscaConceptIdentifier:
21     derived_from: tosca.datatypes.Root
22     properties:
23       name:
24         type: string
25         required: true
26       version:
27         type: string
28         required: true
29   org.onap.datatypes.policy.clamp.controlloop.DCAEMicroserviceControlLoopElementConsulInfo:
30     name: org.onap.datatypes.policy.clamp.controlloop.DCAEMicroserviceControlLoopElementConsulInfo
31     version: 0.0.0
32     derived_from: tosca.datatypes.Root
33     properties:
34       consulUrl:
35         name: consulUrl
36         type: string
37         typeVersion: 0.0.0
38         description: Consul url for this entry
39         required: true
40       consul_body:
41         name: consulBody
42         type: string
43         typeVersion: 0.0.0
44         description: Body of Consul entry
45         required: true
46   onap.datatypes.monitoring.managedObjectDNsBasic:
47     constraints: []
48     properties:
49       DN:
50         name: DN
51         type: string
52         typeVersion: 0.0.0
53         description: Managed object distinguished name
54         required: true
55         constraints: []
56         metadata: {}
57     name: onap.datatypes.monitoring.managedObjectDNsBasic
58     version: 0.0.0
59     derived_from: tosca.datatypes.Root
60     metadata: {}
61   onap.datatypes.monitoring.managedObjectDNsBasics:
62     constraints: []
63     properties:
64       managedObjectDNsBasic:
65         name: managedObjectDNsBasic
66         type: map
67         typeVersion: 0.0.0
68         description: Managed object distinguished name object
69         required: true
70         constraints: []
71         entry_schema:
72           type: onap.datatypes.monitoring.managedObjectDNsBasic
73           typeVersion: 0.0.0
74           constraints: []
75         metadata: {}
76     name: onap.datatypes.monitoring.managedObjectDNsBasics
77     version: 0.0.0
78     derived_from: tosca.datatypes.Root
79     metadata: {}
80   onap.datatypes.monitoring.measurementGroup:
81     constraints: []
82     properties:
83       measurementTypes:
84         name: measurementTypes
85         type: list
86         typeVersion: 0.0.0
87         description: List of measurement types
88         required: true
89         constraints: []
90         entry_schema:
91           type: onap.datatypes.monitoring.measurementTypes
92           typeVersion: 0.0.0
93           constraints: []
94         metadata: {}
95       managedObjectDNsBasic:
96         name: managedObjectDNsBasic
97         type: list
98         typeVersion: 0.0.0
99         description: List of managed object distinguished names
100         required: true
101         constraints: []
102         entry_schema:
103           type: onap.datatypes.monitoring.managedObjectDNsBasics
104           typeVersion: 0.0.0
105           constraints: []
106         metadata: {}
107     name: onap.datatypes.monitoring.measurementGroup
108     version: 0.0.0
109     derived_from: tosca.datatypes.Root
110     metadata: {}
111   onap.datatypes.monitoring.measurementGroups:
112     constraints: []
113     properties:
114       measurementGroup:
115         name: measurementGroup
116         type: map
117         typeVersion: 0.0.0
118         description: Measurement Group
119         required: true
120         constraints: []
121         entry_schema:
122           type: onap.datatypes.monitoring.measurementGroup
123           typeVersion: 0.0.0
124           constraints: []
125         metadata: {}
126     name: onap.datatypes.monitoring.measurementGroups
127     version: 0.0.0
128     derived_from: tosca.datatypes.Root
129     metadata: {}
130   onap.datatypes.monitoring.measurementType:
131     constraints: []
132     properties:
133       measurementType:
134         name: measurementType
135         type: string
136         typeVersion: 0.0.0
137         description: Measurement type
138         required: true
139         constraints: []
140         metadata: {}
141     name: onap.datatypes.monitoring.measurementType
142     version: 0.0.0
143     derived_from: tosca.datatypes.Root
144     metadata: {}
145   onap.datatypes.monitoring.measurementTypes:
146     constraints: []
147     properties:
148       measurementType:
149         name: measurementType
150         type: map
151         typeVersion: 0.0.0
152         description: Measurement type object
153         required: true
154         constraints: []
155         entry_schema:
156           type: onap.datatypes.monitoring.measurementType
157           typeVersion: 0.0.0
158           constraints: []
159         metadata: {}
160     name: onap.datatypes.monitoring.measurementTypes
161     version: 0.0.0
162     derived_from: tosca.datatypes.Root
163     metadata: {}
164   onap.datatypes.monitoring.nfFilter:
165     constraints: []
166     properties:
167       modelNames:
168         name: modelNames
169         type: list
170         typeVersion: 0.0.0
171         description: List of model names
172         required: true
173         constraints: []
174         entry_schema:
175           type: string
176           typeVersion: 0.0.0
177           constraints: []
178         metadata: {}
179       modelInvariantIDs:
180         name: modelInvariantIDs
181         type: list
182         typeVersion: 0.0.0
183         description: List of model invariant IDs
184         required: true
185         constraints: []
186         entry_schema:
187           type: string
188           typeVersion: 0.0.0
189           constraints: []
190         metadata: {}
191       modelVersionIDs:
192         name: modelVersionIDs
193         type: list
194         typeVersion: 0.0.0
195         description: List of model version IDs
196         required: true
197         constraints: []
198         entry_schema:
199           type: string
200           typeVersion: 0.0.0
201           constraints: []
202         metadata: {}
203       nfNames:
204         name: nfNames
205         type: list
206         typeVersion: 0.0.0
207         description: List of network functions
208         required: true
209         constraints: []
210         entry_schema:
211           type: string
212           typeVersion: 0.0.0
213           constraints: []
214         metadata: {}
215     name: onap.datatypes.monitoring.nfFilter
216     version: 0.0.0
217     derived_from: tosca.datatypes.Root
218     metadata: {}
219   onap.datatypes.monitoring.subscription:
220     constraints: []
221     properties:
222       measurementGroups:
223         name: measurementGroups
224         type: list
225         typeVersion: 0.0.0
226         description: Measurement Groups
227         required: true
228         constraints: []
229         entry_schema:
230           type: onap.datatypes.monitoring.measurementGroups
231           typeVersion: 0.0.0
232           constraints: []
233         metadata: {}
234       fileBasedGP:
235         name: fileBasedGP
236         type: integer
237         typeVersion: 0.0.0
238         description: File based granularity period
239         required: true
240         constraints: []
241         metadata: {}
242       fileLocation:
243         name: fileLocation
244         type: string
245         typeVersion: 0.0.0
246         description: ROP file location
247         required: true
248         constraints: []
249         metadata: {}
250       subscriptionName:
251         name: subscriptionName
252         type: string
253         typeVersion: 0.0.0
254         description: Name of the subscription
255         required: true
256         constraints: []
257         metadata: {}
258       administrativeState:
259         name: administrativeState
260         type: string
261         typeVersion: 0.0.0
262         description: State of the subscription
263         required: true
264         constraints:
265         - valid_values:
266           - LOCKED
267           - UNLOCKED
268         metadata: {}
269       nfFilter:
270         name: nfFilter
271         type: map
272         typeVersion: 0.0.0
273         description: Network function filter
274         required: true
275         constraints: []
276         entry_schema:
277           type: onap.datatypes.monitoring.nfFilter
278           typeVersion: 0.0.0
279           constraints: []
280         metadata: {}
281     name: onap.datatypes.monitoring.subscription
282     version: 0.0.0
283     derived_from: tosca.datatypes.Root
284     metadata: {}
285 policy_types:
286   onap.policies.Monitoring:
287     derived_from: tosca.policies.Root
288     description: a base policy type for all policies that govern monitoring provisioning
289     version: 1.0.0
290     name: onap.policies.Monitoring
291   onap.policies.monitoring.dcae-pm-subscription-handler:
292     properties:
293       pmsh_policy:
294         name: pmsh_policy
295         type: onap.datatypes.monitoring.subscription
296         typeVersion: 0.0.0
297         description: PMSH Policy JSON
298         required: false
299         constraints: []
300         metadata: {}
301     name: onap.policies.monitoring.dcae-pm-subscription-handler
302     version: 1.0.0
303     derived_from: onap.policies.Monitoring
304     metadata: {}
305   onap.policies.controlloop.operational.common.Apex:
306     derived_from: onap.policies.controlloop.operational.Common
307     type_version: 1.0.0
308     version: 1.0.0
309     name: onap.policies.controlloop.operational.common.Apex
310     description: Operational policies for Apex PDP
311     properties:
312         engineServiceParameters:
313             type: string
314             description: The engine parameters like name, instanceCount, policy implementation, parameters etc.
315             required: true
316         eventInputParameters:
317             type: string
318             description: The event input parameters.
319             required: true
320         eventOutputParameters:
321             type: string
322             description: The event output parameters.
323             required: true
324         javaProperties:
325             type: string
326             description: Name/value pairs of properties to be set for APEX if needed.
327             required: false
328 node_types:
329   org.onap.policy.clamp.controlloop.Participant:
330     version: 1.0.1
331     derived_from: tosca.nodetypes.Root
332     properties:
333       provider:
334         type: string
335         requred: false
336   org.onap.policy.clamp.controlloop.ControlLoopElement:
337     version: 1.0.1
338     derived_from: tosca.nodetypes.Root
339     properties:
340       provider:
341         type: string
342         requred: false
343       participant_id:
344         type: onap.datatypes.ToscaConceptIdentifier
345         requred: true
346   org.onap.policy.clamp.controlloop.ControlLoop:
347     version: 1.0.1
348     derived_from: tosca.nodetypes.Root
349     properties:
350       provider:
351         type: string
352         requred: false
353       elements:
354         type: list
355         required: true
356         entry_schema:
357           type: onap.datatypes.ToscaConceptIdentifier
358   org.onap.policy.clamp.controlloop.DCAEMicroserviceControlLoopElement:
359     version: 1.0.1
360     derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
361     properties:
362       dcae_blueprint_id:
363         type: onap.datatypes.ToscaConceptIdentifier
364         requred: false
365       dcae_blueprint:
366         type: onap.dcae.cloudify_blueprint
367         requred: false
368       consul_info:
369         type: list
370         required: false
371         entry_schema:
372           type: org.onap.datatypes.policy.clamp.controlloop.DCAEMicroserviceControlLoopElementConsulInfo
373   org.onap.policy.clamp.controlloop.PolicyControlLoopElement:
374     version: 1.0.1
375     derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
376     properties:
377       policy_type_id:
378         type: onap.datatypes.ToscaConceptIdentifier
379         requred: true
380       policy_id:
381         type: onap.datatypes.ToscaConceptIdentifier
382         requred: false
383   org.onap.policy.clamp.controlloop.CDSControlLoopElement:
384     version: 1.0.1
385     derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
386     properties:
387       cds_blueprint_id:
388         type: onap.datatypes.ToscaConceptIdentifier
389         requred: true
390 topology_template:
391   inputs:
392     pmsh_monitoring_policy:
393       type: onap.datatypes.ToscaConceptIdentifier
394       description: The ID of the PMSH monitoring policy to use
395       default:
396         name: MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test
397         version: 1.0.0
398     pmsh_operational_policy:
399       type: onap.datatypes.ToscaConceptIdentifier
400       description: The ID of the PMSH operational policy to use
401       default:
402         name: operational.apex.pmcontrol
403         version: 1.0.0
404   node_templates:
405     org.onap.dcae.controlloop.DCAEMicroserviceControlLoopParticipant:
406       version: 2.3.4
407       type: org.onap.policy.clamp.controlloop.Participant
408       type_version: 1.0.1
409       description: Participant for DCAE microservices
410       properties:
411         provider: ONAP
412     org.onap.policy.controlloop.PolicyControlLoopParticipant:
413       version: 2.3.1
414       type: org.onap.policy.clamp.controlloop.Participant
415       type_version: 1.0.1
416       description: Participant for DCAE microservices
417       properties:
418         provider: ONAP
419     org.onap.ccsdk.cds.controlloop.CdsControlLoopParticipant:
420       version: 2.2.1
421       type: org.onap.policy.clamp.controlloop.Participant
422       type_version: 1.0.1
423       description: Participant for DCAE microservices
424       properties:
425         provider: ONAP
426     org.onap.domain.pmsh.PMSH_DCAEMicroservice:
427       version: 1.2.3
428       type: org.onap.policy.clamp.controlloop.DCAEMicroserviceControlLoopElement
429       type_version: 1.0.0
430       description: Control loop element for the DCAE microservice for Performance Management Subscription Handling
431       properties:
432         provider: Ericsson
433         participant_id:
434           name: org.onap.dcae.controlloop.DCAEMicroserviceControlLoopParticipant
435           version: 2.3.4
436         dcae_blueprint:
437           tosca_definitions_version: cloudify_dsl_1_3
438           imports:
439           - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
440           - plugin:k8splugin?version=3.7.0
441           - plugin:pgaas?version=1.3.0
442           - plugin:clamppolicyplugin?version=1.1.0
443           inputs:
444             tag_version:
445               type: string
446               description: Docker image to be used
447               default: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pmsh:1.1.2
448             replicas:
449               type: integer
450               description: Number of instances
451               default: 1
452             operational_policy_name:
453               type: string
454               default: operational.apex.pmcontrol
455             control_loop_name:
456               type: string
457               default: pmsh-control-loop
458             pmsh_publish_topic_name:
459               type: string
460               default: unauthenticated.DCAE_CL_OUTPUT
461             policy_feedback_topic_name:
462               type: string
463               default: unauthenticated.PMSH_CL_INPUT
464             aai_notification_topic_name:
465               type: string
466               default: AAI-EVENT
467             publisher_client_role:
468               type: string
469               description: Client role to request secure access to topic
470               default: org.onap.dcae.pmPublisher
471             subscriber_client_role:
472               type: string
473               description: Client role to request secure access to topic
474               default: org.onap.dcae.pmSubscriber
475             dcae_location:
476               type: string
477               description: DCAE location for the subscriber, used to set up routing
478               default: san-francisco
479             cpu_limit:
480               type: string
481               default: 1000m
482             cpu_request:
483               type: string
484               default: 1000m
485             memory_limit:
486               type: string
487               default: 1024Mi
488             memory_request:
489               type: string
490               default: 1024Mi
491             pgaas_cluster_name:
492               type: string
493               default: dcae-pg-primary.onap
494             enable_tls:
495               type: boolean
496               default: true
497             protocol:
498               type: string
499               description: PMSH protocol. If enable_tls is false, set to http
500               default: https
501             policy_model_id:
502               type: string
503               default: onap.policies.monitoring.dcae-pm-subscription-handler
504             policy_id:
505               type: string
506               default: MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test
507           node_templates:
508             pgaasvm:
509               type: dcae.nodes.pgaas.database
510               properties:
511                 writerfqdn:
512                   get_input: pgaas_cluster_name
513                 name: pmsh
514             pmsh:
515               type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
516               interfaces:
517                 cloudify.interfaces.lifecycle:
518                   create:
519                     inputs:
520                       ports:
521                       - '8443:0'
522                       envs:
523                         PMSH_PG_URL:
524                           get_attribute:
525                           - pgaasvm
526                           - admin
527                           - host
528                         PMSH_PG_PASSWORD:
529                           get_attribute:
530                           - pgaasvm
531                           - admin
532                           - password
533                         PMSH_PG_USERNAME:
534                           get_attribute:
535                           - pgaasvm
536                           - admin
537                           - user
538                         PMSH_DB_NAME:
539                           get_attribute:
540                           - pgaasvm
541                           - admin
542                           - database
543               relationships:
544               - target: pmsh-policy
545                 type: cloudify.relationships.depends_on
546               properties:
547                 service_component_type: dcae-pmsh
548                 service_component_name_override: dcae-pmsh
549                 application_config:
550                   enable_tls:
551                     get_input: enable_tls
552                   aaf_identity: dcae@dcae.onap.org
553                   aaf_password: demo123456!
554                   operational_policy_name:
555                     get_input: operational_policy_name
556                   control_loop_name:
557                     get_input: control_loop_name
558                   cert_path: /opt/app/pmsh/etc/certs/cert.pem
559                   key_path: /opt/app/pmsh/etc/certs/key.pem
560                   ca_cert_path: /opt/app/pmsh/etc/certs/cacert.pem
561                   streams_publishes:
562                     policy_pm_publisher:
563                       type: message_router
564                       dmaap_info:
565                         topic_url:
566                           concat:
567                           - http://message-router:3904/events/
568                           - get_input: pmsh_publish_topic_name
569                   streams_subscribes:
570                     policy_pm_subscriber:
571                       type: message_router
572                       dmaap_info:
573                         topic_url:
574                           concat:
575                           - http://message-router:3904/events/
576                           - get_input: policy_feedback_topic_name
577                     aai_subscriber:
578                       type: message_router
579                       dmaap_info:
580                         topic_url:
581                           concat:
582                           - http://message-router:3904/events/
583                           - get_input: aai_notification_topic_name
584                 resource_config:
585                   limits:
586                     cpu:
587                       get_input: cpu_limit
588                     memory:
589                       get_input: memory_limit
590                   requests:
591                     cpu:
592                       get_input: cpu_request
593                     memory:
594                       get_input: memory_request
595                 docker_config:
596                   healthcheck:
597                     endpoint: /healthcheck
598                     interval: 15s
599                     timeout: 1s
600                     type:
601                       get_input: protocol
602                 image:
603                   get_input: tag_version
604                 replicas:
605                   get_input: replicas
606                 log_info:
607                   log_directory: /var/log/ONAP/dcaegen2/services/pmsh
608                 tls_info:
609                   cert_directory: /opt/app/pmsh/etc/certs
610                   use_tls:
611                     get_input: enable_tls
612             pmsh-policy:
613               type: clamp.nodes.policy
614               properties:
615                 policy_model_id:
616                   get_input: policy_model_id
617                 policy_id:
618                   get_input: policy_id
619         consul_info:
620         - consulUrl: http://consul:31321/v1/kv/dcae-pmsh:policy
621           consulBody:
622             subscription:
623               subscriptionName: subscriptiona
624               administrativeState: UNLOCKED
625               fileBasedGP: 15
626               fileLocation: /pm/pm.xml
627               nfFilter:
628                 nfNames:
629                 - ^pnf1.*
630                 modelInvariantIDs:
631                 - 5845y423-g654-6fju-po78-8n53154532k6
632                 - 7129e420-d396-4efb-af02-6b83499b12f8
633                 modelVersionIDs:
634                 - e80a6ae3-cafd-4d24-850d-e14c084a5ca9
635               measurementGroups:
636               - measurementGroup:
637                   measurementTypes:
638                   - measurementType: countera
639                   - measurementType: counterb
640                   managedObjectDNsBasic:
641                   - DN: dna
642                   - DN: dnb
643               - measurementGroup:
644                   measurementTypes:
645                   - measurementType: counterc
646                   - measurementType: counterd
647                   managedObjectDNsBasic:
648                   - DN: dnc
649                   - DN: dnd
650     org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement:
651       version: 1.2.3
652       type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement
653       type_version: 1.0.0
654       description: Control loop element for the monitoring policy for Performance Management Subscription Handling
655       properties:
656         provider: Ericsson
657         participant_id:
658           name: org.onap.policy.controlloop.PolicyControlLoopParticipant
659           version: 2.3.1
660         policy_type_id:
661           name: onap.policies.monitoring.pm-subscription-handler
662           version: 1.0.0
663         policy_id:
664           get_input: pmsh_monitoring_policy
665     org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement:
666       version: 1.2.3
667       type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement
668       type_version: 1.0.0
669       description: Control loop element for the operational policy for Performance Management Subscription Handling
670       properties:
671         provider: Ericsson
672         participant_id:
673           name: org.onap.policy.controlloop.PolicyControlLoopParticipant
674           version: 2.2.1
675         policy_type_id:
676           name: onap.policies.operational.pm-subscription-handler
677           version: 1.0.0
678         policy_id:
679           get_input: pmsh_operational_policy
680     org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement:
681       version: 1.2.3
682       type: org.onap.policy.clamp.controlloop.CDSControlLoopElement
683       type_version: 1.0.0
684       description: Control loop element for CDS for Performance Management Subscription Handling
685       properties:
686         provider: Ericsson
687         participant_Id:
688           name: org.onap.ccsdk.cds.controlloop.CdsControlLoopParticipant
689           version: 3.2.1
690         cds_blueprint_id:
691           name: org.onap.ccsdk.cds.PMSHCdsBlueprint
692           version: 1.0.0
693     org.onap.domain.pmsh.PMSHControlLoopDefinition:
694       version: 1.2.3
695       type: org.onap.policy.clamp.controlloop.ControlLoop
696       type_version: 1.0.0
697       description: Control loop for Performance Management Subscription Handling
698       properties:
699         provider: Ericsson
700         elements:
701         - name: org.onap.domain.pmsh.PMSH_DCAEMicroservice
702           version: 1.2.3
703         - name: org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement
704           version: 1.2.3
705         - name: org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement
706           version: 1.2.3
707         - name: org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement
708           version: 1.2.3
709   policies:
710   - MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test:
711       type: onap.policies.monitoring.dcae-pm-subscription-handler
712       type_version: 1.0.0
713       name: MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test
714       version: 1.0.0
715       metadata:
716         policy-id: MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test
717         policy-version: 1.0.0
718       properties:
719         pmsh_policy:
720           fileBasedGP: 15
721           fileLocation: /pm/pm.xml
722           subscriptionName: subscriptiona
723           administrativeState: UNLOCKED
724           nfFilter:
725             onap.datatypes.monitoring.nfFilter:
726               modelVersionIDs:
727               - e80a6ae3-cafd-4d24-850d-e14c084a5ca9
728               modelInvariantIDs:
729               - 5845y423-g654-6fju-po78-8n53154532k6
730               - 7129e420-d396-4efb-af02-6b83499b12f8
731               modelNames: []
732               nfNames:
733               - '"^pnf1.*"'
734           measurementGroups:
735           - measurementGroup:
736               onap.datatypes.monitoring.measurementGroup:
737                 measurementTypes:
738                 - measurementType:
739                     onap.datatypes.monitoring.measurementType:
740                       measurementType: countera
741                 - measurementType:
742                     onap.datatypes.monitoring.measurementType:
743                       measurementType: counterb
744                 managedObjectDNsBasic:
745                 - managedObjectDNsBasic:
746                     onap.datatypes.monitoring.managedObjectDNsBasic:
747                       DN: dna
748                 - managedObjectDNsBasic:
749                     onap.datatypes.monitoring.managedObjectDNsBasic:
750                       DN: dnb
751           - measurementGroup:
752               onap.datatypes.monitoring.measurementGroup:
753                 measurementTypes:
754                 - measurementType:
755                     onap.datatypes.monitoring.measurementType:
756                       measurementType: counterc
757                 - measurementType:
758                     onap.datatypes.monitoring.measurementType:
759                       measurementType: counterd
760                 managedObjectDNsBasic:
761                 - managedObjectDNsBasic:
762                     onap.datatypes.monitoring.managedObjectDNsBasic:
763                       DN: dnc
764                 - managedObjectDNsBasic:
765                     onap.datatypes.monitoring.managedObjectDNsBasic:
766                       DN: dnd
767   - operational.apex.pmcontrol:
768       type: onap.policies.controlloop.operational.Common.Apex
769       type_version: 1.0.0
770       version: 1.0.0
771       metadata:
772         policy-id: operational.apex.pmcontrol
773         policy-version: 1
774       properties:
775         engineServiceParameters:
776           name: MyApexEngine
777           version: 0.0.1
778           id: 45
779           instanceCount: 2
780           deploymentPort: 12561
781           policy_type_impl:
782             apexPolicyModel:
783               key:
784                 name: PMControlPolicy
785                 version: 0.0.1
786               keyInformation:
787                 key:
788                   name: PMControlPolicy_KeyInfo
789                   version: 0.0.1
790                 keyInfoMap:
791                   entry:
792                   - key:
793                       name: CDSActionIdentifiersType
794                       version: 0.0.1
795                     value:
796                       key:
797                         name: CDSActionIdentifiersType
798                         version: 0.0.1
799                       UUID: 6e5fa19b-14df-37e3-a4ae-8c537e861a82
800                       description: Generated description for concept referred to by key "CDSActionIdentifiersType:0.0.1"
801                   - key:
802                       name: CDSCreateResponseEvent
803                       version: 0.0.1
804                     value:
805                       key:
806                         name: CDSCreateResponseEvent
807                         version: 0.0.1
808                       UUID: 14b29e38-ac75-3273-aa4e-8583c0aa7dad
809                       description: Generated description for concept referred to by key "CDSCreateResponseEvent:0.0.1"
810                   - key:
811                       name: CDSCreateResponsePayloadType
812                       version: 0.0.1
813                     value:
814                       key:
815                         name: CDSCreateResponsePayloadType
816                         version: 0.0.1
817                       UUID: 04573f8f-e772-30a5-b1d9-d7318d4a1e13
818                       description: Generated description for concept referred to by key "CDSCreateResponsePayloadType:0.0.1"
819                   - key:
820                       name: CDSCreateResponsePolicy
821                       version: 0.0.1
822                     value:
823                       key:
824                         name: CDSCreateResponsePolicy
825                         version: 0.0.1
826                       UUID: e126c965-fc09-3bfe-8f55-70f380a4a49c
827                       description: Generated description for concept referred to by key "CDSCreateResponsePolicy:0.0.1"
828                   - key:
829                       name: CDSCreateResponseTask
830                       version: 0.0.1
831                     value:
832                       key:
833                         name: CDSCreateResponseTask
834                         version: 0.0.1
835                       UUID: 6165ee82-afd2-3aab-a517-f00b3f2461d2
836                       description: Generated description for concept referred to by key "CDSCreateResponseTask:0.0.1"
837                   - key:
838                       name: CDSCreateSubscriptionPayloadType
839                       version: 0.0.1
840                     value:
841                       key:
842                         name: CDSCreateSubscriptionPayloadType
843                         version: 0.0.1
844                       UUID: 8350ac5e-c157-38b9-9614-a0f93a830e60
845                       description: Generated description for concept referred to by key "CDSCreateSubscriptionPayloadType:0.0.1"
846                   - key:
847                       name: CDSCreateSubscriptionRequestEvent
848                       version: 0.0.1
849                     value:
850                       key:
851                         name: CDSCreateSubscriptionRequestEvent
852                         version: 0.0.1
853                       UUID: cfa325ba-226b-3a31-9183-ec43e2b6e9a2
854                       description: Generated description for concept referred to by key "CDSCreateSubscriptionRequestEvent:0.0.1"
855                   - key:
856                       name: CDSDeleteResponseEvent
857                       version: 0.0.1
858                     value:
859                       key:
860                         name: CDSDeleteResponseEvent
861                         version: 0.0.1
862                       UUID: 8be9c0fa-7437-3841-aff2-b3cec6ae3bd8
863                       description: Generated description for concept referred to by key "CDSDeleteResponseEvent:0.0.1"
864                   - key:
865                       name: CDSDeleteResponsePayloadType
866                       version: 0.0.1
867                     value:
868                       key:
869                         name: CDSDeleteResponsePayloadType
870                         version: 0.0.1
871                       UUID: 3fbfe0c9-152e-34d3-a504-09cd13c058d0
872                       description: Generated description for concept referred to by key "CDSDeleteResponsePayloadType:0.0.1"
873                   - key:
874                       name: CDSDeleteResponsePolicy
875                       version: 0.0.1
876                     value:
877                       key:
878                         name: CDSDeleteResponsePolicy
879                         version: 0.0.1
880                       UUID: a780251c-edd5-3132-b865-04313246b43c
881                       description: Generated description for concept referred to by key "CDSDeleteResponsePolicy:0.0.1"
882                   - key:
883                       name: CDSDeleteResponseTask
884                       version: 0.0.1
885                     value:
886                       key:
887                         name: CDSDeleteResponseTask
888                         version: 0.0.1
889                       UUID: afce4555-3aa3-3521-a7d8-ee8cdf0d3efc
890                       description: Generated description for concept referred to by key "CDSDeleteResponseTask:0.0.1"
891                   - key:
892                       name: CDSDeleteSubscriptionPayloadType
893                       version: 0.0.1
894                     value:
895                       key:
896                         name: CDSDeleteSubscriptionPayloadType
897                         version: 0.0.1
898                       UUID: 12658406-9147-3c9d-a38c-5ad5e30b092b
899                       description: Generated description for concept referred to by key "CDSDeleteSubscriptionPayloadType:0.0.1"
900                   - key:
901                       name: CDSDeleteSubscriptionRequestEvent
902                       version: 0.0.1
903                     value:
904                       key:
905                         name: CDSDeleteSubscriptionRequestEvent
906                         version: 0.0.1
907                       UUID: 24380c95-9289-36e6-8cbf-0edefa15ccd9
908                       description: Generated description for concept referred to by key "CDSDeleteSubscriptionRequestEvent:0.0.1"
909                   - key:
910                       name: CDSRequestCommonHeaderType
911                       version: 0.0.1
912                     value:
913                       key:
914                         name: CDSRequestCommonHeaderType
915                         version: 0.0.1
916                       UUID: 35590ac0-062c-39f1-8786-b4ff716e30b1
917                       description: Generated description for concept referred to by key "CDSRequestCommonHeaderType:0.0.1"
918                   - key:
919                       name: CDSResponseCommonHeaderType
920                       version: 0.0.1
921                     value:
922                       key:
923                         name: CDSResponseCommonHeaderType
924                         version: 0.0.1
925                       UUID: dd7e1805-885a-350b-aaf9-ed541321ae3c
926                       description: Generated description for concept referred to by key "CDSResponseCommonHeaderType:0.0.1"
927                   - key:
928                       name: CDSResponseStatusEvent
929                       version: 0.0.1
930                     value:
931                       key:
932                         name: CDSResponseStatusEvent
933                         version: 0.0.1
934                       UUID: 7986e21b-32f7-302e-9554-31f21b673493
935                       description: Generated description for concept referred to by key "CDSResponseStatusEvent:0.0.1"
936                   - key:
937                       name: CDSResponseStatusType
938                       version: 0.0.1
939                     value:
940                       key:
941                         name: CDSResponseStatusType
942                         version: 0.0.1
943                       UUID: 92b8a2cf-344e-3ce1-8cc0-2b7d3cb695fa
944                       description: Generated description for concept referred to by key "CDSResponseStatusType:0.0.1"
945                   - key:
946                       name: CreateSubscriptionPayloadEvent
947                       version: 0.0.1
948                     value:
949                       key:
950                         name: CreateSubscriptionPayloadEvent
951                         version: 0.0.1
952                       UUID: 92162397-1a8e-3a3f-a469-d2af7700af4a
953                       description: Generated description for concept referred to by key "CreateSubscriptionPayloadEvent:0.0.1"
954                   - key:
955                       name: CreateSubscriptionPayloadTask
956                       version: 0.0.1
957                     value:
958                       key:
959                         name: CreateSubscriptionPayloadTask
960                         version: 0.0.1
961                       UUID: bc0c69f0-52ed-38ea-b468-ae4a6fd1730d
962                       description: Generated description for concept referred to by key "CreateSubscriptionPayloadTask:0.0.1"
963                   - key:
964                       name: CreateSubscriptionRequestTask
965                       version: 0.0.1
966                     value:
967                       key:
968                         name: CreateSubscriptionRequestTask
969                         version: 0.0.1
970                       UUID: 89cb75e9-f06c-30d3-b4ff-698d45f63869
971                       description: Generated description for concept referred to by key "CreateSubscriptionRequestTask:0.0.1"
972                   - key:
973                       name: DeleteSubscriptionPayloadEvent
974                       version: 0.0.1
975                     value:
976                       key:
977                         name: DeleteSubscriptionPayloadEvent
978                         version: 0.0.1
979                       UUID: 994fa441-04ab-33bb-832d-1cd12ab5d074
980                       description: Generated description for concept referred to by key "DeleteSubscriptionPayloadEvent:0.0.1"
981                   - key:
982                       name: DeleteSubscriptionPayloadTask
983                       version: 0.0.1
984                     value:
985                       key:
986                         name: DeleteSubscriptionPayloadTask
987                         version: 0.0.1
988                       UUID: 0f519117-5fea-3e4b-941f-8f778100465f
989                       description: Generated description for concept referred to by key "DeleteSubscriptionPayloadTask:0.0.1"
990                   - key:
991                       name: DeleteSubscriptionRequestTask
992                       version: 0.0.1
993                     value:
994                       key:
995                         name: DeleteSubscriptionRequestTask
996                         version: 0.0.1
997                       UUID: acb772fe-d442-39e3-98f9-b1080caf4150
998                       description: Generated description for concept referred to by key "DeleteSubscriptionRequestTask:0.0.1"
999                   - key:
1000                       name: MRResponseEvent
1001                       version: 0.0.1
1002                     value:
1003                       key:
1004                         name: MRResponseEvent
1005                         version: 0.0.1
1006                       UUID: 13c747a3-6bae-3bcf-9c80-b152e01dc194
1007                       description: Generated description for concept referred to by key "MRResponseEvent:0.0.1"
1008                   - key:
1009                       name: PMControlPolicy
1010                       version: 0.0.1
1011                     value:
1012                       key:
1013                         name: PMControlPolicy
1014                         version: 0.0.1
1015                       UUID: acf1e55c-7bc5-3bd5-975a-0ca54afcd8a4
1016                       description: Generated description for concept referred to by key "PMControlPolicy:0.0.1"
1017                   - key:
1018                       name: PMControlPolicy_Albums
1019                       version: 0.0.1
1020                     value:
1021                       key:
1022                         name: PMControlPolicy_Albums
1023                         version: 0.0.1
1024                       UUID: b38ad204-c2c8-32f4-9b5a-dda0aeb0145b
1025                       description: Generated description for concept referred to by key "PMControlPolicy_Albums:0.0.1"
1026                   - key:
1027                       name: PMControlPolicy_Events
1028                       version: 0.0.1
1029                     value:
1030                       key:
1031                         name: PMControlPolicy_Events
1032                         version: 0.0.1
1033                       UUID: be3871a0-c42a-3113-a066-82d192840eca
1034                       description: Generated description for concept referred to by key "PMControlPolicy_Events:0.0.1"
1035                   - key:
1036                       name: PMControlPolicy_KeyInfo
1037                       version: 0.0.1
1038                     value:
1039                       key:
1040                         name: PMControlPolicy_KeyInfo
1041                         version: 0.0.1
1042                       UUID: ced37634-28a4-3178-b7f6-2980794927b0
1043                       description: Generated description for concept referred to by key "PMControlPolicy_KeyInfo:0.0.1"
1044                   - key:
1045                       name: PMControlPolicy_Policies
1046                       version: 0.0.1
1047                     value:
1048                       key:
1049                         name: PMControlPolicy_Policies
1050                         version: 0.0.1
1051                       UUID: be3d180d-ef9c-3a75-8e9c-84271a038bed
1052                       description: Generated description for concept referred to by key "PMControlPolicy_Policies:0.0.1"
1053                   - key:
1054                       name: PMControlPolicy_Schemas
1055                       version: 0.0.1
1056                     value:
1057                       key:
1058                         name: PMControlPolicy_Schemas
1059                         version: 0.0.1
1060                       UUID: e61973f1-189c-39e5-82f6-0d3afe298a20
1061                       description: Generated description for concept referred to by key "PMControlPolicy_Schemas:0.0.1"
1062                   - key:
1063                       name: PMControlPolicy_Tasks
1064                       version: 0.0.1
1065                     value:
1066                       key:
1067                         name: PMControlPolicy_Tasks
1068                         version: 0.0.1
1069                       UUID: 5658adb3-2962-30a3-a241-fae75bb8eb4a
1070                       description: Generated description for concept referred to by key "PMControlPolicy_Tasks:0.0.1"
1071                   - key:
1072                       name: PMSubscriptionAlbum
1073                       version: 0.0.1
1074                     value:
1075                       key:
1076                         name: PMSubscriptionAlbum
1077                         version: 0.0.1
1078                       UUID: c2bd6f0d-6854-317a-9be2-97c08338428c
1079                       description: Generated description for concept referred to by key "PMSubscriptionAlbum:0.0.1"
1080                   - key:
1081                       name: PMSubscriptionOutputEvent
1082                       version: 0.0.1
1083                     value:
1084                       key:
1085                         name: PMSubscriptionOutputEvent
1086                         version: 0.0.1
1087                       UUID: 992b7819-9f69-3aa0-bb0f-6e45ea15ce05
1088                       description: Generated description for concept referred to by key "PMSubscriptionOutputEvent:0.0.1"
1089                   - key:
1090                       name: PMSubscriptionType
1091                       version: 0.0.1
1092                     value:
1093                       key:
1094                         name: PMSubscriptionType
1095                         version: 0.0.1
1096                       UUID: 73c1c397-4fc3-357f-93b6-a8ad707fbaae
1097                       description: Generated description for concept referred to by key "PMSubscriptionType:0.0.1"
1098                   - key:
1099                       name: ReceiveEventPolicy
1100                       version: 0.0.1
1101                     value:
1102                       key:
1103                         name: ReceiveEventPolicy
1104                         version: 0.0.1
1105                       UUID: 568b7345-9de1-36d3-b6a3-9b857e6809a1
1106                       description: Generated description for concept referred to by key "ReceiveEventPolicy:0.0.1"
1107                   - key:
1108                       name: ReceiveSubscriptionTask
1109                       version: 0.0.1
1110                     value:
1111                       key:
1112                         name: ReceiveSubscriptionTask
1113                         version: 0.0.1
1114                       UUID: f596afc8-100c-35eb-92c8-352355ea457d
1115                       description: Generated description for concept referred to by key "ReceiveSubscriptionTask:0.0.1"
1116                   - key:
1117                       name: SimpleIntType
1118                       version: 0.0.1
1119                     value:
1120                       key:
1121                         name: SimpleIntType
1122                         version: 0.0.1
1123                       UUID: 153791fd-ae0a-36a7-88a5-309a7936415d
1124                       description: Generated description for concept referred to by key "SimpleIntType:0.0.1"
1125                   - key:
1126                       name: SimpleStringType
1127                       version: 0.0.1
1128                     value:
1129                       key:
1130                         name: SimpleStringType
1131                         version: 0.0.1
1132                       UUID: 8a4957cf-9493-3a76-8c22-a208e23259af
1133                       description: Generated description for concept referred to by key "SimpleStringType:0.0.1"
1134                   - key:
1135                       name: SubscriptionStatusType
1136                       version: 0.0.1
1137                     value:
1138                       key:
1139                         name: SubscriptionStatusType
1140                         version: 0.0.1
1141                       UUID: 597643b1-9db1-31ce-85d0-e1c63c43b30b
1142                       description: Generated description for concept referred to by key "SubscriptionStatusType:0.0.1"
1143                   - key:
1144                       name: SubscriptionType
1145                       version: 0.0.1
1146                     value:
1147                       key:
1148                         name: SubscriptionType
1149                         version: 0.0.1
1150                       UUID: 184547bb-7d64-3cb2-a273-d7185102c5ce
1151                       description: Generated description for concept referred to by key "SubscriptionType:0.0.1"
1152                   - key:
1153                       name: UUIDType
1154                       version: 0.0.1
1155                     value:
1156                       key:
1157                         name: UUIDType
1158                         version: 0.0.1
1159                       UUID: 6a8cc68e-dfc8-3403-9c6d-071c886b319c
1160                       description: Generated description for concept referred to by key "UUIDType:0.0.1"
1161                   - key:
1162                       name: pmsh-operational-policy
1163                       version: 0.0.1
1164                     value:
1165                       key:
1166                         name: pmsh-operational-policy
1167                         version: 0.0.1
1168                       UUID: fdf2c9ff-6422-3ea6-b6b6-49b12116265d
1169                       description: Generated description for concept referred to by key "pmsh-operational-policy:0.0.1"
1170               policies:
1171                 key:
1172                   name: PMControlPolicy_Policies
1173                   version: 0.0.1
1174                 policyMap:
1175                   entry:
1176                   - key:
1177                       name: CDSCreateResponsePolicy
1178                       version: 0.0.1
1179                     value:
1180                       policyKey:
1181                         name: CDSCreateResponsePolicy
1182                         version: 0.0.1
1183                       template: Freestyle
1184                       state:
1185                         entry:
1186                         - key: CDSCreateResponseState
1187                           value:
1188                             stateKey:
1189                               parentKeyName: CDSCreateResponsePolicy
1190                               parentKeyVersion: 0.0.1
1191                               parentLocalName: 'NULL'
1192                               localName: CDSCreateResponseState
1193                             trigger:
1194                               name: CDSCreateResponseEvent
1195                               version: 0.0.1
1196                             stateOutputs:
1197                               entry:
1198                               - key: ResponseOutput
1199                                 value:
1200                                   key:
1201                                     parentKeyName: CDSCreateResponsePolicy
1202                                     parentKeyVersion: 0.0.1
1203                                     parentLocalName: CDSCreateResponseState
1204                                     localName: ResponseOutput
1205                                   outgoingEvent:
1206                                     name: CDSResponseStatusEvent
1207                                     version: 0.0.1
1208                                   nextState:
1209                                     parentKeyName: 'NULL'
1210                                     parentKeyVersion: 0.0.0
1211                                     parentLocalName: 'NULL'
1212                                     localName: 'NULL'
1213                             contextAlbumReference: []
1214                             taskSelectionLogic:
1215                               key: 'NULL'
1216                               logicFlavour: UNDEFINED
1217                               logic: ''
1218                             stateFinalizerLogicMap:
1219                               entry: []
1220                             defaultTask:
1221                               name: CDSCreateResponseTask
1222                               version: 0.0.1
1223                             taskReferences:
1224                               entry:
1225                               - key:
1226                                   name: CDSCreateResponseTask
1227                                   version: 0.0.1
1228                                 value:
1229                                   key:
1230                                     parentKeyName: CDSCreateResponsePolicy
1231                                     parentKeyVersion: 0.0.1
1232                                     parentLocalName: CDSCreateResponseState
1233                                     localName: CDSCreateResponsePolicy
1234                                   outputType: DIRECT
1235                                   output:
1236                                     parentKeyName: CDSCreateResponsePolicy
1237                                     parentKeyVersion: 0.0.1
1238                                     parentLocalName: CDSCreateResponseState
1239                                     localName: ResponseOutput
1240                       firstState: CDSCreateResponseState
1241                   - key:
1242                       name: CDSDeleteResponsePolicy
1243                       version: 0.0.1
1244                     value:
1245                       policyKey:
1246                         name: CDSDeleteResponsePolicy
1247                         version: 0.0.1
1248                       template: Freestyle
1249                       state:
1250                         entry:
1251                         - key: CDSDeleteResponseState
1252                           value:
1253                             stateKey:
1254                               parentKeyName: CDSDeleteResponsePolicy
1255                               parentKeyVersion: 0.0.1
1256                               parentLocalName: 'NULL'
1257                               localName: CDSDeleteResponseState
1258                             trigger:
1259                               name: CDSDeleteResponseEvent
1260                               version: 0.0.1
1261                             stateOutputs:
1262                               entry:
1263                               - key: ResponseOutput
1264                                 value:
1265                                   key:
1266                                     parentKeyName: CDSDeleteResponsePolicy
1267                                     parentKeyVersion: 0.0.1
1268                                     parentLocalName: CDSDeleteResponseState
1269                                     localName: ResponseOutput
1270                                   outgoingEvent:
1271                                     name: CDSResponseStatusEvent
1272                                     version: 0.0.1
1273                                   nextState:
1274                                     parentKeyName: 'NULL'
1275                                     parentKeyVersion: 0.0.0
1276                                     parentLocalName: 'NULL'
1277                                     localName: 'NULL'
1278                             contextAlbumReference: []
1279                             taskSelectionLogic:
1280                               key: 'NULL'
1281                               logicFlavour: UNDEFINED
1282                               logic: ''
1283                             stateFinalizerLogicMap:
1284                               entry: []
1285                             defaultTask:
1286                               name: CDSDeleteResponseTask
1287                               version: 0.0.1
1288                             taskReferences:
1289                               entry:
1290                               - key:
1291                                   name: CDSDeleteResponseTask
1292                                   version: 0.0.1
1293                                 value:
1294                                   key:
1295                                     parentKeyName: CDSDeleteResponsePolicy
1296                                     parentKeyVersion: 0.0.1
1297                                     parentLocalName: CDSDeleteResponseState
1298                                     localName: CDSDeleteResponsePolicy
1299                                   outputType: DIRECT
1300                                   output:
1301                                     parentKeyName: CDSDeleteResponsePolicy
1302                                     parentKeyVersion: 0.0.1
1303                                     parentLocalName: CDSDeleteResponseState
1304                                     localName: ResponseOutput
1305                       firstState: CDSDeleteResponseState
1306                   - key:
1307                       name: ReceiveEventPolicy
1308                       version: 0.0.1
1309                     value:
1310                       policyKey:
1311                         name: ReceiveEventPolicy
1312                         version: 0.0.1
1313                       template: Freestyle
1314                       state:
1315                         entry:
1316                         - key: CreateOrDeleteState
1317                           value:
1318                             stateKey:
1319                               parentKeyName: ReceiveEventPolicy
1320                               parentKeyVersion: 0.0.1
1321                               parentLocalName: 'NULL'
1322                               localName: CreateOrDeleteState
1323                             trigger:
1324                               name: PMSubscriptionOutputEvent
1325                               version: 0.0.1
1326                             stateOutputs:
1327                               entry:
1328                               - key: CreateSubscriptionPayload
1329                                 value:
1330                                   key:
1331                                     parentKeyName: ReceiveEventPolicy
1332                                     parentKeyVersion: 0.0.1
1333                                     parentLocalName: CreateOrDeleteState
1334                                     localName: CreateSubscriptionPayload
1335                                   outgoingEvent:
1336                                     name: CreateSubscriptionPayloadEvent
1337                                     version: 0.0.1
1338                                   nextState:
1339                                     parentKeyName: ReceiveEventPolicy
1340                                     parentKeyVersion: 0.0.1
1341                                     parentLocalName: 'NULL'
1342                                     localName: CreateSubscription
1343                               - key: DeleteSubscriptionPayload
1344                                 value:
1345                                   key:
1346                                     parentKeyName: ReceiveEventPolicy
1347                                     parentKeyVersion: 0.0.1
1348                                     parentLocalName: CreateOrDeleteState
1349                                     localName: DeleteSubscriptionPayload
1350                                   outgoingEvent:
1351                                     name: DeleteSubscriptionPayloadEvent
1352                                     version: 0.0.1
1353                                   nextState:
1354                                     parentKeyName: ReceiveEventPolicy
1355                                     parentKeyVersion: 0.0.1
1356                                     parentLocalName: 'NULL'
1357                                     localName: DeleteSubscription
1358                             contextAlbumReference:
1359                             - name: PMSubscriptionAlbum
1360                               version: 0.0.1
1361                             taskSelectionLogic:
1362                               key: TaskSelectionLogic
1363                               logicFlavour: JAVASCRIPT
1364                               logic: |-
1365                                 /*
1366                                  * ============LICENSE_START=======================================================
1367                                  *  Copyright (C) 2020 Nordix. All rights reserved.
1368                                  * ================================================================================
1369                                  * Licensed under the Apache License, Version 2.0 (the "License");
1370                                  * you may not use this file except in compliance with the License.
1371                                  * You may obtain a copy of the License at
1372                                  *
1373                                  *      http://www.apache.org/licenses/LICENSE-2.0
1374                                  *
1375                                  * Unless required by applicable law or agreed to in writing, software
1376                                  * distributed under the License is distributed on an "AS IS" BASIS,
1377                                  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1378                                  * See the License for the specific language governing permissions and
1379                                  * limitations under the License.
1380                                  *
1381                                  * SPDX-License-Identifier: Apache-2.0
1382                                  * ============LICENSE_END=========================================================
1383                                  */
1384                                 executor.logger.info(executor.subject.id);
1385                                 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
1386                                 var changeType = pmSubscriptionInfo.get("changeType").toString()
1387                                 executor.logger.info("Change Type is " + changeType)
1388                                 if ("CREATE".equals(changeType)) {
1389                                     executor.logger.info("Choosing to create a subscription")
1390                                     executor.subject.getTaskKey("CreateSubscriptionPayloadTask").copyTo(executor.selectedTask);
1391                                 }
1392                                 else if ("DELETE".equals(changeType)) {
1393                                     executor.logger.info("Choosing to delete a subscription")
1394                                     executor.subject.getTaskKey("DeleteSubscriptionPayloadTask").copyTo(executor.selectedTask);
1395                                 }
1396                                 //var returnValue = executor.isTrue;
1397                                 true;
1398                             stateFinalizerLogicMap:
1399                               entry: []
1400                             defaultTask:
1401                               name: CreateSubscriptionPayloadTask
1402                               version: 0.0.1
1403                             taskReferences:
1404                               entry:
1405                               - key:
1406                                   name: CreateSubscriptionPayloadTask
1407                                   version: 0.0.1
1408                                 value:
1409                                   key:
1410                                     parentKeyName: ReceiveEventPolicy
1411                                     parentKeyVersion: 0.0.1
1412                                     parentLocalName: CreateOrDeleteState
1413                                     localName: ReceiveEventPolicy
1414                                   outputType: DIRECT
1415                                   output:
1416                                     parentKeyName: ReceiveEventPolicy
1417                                     parentKeyVersion: 0.0.1
1418                                     parentLocalName: CreateOrDeleteState
1419                                     localName: CreateSubscriptionPayload
1420                               - key:
1421                                   name: DeleteSubscriptionPayloadTask
1422                                   version: 0.0.1
1423                                 value:
1424                                   key:
1425                                     parentKeyName: ReceiveEventPolicy
1426                                     parentKeyVersion: 0.0.1
1427                                     parentLocalName: CreateOrDeleteState
1428                                     localName: ReceiveEventPolicy
1429                                   outputType: DIRECT
1430                                   output:
1431                                     parentKeyName: ReceiveEventPolicy
1432                                     parentKeyVersion: 0.0.1
1433                                     parentLocalName: CreateOrDeleteState
1434                                     localName: DeleteSubscriptionPayload
1435                         - key: CreateSubscription
1436                           value:
1437                             stateKey:
1438                               parentKeyName: ReceiveEventPolicy
1439                               parentKeyVersion: 0.0.1
1440                               parentLocalName: 'NULL'
1441                               localName: CreateSubscription
1442                             trigger:
1443                               name: CreateSubscriptionPayloadEvent
1444                               version: 0.0.1
1445                             stateOutputs:
1446                               entry:
1447                               - key: IssueCreateSubscriptionRequestOutput
1448                                 value:
1449                                   key:
1450                                     parentKeyName: ReceiveEventPolicy
1451                                     parentKeyVersion: 0.0.1
1452                                     parentLocalName: CreateSubscription
1453                                     localName: IssueCreateSubscriptionRequestOutput
1454                                   outgoingEvent:
1455                                     name: CDSCreateSubscriptionRequestEvent
1456                                     version: 0.0.1
1457                                   nextState:
1458                                     parentKeyName: 'NULL'
1459                                     parentKeyVersion: 0.0.0
1460                                     parentLocalName: 'NULL'
1461                                     localName: 'NULL'
1462                             contextAlbumReference:
1463                             - name: PMSubscriptionAlbum
1464                               version: 0.0.1
1465                             taskSelectionLogic:
1466                               key: 'NULL'
1467                               logicFlavour: UNDEFINED
1468                               logic: ''
1469                             stateFinalizerLogicMap:
1470                               entry: []
1471                             defaultTask:
1472                               name: CreateSubscriptionRequestTask
1473                               version: 0.0.1
1474                             taskReferences:
1475                               entry:
1476                               - key:
1477                                   name: CreateSubscriptionRequestTask
1478                                   version: 0.0.1
1479                                 value:
1480                                   key:
1481                                     parentKeyName: ReceiveEventPolicy
1482                                     parentKeyVersion: 0.0.1
1483                                     parentLocalName: CreateSubscription
1484                                     localName: ReceiveEventPolicy
1485                                   outputType: DIRECT
1486                                   output:
1487                                     parentKeyName: ReceiveEventPolicy
1488                                     parentKeyVersion: 0.0.1
1489                                     parentLocalName: CreateSubscription
1490                                     localName: IssueCreateSubscriptionRequestOutput
1491                         - key: DeleteSubscription
1492                           value:
1493                             stateKey:
1494                               parentKeyName: ReceiveEventPolicy
1495                               parentKeyVersion: 0.0.1
1496                               parentLocalName: 'NULL'
1497                               localName: DeleteSubscription
1498                             trigger:
1499                               name: DeleteSubscriptionPayloadEvent
1500                               version: 0.0.1
1501                             stateOutputs:
1502                               entry:
1503                               - key: IssueDeleteSubscriptionRequestOutput
1504                                 value:
1505                                   key:
1506                                     parentKeyName: ReceiveEventPolicy
1507                                     parentKeyVersion: 0.0.1
1508                                     parentLocalName: DeleteSubscription
1509                                     localName: IssueDeleteSubscriptionRequestOutput
1510                                   outgoingEvent:
1511                                     name: CDSDeleteSubscriptionRequestEvent
1512                                     version: 0.0.1
1513                                   nextState:
1514                                     parentKeyName: 'NULL'
1515                                     parentKeyVersion: 0.0.0
1516                                     parentLocalName: 'NULL'
1517                                     localName: 'NULL'
1518                             contextAlbumReference:
1519                             - name: PMSubscriptionAlbum
1520                               version: 0.0.1
1521                             taskSelectionLogic:
1522                               key: 'NULL'
1523                               logicFlavour: UNDEFINED
1524                               logic: ''
1525                             stateFinalizerLogicMap:
1526                               entry: []
1527                             defaultTask:
1528                               name: DeleteSubscriptionRequestTask
1529                               version: 0.0.1
1530                             taskReferences:
1531                               entry:
1532                               - key:
1533                                   name: DeleteSubscriptionRequestTask
1534                                   version: 0.0.1
1535                                 value:
1536                                   key:
1537                                     parentKeyName: ReceiveEventPolicy
1538                                     parentKeyVersion: 0.0.1
1539                                     parentLocalName: DeleteSubscription
1540                                     localName: ReceiveEventPolicy
1541                                   outputType: DIRECT
1542                                   output:
1543                                     parentKeyName: ReceiveEventPolicy
1544                                     parentKeyVersion: 0.0.1
1545                                     parentLocalName: DeleteSubscription
1546                                     localName: IssueDeleteSubscriptionRequestOutput
1547                         - key: ReceiveSubscriptionState
1548                           value:
1549                             stateKey:
1550                               parentKeyName: ReceiveEventPolicy
1551                               parentKeyVersion: 0.0.1
1552                               parentLocalName: 'NULL'
1553                               localName: ReceiveSubscriptionState
1554                             trigger:
1555                               name: pmsh-operational-policy
1556                               version: 0.0.1
1557                             stateOutputs:
1558                               entry:
1559                               - key: ReceivePMSubscriptionOutput
1560                                 value:
1561                                   key:
1562                                     parentKeyName: ReceiveEventPolicy
1563                                     parentKeyVersion: 0.0.1
1564                                     parentLocalName: ReceiveSubscriptionState
1565                                     localName: ReceivePMSubscriptionOutput
1566                                   outgoingEvent:
1567                                     name: PMSubscriptionOutputEvent
1568                                     version: 0.0.1
1569                                   nextState:
1570                                     parentKeyName: ReceiveEventPolicy
1571                                     parentKeyVersion: 0.0.1
1572                                     parentLocalName: 'NULL'
1573                                     localName: CreateOrDeleteState
1574                             contextAlbumReference:
1575                             - name: PMSubscriptionAlbum
1576                               version: 0.0.1
1577                             taskSelectionLogic:
1578                               key: 'NULL'
1579                               logicFlavour: UNDEFINED
1580                               logic: ''
1581                             stateFinalizerLogicMap:
1582                               entry: []
1583                             defaultTask:
1584                               name: ReceiveSubscriptionTask
1585                               version: 0.0.1
1586                             taskReferences:
1587                               entry:
1588                               - key:
1589                                   name: ReceiveSubscriptionTask
1590                                   version: 0.0.1
1591                                 value:
1592                                   key:
1593                                     parentKeyName: ReceiveEventPolicy
1594                                     parentKeyVersion: 0.0.1
1595                                     parentLocalName: ReceiveSubscriptionState
1596                                     localName: ReceiveEventPolicy
1597                                   outputType: DIRECT
1598                                   output:
1599                                     parentKeyName: ReceiveEventPolicy
1600                                     parentKeyVersion: 0.0.1
1601                                     parentLocalName: ReceiveSubscriptionState
1602                                     localName: ReceivePMSubscriptionOutput
1603                       firstState: ReceiveSubscriptionState
1604               tasks:
1605                 key:
1606                   name: PMControlPolicy_Tasks
1607                   version: 0.0.1
1608                 taskMap:
1609                   entry:
1610                   - key:
1611                       name: CDSCreateResponseTask
1612                       version: 0.0.1
1613                     value:
1614                       key:
1615                         name: CDSCreateResponseTask
1616                         version: 0.0.1
1617                       inputFields:
1618                         entry:
1619                         - key: actionIdentifiers
1620                           value:
1621                             key: actionIdentifiers
1622                             fieldSchemaKey:
1623                               name: CDSActionIdentifiersType
1624                               version: 0.0.1
1625                             optional: false
1626                         - key: commonHeader
1627                           value:
1628                             key: commonHeader
1629                             fieldSchemaKey:
1630                               name: CDSResponseCommonHeaderType
1631                               version: 0.0.1
1632                             optional: false
1633                         - key: payload
1634                           value:
1635                             key: payload
1636                             fieldSchemaKey:
1637                               name: CDSCreateResponsePayloadType
1638                               version: 0.0.1
1639                             optional: false
1640                         - key: status
1641                           value:
1642                             key: status
1643                             fieldSchemaKey:
1644                               name: CDSResponseStatusType
1645                               version: 0.0.1
1646                             optional: false
1647                       outputFields:
1648                         entry:
1649                         - key: status
1650                           value:
1651                             key: status
1652                             fieldSchemaKey:
1653                               name: SubscriptionStatusType
1654                               version: 0.0.1
1655                             optional: false
1656                       taskParameters:
1657                         entry: []
1658                       contextAlbumReference:
1659                       - name: PMSubscriptionAlbum
1660                         version: 0.0.1
1661                       taskLogic:
1662                         key: TaskLogic
1663                         logicFlavour: JAVASCRIPT
1664                         logic: |-
1665                           /*
1666                            * ============LICENSE_START=======================================================
1667                            *  Copyright (C) 2020 Nordix. All rights reserved.
1668                            * ================================================================================
1669                            * Licensed under the Apache License, Version 2.0 (the "License");
1670                            * you may not use this file except in compliance with the License.
1671                            * You may obtain a copy of the License at
1672                            *
1673                            *      http://www.apache.org/licenses/LICENSE-2.0
1674                            *
1675                            * Unless required by applicable law or agreed to in writing, software
1676                            * distributed under the License is distributed on an "AS IS" BASIS,
1677                            * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1678                            * See the License for the specific language governing permissions and
1679                            * limitations under the License.
1680                            *
1681                            * SPDX-License-Identifier: Apache-2.0
1682                            * ============LICENSE_END=========================================================
1683                            */
1684                           executor.logger.info(executor.subject.id);
1685                           var commonHeader = executor.inFields.get("commonHeader")
1686                           var response = executor.inFields.get("payload")
1687                           var albumID = commonHeader.get("requestId")
1688                           var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(albumID.toString());
1689                           var responseStatus = executor.subject.getOutFieldSchemaHelper("status").createNewInstance();
1690                           responseStatus.put("subscriptionName", pmSubscriptionInfo.get("subscription").get("subscriptionName"))
1691                           responseStatus.put("nfName", pmSubscriptionInfo.get("nfName"))
1692                           responseStatus.put("changeType", pmSubscriptionInfo.get("changeType"))
1693                           var status = response.get(pmSubscriptionInfo.get("changeType").toLowerCase() + "_DasH_subscription_DasH_response").get("odl_DasH_response").get("status")
1694                           executor.logger.info("RESPONSE STATUS = " + status)
1695                           if(status == "success") {
1696                               responseStatus.put("message", "success")
1697                           } else {
1698                               responseStatus.put("message", "failed")
1699                           }
1700                           executor.outFields.put("status", responseStatus)
1701                           //var returnValue = executor.isTrue;
1702                           true;
1703                   - key:
1704                       name: CDSDeleteResponseTask
1705                       version: 0.0.1
1706                     value:
1707                       key:
1708                         name: CDSDeleteResponseTask
1709                         version: 0.0.1
1710                       inputFields:
1711                         entry:
1712                         - key: actionIdentifiers
1713                           value:
1714                             key: actionIdentifiers
1715                             fieldSchemaKey:
1716                               name: CDSActionIdentifiersType
1717                               version: 0.0.1
1718                             optional: false
1719                         - key: commonHeader
1720                           value:
1721                             key: commonHeader
1722                             fieldSchemaKey:
1723                               name: CDSResponseCommonHeaderType
1724                               version: 0.0.1
1725                             optional: false
1726                         - key: payload
1727                           value:
1728                             key: payload
1729                             fieldSchemaKey:
1730                               name: CDSDeleteResponsePayloadType
1731                               version: 0.0.1
1732                             optional: false
1733                         - key: status
1734                           value:
1735                             key: status
1736                             fieldSchemaKey:
1737                               name: CDSResponseStatusType
1738                               version: 0.0.1
1739                             optional: false
1740                       outputFields:
1741                         entry:
1742                         - key: status
1743                           value:
1744                             key: status
1745                             fieldSchemaKey:
1746                               name: SubscriptionStatusType
1747                               version: 0.0.1
1748                             optional: false
1749                       taskParameters:
1750                         entry: []
1751                       contextAlbumReference:
1752                       - name: PMSubscriptionAlbum
1753                         version: 0.0.1
1754                       taskLogic:
1755                         key: TaskLogic
1756                         logicFlavour: JAVASCRIPT
1757                         logic: |-
1758                           /*
1759                            * ============LICENSE_START=======================================================
1760                            *  Copyright (C) 2020 Nordix. All rights reserved.
1761                            * ================================================================================
1762                            * Licensed under the Apache License, Version 2.0 (the "License");
1763                            * you may not use this file except in compliance with the License.
1764                            * You may obtain a copy of the License at
1765                            *
1766                            *      http://www.apache.org/licenses/LICENSE-2.0
1767                            *
1768                            * Unless required by applicable law or agreed to in writing, software
1769                            * distributed under the License is distributed on an "AS IS" BASIS,
1770                            * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1771                            * See the License for the specific language governing permissions and
1772                            * limitations under the License.
1773                            *
1774                            * SPDX-License-Identifier: Apache-2.0
1775                            * ============LICENSE_END=========================================================
1776                            */
1777                           executor.logger.info(executor.subject.id);
1778                           var commonHeader = executor.inFields.get("commonHeader")
1779                           var response = executor.inFields.get("payload")
1780                           var albumID = commonHeader.get("requestId")
1781                           var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(albumID.toString());
1782                           var responseStatus = executor.subject.getOutFieldSchemaHelper("status").createNewInstance();
1783                           responseStatus.put("subscriptionName", pmSubscriptionInfo.get("subscription").get("subscriptionName"))
1784                           responseStatus.put("nfName", pmSubscriptionInfo.get("nfName"))
1785                           responseStatus.put("changeType", pmSubscriptionInfo.get("changeType"))
1786                           var status = response.get(pmSubscriptionInfo.get("changeType").toLowerCase() + "_DasH_subscription_DasH_response").get("odl_DasH_response").get("status")
1787                           executor.logger.info("RESPONSE STATUS = " + status)
1788                           if(status == "success") {
1789                               responseStatus.put("message", "success")
1790                           } else {
1791                               responseStatus.put("message", "failed")
1792                           }
1793                           executor.outFields.put("status", responseStatus)
1794                           //var returnValue = executor.isTrue;
1795                           true;
1796                   - key:
1797                       name: CreateSubscriptionPayloadTask
1798                       version: 0.0.1
1799                     value:
1800                       key:
1801                         name: CreateSubscriptionPayloadTask
1802                         version: 0.0.1
1803                       inputFields:
1804                         entry:
1805                         - key: albumID
1806                           value:
1807                             key: albumID
1808                             fieldSchemaKey:
1809                               name: UUIDType
1810                               version: 0.0.1
1811                             optional: false
1812                       outputFields:
1813                         entry:
1814                         - key: albumID
1815                           value:
1816                             key: albumID
1817                             fieldSchemaKey:
1818                               name: UUIDType
1819                               version: 0.0.1
1820                             optional: false
1821                         - key: payload
1822                           value:
1823                             key: payload
1824                             fieldSchemaKey:
1825                               name: CDSCreateSubscriptionPayloadType
1826                               version: 0.0.1
1827                             optional: false
1828                       taskParameters:
1829                         entry: []
1830                       contextAlbumReference:
1831                       - name: PMSubscriptionAlbum
1832                         version: 0.0.1
1833                       taskLogic:
1834                         key: TaskLogic
1835                         logicFlavour: JAVASCRIPT
1836                         logic: |-
1837                           /*
1838                            * ============LICENSE_START=======================================================
1839                            *  Copyright (C) 2020 Nordix. All rights reserved.
1840                            * ================================================================================
1841                            * Licensed under the Apache License, Version 2.0 (the "License");
1842                            * you may not use this file except in compliance with the License.
1843                            * You may obtain a copy of the License at
1844                            *
1845                            *      http://www.apache.org/licenses/LICENSE-2.0
1846                            *
1847                            * Unless required by applicable law or agreed to in writing, software
1848                            * distributed under the License is distributed on an "AS IS" BASIS,
1849                            * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1850                            * See the License for the specific language governing permissions and
1851                            * limitations under the License.
1852                            *
1853                            * SPDX-License-Identifier: Apache-2.0
1854                            * ============LICENSE_END=========================================================
1855                            */
1856                           executor.logger.info(executor.subject.id);
1857                           var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
1858                           var changeType = pmSubscriptionInfo.get("changeType").toLowerCase()
1859                           var payloadProperties = executor.subject.getOutFieldSchemaHelper("payload").createNewSubInstance(changeType + "_DasH_subscription_DasH_properties_record");
1860                           payloadProperties.put("nfName",  pmSubscriptionInfo.get("nfName"))
1861                           payloadProperties.put("subscriptionName",  pmSubscriptionInfo.get("subscription").get("subscriptionName"))
1862                           payloadProperties.put("administrativeState", pmSubscriptionInfo.get("subscription").get("administrativeState"))
1863                           payloadProperties.put("fileBasedGP",  pmSubscriptionInfo.get("subscription").get("fileBasedGP").toString())
1864                           payloadProperties.put("fileLocation", pmSubscriptionInfo.get("subscription").get("fileLocation"))
1865                           payloadProperties.put("measurementGroups", pmSubscriptionInfo.get("subscription").get("measurementGroups"))
1866                           var payloadEntry = executor.subject.getOutFieldSchemaHelper("payload").createNewSubInstance("CDSRequestPayloadEntry");
1867                           payloadEntry.put(changeType + "_DasH_subscription_DasH_properties", payloadProperties)
1868                           var payload = executor.subject.getOutFieldSchemaHelper("payload").createNewInstance();
1869                           payload.put(changeType + "_DasH_subscription_DasH_request", payloadEntry);
1870                           executor.outFields.put("albumID", executor.inFields.get("albumID"))
1871                           executor.outFields.put("payload", payload);
1872                           //var returnValue = executor.isTrue;
1873                           true;
1874                   - key:
1875                       name: CreateSubscriptionRequestTask
1876                       version: 0.0.1
1877                     value:
1878                       key:
1879                         name: CreateSubscriptionRequestTask
1880                         version: 0.0.1
1881                       inputFields:
1882                         entry:
1883                         - key: albumID
1884                           value:
1885                             key: albumID
1886                             fieldSchemaKey:
1887                               name: UUIDType
1888                               version: 0.0.1
1889                             optional: false
1890                         - key: payload
1891                           value:
1892                             key: payload
1893                             fieldSchemaKey:
1894                               name: CDSCreateSubscriptionPayloadType
1895                               version: 0.0.1
1896                             optional: false
1897                       outputFields:
1898                         entry:
1899                         - key: actionIdentifiers
1900                           value:
1901                             key: actionIdentifiers
1902                             fieldSchemaKey:
1903                               name: CDSActionIdentifiersType
1904                               version: 0.0.1
1905                             optional: false
1906                         - key: commonHeader
1907                           value:
1908                             key: commonHeader
1909                             fieldSchemaKey:
1910                               name: CDSRequestCommonHeaderType
1911                               version: 0.0.1
1912                             optional: false
1913                         - key: payload
1914                           value:
1915                             key: payload
1916                             fieldSchemaKey:
1917                               name: CDSCreateSubscriptionPayloadType
1918                               version: 0.0.1
1919                             optional: false
1920                       taskParameters:
1921                         entry: []
1922                       contextAlbumReference:
1923                       - name: PMSubscriptionAlbum
1924                         version: 0.0.1
1925                       taskLogic:
1926                         key: TaskLogic
1927                         logicFlavour: JAVASCRIPT
1928                         logic: |-
1929                           /*
1930                            * ============LICENSE_START=======================================================
1931                            *  Copyright (C) 2020 Nordix. All rights reserved.
1932                            * ================================================================================
1933                            * Licensed under the Apache License, Version 2.0 (the "License");
1934                            * you may not use this file except in compliance with the License.
1935                            * You may obtain a copy of the License at
1936                            *
1937                            *      http://www.apache.org/licenses/LICENSE-2.0
1938                            *
1939                            * Unless required by applicable law or agreed to in writing, software
1940                            * distributed under the License is distributed on an "AS IS" BASIS,
1941                            * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1942                            * See the License for the specific language governing permissions and
1943                            * limitations under the License.
1944                            *
1945                            * SPDX-License-Identifier: Apache-2.0
1946                            * ============LICENSE_END=========================================================
1947                            */
1948                           executor.logger.info(executor.subject.id);
1949                           var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
1950                           var changeType = pmSubscriptionInfo.get("changeType").toLowerCase()
1951                           var blueprintName = pmSubscriptionInfo.get("blueprintName").toLowerCase()
1952                           var blueprintVersion = pmSubscriptionInfo.get("blueprintVersion").toLowerCase()
1953                           var payload = executor.inFields.get("payload")
1954                           var actionName = changeType + "-subscription"
1955                           var commonHeader = executor.subject.getOutFieldSchemaHelper("commonHeader").createNewInstance();
1956                           commonHeader.put("originatorId", "sdnc");
1957                           commonHeader.put("requestId", executor.inFields.get("albumID").toString());
1958                           commonHeader.put("subRequestId", "sub-123456-1000");
1959                           var actionIdentifiers = executor.subject.getOutFieldSchemaHelper("actionIdentifiers").createNewInstance();
1960                           actionIdentifiers.put("actionName", actionName);
1961                           actionIdentifiers.put("blueprintName", blueprintName);
1962                           actionIdentifiers.put("blueprintVersion", blueprintVersion);
1963                           actionIdentifiers.put("mode", "sync");
1964                           executor.outFields.put("commonHeader", commonHeader);
1965                           executor.outFields.put("actionIdentifiers", actionIdentifiers);
1966                           executor.outFields.put("payload", payload);
1967                           //var returnValue = executor.isTrue;
1968                           true;
1969                   - key:
1970                       name: DeleteSubscriptionPayloadTask
1971                       version: 0.0.1
1972                     value:
1973                       key:
1974                         name: DeleteSubscriptionPayloadTask
1975                         version: 0.0.1
1976                       inputFields:
1977                         entry:
1978                         - key: albumID
1979                           value:
1980                             key: albumID
1981                             fieldSchemaKey:
1982                               name: UUIDType
1983                               version: 0.0.1
1984                             optional: false
1985                       outputFields:
1986                         entry:
1987                         - key: albumID
1988                           value:
1989                             key: albumID
1990                             fieldSchemaKey:
1991                               name: UUIDType
1992                               version: 0.0.1
1993                             optional: false
1994                         - key: payload
1995                           value:
1996                             key: payload
1997                             fieldSchemaKey:
1998                               name: CDSDeleteSubscriptionPayloadType
1999                               version: 0.0.1
2000                             optional: false
2001                       taskParameters:
2002                         entry: []
2003                       contextAlbumReference:
2004                       - name: PMSubscriptionAlbum
2005                         version: 0.0.1
2006                       taskLogic:
2007                         key: TaskLogic
2008                         logicFlavour: JAVASCRIPT
2009                         logic: |-
2010                           /*
2011                            * ============LICENSE_START=======================================================
2012                            *  Copyright (C) 2020 Nordix. All rights reserved.
2013                            * ================================================================================
2014                            * Licensed under the Apache License, Version 2.0 (the "License");
2015                            * you may not use this file except in compliance with the License.
2016                            * You may obtain a copy of the License at
2017                            *
2018                            *      http://www.apache.org/licenses/LICENSE-2.0
2019                            *
2020                            * Unless required by applicable law or agreed to in writing, software
2021                            * distributed under the License is distributed on an "AS IS" BASIS,
2022                            * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2023                            * See the License for the specific language governing permissions and
2024                            * limitations under the License.
2025                            *
2026                            * SPDX-License-Identifier: Apache-2.0
2027                            * ============LICENSE_END=========================================================
2028                            */
2029                           executor.logger.info(executor.subject.id);
2030                           var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
2031                           var changeType = pmSubscriptionInfo.get("changeType").toLowerCase()
2032                           var payloadProperties = executor.subject.getOutFieldSchemaHelper("payload").createNewSubInstance(changeType + "_DasH_subscription_DasH_properties_record");
2033                           payloadProperties.put("nfName",  pmSubscriptionInfo.get("nfName"))
2034                           payloadProperties.put("subscriptionName",  pmSubscriptionInfo.get("subscription").get("subscriptionName"))
2035                           payloadProperties.put("administrativeState", pmSubscriptionInfo.get("subscription").get("administrativeState"))
2036                           payloadProperties.put("fileBasedGP",  pmSubscriptionInfo.get("subscription").get("fileBasedGP").toString())
2037                           payloadProperties.put("fileLocation", pmSubscriptionInfo.get("subscription").get("fileLocation"))
2038                           payloadProperties.put("measurementGroups", pmSubscriptionInfo.get("subscription").get("measurementGroups"))
2039                           var payloadEntry = executor.subject.getOutFieldSchemaHelper("payload").createNewSubInstance("CDSRequestPayloadEntry");
2040                           payloadEntry.put(changeType + "_DasH_subscription_DasH_properties", payloadProperties)
2041                           var payload = executor.subject.getOutFieldSchemaHelper("payload").createNewInstance();
2042                           payload.put(changeType + "_DasH_subscription_DasH_request", payloadEntry);
2043                           executor.outFields.put("albumID", executor.inFields.get("albumID"))
2044                           executor.outFields.put("payload", payload);
2045                           //var returnValue = executor.isTrue;
2046                           true;
2047                   - key:
2048                       name: DeleteSubscriptionRequestTask
2049                       version: 0.0.1
2050                     value:
2051                       key:
2052                         name: DeleteSubscriptionRequestTask
2053                         version: 0.0.1
2054                       inputFields:
2055                         entry:
2056                         - key: albumID
2057                           value:
2058                             key: albumID
2059                             fieldSchemaKey:
2060                               name: UUIDType
2061                               version: 0.0.1
2062                             optional: false
2063                         - key: payload
2064                           value:
2065                             key: payload
2066                             fieldSchemaKey:
2067                               name: CDSDeleteSubscriptionPayloadType
2068                               version: 0.0.1
2069                             optional: false
2070                       outputFields:
2071                         entry:
2072                         - key: actionIdentifiers
2073                           value:
2074                             key: actionIdentifiers
2075                             fieldSchemaKey:
2076                               name: CDSActionIdentifiersType
2077                               version: 0.0.1
2078                             optional: false
2079                         - key: commonHeader
2080                           value:
2081                             key: commonHeader
2082                             fieldSchemaKey:
2083                               name: CDSRequestCommonHeaderType
2084                               version: 0.0.1
2085                             optional: false
2086                         - key: payload
2087                           value:
2088                             key: payload
2089                             fieldSchemaKey:
2090                               name: CDSDeleteSubscriptionPayloadType
2091                               version: 0.0.1
2092                             optional: false
2093                       taskParameters:
2094                         entry: []
2095                       contextAlbumReference:
2096                       - name: PMSubscriptionAlbum
2097                         version: 0.0.1
2098                       taskLogic:
2099                         key: TaskLogic
2100                         logicFlavour: JAVASCRIPT
2101                         logic: |-
2102                           /*
2103                            * ============LICENSE_START=======================================================
2104                            *  Copyright (C) 2020 Nordix. All rights reserved.
2105                            * ================================================================================
2106                            * Licensed under the Apache License, Version 2.0 (the "License");
2107                            * you may not use this file except in compliance with the License.
2108                            * You may obtain a copy of the License at
2109                            *
2110                            *      http://www.apache.org/licenses/LICENSE-2.0
2111                            *
2112                            * Unless required by applicable law or agreed to in writing, software
2113                            * distributed under the License is distributed on an "AS IS" BASIS,
2114                            * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2115                            * See the License for the specific language governing permissions and
2116                            * limitations under the License.
2117                            *
2118                            * SPDX-License-Identifier: Apache-2.0
2119                            * ============LICENSE_END=========================================================
2120                            */
2121                           executor.logger.info(executor.subject.id);
2122                           var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
2123                           var changeType = pmSubscriptionInfo.get("changeType").toLowerCase()
2124                           var blueprintName = pmSubscriptionInfo.get("blueprintName").toLowerCase()
2125                           var blueprintVersion = pmSubscriptionInfo.get("blueprintVersion").toLowerCase()
2126                           var payload = executor.inFields.get("payload")
2127                           var actionName = changeType + "-subscription"
2128                           var commonHeader = executor.subject.getOutFieldSchemaHelper("commonHeader").createNewInstance();
2129                           commonHeader.put("originatorId", "sdnc");
2130                           commonHeader.put("requestId", executor.inFields.get("albumID").toString());
2131                           commonHeader.put("subRequestId", "sub-123456-1000");
2132                           var actionIdentifiers = executor.subject.getOutFieldSchemaHelper("actionIdentifiers").createNewInstance();
2133                           actionIdentifiers.put("actionName", actionName);
2134                           actionIdentifiers.put("blueprintName", blueprintName);
2135                           actionIdentifiers.put("blueprintVersion", blueprintVersion);
2136                           actionIdentifiers.put("mode", "sync");
2137                           executor.outFields.put("commonHeader", commonHeader);
2138                           executor.outFields.put("actionIdentifiers", actionIdentifiers);
2139                           executor.outFields.put("payload", payload);
2140                           //var returnValue = executor.isTrue;
2141                           true;
2142                   - key:
2143                       name: ReceiveSubscriptionTask
2144                       version: 0.0.1
2145                     value:
2146                       key:
2147                         name: ReceiveSubscriptionTask
2148                         version: 0.0.1
2149                       inputFields:
2150                         entry:
2151                         - key: blueprintName
2152                           value:
2153                             key: blueprintName
2154                             fieldSchemaKey:
2155                               name: SimpleStringType
2156                               version: 0.0.1
2157                             optional: false
2158                         - key: blueprintVersion
2159                           value:
2160                             key: blueprintVersion
2161                             fieldSchemaKey:
2162                               name: SimpleStringType
2163                               version: 0.0.1
2164                             optional: false
2165                         - key: changeType
2166                           value:
2167                             key: changeType
2168                             fieldSchemaKey:
2169                               name: SimpleStringType
2170                               version: 0.0.1
2171                             optional: false
2172                         - key: closedLoopControlName
2173                           value:
2174                             key: closedLoopControlName
2175                             fieldSchemaKey:
2176                               name: SimpleStringType
2177                               version: 0.0.1
2178                             optional: false
2179                         - key: nfName
2180                           value:
2181                             key: nfName
2182                             fieldSchemaKey:
2183                               name: SimpleStringType
2184                               version: 0.0.1
2185                             optional: false
2186                         - key: policyName
2187                           value:
2188                             key: policyName
2189                             fieldSchemaKey:
2190                               name: SimpleStringType
2191                               version: 0.0.1
2192                             optional: false
2193                         - key: subscription
2194                           value:
2195                             key: subscription
2196                             fieldSchemaKey:
2197                               name: SubscriptionType
2198                               version: 0.0.1
2199                             optional: false
2200                       outputFields:
2201                         entry:
2202                         - key: albumID
2203                           value:
2204                             key: albumID
2205                             fieldSchemaKey:
2206                               name: UUIDType
2207                               version: 0.0.1
2208                             optional: false
2209                       taskParameters:
2210                         entry: []
2211                       contextAlbumReference:
2212                       - name: PMSubscriptionAlbum
2213                         version: 0.0.1
2214                       taskLogic:
2215                         key: TaskLogic
2216                         logicFlavour: JAVASCRIPT
2217                         logic: |-
2218                           /*
2219                            * ============LICENSE_START=======================================================
2220                            *  Copyright (C) 2020 Nordix. All rights reserved.
2221                            * ================================================================================
2222                            * Licensed under the Apache License, Version 2.0 (the "License");
2223                            * you may not use this file except in compliance with the License.
2224                            * You may obtain a copy of the License at
2225                            *
2226                            *      http://www.apache.org/licenses/LICENSE-2.0
2227                            *
2228                            * Unless required by applicable law or agreed to in writing, software
2229                            * distributed under the License is distributed on an "AS IS" BASIS,
2230                            * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2231                            * See the License for the specific language governing permissions and
2232                            * limitations under the License.
2233                            *
2234                            * SPDX-License-Identifier: Apache-2.0
2235                            * ============LICENSE_END=========================================================
2236                            */
2237                           var uuidType = java.util.UUID;
2238                           executor.logger.info(executor.subject.id);
2239                           //albumID will be used to fetch info from our album later
2240                           var albumID = uuidType.randomUUID();
2241                           var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").getSchemaHelper().createNewInstance();
2242                           var returnValue = true;
2243                           if(executor.inFields.get("policyName") != null) {
2244                               executor.logger.info("nfName in receive sub event " + executor.inFields.get("nfName"));
2245                               var changeType = executor.inFields.get("changeType")
2246                               var nfName = executor.inFields.get("nfName")
2247                               var policyName = executor.inFields.get("policyName")
2248                               var closedLoopControlName = executor.inFields.get("closedLoopControlName")
2249                               var subscription = executor.inFields.get("subscription")
2250                               var blueprintName = executor.inFields.get("blueprintName")
2251                               var blueprintVersion = executor.inFields.get("blueprintVersion")
2252                               pmSubscriptionInfo.put("nfName", executor.inFields.get("nfName"));
2253                               pmSubscriptionInfo.put("changeType", executor.inFields.get("changeType"))
2254                               pmSubscriptionInfo.put("policyName", executor.inFields.get("policyName"))
2255                               pmSubscriptionInfo.put("closedLoopControlName", executor.inFields.get("closedLoopControlName"))
2256                               pmSubscriptionInfo.put("subscription", subscription)
2257                               pmSubscriptionInfo.put("blueprintName", blueprintName)
2258                               pmSubscriptionInfo.put("blueprintVersion", blueprintVersion)
2259                               executor.getContextAlbum("PMSubscriptionAlbum").put(albumID.toString(), pmSubscriptionInfo);
2260                               executor.outFields.put("albumID", albumID)
2261                           } else {
2262                               executor.message = "Received invalid event"
2263                               returnValue = false;
2264                           }
2265                           returnValue;
2266               events:
2267                 key:
2268                   name: PMControlPolicy_Events
2269                   version: 0.0.1
2270                 eventMap:
2271                   entry:
2272                   - key:
2273                       name: CDSCreateResponseEvent
2274                       version: 0.0.1
2275                     value:
2276                       key:
2277                         name: CDSCreateResponseEvent
2278                         version: 0.0.1
2279                       nameSpace: org.onap.policy.apex.onap.pmcontrol
2280                       source: CDS
2281                       target: APEX
2282                       parameter:
2283                         entry:
2284                         - key: actionIdentifiers
2285                           value:
2286                             key: actionIdentifiers
2287                             fieldSchemaKey:
2288                               name: CDSActionIdentifiersType
2289                               version: 0.0.1
2290                             optional: false
2291                         - key: commonHeader
2292                           value:
2293                             key: commonHeader
2294                             fieldSchemaKey:
2295                               name: CDSResponseCommonHeaderType
2296                               version: 0.0.1
2297                             optional: false
2298                         - key: payload
2299                           value:
2300                             key: payload
2301                             fieldSchemaKey:
2302                               name: CDSCreateResponsePayloadType
2303                               version: 0.0.1
2304                             optional: false
2305                         - key: status
2306                           value:
2307                             key: status
2308                             fieldSchemaKey:
2309                               name: CDSResponseStatusType
2310                               version: 0.0.1
2311                             optional: false
2312                   - key:
2313                       name: CDSCreateSubscriptionRequestEvent
2314                       version: 0.0.1
2315                     value:
2316                       key:
2317                         name: CDSCreateSubscriptionRequestEvent
2318                         version: 0.0.1
2319                       nameSpace: org.onap.policy.apex.onap.pmcontrol
2320                       source: APEX
2321                       target: APEX
2322                       parameter:
2323                         entry:
2324                         - key: actionIdentifiers
2325                           value:
2326                             key: actionIdentifiers
2327                             fieldSchemaKey:
2328                               name: CDSActionIdentifiersType
2329                               version: 0.0.1
2330                             optional: false
2331                         - key: commonHeader
2332                           value:
2333                             key: commonHeader
2334                             fieldSchemaKey:
2335                               name: CDSRequestCommonHeaderType
2336                               version: 0.0.1
2337                             optional: false
2338                         - key: payload
2339                           value:
2340                             key: payload
2341                             fieldSchemaKey:
2342                               name: CDSCreateSubscriptionPayloadType
2343                               version: 0.0.1
2344                             optional: false
2345                   - key:
2346                       name: CDSDeleteResponseEvent
2347                       version: 0.0.1
2348                     value:
2349                       key:
2350                         name: CDSDeleteResponseEvent
2351                         version: 0.0.1
2352                       nameSpace: org.onap.policy.apex.onap.pmcontrol
2353                       source: CDS
2354                       target: APEX
2355                       parameter:
2356                         entry:
2357                         - key: actionIdentifiers
2358                           value:
2359                             key: actionIdentifiers
2360                             fieldSchemaKey:
2361                               name: CDSActionIdentifiersType
2362                               version: 0.0.1
2363                             optional: false
2364                         - key: commonHeader
2365                           value:
2366                             key: commonHeader
2367                             fieldSchemaKey:
2368                               name: CDSResponseCommonHeaderType
2369                               version: 0.0.1
2370                             optional: false
2371                         - key: payload
2372                           value:
2373                             key: payload
2374                             fieldSchemaKey:
2375                               name: CDSDeleteResponsePayloadType
2376                               version: 0.0.1
2377                             optional: false
2378                         - key: status
2379                           value:
2380                             key: status
2381                             fieldSchemaKey:
2382                               name: CDSResponseStatusType
2383                               version: 0.0.1
2384                             optional: false
2385                   - key:
2386                       name: CDSDeleteSubscriptionRequestEvent
2387                       version: 0.0.1
2388                     value:
2389                       key:
2390                         name: CDSDeleteSubscriptionRequestEvent
2391                         version: 0.0.1
2392                       nameSpace: org.onap.policy.apex.onap.pmcontrol
2393                       source: APEX
2394                       target: APEX
2395                       parameter:
2396                         entry:
2397                         - key: actionIdentifiers
2398                           value:
2399                             key: actionIdentifiers
2400                             fieldSchemaKey:
2401                               name: CDSActionIdentifiersType
2402                               version: 0.0.1
2403                             optional: false
2404                         - key: commonHeader
2405                           value:
2406                             key: commonHeader
2407                             fieldSchemaKey:
2408                               name: CDSRequestCommonHeaderType
2409                               version: 0.0.1
2410                             optional: false
2411                         - key: payload
2412                           value:
2413                             key: payload
2414                             fieldSchemaKey:
2415                               name: CDSDeleteSubscriptionPayloadType
2416                               version: 0.0.1
2417                             optional: false
2418                   - key:
2419                       name: CDSResponseStatusEvent
2420                       version: 0.0.1
2421                     value:
2422                       key:
2423                         name: CDSResponseStatusEvent
2424                         version: 0.0.1
2425                       nameSpace: org.onap.policy.apex.onap.pmcontrol
2426                       source: APEX
2427                       target: DCAE
2428                       parameter:
2429                         entry:
2430                         - key: status
2431                           value:
2432                             key: status
2433                             fieldSchemaKey:
2434                               name: SubscriptionStatusType
2435                               version: 0.0.1
2436                             optional: false
2437                   - key:
2438                       name: CreateSubscriptionPayloadEvent
2439                       version: 0.0.1
2440                     value:
2441                       key:
2442                         name: CreateSubscriptionPayloadEvent
2443                         version: 0.0.1
2444                       nameSpace: org.onap.policy.apex.onap.pmcontrol
2445                       source: APEX
2446                       target: APEX
2447                       parameter:
2448                         entry:
2449                         - key: albumID
2450                           value:
2451                             key: albumID
2452                             fieldSchemaKey:
2453                               name: UUIDType
2454                               version: 0.0.1
2455                             optional: false
2456                         - key: payload
2457                           value:
2458                             key: payload
2459                             fieldSchemaKey:
2460                               name: CDSCreateSubscriptionPayloadType
2461                               version: 0.0.1
2462                             optional: false
2463                   - key:
2464                       name: DeleteSubscriptionPayloadEvent
2465                       version: 0.0.1
2466                     value:
2467                       key:
2468                         name: DeleteSubscriptionPayloadEvent
2469                         version: 0.0.1
2470                       nameSpace: org.onap.policy.apex.onap.pmcontrol
2471                       source: APEX
2472                       target: APEX
2473                       parameter:
2474                         entry:
2475                         - key: albumID
2476                           value:
2477                             key: albumID
2478                             fieldSchemaKey:
2479                               name: UUIDType
2480                               version: 0.0.1
2481                             optional: false
2482                         - key: payload
2483                           value:
2484                             key: payload
2485                             fieldSchemaKey:
2486                               name: CDSDeleteSubscriptionPayloadType
2487                               version: 0.0.1
2488                             optional: false
2489                   - key:
2490                       name: MRResponseEvent
2491                       version: 0.0.1
2492                     value:
2493                       key:
2494                         name: MRResponseEvent
2495                         version: 0.0.1
2496                       nameSpace: org.onap.policy.apex.onap.pmcontrol
2497                       source: DCAE
2498                       target: APEX
2499                       parameter:
2500                         entry:
2501                         - key: count
2502                           value:
2503                             key: count
2504                             fieldSchemaKey:
2505                               name: SimpleIntType
2506                               version: 0.0.1
2507                             optional: false
2508                         - key: serverTimeMs
2509                           value:
2510                             key: serverTimeMs
2511                             fieldSchemaKey:
2512                               name: SimpleIntType
2513                               version: 0.0.1
2514                             optional: false
2515                   - key:
2516                       name: PMSubscriptionOutputEvent
2517                       version: 0.0.1
2518                     value:
2519                       key:
2520                         name: PMSubscriptionOutputEvent
2521                         version: 0.0.1
2522                       nameSpace: org.onap.policy.apex.onap.pmcontrol
2523                       source: APEX
2524                       target: APEX
2525                       parameter:
2526                         entry:
2527                         - key: albumID
2528                           value:
2529                             key: albumID
2530                             fieldSchemaKey:
2531                               name: UUIDType
2532                               version: 0.0.1
2533                             optional: false
2534                   - key:
2535                       name: pmsh-operational-policy
2536                       version: 0.0.1
2537                     value:
2538                       key:
2539                         name: pmsh-operational-policy
2540                         version: 0.0.1
2541                       nameSpace: org.onap.policy.apex.onap.pmcontrol
2542                       source: DCAE
2543                       target: APEX
2544                       parameter:
2545                         entry:
2546                         - key: blueprintName
2547                           value:
2548                             key: blueprintName
2549                             fieldSchemaKey:
2550                               name: SimpleStringType
2551                               version: 0.0.1
2552                             optional: false
2553                         - key: blueprintVersion
2554                           value:
2555                             key: blueprintVersion
2556                             fieldSchemaKey:
2557                               name: SimpleStringType
2558                               version: 0.0.1
2559                             optional: false
2560                         - key: changeType
2561                           value:
2562                             key: changeType
2563                             fieldSchemaKey:
2564                               name: SimpleStringType
2565                               version: 0.0.1
2566                             optional: false
2567                         - key: closedLoopControlName
2568                           value:
2569                             key: closedLoopControlName
2570                             fieldSchemaKey:
2571                               name: SimpleStringType
2572                               version: 0.0.1
2573                             optional: false
2574                         - key: nfName
2575                           value:
2576                             key: nfName
2577                             fieldSchemaKey:
2578                               name: SimpleStringType
2579                               version: 0.0.1
2580                             optional: false
2581                         - key: policyName
2582                           value:
2583                             key: policyName
2584                             fieldSchemaKey:
2585                               name: SimpleStringType
2586                               version: 0.0.1
2587                             optional: false
2588                         - key: subscription
2589                           value:
2590                             key: subscription
2591                             fieldSchemaKey:
2592                               name: SubscriptionType
2593                               version: 0.0.1
2594                             optional: false
2595               albums:
2596                 key:
2597                   name: PMControlPolicy_Albums
2598                   version: 0.0.1
2599                 albums:
2600                   entry:
2601                   - key:
2602                       name: PMSubscriptionAlbum
2603                       version: 0.0.1
2604                     value:
2605                       key:
2606                         name: PMSubscriptionAlbum
2607                         version: 0.0.1
2608                       scope: policy
2609                       isWritable: true
2610                       itemSchema:
2611                         name: PMSubscriptionType
2612                         version: 0.0.1
2613               schemas:
2614                 key:
2615                   name: PMControlPolicy_Schemas
2616                   version: 0.0.1
2617                 schemas:
2618                   entry:
2619                   - key:
2620                       name: CDSActionIdentifiersType
2621                       version: 0.0.1
2622                     value:
2623                       key:
2624                         name: CDSActionIdentifiersType
2625                         version: 0.0.1
2626                       schemaFlavour: Avro
2627                       schemaDefinition: |-
2628                         {
2629                             "type": "record",
2630                             "name": "ActionIdentifiers_Type",
2631                             "namespace": "org.onap.policy.apex.onap.helloworld",
2632                             "fields": [
2633                                 {
2634                                     "name": "actionName",
2635                                     "type": "string"
2636                                 },
2637                                 {
2638                                     "name": "blueprintName",
2639                                     "type": "string"
2640                                 },
2641                                 {
2642                                     "name": "blueprintVersion",
2643                                     "type": "string"
2644                                 },
2645                                 {
2646                                     "name": "mode",
2647                                     "type": "string"
2648                                 }
2649                             ]
2650                         }
2651                   - key:
2652                       name: CDSCreateResponsePayloadType
2653                       version: 0.0.1
2654                     value:
2655                       key:
2656                         name: CDSCreateResponsePayloadType
2657                         version: 0.0.1
2658                       schemaFlavour: Avro
2659                       schemaDefinition: |-
2660                         {
2661                           "name": "CreateResponsePayloadEntry",
2662                           "type": "record",
2663                           "namespace": "org.onap.policy.apex.onap.helloworld",
2664                           "fields": [
2665                             {
2666                               "name": "create_DasH_subscription_DasH_response",
2667                               "type": {
2668                                 "name": "create_DasH_subscription_DasH_response",
2669                                 "type": "record",
2670                                 "fields": [
2671                                   {
2672                                     "name": "odl_DasH_response",
2673                                     "type": {
2674                                       "name": "odl_DasH_response",
2675                                       "type": "record",
2676                                       "fields": [
2677                                           {
2678                                             "name": "status",
2679                                             "type": "string"
2680                                           }
2681                                       ]
2682                                     }
2683                                   }
2684                                 ]
2685                               }
2686                             }
2687                           ]
2688                         }
2689                   - key:
2690                       name: CDSCreateSubscriptionPayloadType
2691                       version: 0.0.1
2692                     value:
2693                       key:
2694                         name: CDSCreateSubscriptionPayloadType
2695                         version: 0.0.1
2696                       schemaFlavour: Avro
2697                       schemaDefinition: |-
2698                         {
2699                           "type": "map",
2700                           "values": {
2701                             "type": "record",
2702                             "name": "CDSRequestPayloadEntry",
2703                             "fields": [
2704                               {
2705                                 "name": "create_DasH_subscription_DasH_properties",
2706                                 "type": {
2707                                   "name": "create_DasH_subscription_DasH_properties_record",
2708                                   "type": "record",
2709                                   "fields": [
2710                                     {
2711                                       "name": "nfName",
2712                                       "type": "string"
2713                                     },
2714                                     {
2715                                       "name": "subscriptionName",
2716                                       "type": "string"
2717                                     },
2718                                     {
2719                                       "name": "administrativeState",
2720                                       "type": "string"
2721                                     },
2722                                     {
2723                                       "name": "fileBasedGP",
2724                                       "type": "string"
2725                                     },
2726                                     {
2727                                       "name": "fileLocation",
2728                                       "type": "string"
2729                                     },
2730                                     {
2731                                       "name": "measurementGroups",
2732                                       "type": {
2733                                         "type": "array",
2734                                         "items": {
2735                                           "name": "measurementGroups_record",
2736                                           "type": "record",
2737                                           "fields": [
2738                                             {
2739                                               "name": "measurementGroup",
2740                                               "type": {
2741                                                 "name": "measurementGroup",
2742                                                 "type": "record",
2743                                                 "fields": [
2744                                                   {
2745                                                     "name": "measurementTypes",
2746                                                     "type": {
2747                                                       "type": "array",
2748                                                       "items": {
2749                                                         "name": "measurementTypes_record",
2750                                                         "type": "record",
2751                                                         "fields": [
2752                                                           {
2753                                                             "name": "measurementType",
2754                                                             "type": "string"
2755                                                           }
2756                                                         ]
2757                                                       }
2758                                                     }
2759                                                   },
2760                                                   {
2761                                                     "name": "managedObjectDNsBasic",
2762                                                     "type": {
2763                                                       "type": "array",
2764                                                       "items": {
2765                                                         "name": "managedObjectDNsBasic_record",
2766                                                         "type": "record",
2767                                                         "fields": [
2768                                                           {
2769                                                             "name": "DN",
2770                                                             "type": "string"
2771                                                           }
2772                                                         ]
2773                                                       }
2774                                                     }
2775                                                   }
2776                                                 ]
2777                                               }
2778                                             }
2779                                           ]
2780                                         }
2781                                       }
2782                                     }
2783                                   ]
2784                                 }
2785                               }
2786                             ]
2787                           }
2788                         }
2789                   - key:
2790                       name: CDSDeleteResponsePayloadType
2791                       version: 0.0.1
2792                     value:
2793                       key:
2794                         name: CDSDeleteResponsePayloadType
2795                         version: 0.0.1
2796                       schemaFlavour: Avro
2797                       schemaDefinition: |-
2798                         {
2799                           "name": "DeleteResponsePayloadEntry",
2800                           "type": "record",
2801                           "namespace": "com.acme.avro",
2802                           "fields": [
2803                             {
2804                               "name": "delete_DasH_subscription_DasH_response",
2805                               "type": {
2806                                 "name": "delete_DasH_subscription_DasH_response",
2807                                 "type": "record",
2808                                 "fields": [
2809                                   {
2810                                     "name": "odl_DasH_response",
2811                                     "type": {
2812                                       "name": "odl_DasH_response",
2813                                       "type": "record",
2814                                       "fields": [
2815                                           {
2816                                             "name": "status",
2817                                             "type": "string"
2818                                           }
2819                                       ]
2820                                     }
2821                                   }
2822                                 ]
2823                               }
2824                             }
2825                           ]
2826                         }
2827                   - key:
2828                       name: CDSDeleteSubscriptionPayloadType
2829                       version: 0.0.1
2830                     value:
2831                       key:
2832                         name: CDSDeleteSubscriptionPayloadType
2833                         version: 0.0.1
2834                       schemaFlavour: Avro
2835                       schemaDefinition: |-
2836                         {
2837                           "type": "map",
2838                           "values": {
2839                             "type": "record",
2840                             "name": "CDSRequestPayloadEntry",
2841                             "fields": [
2842                               {
2843                                 "name": "delete_DasH_subscription_DasH_properties",
2844                                 "type": {
2845                                   "name": "delete_DasH_subscription_DasH_properties_record",
2846                                   "type": "record",
2847                                   "fields": [
2848                                     {
2849                                       "name": "nfName",
2850                                       "type": "string"
2851                                     },
2852                                     {
2853                                       "name": "subscriptionName",
2854                                       "type": "string"
2855                                     },
2856                                     {
2857                                       "name": "administrativeState",
2858                                       "type": "string"
2859                                     },
2860                                     {
2861                                       "name": "fileBasedGP",
2862                                       "type": "string"
2863                                     },
2864                                     {
2865                                       "name": "fileLocation",
2866                                       "type": "string"
2867                                     },
2868                                     {
2869                                       "name": "measurementGroups",
2870                                       "type": {
2871                                         "type": "array",
2872                                         "items": {
2873                                           "name": "measurementGroups_record",
2874                                           "type": "record",
2875                                           "fields": [
2876                                             {
2877                                               "name": "measurementGroup",
2878                                               "type": {
2879                                                 "name": "measurementGroup",
2880                                                 "type": "record",
2881                                                 "fields": [
2882                                                   {
2883                                                     "name": "measurementTypes",
2884                                                     "type": {
2885                                                       "type": "array",
2886                                                       "items": {
2887                                                         "name": "measurementTypes_record",
2888                                                         "type": "record",
2889                                                         "fields": [
2890                                                           {
2891                                                             "name": "measurementType",
2892                                                             "type": "string"
2893                                                           }
2894                                                         ]
2895                                                       }
2896                                                     }
2897                                                   },
2898                                                   {
2899                                                     "name": "managedObjectDNsBasic",
2900                                                     "type": {
2901                                                       "type": "array",
2902                                                       "items": {
2903                                                         "name": "managedObjectDNsBasic_record",
2904                                                         "type": "record",
2905                                                         "fields": [
2906                                                           {
2907                                                             "name": "DN",
2908                                                             "type": "string"
2909                                                           }
2910                                                         ]
2911                                                       }
2912                                                     }
2913                                                   }
2914                                                 ]
2915                                               }
2916                                             }
2917                                           ]
2918                                         }
2919                                       }
2920                                     }
2921                                   ]
2922                                 }
2923                               }
2924                             ]
2925                           }
2926                         }
2927                   - key:
2928                       name: CDSRequestCommonHeaderType
2929                       version: 0.0.1
2930                     value:
2931                       key:
2932                         name: CDSRequestCommonHeaderType
2933                         version: 0.0.1
2934                       schemaFlavour: Avro
2935                       schemaDefinition: |-
2936                         {
2937                             "type": "record",
2938                             "name": "RequestCommonHeader_Type",
2939                             "namespace": "org.onap.policy.apex.onap.helloworld",
2940                             "fields": [
2941                                 {
2942                                     "name": "originatorId",
2943                                     "type": "string"
2944                                 },
2945                                 {
2946                                     "name": "requestId",
2947                                     "type": "string"
2948                                 },
2949                                 {
2950                                     "name": "subRequestId",
2951                                     "type": "string"
2952                                 }
2953                             ]
2954                         }
2955                   - key:
2956                       name: CDSResponseCommonHeaderType
2957                       version: 0.0.1
2958                     value:
2959                       key:
2960                         name: CDSResponseCommonHeaderType
2961                         version: 0.0.1
2962                       schemaFlavour: Avro
2963                       schemaDefinition: |-
2964                         {
2965                             "type": "record",
2966                             "name": "ResponseCommonHeader_Type",
2967                             "namespace": "org.onap.policy.apex.onap.helloworld",
2968                             "fields": [
2969                                 {
2970                                     "name": "originatorId",
2971                                     "type": "string"
2972                                 },
2973                                 {
2974                                     "name": "requestId",
2975                                     "type": "string"
2976                                 },
2977                                 {
2978                                     "name": "subRequestId",
2979                                     "type": "string"
2980                                 },
2981                                 {
2982                                     "name": "timestamp",
2983                                     "type": "string"
2984                                 },
2985                                 {
2986                                     "name": "flags",
2987                                     "type": ["null", "string"]
2988                                 }
2989                             ]
2990                         }
2991                   - key:
2992                       name: CDSResponseStatusType
2993                       version: 0.0.1
2994                     value:
2995                       key:
2996                         name: CDSResponseStatusType
2997                         version: 0.0.1
2998                       schemaFlavour: Avro
2999                       schemaDefinition: |-
3000                         {
3001                             "type": "record",
3002                             "name": "ResponseStatus_Type",
3003                             "namespace": "org.onap.policy.apex.onap.helloworld",
3004                             "fields": [
3005                                 {
3006                                     "name": "code",
3007                                     "type": "int"
3008                                 },
3009                                 {
3010                                     "name": "eventType",
3011                                     "type": "string"
3012                                 },
3013                                 {
3014                                     "name": "timestamp",
3015                                     "type": "string"
3016                                 },
3017                                 {
3018                                     "name": "message",
3019                                     "type": "string"
3020                                 }
3021                             ]
3022                         }
3023                   - key:
3024                       name: PMSubscriptionType
3025                       version: 0.0.1
3026                     value:
3027                       key:
3028                         name: PMSubscriptionType
3029                         version: 0.0.1
3030                       schemaFlavour: Avro
3031                       schemaDefinition: "{\n\t\"name\": \"PMSubscription\",\n\t\"type\": \"record\",\n\t\"namespace\": \"\
3032                         org.onap.policy.apex.onap.pmcontrol\",\n\t\"fields\": [\n        {\n            \"name\": \"nfName\"\
3033                         ,\n            \"type\": \"string\"\n        },\n\t    {\n\t\t\t\"name\": \"changeType\",\n\t\t\t\"\
3034                         type\": \"string\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"closedLoopControlName\",\n\t\t\t\"type\": \"\
3035                         string\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"policyName\",\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\
3036                         {\n\t\t    \"name\": \"blueprintName\",\n\t\t    \"type\": \"string\"\n\t\t},\n\t\t{\n\t\t    \"name\"\
3037                         : \"blueprintVersion\",\n\t\t    \"type\": \"string\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"subscription\"\
3038                         ,\n\t\t\t\"type\": {\n\t\t\t\t\"name\": \"subscription\",\n\t\t\t\t\"type\": \"record\",\n\t\t\t\t\
3039                         \"fields\": [{\n\t\t\t\t\t\t\"name\": \"subscriptionName\",\n\t\t\t\t\t\t\"type\": \"string\"\n\t\t\
3040                         \t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"name\": \"administrativeState\",\n\t\t\t\t\t\t\"type\": \"string\"\
3041                         \n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"name\": \"fileBasedGP\",\n\t\t\t\t\t\t\"type\": \"int\"\
3042                         \n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"name\": \"fileLocation\",\n\t\t\t\t\t\t\"type\": \"string\"\
3043                         \n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"name\": \"measurementGroups\",\n\t\t\t\t\t\t\"type\": {\n\
3044                         \t\t\t\t\t\t\t\"type\": \"array\",\n\t\t\t\t\t\t\t\"items\": {\n\t\t\t\t\t\t\t\t\"name\": \"Measurement_Groups_Type\"\
3045                         ,\n\t\t\t\t\t\t\t\t\"type\": \"record\",\n\t\t\t\t\t\t\t\t\"fields\": [{\n\t\t\t\t\t\t\t\t\t\"name\"\
3046                         : \"measurementGroup\",\n\t\t\t\t\t\t\t\t\t\"type\": {\n\t\t\t\t\t\t\t\t\t\t\"name\": \"Measurement_Group_Type\"\
3047                         ,\n\t\t\t\t\t\t\t\t\t\t\"type\": \"record\",\n\t\t\t\t\t\t\t\t\t\t\"fields\": [{\n\t\t\t\t\t\t\t\t\
3048                         \t\t\t\t\"name\": \"measurementTypes\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"type\": {\n\t\t\t\t\t\t\t\t\t\t\
3049                         \t\t\t\"type\": \"array\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"items\": {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"\
3050                         name\": \"Measurement_Types_Type\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"type\": \"record\",\n\t\t\t\t\t\
3051                         \t\t\t\t\t\t\t\t\t\"fields\": [{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"name\": \"measurementType\",\n\t\
3052                         \t\t\t\t\t\t\t\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}]\n\t\t\t\t\t\t\t\t\
3053                         \t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\
3054                         \t\t\t\t\t\t\t\t\"name\": \"managedObjectDNsBasic\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"type\": {\n\t\t\t\t\
3055                         \t\t\t\t\t\t\t\t\t\"type\": \"array\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"items\": {\n\t\t\t\t\t\t\t\t\t\
3056                         \t\t\t\t\t\"name\": \"Managed_Object_Dns_Basic_Type\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"type\": \"record\"\
3057                         ,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"fields\": [{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"name\": \"DN\",\n\t\
3058                         \t\t\t\t\t\t\t\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}]\n\t\t\t\t\t\t\t\t\
3059                         \t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\
3060                         \t\t\t\t}\n\t\t\t\t\t\t\t\t}]\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\
3061                         \t}\n\t]\n}"
3062                   - key:
3063                       name: SimpleIntType
3064                       version: 0.0.1
3065                     value:
3066                       key:
3067                         name: SimpleIntType
3068                         version: 0.0.1
3069                       schemaFlavour: Java
3070                       schemaDefinition: java.lang.Integer
3071                   - key:
3072                       name: SimpleStringType
3073                       version: 0.0.1
3074                     value:
3075                       key:
3076                         name: SimpleStringType
3077                         version: 0.0.1
3078                       schemaFlavour: Java
3079                       schemaDefinition: java.lang.String
3080                   - key:
3081                       name: SubscriptionStatusType
3082                       version: 0.0.1
3083                     value:
3084                       key:
3085                         name: SubscriptionStatusType
3086                         version: 0.0.1
3087                       schemaFlavour: Avro
3088                       schemaDefinition: |-
3089                         {
3090                             "type": "record",
3091                             "name": "ActivateSubscriptionStatus_Type",
3092                             "namespace": "org.onap.policy.apex.onap.helloworld",
3093                             "fields": [
3094                                 {
3095                                     "name": "subscriptionName",
3096                                     "type": "string"
3097                                 },
3098                                 {
3099                                     "name": "nfName",
3100                                     "type": "string"
3101                                 },
3102                                 {
3103                                     "name": "changeType",
3104                                     "type": "string"
3105                                 },
3106                                 {
3107                                     "name": "message",
3108                                     "type": "string"
3109                                 }
3110                             ]
3111                         }
3112                   - key:
3113                       name: SubscriptionType
3114                       version: 0.0.1
3115                     value:
3116                       key:
3117                         name: SubscriptionType
3118                         version: 0.0.1
3119                       schemaFlavour: Avro
3120                       schemaDefinition: "{\n\t\"name\": \"subscription\",\n\t\"type\": \"record\",\n\t\"fields\": [{\n\t\t\
3121                         \t\"name\": \"subscriptionName\",\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"administrativeState\"\
3122                         ,\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"fileBasedGP\",\n\t\t\t\"type\": \"\
3123                         int\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"fileLocation\",\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\
3124                         {\n\t\t\t\"name\": \"measurementGroups\",\n\t\t\t\"type\": {\n\t\t\t\t\"type\": \"array\",\n\t\t\t\
3125                         \t\"items\": {\n\t\t\t\t\t\"name\": \"Measurement_Groups_Type\",\n\t\t\t\t\t\"type\": \"record\",\n\
3126                         \t\t\t\t\t\"fields\": [{\n\t\t\t\t\t\t\"name\": \"measurementGroup\",\n\t\t\t\t\t\t\"type\": {\n\t\
3127                         \t\t\t\t\t\t\"name\": \"Measurement_Group_Type\",\n\t\t\t\t\t\t\t\"type\": \"record\",\n\t\t\t\t\t\
3128                         \t\t\"fields\": [{\n\t\t\t\t\t\t\t\t\t\"name\": \"measurementTypes\",\n\t\t\t\t\t\t\t\t\t\"type\"\
3129                         : {\n\t\t\t\t\t\t\t\t\t\t\"type\": \"array\",\n\t\t\t\t\t\t\t\t\t\t\"items\": {\n\t\t\t\t\t\t\t\t\t\
3130                         \t\t\"name\": \"Measurement_Types_Type\",\n\t\t\t\t\t\t\t\t\t\t\t\"type\": \"record\",\n\t\t\t\t\t\
3131                         \t\t\t\t\t\t\"fields\": [{\n\t\t\t\t\t\t\t\t\t\t\t\t\"name\": \"measurementType\",\n\t\t\t\t\t\t\t\
3132                         \t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t\t\t\t\t\t}]\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\
3133                         }\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"name\": \"managedObjectDNsBasic\",\n\
3134                         \t\t\t\t\t\t\t\t\t\"type\": {\n\t\t\t\t\t\t\t\t\t\t\"type\": \"array\",\n\t\t\t\t\t\t\t\t\t\t\"items\"\
3135                         : {\n\t\t\t\t\t\t\t\t\t\t\t\"name\": \"Managed_Object_Dns_Basic_Type\",\n\t\t\t\t\t\t\t\t\t\t\t\"\
3136                         type\": \"record\",\n\t\t\t\t\t\t\t\t\t\t\t\"fields\": [{\n\t\t\t\t\t\t\t\t\t\t\t\t\"name\": \"DN\"\
3137                         ,\n\t\t\t\t\t\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t\t\t\t\t\t}]\n\t\t\t\t\t\t\t\t\t\t}\n\
3138                         \t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}]\n\t\t\t\t}\n\t\
3139                         \t\t}\n\t\t}\n\t]\n}"
3140                   - key:
3141                       name: UUIDType
3142                       version: 0.0.1
3143                     value:
3144                       key:
3145                         name: UUIDType
3146                         version: 0.0.1
3147                       schemaFlavour: Java
3148                       schemaDefinition: java.util.UUID
3149           engineParameters:
3150             executorParameters:
3151               JAVASCRIPT:
3152                 parameterClassName: org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters
3153             contextParameters:
3154               parameterClassName: org.onap.policy.apex.context.parameters.ContextParameters
3155               schemaParameters:
3156                 Avro:
3157                   parameterClassName: org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters
3158                 Java:
3159                   parameterClassName: org.onap.policy.apex.context.impl.schema.java.JavaSchemaHelperParameters
3160                   jsonAdapters:
3161                     Instant:
3162                       adaptedClass: java.time.Instant
3163                       adaptorClass: org.onap.policy.controlloop.util.Serialization$GsonInstantAdapter
3164         eventInputParameters:
3165           DCAEConsumer:
3166             carrierTechnologyParameters:
3167               carrierTechnology: RESTCLIENT
3168               parameterClassName: org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters
3169               parameters:
3170                 consumerPollTime: '50'
3171                 url: https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT/cg1/sg1
3172             eventProtocolParameters:
3173               eventProtocol: JSON
3174               parameters:
3175                 nameAlias: policyName
3176             eventName: pmsh-operational-policy
3177             eventNameFilter: pmsh-operational-policy
3178           CDSRequestConsumer:
3179             carrierTechnologyParameters:
3180               carrierTechnology: RESTREQUESTOR
3181               parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
3182               parameters:
3183                 url: http://10.10.10.184:30254/api/v1/execution-service/process
3184                 httpMethod: POST
3185                 restRequestTimeout: 2000
3186                 httpHeaders:
3187                 - - Authorization
3188                   - Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
3189             eventProtocolParameters:
3190               eventProtocol: JSON
3191             eventName: CDSCreateResponseEvent
3192             eventNameFilter: CDSCreateResponseEvent
3193             requestorMode: true
3194             requestorPeer: CDSRequestProducer
3195             requestorTimeout: 500
3196           CDSDeleteRequestConsumer:
3197             carrierTechnologyParameters:
3198               carrierTechnology: RESTREQUESTOR
3199               parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
3200               parameters:
3201                 url: http://10.10.10.184:30254/api/v1/execution-service/process
3202                 httpMethod: POST
3203                 restRequestTimeout: 2000
3204                 httpHeaders:
3205                 - - Authorization
3206                   - Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
3207             eventProtocolParameters:
3208               eventProtocol: JSON
3209             eventName: CDSDeleteResponseEvent
3210             eventNameFilter: CDSDeleteResponseEvent
3211             requestorMode: true
3212             requestorPeer: CDSDeleteRequestProducer
3213             requestorTimeout: 500
3214           CDSReplyConsumer:
3215             carrierTechnologyParameters:
3216               carrierTechnology: RESTREQUESTOR
3217               parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
3218               parameters:
3219                 url: https://message-router:3905/events/unauthenticated.PMSH_CL_INPUT
3220                 httpMethod: POST
3221                 restRequestTimeout: 2000
3222             eventProtocolParameters:
3223               eventProtocol: JSON
3224             eventName: MRResponseEvent
3225             eventNameFilter: MRResponseEvent
3226             requestorMode: true
3227             requestorPeer: CDSReplyProducer
3228             requestorTimeout: 500
3229         eventOutputParameters:
3230           logOutputter:
3231             carrierTechnologyParameters:
3232               carrierTechnology: FILE
3233               parameters:
3234                 fileName: /tmp/outputevents.log
3235             eventProtocolParameters:
3236               eventProtocol: JSON
3237           StdOutOutputter:
3238             carrierTechnologyParameters:
3239               carrierTechnology: FILE
3240               parameters:
3241                 standardIo: true
3242             eventProtocolParameters:
3243               eventProtocol: JSON
3244           CDSRequestProducer:
3245             carrierTechnologyParameters:
3246               carrierTechnology: RESTREQUESTOR
3247               parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
3248             eventProtocolParameters:
3249               eventProtocol: JSON
3250             eventNameFilter: CDSCreateSubscriptionRequestEvent
3251             requestorMode: true
3252             requestorPeer: CDSRequestConsumer
3253             requestorTimeout: 500
3254           CDSDeleteRequestProducer:
3255             carrierTechnologyParameters:
3256               carrierTechnology: RESTREQUESTOR
3257               parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
3258             eventProtocolParameters:
3259               eventProtocol: JSON
3260             eventNameFilter: CDSDeleteSubscriptionRequestEvent
3261             requestorMode: true
3262             requestorPeer: CDSDeleteRequestConsumer
3263             requestorTimeout: 500
3264           CDSReplyProducer:
3265             carrierTechnologyParameters:
3266               carrierTechnology: RESTREQUESTOR
3267               parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
3268             eventProtocolParameters:
3269               eventProtocol: JSON
3270             eventNameFilter: CDSResponseStatusEvent
3271             requestorMode: true
3272             requestorPeer: CDSReplyConsumer
3273             requestorTimeout: 500
3274