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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
18 tosca_definitions_version: tosca_simple_yaml_1_3
20 onap.datatypes.ToscaConceptIdentifier:
21 derived_from: tosca.datatypes.Root
29 org.onap.datatypes.policy.clamp.controlloop.DCAEMicroserviceControlLoopElementConsulInfo:
30 name: org.onap.datatypes.policy.clamp.controlloop.DCAEMicroserviceControlLoopElementConsulInfo
32 derived_from: tosca.datatypes.Root
38 description: Consul url for this entry
44 description: Body of Consul entry
46 onap.datatypes.monitoring.managedObjectDNsBasic:
53 description: Managed object distinguished name
57 name: onap.datatypes.monitoring.managedObjectDNsBasic
59 derived_from: tosca.datatypes.Root
61 onap.datatypes.monitoring.managedObjectDNsBasics:
64 managedObjectDNsBasic:
65 name: managedObjectDNsBasic
68 description: Managed object distinguished name object
72 type: onap.datatypes.monitoring.managedObjectDNsBasic
76 name: onap.datatypes.monitoring.managedObjectDNsBasics
78 derived_from: tosca.datatypes.Root
80 onap.datatypes.monitoring.measurementGroup:
84 name: measurementTypes
87 description: List of measurement types
91 type: onap.datatypes.monitoring.measurementTypes
95 managedObjectDNsBasic:
96 name: managedObjectDNsBasic
99 description: List of managed object distinguished names
103 type: onap.datatypes.monitoring.managedObjectDNsBasics
107 name: onap.datatypes.monitoring.measurementGroup
109 derived_from: tosca.datatypes.Root
111 onap.datatypes.monitoring.measurementGroups:
115 name: measurementGroup
118 description: Measurement Group
122 type: onap.datatypes.monitoring.measurementGroup
126 name: onap.datatypes.monitoring.measurementGroups
128 derived_from: tosca.datatypes.Root
130 onap.datatypes.monitoring.measurementType:
134 name: measurementType
137 description: Measurement type
141 name: onap.datatypes.monitoring.measurementType
143 derived_from: tosca.datatypes.Root
145 onap.datatypes.monitoring.measurementTypes:
149 name: measurementType
152 description: Measurement type object
156 type: onap.datatypes.monitoring.measurementType
160 name: onap.datatypes.monitoring.measurementTypes
162 derived_from: tosca.datatypes.Root
164 onap.datatypes.monitoring.nfFilter:
171 description: List of model names
180 name: modelInvariantIDs
183 description: List of model invariant IDs
192 name: modelVersionIDs
195 description: List of model version IDs
207 description: List of network functions
215 name: onap.datatypes.monitoring.nfFilter
217 derived_from: tosca.datatypes.Root
219 onap.datatypes.monitoring.subscription:
223 name: measurementGroups
226 description: Measurement Groups
230 type: onap.datatypes.monitoring.measurementGroups
238 description: File based granularity period
246 description: ROP file location
251 name: subscriptionName
254 description: Name of the subscription
259 name: administrativeState
262 description: State of the subscription
273 description: Network function filter
277 type: onap.datatypes.monitoring.nfFilter
281 name: onap.datatypes.monitoring.subscription
283 derived_from: tosca.datatypes.Root
286 onap.policies.Monitoring:
287 derived_from: tosca.policies.Root
288 description: a base policy type for all policies that govern monitoring provisioning
290 name: onap.policies.Monitoring
291 onap.policies.monitoring.dcae-pm-subscription-handler:
295 type: onap.datatypes.monitoring.subscription
297 description: PMSH Policy JSON
301 name: onap.policies.monitoring.dcae-pm-subscription-handler
303 derived_from: onap.policies.Monitoring
305 onap.policies.controlloop.operational.common.Apex:
306 derived_from: onap.policies.controlloop.operational.Common
309 name: onap.policies.controlloop.operational.common.Apex
310 description: Operational policies for Apex PDP
312 engineServiceParameters:
314 description: The engine parameters like name, instanceCount, policy implementation, parameters etc.
316 eventInputParameters:
318 description: The event input parameters.
320 eventOutputParameters:
322 description: The event output parameters.
326 description: Name/value pairs of properties to be set for APEX if needed.
329 org.onap.policy.clamp.controlloop.Participant:
331 derived_from: tosca.nodetypes.Root
336 org.onap.policy.clamp.controlloop.ControlLoopElement:
338 derived_from: tosca.nodetypes.Root
344 type: onap.datatypes.ToscaConceptIdentifier
346 org.onap.policy.clamp.controlloop.ControlLoop:
348 derived_from: tosca.nodetypes.Root
357 type: onap.datatypes.ToscaConceptIdentifier
358 org.onap.policy.clamp.controlloop.DCAEMicroserviceControlLoopElement:
360 derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
363 type: onap.datatypes.ToscaConceptIdentifier
366 type: onap.dcae.cloudify_blueprint
372 type: org.onap.datatypes.policy.clamp.controlloop.DCAEMicroserviceControlLoopElementConsulInfo
373 org.onap.policy.clamp.controlloop.PolicyControlLoopElement:
375 derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
378 type: onap.datatypes.ToscaConceptIdentifier
381 type: onap.datatypes.ToscaConceptIdentifier
383 org.onap.policy.clamp.controlloop.CDSControlLoopElement:
385 derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
388 type: onap.datatypes.ToscaConceptIdentifier
392 pmsh_monitoring_policy:
393 type: onap.datatypes.ToscaConceptIdentifier
394 description: The ID of the PMSH monitoring policy to use
396 name: MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test
398 pmsh_operational_policy:
399 type: onap.datatypes.ToscaConceptIdentifier
400 description: The ID of the PMSH operational policy to use
402 name: operational.apex.pmcontrol
405 org.onap.dcae.controlloop.DCAEMicroserviceControlLoopParticipant:
407 type: org.onap.policy.clamp.controlloop.Participant
409 description: Participant for DCAE microservices
412 org.onap.policy.controlloop.PolicyControlLoopParticipant:
414 type: org.onap.policy.clamp.controlloop.Participant
416 description: Participant for DCAE microservices
419 org.onap.ccsdk.cds.controlloop.CdsControlLoopParticipant:
421 type: org.onap.policy.clamp.controlloop.Participant
423 description: Participant for DCAE microservices
426 org.onap.domain.pmsh.PMSH_DCAEMicroservice:
428 type: org.onap.policy.clamp.controlloop.DCAEMicroserviceControlLoopElement
430 description: Control loop element for the DCAE microservice for Performance Management Subscription Handling
434 name: org.onap.dcae.controlloop.DCAEMicroserviceControlLoopParticipant
437 tosca_definitions_version: cloudify_dsl_1_3
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
446 description: Docker image to be used
447 default: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pmsh:1.1.2
450 description: Number of instances
452 operational_policy_name:
454 default: operational.apex.pmcontrol
457 default: pmsh-control-loop
458 pmsh_publish_topic_name:
460 default: unauthenticated.DCAE_CL_OUTPUT
461 policy_feedback_topic_name:
463 default: unauthenticated.PMSH_CL_INPUT
464 aai_notification_topic_name:
467 publisher_client_role:
469 description: Client role to request secure access to topic
470 default: org.onap.dcae.pmPublisher
471 subscriber_client_role:
473 description: Client role to request secure access to topic
474 default: org.onap.dcae.pmSubscriber
477 description: DCAE location for the subscriber, used to set up routing
478 default: san-francisco
493 default: dcae-pg-primary.onap
499 description: PMSH protocol. If enable_tls is false, set to http
503 default: onap.policies.monitoring.dcae-pm-subscription-handler
506 default: MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test
509 type: dcae.nodes.pgaas.database
512 get_input: pgaas_cluster_name
515 type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
517 cloudify.interfaces.lifecycle:
544 - target: pmsh-policy
545 type: cloudify.relationships.depends_on
547 service_component_type: dcae-pmsh
548 service_component_name_override: dcae-pmsh
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
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
567 - http://message-router:3904/events/
568 - get_input: pmsh_publish_topic_name
570 policy_pm_subscriber:
575 - http://message-router:3904/events/
576 - get_input: policy_feedback_topic_name
582 - http://message-router:3904/events/
583 - get_input: aai_notification_topic_name
589 get_input: memory_limit
592 get_input: cpu_request
594 get_input: memory_request
597 endpoint: /healthcheck
603 get_input: tag_version
607 log_directory: /var/log/ONAP/dcaegen2/services/pmsh
609 cert_directory: /opt/app/pmsh/etc/certs
611 get_input: enable_tls
613 type: clamp.nodes.policy
616 get_input: policy_model_id
620 - consulUrl: http://consul:31321/v1/kv/dcae-pmsh:policy
623 subscriptionName: subscriptiona
624 administrativeState: UNLOCKED
626 fileLocation: /pm/pm.xml
631 - 5845y423-g654-6fju-po78-8n53154532k6
632 - 7129e420-d396-4efb-af02-6b83499b12f8
634 - e80a6ae3-cafd-4d24-850d-e14c084a5ca9
638 - measurementType: countera
639 - measurementType: counterb
640 managedObjectDNsBasic:
645 - measurementType: counterc
646 - measurementType: counterd
647 managedObjectDNsBasic:
650 org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement:
652 type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement
654 description: Control loop element for the monitoring policy for Performance Management Subscription Handling
658 name: org.onap.policy.controlloop.PolicyControlLoopParticipant
661 name: onap.policies.monitoring.pm-subscription-handler
664 get_input: pmsh_monitoring_policy
665 org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement:
667 type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement
669 description: Control loop element for the operational policy for Performance Management Subscription Handling
673 name: org.onap.policy.controlloop.PolicyControlLoopParticipant
676 name: onap.policies.operational.pm-subscription-handler
679 get_input: pmsh_operational_policy
680 org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement:
682 type: org.onap.policy.clamp.controlloop.CDSControlLoopElement
684 description: Control loop element for CDS for Performance Management Subscription Handling
688 name: org.onap.ccsdk.cds.controlloop.CdsControlLoopParticipant
691 name: org.onap.ccsdk.cds.PMSHCdsBlueprint
693 org.onap.domain.pmsh.PMSHControlLoopDefinition:
695 type: org.onap.policy.clamp.controlloop.ControlLoop
697 description: Control loop for Performance Management Subscription Handling
701 - name: org.onap.domain.pmsh.PMSH_DCAEMicroservice
703 - name: org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement
705 - name: org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement
707 - name: org.onap.domain.pmsh.PMSH_CDS_ControlLoopElement
710 - MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test:
711 type: onap.policies.monitoring.dcae-pm-subscription-handler
713 name: MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test
716 policy-id: MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test
717 policy-version: 1.0.0
721 fileLocation: /pm/pm.xml
722 subscriptionName: subscriptiona
723 administrativeState: UNLOCKED
725 onap.datatypes.monitoring.nfFilter:
727 - e80a6ae3-cafd-4d24-850d-e14c084a5ca9
729 - 5845y423-g654-6fju-po78-8n53154532k6
730 - 7129e420-d396-4efb-af02-6b83499b12f8
736 onap.datatypes.monitoring.measurementGroup:
739 onap.datatypes.monitoring.measurementType:
740 measurementType: countera
742 onap.datatypes.monitoring.measurementType:
743 measurementType: counterb
744 managedObjectDNsBasic:
745 - managedObjectDNsBasic:
746 onap.datatypes.monitoring.managedObjectDNsBasic:
748 - managedObjectDNsBasic:
749 onap.datatypes.monitoring.managedObjectDNsBasic:
752 onap.datatypes.monitoring.measurementGroup:
755 onap.datatypes.monitoring.measurementType:
756 measurementType: counterc
758 onap.datatypes.monitoring.measurementType:
759 measurementType: counterd
760 managedObjectDNsBasic:
761 - managedObjectDNsBasic:
762 onap.datatypes.monitoring.managedObjectDNsBasic:
764 - managedObjectDNsBasic:
765 onap.datatypes.monitoring.managedObjectDNsBasic:
767 - operational.apex.pmcontrol:
768 type: onap.policies.controlloop.operational.Common.Apex
772 policy-id: operational.apex.pmcontrol
775 engineServiceParameters:
780 deploymentPort: 12561
784 name: PMControlPolicy
788 name: PMControlPolicy_KeyInfo
793 name: CDSActionIdentifiersType
797 name: CDSActionIdentifiersType
799 UUID: 6e5fa19b-14df-37e3-a4ae-8c537e861a82
800 description: Generated description for concept referred to by key "CDSActionIdentifiersType:0.0.1"
802 name: CDSCreateResponseEvent
806 name: CDSCreateResponseEvent
808 UUID: 14b29e38-ac75-3273-aa4e-8583c0aa7dad
809 description: Generated description for concept referred to by key "CDSCreateResponseEvent:0.0.1"
811 name: CDSCreateResponsePayloadType
815 name: CDSCreateResponsePayloadType
817 UUID: 04573f8f-e772-30a5-b1d9-d7318d4a1e13
818 description: Generated description for concept referred to by key "CDSCreateResponsePayloadType:0.0.1"
820 name: CDSCreateResponsePolicy
824 name: CDSCreateResponsePolicy
826 UUID: e126c965-fc09-3bfe-8f55-70f380a4a49c
827 description: Generated description for concept referred to by key "CDSCreateResponsePolicy:0.0.1"
829 name: CDSCreateResponseTask
833 name: CDSCreateResponseTask
835 UUID: 6165ee82-afd2-3aab-a517-f00b3f2461d2
836 description: Generated description for concept referred to by key "CDSCreateResponseTask:0.0.1"
838 name: CDSCreateSubscriptionPayloadType
842 name: CDSCreateSubscriptionPayloadType
844 UUID: 8350ac5e-c157-38b9-9614-a0f93a830e60
845 description: Generated description for concept referred to by key "CDSCreateSubscriptionPayloadType:0.0.1"
847 name: CDSCreateSubscriptionRequestEvent
851 name: CDSCreateSubscriptionRequestEvent
853 UUID: cfa325ba-226b-3a31-9183-ec43e2b6e9a2
854 description: Generated description for concept referred to by key "CDSCreateSubscriptionRequestEvent:0.0.1"
856 name: CDSDeleteResponseEvent
860 name: CDSDeleteResponseEvent
862 UUID: 8be9c0fa-7437-3841-aff2-b3cec6ae3bd8
863 description: Generated description for concept referred to by key "CDSDeleteResponseEvent:0.0.1"
865 name: CDSDeleteResponsePayloadType
869 name: CDSDeleteResponsePayloadType
871 UUID: 3fbfe0c9-152e-34d3-a504-09cd13c058d0
872 description: Generated description for concept referred to by key "CDSDeleteResponsePayloadType:0.0.1"
874 name: CDSDeleteResponsePolicy
878 name: CDSDeleteResponsePolicy
880 UUID: a780251c-edd5-3132-b865-04313246b43c
881 description: Generated description for concept referred to by key "CDSDeleteResponsePolicy:0.0.1"
883 name: CDSDeleteResponseTask
887 name: CDSDeleteResponseTask
889 UUID: afce4555-3aa3-3521-a7d8-ee8cdf0d3efc
890 description: Generated description for concept referred to by key "CDSDeleteResponseTask:0.0.1"
892 name: CDSDeleteSubscriptionPayloadType
896 name: CDSDeleteSubscriptionPayloadType
898 UUID: 12658406-9147-3c9d-a38c-5ad5e30b092b
899 description: Generated description for concept referred to by key "CDSDeleteSubscriptionPayloadType:0.0.1"
901 name: CDSDeleteSubscriptionRequestEvent
905 name: CDSDeleteSubscriptionRequestEvent
907 UUID: 24380c95-9289-36e6-8cbf-0edefa15ccd9
908 description: Generated description for concept referred to by key "CDSDeleteSubscriptionRequestEvent:0.0.1"
910 name: CDSRequestCommonHeaderType
914 name: CDSRequestCommonHeaderType
916 UUID: 35590ac0-062c-39f1-8786-b4ff716e30b1
917 description: Generated description for concept referred to by key "CDSRequestCommonHeaderType:0.0.1"
919 name: CDSResponseCommonHeaderType
923 name: CDSResponseCommonHeaderType
925 UUID: dd7e1805-885a-350b-aaf9-ed541321ae3c
926 description: Generated description for concept referred to by key "CDSResponseCommonHeaderType:0.0.1"
928 name: CDSResponseStatusEvent
932 name: CDSResponseStatusEvent
934 UUID: 7986e21b-32f7-302e-9554-31f21b673493
935 description: Generated description for concept referred to by key "CDSResponseStatusEvent:0.0.1"
937 name: CDSResponseStatusType
941 name: CDSResponseStatusType
943 UUID: 92b8a2cf-344e-3ce1-8cc0-2b7d3cb695fa
944 description: Generated description for concept referred to by key "CDSResponseStatusType:0.0.1"
946 name: CreateSubscriptionPayloadEvent
950 name: CreateSubscriptionPayloadEvent
952 UUID: 92162397-1a8e-3a3f-a469-d2af7700af4a
953 description: Generated description for concept referred to by key "CreateSubscriptionPayloadEvent:0.0.1"
955 name: CreateSubscriptionPayloadTask
959 name: CreateSubscriptionPayloadTask
961 UUID: bc0c69f0-52ed-38ea-b468-ae4a6fd1730d
962 description: Generated description for concept referred to by key "CreateSubscriptionPayloadTask:0.0.1"
964 name: CreateSubscriptionRequestTask
968 name: CreateSubscriptionRequestTask
970 UUID: 89cb75e9-f06c-30d3-b4ff-698d45f63869
971 description: Generated description for concept referred to by key "CreateSubscriptionRequestTask:0.0.1"
973 name: DeleteSubscriptionPayloadEvent
977 name: DeleteSubscriptionPayloadEvent
979 UUID: 994fa441-04ab-33bb-832d-1cd12ab5d074
980 description: Generated description for concept referred to by key "DeleteSubscriptionPayloadEvent:0.0.1"
982 name: DeleteSubscriptionPayloadTask
986 name: DeleteSubscriptionPayloadTask
988 UUID: 0f519117-5fea-3e4b-941f-8f778100465f
989 description: Generated description for concept referred to by key "DeleteSubscriptionPayloadTask:0.0.1"
991 name: DeleteSubscriptionRequestTask
995 name: DeleteSubscriptionRequestTask
997 UUID: acb772fe-d442-39e3-98f9-b1080caf4150
998 description: Generated description for concept referred to by key "DeleteSubscriptionRequestTask:0.0.1"
1000 name: MRResponseEvent
1004 name: MRResponseEvent
1006 UUID: 13c747a3-6bae-3bcf-9c80-b152e01dc194
1007 description: Generated description for concept referred to by key "MRResponseEvent:0.0.1"
1009 name: PMControlPolicy
1013 name: PMControlPolicy
1015 UUID: acf1e55c-7bc5-3bd5-975a-0ca54afcd8a4
1016 description: Generated description for concept referred to by key "PMControlPolicy:0.0.1"
1018 name: PMControlPolicy_Albums
1022 name: PMControlPolicy_Albums
1024 UUID: b38ad204-c2c8-32f4-9b5a-dda0aeb0145b
1025 description: Generated description for concept referred to by key "PMControlPolicy_Albums:0.0.1"
1027 name: PMControlPolicy_Events
1031 name: PMControlPolicy_Events
1033 UUID: be3871a0-c42a-3113-a066-82d192840eca
1034 description: Generated description for concept referred to by key "PMControlPolicy_Events:0.0.1"
1036 name: PMControlPolicy_KeyInfo
1040 name: PMControlPolicy_KeyInfo
1042 UUID: ced37634-28a4-3178-b7f6-2980794927b0
1043 description: Generated description for concept referred to by key "PMControlPolicy_KeyInfo:0.0.1"
1045 name: PMControlPolicy_Policies
1049 name: PMControlPolicy_Policies
1051 UUID: be3d180d-ef9c-3a75-8e9c-84271a038bed
1052 description: Generated description for concept referred to by key "PMControlPolicy_Policies:0.0.1"
1054 name: PMControlPolicy_Schemas
1058 name: PMControlPolicy_Schemas
1060 UUID: e61973f1-189c-39e5-82f6-0d3afe298a20
1061 description: Generated description for concept referred to by key "PMControlPolicy_Schemas:0.0.1"
1063 name: PMControlPolicy_Tasks
1067 name: PMControlPolicy_Tasks
1069 UUID: 5658adb3-2962-30a3-a241-fae75bb8eb4a
1070 description: Generated description for concept referred to by key "PMControlPolicy_Tasks:0.0.1"
1072 name: PMSubscriptionAlbum
1076 name: PMSubscriptionAlbum
1078 UUID: c2bd6f0d-6854-317a-9be2-97c08338428c
1079 description: Generated description for concept referred to by key "PMSubscriptionAlbum:0.0.1"
1081 name: PMSubscriptionOutputEvent
1085 name: PMSubscriptionOutputEvent
1087 UUID: 992b7819-9f69-3aa0-bb0f-6e45ea15ce05
1088 description: Generated description for concept referred to by key "PMSubscriptionOutputEvent:0.0.1"
1090 name: PMSubscriptionType
1094 name: PMSubscriptionType
1096 UUID: 73c1c397-4fc3-357f-93b6-a8ad707fbaae
1097 description: Generated description for concept referred to by key "PMSubscriptionType:0.0.1"
1099 name: ReceiveEventPolicy
1103 name: ReceiveEventPolicy
1105 UUID: 568b7345-9de1-36d3-b6a3-9b857e6809a1
1106 description: Generated description for concept referred to by key "ReceiveEventPolicy:0.0.1"
1108 name: ReceiveSubscriptionTask
1112 name: ReceiveSubscriptionTask
1114 UUID: f596afc8-100c-35eb-92c8-352355ea457d
1115 description: Generated description for concept referred to by key "ReceiveSubscriptionTask:0.0.1"
1123 UUID: 153791fd-ae0a-36a7-88a5-309a7936415d
1124 description: Generated description for concept referred to by key "SimpleIntType:0.0.1"
1126 name: SimpleStringType
1130 name: SimpleStringType
1132 UUID: 8a4957cf-9493-3a76-8c22-a208e23259af
1133 description: Generated description for concept referred to by key "SimpleStringType:0.0.1"
1135 name: SubscriptionStatusType
1139 name: SubscriptionStatusType
1141 UUID: 597643b1-9db1-31ce-85d0-e1c63c43b30b
1142 description: Generated description for concept referred to by key "SubscriptionStatusType:0.0.1"
1144 name: SubscriptionType
1148 name: SubscriptionType
1150 UUID: 184547bb-7d64-3cb2-a273-d7185102c5ce
1151 description: Generated description for concept referred to by key "SubscriptionType:0.0.1"
1159 UUID: 6a8cc68e-dfc8-3403-9c6d-071c886b319c
1160 description: Generated description for concept referred to by key "UUIDType:0.0.1"
1162 name: pmsh-operational-policy
1166 name: pmsh-operational-policy
1168 UUID: fdf2c9ff-6422-3ea6-b6b6-49b12116265d
1169 description: Generated description for concept referred to by key "pmsh-operational-policy:0.0.1"
1172 name: PMControlPolicy_Policies
1177 name: CDSCreateResponsePolicy
1181 name: CDSCreateResponsePolicy
1186 - key: CDSCreateResponseState
1189 parentKeyName: CDSCreateResponsePolicy
1190 parentKeyVersion: 0.0.1
1191 parentLocalName: 'NULL'
1192 localName: CDSCreateResponseState
1194 name: CDSCreateResponseEvent
1198 - key: ResponseOutput
1201 parentKeyName: CDSCreateResponsePolicy
1202 parentKeyVersion: 0.0.1
1203 parentLocalName: CDSCreateResponseState
1204 localName: ResponseOutput
1206 name: CDSResponseStatusEvent
1209 parentKeyName: 'NULL'
1210 parentKeyVersion: 0.0.0
1211 parentLocalName: 'NULL'
1213 contextAlbumReference: []
1216 logicFlavour: UNDEFINED
1218 stateFinalizerLogicMap:
1221 name: CDSCreateResponseTask
1226 name: CDSCreateResponseTask
1230 parentKeyName: CDSCreateResponsePolicy
1231 parentKeyVersion: 0.0.1
1232 parentLocalName: CDSCreateResponseState
1233 localName: CDSCreateResponsePolicy
1236 parentKeyName: CDSCreateResponsePolicy
1237 parentKeyVersion: 0.0.1
1238 parentLocalName: CDSCreateResponseState
1239 localName: ResponseOutput
1240 firstState: CDSCreateResponseState
1242 name: CDSDeleteResponsePolicy
1246 name: CDSDeleteResponsePolicy
1251 - key: CDSDeleteResponseState
1254 parentKeyName: CDSDeleteResponsePolicy
1255 parentKeyVersion: 0.0.1
1256 parentLocalName: 'NULL'
1257 localName: CDSDeleteResponseState
1259 name: CDSDeleteResponseEvent
1263 - key: ResponseOutput
1266 parentKeyName: CDSDeleteResponsePolicy
1267 parentKeyVersion: 0.0.1
1268 parentLocalName: CDSDeleteResponseState
1269 localName: ResponseOutput
1271 name: CDSResponseStatusEvent
1274 parentKeyName: 'NULL'
1275 parentKeyVersion: 0.0.0
1276 parentLocalName: 'NULL'
1278 contextAlbumReference: []
1281 logicFlavour: UNDEFINED
1283 stateFinalizerLogicMap:
1286 name: CDSDeleteResponseTask
1291 name: CDSDeleteResponseTask
1295 parentKeyName: CDSDeleteResponsePolicy
1296 parentKeyVersion: 0.0.1
1297 parentLocalName: CDSDeleteResponseState
1298 localName: CDSDeleteResponsePolicy
1301 parentKeyName: CDSDeleteResponsePolicy
1302 parentKeyVersion: 0.0.1
1303 parentLocalName: CDSDeleteResponseState
1304 localName: ResponseOutput
1305 firstState: CDSDeleteResponseState
1307 name: ReceiveEventPolicy
1311 name: ReceiveEventPolicy
1316 - key: CreateOrDeleteState
1319 parentKeyName: ReceiveEventPolicy
1320 parentKeyVersion: 0.0.1
1321 parentLocalName: 'NULL'
1322 localName: CreateOrDeleteState
1324 name: PMSubscriptionOutputEvent
1328 - key: CreateSubscriptionPayload
1331 parentKeyName: ReceiveEventPolicy
1332 parentKeyVersion: 0.0.1
1333 parentLocalName: CreateOrDeleteState
1334 localName: CreateSubscriptionPayload
1336 name: CreateSubscriptionPayloadEvent
1339 parentKeyName: ReceiveEventPolicy
1340 parentKeyVersion: 0.0.1
1341 parentLocalName: 'NULL'
1342 localName: CreateSubscription
1343 - key: DeleteSubscriptionPayload
1346 parentKeyName: ReceiveEventPolicy
1347 parentKeyVersion: 0.0.1
1348 parentLocalName: CreateOrDeleteState
1349 localName: DeleteSubscriptionPayload
1351 name: DeleteSubscriptionPayloadEvent
1354 parentKeyName: ReceiveEventPolicy
1355 parentKeyVersion: 0.0.1
1356 parentLocalName: 'NULL'
1357 localName: DeleteSubscription
1358 contextAlbumReference:
1359 - name: PMSubscriptionAlbum
1362 key: TaskSelectionLogic
1363 logicFlavour: JAVASCRIPT
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
1373 * http://www.apache.org/licenses/LICENSE-2.0
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.
1381 * SPDX-License-Identifier: Apache-2.0
1382 * ============LICENSE_END=========================================================
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);
1392 else if ("DELETE".equals(changeType)) {
1393 executor.logger.info("Choosing to delete a subscription")
1394 executor.subject.getTaskKey("DeleteSubscriptionPayloadTask").copyTo(executor.selectedTask);
1396 //var returnValue = executor.isTrue;
1398 stateFinalizerLogicMap:
1401 name: CreateSubscriptionPayloadTask
1406 name: CreateSubscriptionPayloadTask
1410 parentKeyName: ReceiveEventPolicy
1411 parentKeyVersion: 0.0.1
1412 parentLocalName: CreateOrDeleteState
1413 localName: ReceiveEventPolicy
1416 parentKeyName: ReceiveEventPolicy
1417 parentKeyVersion: 0.0.1
1418 parentLocalName: CreateOrDeleteState
1419 localName: CreateSubscriptionPayload
1421 name: DeleteSubscriptionPayloadTask
1425 parentKeyName: ReceiveEventPolicy
1426 parentKeyVersion: 0.0.1
1427 parentLocalName: CreateOrDeleteState
1428 localName: ReceiveEventPolicy
1431 parentKeyName: ReceiveEventPolicy
1432 parentKeyVersion: 0.0.1
1433 parentLocalName: CreateOrDeleteState
1434 localName: DeleteSubscriptionPayload
1435 - key: CreateSubscription
1438 parentKeyName: ReceiveEventPolicy
1439 parentKeyVersion: 0.0.1
1440 parentLocalName: 'NULL'
1441 localName: CreateSubscription
1443 name: CreateSubscriptionPayloadEvent
1447 - key: IssueCreateSubscriptionRequestOutput
1450 parentKeyName: ReceiveEventPolicy
1451 parentKeyVersion: 0.0.1
1452 parentLocalName: CreateSubscription
1453 localName: IssueCreateSubscriptionRequestOutput
1455 name: CDSCreateSubscriptionRequestEvent
1458 parentKeyName: 'NULL'
1459 parentKeyVersion: 0.0.0
1460 parentLocalName: 'NULL'
1462 contextAlbumReference:
1463 - name: PMSubscriptionAlbum
1467 logicFlavour: UNDEFINED
1469 stateFinalizerLogicMap:
1472 name: CreateSubscriptionRequestTask
1477 name: CreateSubscriptionRequestTask
1481 parentKeyName: ReceiveEventPolicy
1482 parentKeyVersion: 0.0.1
1483 parentLocalName: CreateSubscription
1484 localName: ReceiveEventPolicy
1487 parentKeyName: ReceiveEventPolicy
1488 parentKeyVersion: 0.0.1
1489 parentLocalName: CreateSubscription
1490 localName: IssueCreateSubscriptionRequestOutput
1491 - key: DeleteSubscription
1494 parentKeyName: ReceiveEventPolicy
1495 parentKeyVersion: 0.0.1
1496 parentLocalName: 'NULL'
1497 localName: DeleteSubscription
1499 name: DeleteSubscriptionPayloadEvent
1503 - key: IssueDeleteSubscriptionRequestOutput
1506 parentKeyName: ReceiveEventPolicy
1507 parentKeyVersion: 0.0.1
1508 parentLocalName: DeleteSubscription
1509 localName: IssueDeleteSubscriptionRequestOutput
1511 name: CDSDeleteSubscriptionRequestEvent
1514 parentKeyName: 'NULL'
1515 parentKeyVersion: 0.0.0
1516 parentLocalName: 'NULL'
1518 contextAlbumReference:
1519 - name: PMSubscriptionAlbum
1523 logicFlavour: UNDEFINED
1525 stateFinalizerLogicMap:
1528 name: DeleteSubscriptionRequestTask
1533 name: DeleteSubscriptionRequestTask
1537 parentKeyName: ReceiveEventPolicy
1538 parentKeyVersion: 0.0.1
1539 parentLocalName: DeleteSubscription
1540 localName: ReceiveEventPolicy
1543 parentKeyName: ReceiveEventPolicy
1544 parentKeyVersion: 0.0.1
1545 parentLocalName: DeleteSubscription
1546 localName: IssueDeleteSubscriptionRequestOutput
1547 - key: ReceiveSubscriptionState
1550 parentKeyName: ReceiveEventPolicy
1551 parentKeyVersion: 0.0.1
1552 parentLocalName: 'NULL'
1553 localName: ReceiveSubscriptionState
1555 name: pmsh-operational-policy
1559 - key: ReceivePMSubscriptionOutput
1562 parentKeyName: ReceiveEventPolicy
1563 parentKeyVersion: 0.0.1
1564 parentLocalName: ReceiveSubscriptionState
1565 localName: ReceivePMSubscriptionOutput
1567 name: PMSubscriptionOutputEvent
1570 parentKeyName: ReceiveEventPolicy
1571 parentKeyVersion: 0.0.1
1572 parentLocalName: 'NULL'
1573 localName: CreateOrDeleteState
1574 contextAlbumReference:
1575 - name: PMSubscriptionAlbum
1579 logicFlavour: UNDEFINED
1581 stateFinalizerLogicMap:
1584 name: ReceiveSubscriptionTask
1589 name: ReceiveSubscriptionTask
1593 parentKeyName: ReceiveEventPolicy
1594 parentKeyVersion: 0.0.1
1595 parentLocalName: ReceiveSubscriptionState
1596 localName: ReceiveEventPolicy
1599 parentKeyName: ReceiveEventPolicy
1600 parentKeyVersion: 0.0.1
1601 parentLocalName: ReceiveSubscriptionState
1602 localName: ReceivePMSubscriptionOutput
1603 firstState: ReceiveSubscriptionState
1606 name: PMControlPolicy_Tasks
1611 name: CDSCreateResponseTask
1615 name: CDSCreateResponseTask
1619 - key: actionIdentifiers
1621 key: actionIdentifiers
1623 name: CDSActionIdentifiersType
1630 name: CDSResponseCommonHeaderType
1637 name: CDSCreateResponsePayloadType
1644 name: CDSResponseStatusType
1653 name: SubscriptionStatusType
1658 contextAlbumReference:
1659 - name: PMSubscriptionAlbum
1663 logicFlavour: JAVASCRIPT
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
1673 * http://www.apache.org/licenses/LICENSE-2.0
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.
1681 * SPDX-License-Identifier: Apache-2.0
1682 * ============LICENSE_END=========================================================
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")
1698 responseStatus.put("message", "failed")
1700 executor.outFields.put("status", responseStatus)
1701 //var returnValue = executor.isTrue;
1704 name: CDSDeleteResponseTask
1708 name: CDSDeleteResponseTask
1712 - key: actionIdentifiers
1714 key: actionIdentifiers
1716 name: CDSActionIdentifiersType
1723 name: CDSResponseCommonHeaderType
1730 name: CDSDeleteResponsePayloadType
1737 name: CDSResponseStatusType
1746 name: SubscriptionStatusType
1751 contextAlbumReference:
1752 - name: PMSubscriptionAlbum
1756 logicFlavour: JAVASCRIPT
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
1766 * http://www.apache.org/licenses/LICENSE-2.0
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.
1774 * SPDX-License-Identifier: Apache-2.0
1775 * ============LICENSE_END=========================================================
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")
1791 responseStatus.put("message", "failed")
1793 executor.outFields.put("status", responseStatus)
1794 //var returnValue = executor.isTrue;
1797 name: CreateSubscriptionPayloadTask
1801 name: CreateSubscriptionPayloadTask
1825 name: CDSCreateSubscriptionPayloadType
1830 contextAlbumReference:
1831 - name: PMSubscriptionAlbum
1835 logicFlavour: JAVASCRIPT
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
1845 * http://www.apache.org/licenses/LICENSE-2.0
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.
1853 * SPDX-License-Identifier: Apache-2.0
1854 * ============LICENSE_END=========================================================
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;
1875 name: CreateSubscriptionRequestTask
1879 name: CreateSubscriptionRequestTask
1894 name: CDSCreateSubscriptionPayloadType
1899 - key: actionIdentifiers
1901 key: actionIdentifiers
1903 name: CDSActionIdentifiersType
1910 name: CDSRequestCommonHeaderType
1917 name: CDSCreateSubscriptionPayloadType
1922 contextAlbumReference:
1923 - name: PMSubscriptionAlbum
1927 logicFlavour: JAVASCRIPT
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
1937 * http://www.apache.org/licenses/LICENSE-2.0
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.
1945 * SPDX-License-Identifier: Apache-2.0
1946 * ============LICENSE_END=========================================================
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;
1970 name: DeleteSubscriptionPayloadTask
1974 name: DeleteSubscriptionPayloadTask
1998 name: CDSDeleteSubscriptionPayloadType
2003 contextAlbumReference:
2004 - name: PMSubscriptionAlbum
2008 logicFlavour: JAVASCRIPT
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
2018 * http://www.apache.org/licenses/LICENSE-2.0
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.
2026 * SPDX-License-Identifier: Apache-2.0
2027 * ============LICENSE_END=========================================================
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;
2048 name: DeleteSubscriptionRequestTask
2052 name: DeleteSubscriptionRequestTask
2067 name: CDSDeleteSubscriptionPayloadType
2072 - key: actionIdentifiers
2074 key: actionIdentifiers
2076 name: CDSActionIdentifiersType
2083 name: CDSRequestCommonHeaderType
2090 name: CDSDeleteSubscriptionPayloadType
2095 contextAlbumReference:
2096 - name: PMSubscriptionAlbum
2100 logicFlavour: JAVASCRIPT
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
2110 * http://www.apache.org/licenses/LICENSE-2.0
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.
2118 * SPDX-License-Identifier: Apache-2.0
2119 * ============LICENSE_END=========================================================
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;
2143 name: ReceiveSubscriptionTask
2147 name: ReceiveSubscriptionTask
2151 - key: blueprintName
2155 name: SimpleStringType
2158 - key: blueprintVersion
2160 key: blueprintVersion
2162 name: SimpleStringType
2169 name: SimpleStringType
2172 - key: closedLoopControlName
2174 key: closedLoopControlName
2176 name: SimpleStringType
2183 name: SimpleStringType
2190 name: SimpleStringType
2197 name: SubscriptionType
2211 contextAlbumReference:
2212 - name: PMSubscriptionAlbum
2216 logicFlavour: JAVASCRIPT
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
2226 * http://www.apache.org/licenses/LICENSE-2.0
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.
2234 * SPDX-License-Identifier: Apache-2.0
2235 * ============LICENSE_END=========================================================
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)
2262 executor.message = "Received invalid event"
2263 returnValue = false;
2268 name: PMControlPolicy_Events
2273 name: CDSCreateResponseEvent
2277 name: CDSCreateResponseEvent
2279 nameSpace: org.onap.policy.apex.onap.pmcontrol
2284 - key: actionIdentifiers
2286 key: actionIdentifiers
2288 name: CDSActionIdentifiersType
2295 name: CDSResponseCommonHeaderType
2302 name: CDSCreateResponsePayloadType
2309 name: CDSResponseStatusType
2313 name: CDSCreateSubscriptionRequestEvent
2317 name: CDSCreateSubscriptionRequestEvent
2319 nameSpace: org.onap.policy.apex.onap.pmcontrol
2324 - key: actionIdentifiers
2326 key: actionIdentifiers
2328 name: CDSActionIdentifiersType
2335 name: CDSRequestCommonHeaderType
2342 name: CDSCreateSubscriptionPayloadType
2346 name: CDSDeleteResponseEvent
2350 name: CDSDeleteResponseEvent
2352 nameSpace: org.onap.policy.apex.onap.pmcontrol
2357 - key: actionIdentifiers
2359 key: actionIdentifiers
2361 name: CDSActionIdentifiersType
2368 name: CDSResponseCommonHeaderType
2375 name: CDSDeleteResponsePayloadType
2382 name: CDSResponseStatusType
2386 name: CDSDeleteSubscriptionRequestEvent
2390 name: CDSDeleteSubscriptionRequestEvent
2392 nameSpace: org.onap.policy.apex.onap.pmcontrol
2397 - key: actionIdentifiers
2399 key: actionIdentifiers
2401 name: CDSActionIdentifiersType
2408 name: CDSRequestCommonHeaderType
2415 name: CDSDeleteSubscriptionPayloadType
2419 name: CDSResponseStatusEvent
2423 name: CDSResponseStatusEvent
2425 nameSpace: org.onap.policy.apex.onap.pmcontrol
2434 name: SubscriptionStatusType
2438 name: CreateSubscriptionPayloadEvent
2442 name: CreateSubscriptionPayloadEvent
2444 nameSpace: org.onap.policy.apex.onap.pmcontrol
2460 name: CDSCreateSubscriptionPayloadType
2464 name: DeleteSubscriptionPayloadEvent
2468 name: DeleteSubscriptionPayloadEvent
2470 nameSpace: org.onap.policy.apex.onap.pmcontrol
2486 name: CDSDeleteSubscriptionPayloadType
2490 name: MRResponseEvent
2494 name: MRResponseEvent
2496 nameSpace: org.onap.policy.apex.onap.pmcontrol
2516 name: PMSubscriptionOutputEvent
2520 name: PMSubscriptionOutputEvent
2522 nameSpace: org.onap.policy.apex.onap.pmcontrol
2535 name: pmsh-operational-policy
2539 name: pmsh-operational-policy
2541 nameSpace: org.onap.policy.apex.onap.pmcontrol
2546 - key: blueprintName
2550 name: SimpleStringType
2553 - key: blueprintVersion
2555 key: blueprintVersion
2557 name: SimpleStringType
2564 name: SimpleStringType
2567 - key: closedLoopControlName
2569 key: closedLoopControlName
2571 name: SimpleStringType
2578 name: SimpleStringType
2585 name: SimpleStringType
2592 name: SubscriptionType
2597 name: PMControlPolicy_Albums
2602 name: PMSubscriptionAlbum
2606 name: PMSubscriptionAlbum
2611 name: PMSubscriptionType
2615 name: PMControlPolicy_Schemas
2620 name: CDSActionIdentifiersType
2624 name: CDSActionIdentifiersType
2627 schemaDefinition: |-
2630 "name": "ActionIdentifiers_Type",
2631 "namespace": "org.onap.policy.apex.onap.helloworld",
2634 "name": "actionName",
2638 "name": "blueprintName",
2642 "name": "blueprintVersion",
2652 name: CDSCreateResponsePayloadType
2656 name: CDSCreateResponsePayloadType
2659 schemaDefinition: |-
2661 "name": "CreateResponsePayloadEntry",
2663 "namespace": "org.onap.policy.apex.onap.helloworld",
2666 "name": "create_DasH_subscription_DasH_response",
2668 "name": "create_DasH_subscription_DasH_response",
2672 "name": "odl_DasH_response",
2674 "name": "odl_DasH_response",
2690 name: CDSCreateSubscriptionPayloadType
2694 name: CDSCreateSubscriptionPayloadType
2697 schemaDefinition: |-
2702 "name": "CDSRequestPayloadEntry",
2705 "name": "create_DasH_subscription_DasH_properties",
2707 "name": "create_DasH_subscription_DasH_properties_record",
2715 "name": "subscriptionName",
2719 "name": "administrativeState",
2723 "name": "fileBasedGP",
2727 "name": "fileLocation",
2731 "name": "measurementGroups",
2735 "name": "measurementGroups_record",
2739 "name": "measurementGroup",
2741 "name": "measurementGroup",
2745 "name": "measurementTypes",
2749 "name": "measurementTypes_record",
2753 "name": "measurementType",
2761 "name": "managedObjectDNsBasic",
2765 "name": "managedObjectDNsBasic_record",
2790 name: CDSDeleteResponsePayloadType
2794 name: CDSDeleteResponsePayloadType
2797 schemaDefinition: |-
2799 "name": "DeleteResponsePayloadEntry",
2801 "namespace": "com.acme.avro",
2804 "name": "delete_DasH_subscription_DasH_response",
2806 "name": "delete_DasH_subscription_DasH_response",
2810 "name": "odl_DasH_response",
2812 "name": "odl_DasH_response",
2828 name: CDSDeleteSubscriptionPayloadType
2832 name: CDSDeleteSubscriptionPayloadType
2835 schemaDefinition: |-
2840 "name": "CDSRequestPayloadEntry",
2843 "name": "delete_DasH_subscription_DasH_properties",
2845 "name": "delete_DasH_subscription_DasH_properties_record",
2853 "name": "subscriptionName",
2857 "name": "administrativeState",
2861 "name": "fileBasedGP",
2865 "name": "fileLocation",
2869 "name": "measurementGroups",
2873 "name": "measurementGroups_record",
2877 "name": "measurementGroup",
2879 "name": "measurementGroup",
2883 "name": "measurementTypes",
2887 "name": "measurementTypes_record",
2891 "name": "measurementType",
2899 "name": "managedObjectDNsBasic",
2903 "name": "managedObjectDNsBasic_record",
2928 name: CDSRequestCommonHeaderType
2932 name: CDSRequestCommonHeaderType
2935 schemaDefinition: |-
2938 "name": "RequestCommonHeader_Type",
2939 "namespace": "org.onap.policy.apex.onap.helloworld",
2942 "name": "originatorId",
2946 "name": "requestId",
2950 "name": "subRequestId",
2956 name: CDSResponseCommonHeaderType
2960 name: CDSResponseCommonHeaderType
2963 schemaDefinition: |-
2966 "name": "ResponseCommonHeader_Type",
2967 "namespace": "org.onap.policy.apex.onap.helloworld",
2970 "name": "originatorId",
2974 "name": "requestId",
2978 "name": "subRequestId",
2982 "name": "timestamp",
2987 "type": ["null", "string"]
2992 name: CDSResponseStatusType
2996 name: CDSResponseStatusType
2999 schemaDefinition: |-
3002 "name": "ResponseStatus_Type",
3003 "namespace": "org.onap.policy.apex.onap.helloworld",
3010 "name": "eventType",
3014 "name": "timestamp",
3024 name: PMSubscriptionType
3028 name: PMSubscriptionType
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\
3070 schemaDefinition: java.lang.Integer
3072 name: SimpleStringType
3076 name: SimpleStringType
3079 schemaDefinition: java.lang.String
3081 name: SubscriptionStatusType
3085 name: SubscriptionStatusType
3088 schemaDefinition: |-
3091 "name": "ActivateSubscriptionStatus_Type",
3092 "namespace": "org.onap.policy.apex.onap.helloworld",
3095 "name": "subscriptionName",
3103 "name": "changeType",
3113 name: SubscriptionType
3117 name: SubscriptionType
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}"
3148 schemaDefinition: java.util.UUID
3152 parameterClassName: org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters
3154 parameterClassName: org.onap.policy.apex.context.parameters.ContextParameters
3157 parameterClassName: org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters
3159 parameterClassName: org.onap.policy.apex.context.impl.schema.java.JavaSchemaHelperParameters
3162 adaptedClass: java.time.Instant
3163 adaptorClass: org.onap.policy.controlloop.util.Serialization$GsonInstantAdapter
3164 eventInputParameters:
3166 carrierTechnologyParameters:
3167 carrierTechnology: RESTCLIENT
3168 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters
3170 consumerPollTime: '50'
3171 url: https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT/cg1/sg1
3172 eventProtocolParameters:
3175 nameAlias: policyName
3176 eventName: pmsh-operational-policy
3177 eventNameFilter: pmsh-operational-policy
3179 carrierTechnologyParameters:
3180 carrierTechnology: RESTREQUESTOR
3181 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
3183 url: http://10.10.10.184:30254/api/v1/execution-service/process
3185 restRequestTimeout: 2000
3188 - Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
3189 eventProtocolParameters:
3191 eventName: CDSCreateResponseEvent
3192 eventNameFilter: CDSCreateResponseEvent
3194 requestorPeer: CDSRequestProducer
3195 requestorTimeout: 500
3196 CDSDeleteRequestConsumer:
3197 carrierTechnologyParameters:
3198 carrierTechnology: RESTREQUESTOR
3199 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
3201 url: http://10.10.10.184:30254/api/v1/execution-service/process
3203 restRequestTimeout: 2000
3206 - Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
3207 eventProtocolParameters:
3209 eventName: CDSDeleteResponseEvent
3210 eventNameFilter: CDSDeleteResponseEvent
3212 requestorPeer: CDSDeleteRequestProducer
3213 requestorTimeout: 500
3215 carrierTechnologyParameters:
3216 carrierTechnology: RESTREQUESTOR
3217 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
3219 url: https://message-router:3905/events/unauthenticated.PMSH_CL_INPUT
3221 restRequestTimeout: 2000
3222 eventProtocolParameters:
3224 eventName: MRResponseEvent
3225 eventNameFilter: MRResponseEvent
3227 requestorPeer: CDSReplyProducer
3228 requestorTimeout: 500
3229 eventOutputParameters:
3231 carrierTechnologyParameters:
3232 carrierTechnology: FILE
3234 fileName: /tmp/outputevents.log
3235 eventProtocolParameters:
3238 carrierTechnologyParameters:
3239 carrierTechnology: FILE
3242 eventProtocolParameters:
3245 carrierTechnologyParameters:
3246 carrierTechnology: RESTREQUESTOR
3247 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
3248 eventProtocolParameters:
3250 eventNameFilter: CDSCreateSubscriptionRequestEvent
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:
3260 eventNameFilter: CDSDeleteSubscriptionRequestEvent
3262 requestorPeer: CDSDeleteRequestConsumer
3263 requestorTimeout: 500
3265 carrierTechnologyParameters:
3266 carrierTechnology: RESTREQUESTOR
3267 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
3268 eventProtocolParameters:
3270 eventNameFilter: CDSResponseStatusEvent
3272 requestorPeer: CDSReplyConsumer
3273 requestorTimeout: 500