1 tosca_definitions_version: tosca_simple_yaml_1_1_0
3 onap.datatypes.ToscaConceptIdentifier:
4 derived_from: tosca.datatypes.Root
12 org.onap.datatypes.policy.clamp.controlloop.DCAEMicroserviceControlLoopElementConsulInfo:
13 name: org.onap.datatypes.policy.clamp.controlloop.DCAEMicroserviceControlLoopElementConsulInfo
15 derived_from: tosca.datatypes.Root
21 description: Consul url for this entry
27 description: Body of Consul entry
29 onap.datatype.controlloop.Target:
30 derived_from: tosca.datatypes.Root
31 description: Definition for a entity in A&AI to perform a control loop operation on
35 description: Category for the target type
46 Map of values that identify the resource. If none are provided, it is assumed that the
47 entity that generated the ONSET event will be the target.
50 clamp_possible_values: ClampExecution:CSAR_RESOURCES
53 onap.datatype.controlloop.Actor:
54 derived_from: tosca.datatypes.Root
55 description: An actor/operation/target definition
59 description: The actor performing the operation.
62 clamp_possible_values: Dictionary:DefaultActors,ClampExecution:CDS/actor
65 description: The operation the actor is performing.
67 clamp_possible_values: Dictionary:DefaultOperations,ClampExecution:CDS/operation
70 type: onap.datatype.controlloop.Target
71 description: The resource the operation should be performed on.
75 description: Name/value pairs of payload information passed by Policy to the actor
78 clamp_possible_values: ClampExecution:CDS/payload
81 onap.datatype.controlloop.Operation:
82 derived_from: tosca.datatypes.Root
83 description: An operation supported by an actor
87 description: Unique identifier for the operation
91 description: A user-friendly description of the intent for the operation
94 type: onap.datatype.controlloop.Actor
95 description: The definition of the operation to be performed.
99 description: The amount of time for the actor to perform the operation.
103 description: The number of retries the actor should attempt to perform the operation.
108 description: Points to the operation to invoke on success. A value of "final_success" indicates and end to the operation.
110 default: final_success
113 description: Points to the operation to invoke on Actor operation failure.
115 default: final_failure
118 description: Points to the operation to invoke when the time out for the operation occurs.
120 default: final_failure_timeout
123 description: Points to the operation to invoke when the current operation has exceeded its max retries.
125 default: final_failure_retries
128 description: Points to the operation to invoke when the current operation causes an exception.
130 default: final_failure_exception
133 description: Points to the operation to invoke when the current operation is blocked due to guard policy enforcement.
135 default: final_failure_guard
137 onap.policies.Monitoring:
138 derived_from: tosca.policies.Root
139 description: a base policy type for all policies that govern monitoring provisioning
141 name: onap.policies.Monitoring
142 onap.policies.Sirisha:
143 derived_from: tosca.policies.Root
144 description: a base policy type for all policies that govern monitoring provisioning
146 name: onap.policies.Sirisha
147 onap.policies.controlloop.operational.Common:
148 derived_from: tosca.policies.Root
150 name: onap.policies.controlloop.operational.Common
152 Operational Policy for Control Loop execution. Originated in Frankfurt to support TOSCA Compliant
153 Policy Types. This does NOT support the legacy Policy YAML policy type.
157 description: The unique control loop id.
162 Overall timeout for executing all the operations. This timeout should equal or exceed the total
163 timeout for each operation listed.
167 description: Whether an abatement event message will be expected for the control loop from DCAE.
172 description: Initial operation to execute upon receiving an Onset event message for the Control Loop.
176 description: List of operations to be performed when Control Loop is triggered.
179 type: onap.datatype.controlloop.Operation
180 onap.policies.controlloop.operational.common.Apex:
181 derived_from: onap.policies.controlloop.operational.Common
184 name: onap.policies.controlloop.operational.common.Apex
185 description: Operational policies for Apex PDP
187 engineServiceParameters:
189 description: The engine parameters like name, instanceCount, policy implementation, parameters etc.
191 eventInputParameters:
193 description: The event input parameters.
195 eventOutputParameters:
197 description: The event output parameters.
201 description: Name/value pairs of properties to be set for APEX if needed.
204 org.onap.policy.clamp.controlloop.Participant:
206 derived_from: tosca.nodetypes.Root
211 org.onap.policy.clamp.controlloop.ControlLoopElement:
213 derived_from: tosca.nodetypes.Root
220 description: Specifies the organization that provides the control loop element
222 type: onap.datatypes.ToscaConceptIdentifier
226 description: The identity of the participant type that hosts this type of Control Loop Element
231 - greater_or_equal: 0
234 description: A value indicating the start phase in which this control loop element will be started, the
235 first start phase is zero. Control Loop Elements are started in their start_phase order and stopped
236 in reverse start phase order. Control Loop Elements with the same start phase are started and
237 stopped simultaneously
238 uninitializedToPassiveTimeout:
242 - greater_or_equal: 0
246 description: The maximum time in seconds to wait for a state chage from uninitialized to passive
247 passiveToRunningTimeout:
251 - greater_or_equal: 0
255 description: The maximum time in seconds to wait for a state chage from passive to running
256 runningToPassiveTimeout:
260 - greater_or_equal: 0
264 description: The maximum time in seconds to wait for a state chage from running to passive
265 passiveToUninitializedTimeout:
269 - greater_or_equal: 0
273 description: The maximum time in seconds to wait for a state chage from passive to uninitialized
274 org.onap.policy.clamp.controlloop.ControlLoop:
276 derived_from: tosca.nodetypes.Root
283 description: Specifies the organization that provides the control loop element
290 type: onap.datatypes.ToscaConceptIdentifier
291 description: Specifies a list of control loop element definitions that make up this control loop definition
292 org.onap.policy.clamp.controlloop.DCAEMicroserviceControlLoopElement:
294 derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
297 type: onap.datatypes.ToscaConceptIdentifier
300 type: onap.dcae.cloudify_blueprint
306 type: org.onap.datatypes.policy.clamp.controlloop.DCAEMicroserviceControlLoopElementConsulInfo
307 org.onap.policy.clamp.controlloop.PolicyControlLoopElement:
309 derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
312 type: onap.datatypes.ToscaConceptIdentifier
315 type: onap.datatypes.ToscaConceptIdentifier
317 org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement:
319 derived_from: org.onap.policy.clamp.controlloop.PolicyControlLoopElement
322 type: onap.datatypes.ToscaConceptIdentifier
325 type: onap.datatypes.ToscaConceptIdentifier
327 org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement:
329 derived_from: org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement
332 type: onap.datatypes.ToscaConceptIdentifier
335 type: onap.datatypes.ToscaConceptIdentifier
337 org.onap.policy.clamp.controlloop.CDSControlLoopElement:
339 derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
342 type: onap.datatypes.ToscaConceptIdentifier
346 pmsh_monitoring_policy:
347 type: onap.datatypes.ToscaConceptIdentifier
348 description: The ID of the PMSH monitoring policy to use
350 name: MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test
352 pmsh_operational_policy:
353 type: onap.datatypes.ToscaConceptIdentifier
354 description: The ID of the PMSH operational policy to use
356 name: operational.apex.pmcontrol
359 org.onap.policy.controlloop.PolicyControlLoopParticipant:
361 type: org.onap.policy.clamp.controlloop.Participant
363 description: Participant for DCAE microservices
367 org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement:
369 type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement
371 description: Control loop element for the monitoring policy for Performance Management Subscription Handling
375 name: org.onap.policy.controlloop.PolicyControlLoopParticipant
378 name: onap.policies.monitoring.pm-subscription-handler
381 get_input: pmsh_monitoring_policy
382 org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement:
384 type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement
386 description: Control loop element for the operational policy for Performance Management Subscription Handling
390 name: org.onap.policy.controlloop.PolicyControlLoopParticipant
393 name: onap.policies.operational.pm-subscription-handler
396 get_input: pmsh_operational_policy
397 org.onap.domain.pmsh.PMSHControlLoopDefinition:
399 type: org.onap.policy.clamp.controlloop.ControlLoop
401 description: Control loop for Performance Management Subscription Handling
405 - name: org.onap.domain.pmsh.PMSH_DCAEMicroservice
407 - name: org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement
409 - name: org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement
412 - operational.apex.pmcontrol:
413 type: onap.policies.controlloop.operational.common.Apex
417 policy-id: operational.apex.pmcontrol
420 engineServiceParameters:
425 deploymentPort: 12561
429 name: PMControlPolicy
433 name: PMControlPolicy_KeyInfo
438 name: CDSActionIdentifiersType
442 name: CDSActionIdentifiersType
444 UUID: 6e5fa19b-14df-37e3-a4ae-8c537e861a82
445 description: Generated description for concept referred to by key "CDSActionIdentifiersType:0.0.1"
447 name: CDSCreateResponseEvent
451 name: CDSCreateResponseEvent
453 UUID: 14b29e38-ac75-3273-aa4e-8583c0aa7dad
454 description: Generated description for concept referred to by key "CDSCreateResponseEvent:0.0.1"
456 name: CDSCreateResponsePayloadType
460 name: CDSCreateResponsePayloadType
462 UUID: 04573f8f-e772-30a5-b1d9-d7318d4a1e13
463 description: Generated description for concept referred to by key "CDSCreateResponsePayloadType:0.0.1"
465 name: CDSCreateResponsePolicy
469 name: CDSCreateResponsePolicy
471 UUID: e126c965-fc09-3bfe-8f55-70f380a4a49c
472 description: Generated description for concept referred to by key "CDSCreateResponsePolicy:0.0.1"
474 name: CDSCreateResponseTask
478 name: CDSCreateResponseTask
480 UUID: 6165ee82-afd2-3aab-a517-f00b3f2461d2
481 description: Generated description for concept referred to by key "CDSCreateResponseTask:0.0.1"
483 name: CDSCreateSubscriptionPayloadType
487 name: CDSCreateSubscriptionPayloadType
489 UUID: 8350ac5e-c157-38b9-9614-a0f93a830e60
490 description: Generated description for concept referred to by key "CDSCreateSubscriptionPayloadType:0.0.1"
492 name: CDSCreateSubscriptionRequestEvent
496 name: CDSCreateSubscriptionRequestEvent
498 UUID: cfa325ba-226b-3a31-9183-ec43e2b6e9a2
499 description: Generated description for concept referred to by key "CDSCreateSubscriptionRequestEvent:0.0.1"
501 name: CDSDeleteResponseEvent
505 name: CDSDeleteResponseEvent
507 UUID: 8be9c0fa-7437-3841-aff2-b3cec6ae3bd8
508 description: Generated description for concept referred to by key "CDSDeleteResponseEvent:0.0.1"
510 name: CDSDeleteResponsePayloadType
514 name: CDSDeleteResponsePayloadType
516 UUID: 3fbfe0c9-152e-34d3-a504-09cd13c058d0
517 description: Generated description for concept referred to by key "CDSDeleteResponsePayloadType:0.0.1"
519 name: CDSDeleteResponsePolicy
523 name: CDSDeleteResponsePolicy
525 UUID: a780251c-edd5-3132-b865-04313246b43c
526 description: Generated description for concept referred to by key "CDSDeleteResponsePolicy:0.0.1"
528 name: CDSDeleteResponseTask
532 name: CDSDeleteResponseTask
534 UUID: afce4555-3aa3-3521-a7d8-ee8cdf0d3efc
535 description: Generated description for concept referred to by key "CDSDeleteResponseTask:0.0.1"
537 name: CDSDeleteSubscriptionPayloadType
541 name: CDSDeleteSubscriptionPayloadType
543 UUID: 12658406-9147-3c9d-a38c-5ad5e30b092b
544 description: Generated description for concept referred to by key "CDSDeleteSubscriptionPayloadType:0.0.1"
546 name: CDSDeleteSubscriptionRequestEvent
550 name: CDSDeleteSubscriptionRequestEvent
552 UUID: 24380c95-9289-36e6-8cbf-0edefa15ccd9
553 description: Generated description for concept referred to by key "CDSDeleteSubscriptionRequestEvent:0.0.1"
555 name: CDSRequestCommonHeaderType
559 name: CDSRequestCommonHeaderType
561 UUID: 35590ac0-062c-39f1-8786-b4ff716e30b1
562 description: Generated description for concept referred to by key "CDSRequestCommonHeaderType:0.0.1"
564 name: CDSResponseCommonHeaderType
568 name: CDSResponseCommonHeaderType
570 UUID: dd7e1805-885a-350b-aaf9-ed541321ae3c
571 description: Generated description for concept referred to by key "CDSResponseCommonHeaderType:0.0.1"
573 name: CDSResponseStatusEvent
577 name: CDSResponseStatusEvent
579 UUID: 7986e21b-32f7-302e-9554-31f21b673493
580 description: Generated description for concept referred to by key "CDSResponseStatusEvent:0.0.1"
582 name: CDSResponseStatusType
586 name: CDSResponseStatusType
588 UUID: 92b8a2cf-344e-3ce1-8cc0-2b7d3cb695fa
589 description: Generated description for concept referred to by key "CDSResponseStatusType:0.0.1"
591 name: CreateSubscriptionPayloadEvent
595 name: CreateSubscriptionPayloadEvent
597 UUID: 92162397-1a8e-3a3f-a469-d2af7700af4a
598 description: Generated description for concept referred to by key "CreateSubscriptionPayloadEvent:0.0.1"
600 name: CreateSubscriptionPayloadTask
604 name: CreateSubscriptionPayloadTask
606 UUID: bc0c69f0-52ed-38ea-b468-ae4a6fd1730d
607 description: Generated description for concept referred to by key "CreateSubscriptionPayloadTask:0.0.1"
609 name: CreateSubscriptionRequestTask
613 name: CreateSubscriptionRequestTask
615 UUID: 89cb75e9-f06c-30d3-b4ff-698d45f63869
616 description: Generated description for concept referred to by key "CreateSubscriptionRequestTask:0.0.1"
618 name: DeleteSubscriptionPayloadEvent
622 name: DeleteSubscriptionPayloadEvent
624 UUID: 994fa441-04ab-33bb-832d-1cd12ab5d074
625 description: Generated description for concept referred to by key "DeleteSubscriptionPayloadEvent:0.0.1"
627 name: DeleteSubscriptionPayloadTask
631 name: DeleteSubscriptionPayloadTask
633 UUID: 0f519117-5fea-3e4b-941f-8f778100465f
634 description: Generated description for concept referred to by key "DeleteSubscriptionPayloadTask:0.0.1"
636 name: DeleteSubscriptionRequestTask
640 name: DeleteSubscriptionRequestTask
642 UUID: acb772fe-d442-39e3-98f9-b1080caf4150
643 description: Generated description for concept referred to by key "DeleteSubscriptionRequestTask:0.0.1"
645 name: MRResponseEvent
649 name: MRResponseEvent
651 UUID: 13c747a3-6bae-3bcf-9c80-b152e01dc194
652 description: Generated description for concept referred to by key "MRResponseEvent:0.0.1"
654 name: PMControlPolicy
658 name: PMControlPolicy
660 UUID: acf1e55c-7bc5-3bd5-975a-0ca54afcd8a4
661 description: Generated description for concept referred to by key "PMControlPolicy:0.0.1"
663 name: PMControlPolicy_Albums
667 name: PMControlPolicy_Albums
669 UUID: b38ad204-c2c8-32f4-9b5a-dda0aeb0145b
670 description: Generated description for concept referred to by key "PMControlPolicy_Albums:0.0.1"
672 name: PMControlPolicy_Events
676 name: PMControlPolicy_Events
678 UUID: be3871a0-c42a-3113-a066-82d192840eca
679 description: Generated description for concept referred to by key "PMControlPolicy_Events:0.0.1"
681 name: PMControlPolicy_KeyInfo
685 name: PMControlPolicy_KeyInfo
687 UUID: ced37634-28a4-3178-b7f6-2980794927b0
688 description: Generated description for concept referred to by key "PMControlPolicy_KeyInfo:0.0.1"
690 name: PMControlPolicy_Policies
694 name: PMControlPolicy_Policies
696 UUID: be3d180d-ef9c-3a75-8e9c-84271a038bed
697 description: Generated description for concept referred to by key "PMControlPolicy_Policies:0.0.1"
699 name: PMControlPolicy_Schemas
703 name: PMControlPolicy_Schemas
705 UUID: e61973f1-189c-39e5-82f6-0d3afe298a20
706 description: Generated description for concept referred to by key "PMControlPolicy_Schemas:0.0.1"
708 name: PMControlPolicy_Tasks
712 name: PMControlPolicy_Tasks
714 UUID: 5658adb3-2962-30a3-a241-fae75bb8eb4a
715 description: Generated description for concept referred to by key "PMControlPolicy_Tasks:0.0.1"
717 name: PMSubscriptionAlbum
721 name: PMSubscriptionAlbum
723 UUID: c2bd6f0d-6854-317a-9be2-97c08338428c
724 description: Generated description for concept referred to by key "PMSubscriptionAlbum:0.0.1"
726 name: PMSubscriptionOutputEvent
730 name: PMSubscriptionOutputEvent
732 UUID: 992b7819-9f69-3aa0-bb0f-6e45ea15ce05
733 description: Generated description for concept referred to by key "PMSubscriptionOutputEvent:0.0.1"
735 name: PMSubscriptionType
739 name: PMSubscriptionType
741 UUID: 73c1c397-4fc3-357f-93b6-a8ad707fbaae
742 description: Generated description for concept referred to by key "PMSubscriptionType:0.0.1"
744 name: ReceiveEventPolicy
748 name: ReceiveEventPolicy
750 UUID: 568b7345-9de1-36d3-b6a3-9b857e6809a1
751 description: Generated description for concept referred to by key "ReceiveEventPolicy:0.0.1"
753 name: ReceiveSubscriptionTask
757 name: ReceiveSubscriptionTask
759 UUID: f596afc8-100c-35eb-92c8-352355ea457d
760 description: Generated description for concept referred to by key "ReceiveSubscriptionTask:0.0.1"
768 UUID: 153791fd-ae0a-36a7-88a5-309a7936415d
769 description: Generated description for concept referred to by key "SimpleIntType:0.0.1"
771 name: SimpleStringType
775 name: SimpleStringType
777 UUID: 8a4957cf-9493-3a76-8c22-a208e23259af
778 description: Generated description for concept referred to by key "SimpleStringType:0.0.1"
780 name: SubscriptionStatusType
784 name: SubscriptionStatusType
786 UUID: 597643b1-9db1-31ce-85d0-e1c63c43b30b
787 description: Generated description for concept referred to by key "SubscriptionStatusType:0.0.1"
789 name: SubscriptionType
793 name: SubscriptionType
795 UUID: 184547bb-7d64-3cb2-a273-d7185102c5ce
796 description: Generated description for concept referred to by key "SubscriptionType:0.0.1"
804 UUID: 6a8cc68e-dfc8-3403-9c6d-071c886b319c
805 description: Generated description for concept referred to by key "UUIDType:0.0.1"
807 name: pmsh-operational-policy
811 name: pmsh-operational-policy
813 UUID: fdf2c9ff-6422-3ea6-b6b6-49b12116265d
814 description: Generated description for concept referred to by key "pmsh-operational-policy:0.0.1"
817 name: PMControlPolicy_Policies
822 name: CDSCreateResponsePolicy
826 name: CDSCreateResponsePolicy
831 - key: CDSCreateResponseState
834 parentKeyName: CDSCreateResponsePolicy
835 parentKeyVersion: 0.0.1
836 parentLocalName: 'NULL'
837 localName: CDSCreateResponseState
839 name: CDSCreateResponseEvent
843 - key: ResponseOutput
846 parentKeyName: CDSCreateResponsePolicy
847 parentKeyVersion: 0.0.1
848 parentLocalName: CDSCreateResponseState
849 localName: ResponseOutput
851 name: CDSResponseStatusEvent
854 parentKeyName: 'NULL'
855 parentKeyVersion: 0.0.0
856 parentLocalName: 'NULL'
858 contextAlbumReference: []
861 logicFlavour: UNDEFINED
863 stateFinalizerLogicMap:
866 name: CDSCreateResponseTask
871 name: CDSCreateResponseTask
875 parentKeyName: CDSCreateResponsePolicy
876 parentKeyVersion: 0.0.1
877 parentLocalName: CDSCreateResponseState
878 localName: CDSCreateResponsePolicy
881 parentKeyName: CDSCreateResponsePolicy
882 parentKeyVersion: 0.0.1
883 parentLocalName: CDSCreateResponseState
884 localName: ResponseOutput
885 firstState: CDSCreateResponseState
887 name: CDSDeleteResponsePolicy
891 name: CDSDeleteResponsePolicy
896 - key: CDSDeleteResponseState
899 parentKeyName: CDSDeleteResponsePolicy
900 parentKeyVersion: 0.0.1
901 parentLocalName: 'NULL'
902 localName: CDSDeleteResponseState
904 name: CDSDeleteResponseEvent
908 - key: ResponseOutput
911 parentKeyName: CDSDeleteResponsePolicy
912 parentKeyVersion: 0.0.1
913 parentLocalName: CDSDeleteResponseState
914 localName: ResponseOutput
916 name: CDSResponseStatusEvent
919 parentKeyName: 'NULL'
920 parentKeyVersion: 0.0.0
921 parentLocalName: 'NULL'
923 contextAlbumReference: []
926 logicFlavour: UNDEFINED
928 stateFinalizerLogicMap:
931 name: CDSDeleteResponseTask
936 name: CDSDeleteResponseTask
940 parentKeyName: CDSDeleteResponsePolicy
941 parentKeyVersion: 0.0.1
942 parentLocalName: CDSDeleteResponseState
943 localName: CDSDeleteResponsePolicy
946 parentKeyName: CDSDeleteResponsePolicy
947 parentKeyVersion: 0.0.1
948 parentLocalName: CDSDeleteResponseState
949 localName: ResponseOutput
950 firstState: CDSDeleteResponseState
952 name: ReceiveEventPolicy
956 name: ReceiveEventPolicy
961 - key: CreateOrDeleteState
964 parentKeyName: ReceiveEventPolicy
965 parentKeyVersion: 0.0.1
966 parentLocalName: 'NULL'
967 localName: CreateOrDeleteState
969 name: PMSubscriptionOutputEvent
973 - key: CreateSubscriptionPayload
976 parentKeyName: ReceiveEventPolicy
977 parentKeyVersion: 0.0.1
978 parentLocalName: CreateOrDeleteState
979 localName: CreateSubscriptionPayload
981 name: CreateSubscriptionPayloadEvent
984 parentKeyName: ReceiveEventPolicy
985 parentKeyVersion: 0.0.1
986 parentLocalName: 'NULL'
987 localName: CreateSubscription
988 - key: DeleteSubscriptionPayload
991 parentKeyName: ReceiveEventPolicy
992 parentKeyVersion: 0.0.1
993 parentLocalName: CreateOrDeleteState
994 localName: DeleteSubscriptionPayload
996 name: DeleteSubscriptionPayloadEvent
999 parentKeyName: ReceiveEventPolicy
1000 parentKeyVersion: 0.0.1
1001 parentLocalName: 'NULL'
1002 localName: DeleteSubscription
1003 contextAlbumReference:
1004 - name: PMSubscriptionAlbum
1007 key: TaskSelectionLogic
1008 logicFlavour: JAVASCRIPT
1011 * ============LICENSE_START=======================================================
1012 * Copyright (C) 2020 Nordix. All rights reserved.
1013 * ================================================================================
1014 * Licensed under the Apache License, Version 2.0 (the "License");
1015 * you may not use this file except in compliance with the License.
1016 * You may obtain a copy of the License at
1018 * http://www.apache.org/licenses/LICENSE-2.0
1020 * Unless required by applicable law or agreed to in writing, software
1021 * distributed under the License is distributed on an "AS IS" BASIS,
1022 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1023 * See the License for the specific language governing permissions and
1024 * limitations under the License.
1026 * SPDX-License-Identifier: Apache-2.0
1027 * ============LICENSE_END=========================================================
1030 executor.logger.info(executor.subject.id);
1032 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
1033 var changeType = pmSubscriptionInfo.get("changeType").toString()
1035 executor.logger.info("Change Type is " + changeType)
1037 if ("CREATE".equals(changeType)) {
1038 executor.logger.info("Choosing to create a subscription")
1039 executor.subject.getTaskKey("CreateSubscriptionPayloadTask").copyTo(executor.selectedTask);
1041 else if ("DELETE".equals(changeType)) {
1042 executor.logger.info("Choosing to delete a subscription")
1043 executor.subject.getTaskKey("DeleteSubscriptionPayloadTask").copyTo(executor.selectedTask);
1046 //var returnValue = executor.isTrue;
1048 stateFinalizerLogicMap:
1051 name: CreateSubscriptionPayloadTask
1056 name: CreateSubscriptionPayloadTask
1060 parentKeyName: ReceiveEventPolicy
1061 parentKeyVersion: 0.0.1
1062 parentLocalName: CreateOrDeleteState
1063 localName: ReceiveEventPolicy
1066 parentKeyName: ReceiveEventPolicy
1067 parentKeyVersion: 0.0.1
1068 parentLocalName: CreateOrDeleteState
1069 localName: CreateSubscriptionPayload
1071 name: DeleteSubscriptionPayloadTask
1075 parentKeyName: ReceiveEventPolicy
1076 parentKeyVersion: 0.0.1
1077 parentLocalName: CreateOrDeleteState
1078 localName: ReceiveEventPolicy
1081 parentKeyName: ReceiveEventPolicy
1082 parentKeyVersion: 0.0.1
1083 parentLocalName: CreateOrDeleteState
1084 localName: DeleteSubscriptionPayload
1085 - key: CreateSubscription
1088 parentKeyName: ReceiveEventPolicy
1089 parentKeyVersion: 0.0.1
1090 parentLocalName: 'NULL'
1091 localName: CreateSubscription
1093 name: CreateSubscriptionPayloadEvent
1097 - key: IssueCreateSubscriptionRequestOutput
1100 parentKeyName: ReceiveEventPolicy
1101 parentKeyVersion: 0.0.1
1102 parentLocalName: CreateSubscription
1103 localName: IssueCreateSubscriptionRequestOutput
1105 name: CDSCreateSubscriptionRequestEvent
1108 parentKeyName: 'NULL'
1109 parentKeyVersion: 0.0.0
1110 parentLocalName: 'NULL'
1112 contextAlbumReference:
1113 - name: PMSubscriptionAlbum
1117 logicFlavour: UNDEFINED
1119 stateFinalizerLogicMap:
1122 name: CreateSubscriptionRequestTask
1127 name: CreateSubscriptionRequestTask
1131 parentKeyName: ReceiveEventPolicy
1132 parentKeyVersion: 0.0.1
1133 parentLocalName: CreateSubscription
1134 localName: ReceiveEventPolicy
1137 parentKeyName: ReceiveEventPolicy
1138 parentKeyVersion: 0.0.1
1139 parentLocalName: CreateSubscription
1140 localName: IssueCreateSubscriptionRequestOutput
1141 - key: DeleteSubscription
1144 parentKeyName: ReceiveEventPolicy
1145 parentKeyVersion: 0.0.1
1146 parentLocalName: 'NULL'
1147 localName: DeleteSubscription
1149 name: DeleteSubscriptionPayloadEvent
1153 - key: IssueDeleteSubscriptionRequestOutput
1156 parentKeyName: ReceiveEventPolicy
1157 parentKeyVersion: 0.0.1
1158 parentLocalName: DeleteSubscription
1159 localName: IssueDeleteSubscriptionRequestOutput
1161 name: CDSDeleteSubscriptionRequestEvent
1164 parentKeyName: 'NULL'
1165 parentKeyVersion: 0.0.0
1166 parentLocalName: 'NULL'
1168 contextAlbumReference:
1169 - name: PMSubscriptionAlbum
1173 logicFlavour: UNDEFINED
1175 stateFinalizerLogicMap:
1178 name: DeleteSubscriptionRequestTask
1183 name: DeleteSubscriptionRequestTask
1187 parentKeyName: ReceiveEventPolicy
1188 parentKeyVersion: 0.0.1
1189 parentLocalName: DeleteSubscription
1190 localName: ReceiveEventPolicy
1193 parentKeyName: ReceiveEventPolicy
1194 parentKeyVersion: 0.0.1
1195 parentLocalName: DeleteSubscription
1196 localName: IssueDeleteSubscriptionRequestOutput
1197 - key: ReceiveSubscriptionState
1200 parentKeyName: ReceiveEventPolicy
1201 parentKeyVersion: 0.0.1
1202 parentLocalName: 'NULL'
1203 localName: ReceiveSubscriptionState
1205 name: pmsh-operational-policy
1209 - key: ReceivePMSubscriptionOutput
1212 parentKeyName: ReceiveEventPolicy
1213 parentKeyVersion: 0.0.1
1214 parentLocalName: ReceiveSubscriptionState
1215 localName: ReceivePMSubscriptionOutput
1217 name: PMSubscriptionOutputEvent
1220 parentKeyName: ReceiveEventPolicy
1221 parentKeyVersion: 0.0.1
1222 parentLocalName: 'NULL'
1223 localName: CreateOrDeleteState
1224 contextAlbumReference:
1225 - name: PMSubscriptionAlbum
1229 logicFlavour: UNDEFINED
1231 stateFinalizerLogicMap:
1234 name: ReceiveSubscriptionTask
1239 name: ReceiveSubscriptionTask
1243 parentKeyName: ReceiveEventPolicy
1244 parentKeyVersion: 0.0.1
1245 parentLocalName: ReceiveSubscriptionState
1246 localName: ReceiveEventPolicy
1249 parentKeyName: ReceiveEventPolicy
1250 parentKeyVersion: 0.0.1
1251 parentLocalName: ReceiveSubscriptionState
1252 localName: ReceivePMSubscriptionOutput
1253 firstState: ReceiveSubscriptionState
1256 name: PMControlPolicy_Tasks
1261 name: CDSCreateResponseTask
1265 name: CDSCreateResponseTask
1269 - key: actionIdentifiers
1271 key: actionIdentifiers
1273 name: CDSActionIdentifiersType
1280 name: CDSResponseCommonHeaderType
1287 name: CDSCreateResponsePayloadType
1294 name: CDSResponseStatusType
1303 name: SubscriptionStatusType
1308 contextAlbumReference:
1309 - name: PMSubscriptionAlbum
1313 logicFlavour: JAVASCRIPT
1316 * ============LICENSE_START=======================================================
1317 * Copyright (C) 2020 Nordix. All rights reserved.
1318 * ================================================================================
1319 * Licensed under the Apache License, Version 2.0 (the "License");
1320 * you may not use this file except in compliance with the License.
1321 * You may obtain a copy of the License at
1323 * http://www.apache.org/licenses/LICENSE-2.0
1325 * Unless required by applicable law or agreed to in writing, software
1326 * distributed under the License is distributed on an "AS IS" BASIS,
1327 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1328 * See the License for the specific language governing permissions and
1329 * limitations under the License.
1331 * SPDX-License-Identifier: Apache-2.0
1332 * ============LICENSE_END=========================================================
1335 executor.logger.info(executor.subject.id);
1337 var commonHeader = executor.inFields.get("commonHeader")
1338 var response = executor.inFields.get("payload")
1339 var albumID = commonHeader.get("requestId")
1341 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(albumID.toString());
1342 var responseStatus = executor.subject.getOutFieldSchemaHelper("status").createNewInstance();
1344 responseStatus.put("subscriptionName", pmSubscriptionInfo.get("subscription").get("subscriptionName"))
1345 responseStatus.put("nfName", pmSubscriptionInfo.get("nfName"))
1346 responseStatus.put("changeType", pmSubscriptionInfo.get("changeType"))
1348 var status = response.get(pmSubscriptionInfo.get("changeType").toLowerCase() + "_DasH_subscription_DasH_response").get("odl_DasH_response").get("status")
1350 executor.logger.info("RESPONSE STATUS = " + status)
1352 if(status == "success") {
1353 responseStatus.put("message", "success")
1355 responseStatus.put("message", "failed")
1358 executor.outFields.put("status", responseStatus)
1360 //var returnValue = executor.isTrue;
1363 name: CDSDeleteResponseTask
1367 name: CDSDeleteResponseTask
1371 - key: actionIdentifiers
1373 key: actionIdentifiers
1375 name: CDSActionIdentifiersType
1382 name: CDSResponseCommonHeaderType
1389 name: CDSDeleteResponsePayloadType
1396 name: CDSResponseStatusType
1405 name: SubscriptionStatusType
1410 contextAlbumReference:
1411 - name: PMSubscriptionAlbum
1415 logicFlavour: JAVASCRIPT
1418 * ============LICENSE_START=======================================================
1419 * Copyright (C) 2020 Nordix. All rights reserved.
1420 * ================================================================================
1421 * Licensed under the Apache License, Version 2.0 (the "License");
1422 * you may not use this file except in compliance with the License.
1423 * You may obtain a copy of the License at
1425 * http://www.apache.org/licenses/LICENSE-2.0
1427 * Unless required by applicable law or agreed to in writing, software
1428 * distributed under the License is distributed on an "AS IS" BASIS,
1429 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1430 * See the License for the specific language governing permissions and
1431 * limitations under the License.
1433 * SPDX-License-Identifier: Apache-2.0
1434 * ============LICENSE_END=========================================================
1437 executor.logger.info(executor.subject.id);
1439 var commonHeader = executor.inFields.get("commonHeader")
1440 var response = executor.inFields.get("payload")
1441 var albumID = commonHeader.get("requestId")
1443 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(albumID.toString());
1444 var responseStatus = executor.subject.getOutFieldSchemaHelper("status").createNewInstance();
1446 responseStatus.put("subscriptionName", pmSubscriptionInfo.get("subscription").get("subscriptionName"))
1447 responseStatus.put("nfName", pmSubscriptionInfo.get("nfName"))
1448 responseStatus.put("changeType", pmSubscriptionInfo.get("changeType"))
1450 var status = response.get(pmSubscriptionInfo.get("changeType").toLowerCase() + "_DasH_subscription_DasH_response").get("odl_DasH_response").get("status")
1452 executor.logger.info("RESPONSE STATUS = " + status)
1454 if(status == "success") {
1455 responseStatus.put("message", "success")
1457 responseStatus.put("message", "failed")
1460 executor.outFields.put("status", responseStatus)
1462 //var returnValue = executor.isTrue;
1465 name: CreateSubscriptionPayloadTask
1469 name: CreateSubscriptionPayloadTask
1493 name: CDSCreateSubscriptionPayloadType
1498 contextAlbumReference:
1499 - name: PMSubscriptionAlbum
1503 logicFlavour: JAVASCRIPT
1506 * ============LICENSE_START=======================================================
1507 * Copyright (C) 2020 Nordix. All rights reserved.
1508 * ================================================================================
1509 * Licensed under the Apache License, Version 2.0 (the "License");
1510 * you may not use this file except in compliance with the License.
1511 * You may obtain a copy of the License at
1513 * http://www.apache.org/licenses/LICENSE-2.0
1515 * Unless required by applicable law or agreed to in writing, software
1516 * distributed under the License is distributed on an "AS IS" BASIS,
1517 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1518 * See the License for the specific language governing permissions and
1519 * limitations under the License.
1521 * SPDX-License-Identifier: Apache-2.0
1522 * ============LICENSE_END=========================================================
1525 executor.logger.info(executor.subject.id);
1527 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
1529 var changeType = pmSubscriptionInfo.get("changeType").toLowerCase()
1531 var payloadProperties = executor.subject.getOutFieldSchemaHelper("payload").createNewSubInstance(changeType + "_DasH_subscription_DasH_properties_record");
1533 payloadProperties.put("nfName", pmSubscriptionInfo.get("nfName"))
1534 payloadProperties.put("subscriptionName", pmSubscriptionInfo.get("subscription").get("subscriptionName"))
1535 payloadProperties.put("administrativeState", pmSubscriptionInfo.get("subscription").get("administrativeState"))
1536 payloadProperties.put("fileBasedGP", pmSubscriptionInfo.get("subscription").get("fileBasedGP").toString())
1537 payloadProperties.put("fileLocation", pmSubscriptionInfo.get("subscription").get("fileLocation"))
1538 payloadProperties.put("measurementGroups", pmSubscriptionInfo.get("subscription").get("measurementGroups"))
1540 var payloadEntry = executor.subject.getOutFieldSchemaHelper("payload").createNewSubInstance("CDSRequestPayloadEntry");
1541 payloadEntry.put(changeType + "_DasH_subscription_DasH_properties", payloadProperties)
1543 var payload = executor.subject.getOutFieldSchemaHelper("payload").createNewInstance();
1544 payload.put(changeType + "_DasH_subscription_DasH_request", payloadEntry);
1546 executor.outFields.put("albumID", executor.inFields.get("albumID"))
1547 executor.outFields.put("payload", payload);
1549 //var returnValue = executor.isTrue;
1552 name: CreateSubscriptionRequestTask
1556 name: CreateSubscriptionRequestTask
1571 name: CDSCreateSubscriptionPayloadType
1576 - key: actionIdentifiers
1578 key: actionIdentifiers
1580 name: CDSActionIdentifiersType
1587 name: CDSRequestCommonHeaderType
1594 name: CDSCreateSubscriptionPayloadType
1599 contextAlbumReference:
1600 - name: PMSubscriptionAlbum
1604 logicFlavour: JAVASCRIPT
1607 * ============LICENSE_START=======================================================
1608 * Copyright (C) 2020 Nordix. All rights reserved.
1609 * ================================================================================
1610 * Licensed under the Apache License, Version 2.0 (the "License");
1611 * you may not use this file except in compliance with the License.
1612 * You may obtain a copy of the License at
1614 * http://www.apache.org/licenses/LICENSE-2.0
1616 * Unless required by applicable law or agreed to in writing, software
1617 * distributed under the License is distributed on an "AS IS" BASIS,
1618 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1619 * See the License for the specific language governing permissions and
1620 * limitations under the License.
1622 * SPDX-License-Identifier: Apache-2.0
1623 * ============LICENSE_END=========================================================
1626 executor.logger.info(executor.subject.id);
1628 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
1630 var changeType = pmSubscriptionInfo.get("changeType").toLowerCase()
1631 var blueprintName = pmSubscriptionInfo.get("blueprintName").toLowerCase()
1632 var blueprintVersion = pmSubscriptionInfo.get("blueprintVersion").toLowerCase()
1633 var payload = executor.inFields.get("payload")
1634 var actionName = changeType + "-subscription"
1636 var commonHeader = executor.subject.getOutFieldSchemaHelper("commonHeader").createNewInstance();
1637 commonHeader.put("originatorId", "sdnc");
1638 commonHeader.put("requestId", executor.inFields.get("albumID").toString());
1639 commonHeader.put("subRequestId", "sub-123456-1000");
1641 var actionIdentifiers = executor.subject.getOutFieldSchemaHelper("actionIdentifiers").createNewInstance();
1642 actionIdentifiers.put("actionName", actionName);
1643 actionIdentifiers.put("blueprintName", blueprintName);
1644 actionIdentifiers.put("blueprintVersion", blueprintVersion);
1645 actionIdentifiers.put("mode", "sync");
1647 executor.outFields.put("commonHeader", commonHeader);
1648 executor.outFields.put("actionIdentifiers", actionIdentifiers);
1649 executor.outFields.put("payload", payload);
1651 //var returnValue = executor.isTrue;
1654 name: DeleteSubscriptionPayloadTask
1658 name: DeleteSubscriptionPayloadTask
1682 name: CDSDeleteSubscriptionPayloadType
1687 contextAlbumReference:
1688 - name: PMSubscriptionAlbum
1692 logicFlavour: JAVASCRIPT
1695 * ============LICENSE_START=======================================================
1696 * Copyright (C) 2020 Nordix. All rights reserved.
1697 * ================================================================================
1698 * Licensed under the Apache License, Version 2.0 (the "License");
1699 * you may not use this file except in compliance with the License.
1700 * You may obtain a copy of the License at
1702 * http://www.apache.org/licenses/LICENSE-2.0
1704 * Unless required by applicable law or agreed to in writing, software
1705 * distributed under the License is distributed on an "AS IS" BASIS,
1706 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1707 * See the License for the specific language governing permissions and
1708 * limitations under the License.
1710 * SPDX-License-Identifier: Apache-2.0
1711 * ============LICENSE_END=========================================================
1714 executor.logger.info(executor.subject.id);
1716 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
1718 var changeType = pmSubscriptionInfo.get("changeType").toLowerCase()
1720 var payloadProperties = executor.subject.getOutFieldSchemaHelper("payload").createNewSubInstance(changeType + "_DasH_subscription_DasH_properties_record");
1722 payloadProperties.put("nfName", pmSubscriptionInfo.get("nfName"))
1723 payloadProperties.put("subscriptionName", pmSubscriptionInfo.get("subscription").get("subscriptionName"))
1724 payloadProperties.put("administrativeState", pmSubscriptionInfo.get("subscription").get("administrativeState"))
1725 payloadProperties.put("fileBasedGP", pmSubscriptionInfo.get("subscription").get("fileBasedGP").toString())
1726 payloadProperties.put("fileLocation", pmSubscriptionInfo.get("subscription").get("fileLocation"))
1727 payloadProperties.put("measurementGroups", pmSubscriptionInfo.get("subscription").get("measurementGroups"))
1729 var payloadEntry = executor.subject.getOutFieldSchemaHelper("payload").createNewSubInstance("CDSRequestPayloadEntry");
1730 payloadEntry.put(changeType + "_DasH_subscription_DasH_properties", payloadProperties)
1732 var payload = executor.subject.getOutFieldSchemaHelper("payload").createNewInstance();
1733 payload.put(changeType + "_DasH_subscription_DasH_request", payloadEntry);
1735 executor.outFields.put("albumID", executor.inFields.get("albumID"))
1736 executor.outFields.put("payload", payload);
1738 //var returnValue = executor.isTrue;
1741 name: DeleteSubscriptionRequestTask
1745 name: DeleteSubscriptionRequestTask
1760 name: CDSDeleteSubscriptionPayloadType
1765 - key: actionIdentifiers
1767 key: actionIdentifiers
1769 name: CDSActionIdentifiersType
1776 name: CDSRequestCommonHeaderType
1783 name: CDSDeleteSubscriptionPayloadType
1788 contextAlbumReference:
1789 - name: PMSubscriptionAlbum
1793 logicFlavour: JAVASCRIPT
1796 * ============LICENSE_START=======================================================
1797 * Copyright (C) 2020 Nordix. All rights reserved.
1798 * ================================================================================
1799 * Licensed under the Apache License, Version 2.0 (the "License");
1800 * you may not use this file except in compliance with the License.
1801 * You may obtain a copy of the License at
1803 * http://www.apache.org/licenses/LICENSE-2.0
1805 * Unless required by applicable law or agreed to in writing, software
1806 * distributed under the License is distributed on an "AS IS" BASIS,
1807 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1808 * See the License for the specific language governing permissions and
1809 * limitations under the License.
1811 * SPDX-License-Identifier: Apache-2.0
1812 * ============LICENSE_END=========================================================
1815 executor.logger.info(executor.subject.id);
1817 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
1819 var changeType = pmSubscriptionInfo.get("changeType").toLowerCase()
1820 var blueprintName = pmSubscriptionInfo.get("blueprintName").toLowerCase()
1821 var blueprintVersion = pmSubscriptionInfo.get("blueprintVersion").toLowerCase()
1822 var payload = executor.inFields.get("payload")
1823 var actionName = changeType + "-subscription"
1825 var commonHeader = executor.subject.getOutFieldSchemaHelper("commonHeader").createNewInstance();
1826 commonHeader.put("originatorId", "sdnc");
1827 commonHeader.put("requestId", executor.inFields.get("albumID").toString());
1828 commonHeader.put("subRequestId", "sub-123456-1000");
1830 var actionIdentifiers = executor.subject.getOutFieldSchemaHelper("actionIdentifiers").createNewInstance();
1831 actionIdentifiers.put("actionName", actionName);
1832 actionIdentifiers.put("blueprintName", blueprintName);
1833 actionIdentifiers.put("blueprintVersion", blueprintVersion);
1834 actionIdentifiers.put("mode", "sync");
1836 executor.outFields.put("commonHeader", commonHeader);
1837 executor.outFields.put("actionIdentifiers", actionIdentifiers);
1838 executor.outFields.put("payload", payload);
1840 //var returnValue = executor.isTrue;
1843 name: ReceiveSubscriptionTask
1847 name: ReceiveSubscriptionTask
1851 - key: blueprintName
1855 name: SimpleStringType
1858 - key: blueprintVersion
1860 key: blueprintVersion
1862 name: SimpleStringType
1869 name: SimpleStringType
1872 - key: closedLoopControlName
1874 key: closedLoopControlName
1876 name: SimpleStringType
1883 name: SimpleStringType
1890 name: SimpleStringType
1897 name: SubscriptionType
1911 contextAlbumReference:
1912 - name: PMSubscriptionAlbum
1916 logicFlavour: JAVASCRIPT
1919 * ============LICENSE_START=======================================================
1920 * Copyright (C) 2020 Nordix. All rights reserved.
1921 * ================================================================================
1922 * Licensed under the Apache License, Version 2.0 (the "License");
1923 * you may not use this file except in compliance with the License.
1924 * You may obtain a copy of the License at
1926 * http://www.apache.org/licenses/LICENSE-2.0
1928 * Unless required by applicable law or agreed to in writing, software
1929 * distributed under the License is distributed on an "AS IS" BASIS,
1930 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1931 * See the License for the specific language governing permissions and
1932 * limitations under the License.
1934 * SPDX-License-Identifier: Apache-2.0
1935 * ============LICENSE_END=========================================================
1937 var uuidType = java.util.UUID;
1939 executor.logger.info(executor.subject.id);
1941 //albumID will be used to fetch info from our album later
1942 var albumID = uuidType.randomUUID();
1943 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").getSchemaHelper().createNewInstance();
1944 var returnValue = true;
1946 if(executor.inFields.get("policyName") != null) {
1947 executor.logger.info("nfName in receive sub event " + executor.inFields.get("nfName"));
1949 var changeType = executor.inFields.get("changeType")
1950 var nfName = executor.inFields.get("nfName")
1951 var policyName = executor.inFields.get("policyName")
1952 var closedLoopControlName = executor.inFields.get("closedLoopControlName")
1953 var subscription = executor.inFields.get("subscription")
1954 var blueprintName = executor.inFields.get("blueprintName")
1955 var blueprintVersion = executor.inFields.get("blueprintVersion")
1957 pmSubscriptionInfo.put("nfName", executor.inFields.get("nfName"));
1958 pmSubscriptionInfo.put("changeType", executor.inFields.get("changeType"))
1959 pmSubscriptionInfo.put("policyName", executor.inFields.get("policyName"))
1960 pmSubscriptionInfo.put("closedLoopControlName", executor.inFields.get("closedLoopControlName"))
1961 pmSubscriptionInfo.put("subscription", subscription)
1962 pmSubscriptionInfo.put("blueprintName", blueprintName)
1963 pmSubscriptionInfo.put("blueprintVersion", blueprintVersion)
1966 executor.getContextAlbum("PMSubscriptionAlbum").put(albumID.toString(), pmSubscriptionInfo);
1968 executor.outFields.put("albumID", albumID)
1970 executor.message = "Received invalid event"
1971 returnValue = false;
1977 name: PMControlPolicy_Events
1982 name: CDSCreateResponseEvent
1986 name: CDSCreateResponseEvent
1988 nameSpace: org.onap.policy.apex.onap.pmcontrol
1993 - key: actionIdentifiers
1995 key: actionIdentifiers
1997 name: CDSActionIdentifiersType
2004 name: CDSResponseCommonHeaderType
2011 name: CDSCreateResponsePayloadType
2018 name: CDSResponseStatusType
2022 name: CDSCreateSubscriptionRequestEvent
2026 name: CDSCreateSubscriptionRequestEvent
2028 nameSpace: org.onap.policy.apex.onap.pmcontrol
2033 - key: actionIdentifiers
2035 key: actionIdentifiers
2037 name: CDSActionIdentifiersType
2044 name: CDSRequestCommonHeaderType
2051 name: CDSCreateSubscriptionPayloadType
2055 name: CDSDeleteResponseEvent
2059 name: CDSDeleteResponseEvent
2061 nameSpace: org.onap.policy.apex.onap.pmcontrol
2066 - key: actionIdentifiers
2068 key: actionIdentifiers
2070 name: CDSActionIdentifiersType
2077 name: CDSResponseCommonHeaderType
2084 name: CDSDeleteResponsePayloadType
2091 name: CDSResponseStatusType
2095 name: CDSDeleteSubscriptionRequestEvent
2099 name: CDSDeleteSubscriptionRequestEvent
2101 nameSpace: org.onap.policy.apex.onap.pmcontrol
2106 - key: actionIdentifiers
2108 key: actionIdentifiers
2110 name: CDSActionIdentifiersType
2117 name: CDSRequestCommonHeaderType
2124 name: CDSDeleteSubscriptionPayloadType
2128 name: CDSResponseStatusEvent
2132 name: CDSResponseStatusEvent
2134 nameSpace: org.onap.policy.apex.onap.pmcontrol
2143 name: SubscriptionStatusType
2147 name: CreateSubscriptionPayloadEvent
2151 name: CreateSubscriptionPayloadEvent
2153 nameSpace: org.onap.policy.apex.onap.pmcontrol
2169 name: CDSCreateSubscriptionPayloadType
2173 name: DeleteSubscriptionPayloadEvent
2177 name: DeleteSubscriptionPayloadEvent
2179 nameSpace: org.onap.policy.apex.onap.pmcontrol
2195 name: CDSDeleteSubscriptionPayloadType
2199 name: MRResponseEvent
2203 name: MRResponseEvent
2205 nameSpace: org.onap.policy.apex.onap.pmcontrol
2225 name: PMSubscriptionOutputEvent
2229 name: PMSubscriptionOutputEvent
2231 nameSpace: org.onap.policy.apex.onap.pmcontrol
2244 name: pmsh-operational-policy
2248 name: pmsh-operational-policy
2250 nameSpace: org.onap.policy.apex.onap.pmcontrol
2255 - key: blueprintName
2259 name: SimpleStringType
2262 - key: blueprintVersion
2264 key: blueprintVersion
2266 name: SimpleStringType
2273 name: SimpleStringType
2276 - key: closedLoopControlName
2278 key: closedLoopControlName
2280 name: SimpleStringType
2287 name: SimpleStringType
2294 name: SimpleStringType
2301 name: SubscriptionType
2306 name: PMControlPolicy_Albums
2311 name: PMSubscriptionAlbum
2315 name: PMSubscriptionAlbum
2320 name: PMSubscriptionType
2324 name: PMControlPolicy_Schemas
2329 name: CDSActionIdentifiersType
2333 name: CDSActionIdentifiersType
2336 schemaDefinition: |-
2339 "name": "ActionIdentifiers_Type",
2340 "namespace": "org.onap.policy.apex.onap.helloworld",
2343 "name": "actionName",
2347 "name": "blueprintName",
2351 "name": "blueprintVersion",
2361 name: CDSCreateResponsePayloadType
2365 name: CDSCreateResponsePayloadType
2368 schemaDefinition: |-
2370 "name": "CreateResponsePayloadEntry",
2372 "namespace": "org.onap.policy.apex.onap.helloworld",
2375 "name": "create_DasH_subscription_DasH_response",
2377 "name": "create_DasH_subscription_DasH_response",
2381 "name": "odl_DasH_response",
2383 "name": "odl_DasH_response",
2399 name: CDSCreateSubscriptionPayloadType
2403 name: CDSCreateSubscriptionPayloadType
2406 schemaDefinition: |-
2411 "name": "CDSRequestPayloadEntry",
2414 "name": "create_DasH_subscription_DasH_properties",
2416 "name": "create_DasH_subscription_DasH_properties_record",
2424 "name": "subscriptionName",
2428 "name": "administrativeState",
2432 "name": "fileBasedGP",
2436 "name": "fileLocation",
2440 "name": "measurementGroups",
2444 "name": "measurementGroups_record",
2448 "name": "measurementGroup",
2450 "name": "measurementGroup",
2454 "name": "measurementTypes",
2458 "name": "measurementTypes_record",
2462 "name": "measurementType",
2470 "name": "managedObjectDNsBasic",
2474 "name": "managedObjectDNsBasic_record",
2499 name: CDSDeleteResponsePayloadType
2503 name: CDSDeleteResponsePayloadType
2506 schemaDefinition: |-
2508 "name": "DeleteResponsePayloadEntry",
2510 "namespace": "com.acme.avro",
2513 "name": "delete_DasH_subscription_DasH_response",
2515 "name": "delete_DasH_subscription_DasH_response",
2519 "name": "odl_DasH_response",
2521 "name": "odl_DasH_response",
2537 name: CDSDeleteSubscriptionPayloadType
2541 name: CDSDeleteSubscriptionPayloadType
2544 schemaDefinition: |-
2549 "name": "CDSRequestPayloadEntry",
2552 "name": "delete_DasH_subscription_DasH_properties",
2554 "name": "delete_DasH_subscription_DasH_properties_record",
2562 "name": "subscriptionName",
2566 "name": "administrativeState",
2570 "name": "fileBasedGP",
2574 "name": "fileLocation",
2578 "name": "measurementGroups",
2582 "name": "measurementGroups_record",
2586 "name": "measurementGroup",
2588 "name": "measurementGroup",
2592 "name": "measurementTypes",
2596 "name": "measurementTypes_record",
2600 "name": "measurementType",
2608 "name": "managedObjectDNsBasic",
2612 "name": "managedObjectDNsBasic_record",
2637 name: CDSRequestCommonHeaderType
2641 name: CDSRequestCommonHeaderType
2644 schemaDefinition: |-
2647 "name": "RequestCommonHeader_Type",
2648 "namespace": "org.onap.policy.apex.onap.helloworld",
2651 "name": "originatorId",
2655 "name": "requestId",
2659 "name": "subRequestId",
2665 name: CDSResponseCommonHeaderType
2669 name: CDSResponseCommonHeaderType
2672 schemaDefinition: |-
2675 "name": "ResponseCommonHeader_Type",
2676 "namespace": "org.onap.policy.apex.onap.helloworld",
2679 "name": "originatorId",
2683 "name": "requestId",
2687 "name": "subRequestId",
2691 "name": "timestamp",
2696 "type": ["null", "string"]
2701 name: CDSResponseStatusType
2705 name: CDSResponseStatusType
2708 schemaDefinition: |-
2711 "name": "ResponseStatus_Type",
2712 "namespace": "org.onap.policy.apex.onap.helloworld",
2719 "name": "eventType",
2723 "name": "timestamp",
2733 name: PMSubscriptionType
2737 name: PMSubscriptionType
2740 schemaDefinition: "{\n\t\"name\": \"PMSubscription\",\n\t\"type\": \"record\",\n\t\"namespace\": \"\
2741 org.onap.policy.apex.onap.pmcontrol\",\n\t\"fields\": [\n {\n \"name\": \"nfName\"\
2742 ,\n \"type\": \"string\"\n },\n\t {\n\t\t\t\"name\": \"changeType\",\n\t\t\t\"\
2743 type\": \"string\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"closedLoopControlName\",\n\t\t\t\"type\": \"\
2744 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\
2745 {\n\t\t \"name\": \"blueprintName\",\n\t\t \"type\": \"string\"\n\t\t},\n\t\t{\n\t\t \"name\"\
2746 : \"blueprintVersion\",\n\t\t \"type\": \"string\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"subscription\"\
2747 ,\n\t\t\t\"type\": {\n\t\t\t\t\"name\": \"subscription\",\n\t\t\t\t\"type\": \"record\",\n\t\t\t\t\
2748 \"fields\": [{\n\t\t\t\t\t\t\"name\": \"subscriptionName\",\n\t\t\t\t\t\t\"type\": \"string\"\n\t\t\
2749 \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\"\
2750 \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\"\
2751 \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\"\
2752 \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\
2753 \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\"\
2754 ,\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\"\
2755 : \"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\"\
2756 ,\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\
2757 \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\
2758 \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\"\
2759 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\
2760 \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\
2761 \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\
2762 \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\
2763 \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\
2764 \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\
2765 \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\"\
2766 ,\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\
2767 \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\
2768 \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\
2769 \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\
2779 schemaDefinition: java.lang.Integer
2781 name: SimpleStringType
2785 name: SimpleStringType
2788 schemaDefinition: java.lang.String
2790 name: SubscriptionStatusType
2794 name: SubscriptionStatusType
2797 schemaDefinition: |-
2800 "name": "ActivateSubscriptionStatus_Type",
2801 "namespace": "org.onap.policy.apex.onap.helloworld",
2804 "name": "subscriptionName",
2812 "name": "changeType",
2822 name: SubscriptionType
2826 name: SubscriptionType
2829 schemaDefinition: "{\n\t\"name\": \"subscription\",\n\t\"type\": \"record\",\n\t\"fields\": [{\n\t\t\
2830 \t\"name\": \"subscriptionName\",\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"administrativeState\"\
2831 ,\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"fileBasedGP\",\n\t\t\t\"type\": \"\
2832 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\
2833 {\n\t\t\t\"name\": \"measurementGroups\",\n\t\t\t\"type\": {\n\t\t\t\t\"type\": \"array\",\n\t\t\t\
2834 \t\"items\": {\n\t\t\t\t\t\"name\": \"Measurement_Groups_Type\",\n\t\t\t\t\t\"type\": \"record\",\n\
2835 \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\
2836 \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\
2837 \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\"\
2838 : {\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\
2839 \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\
2840 \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\
2841 \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\
2842 }\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\
2843 \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\"\
2844 : {\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\"\
2845 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\"\
2846 ,\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\
2847 \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\
2848 \t\t}\n\t\t}\n\t]\n}"
2857 schemaDefinition: java.util.UUID
2861 parameterClassName: org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters
2863 parameterClassName: org.onap.policy.apex.context.parameters.ContextParameters
2866 parameterClassName: org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters
2868 parameterClassName: org.onap.policy.apex.context.impl.schema.java.JavaSchemaHelperParameters
2871 adaptedClass: java.time.Instant
2872 adaptorClass: org.onap.policy.controlloop.util.Serialization$GsonInstantAdapter
2873 eventInputParameters:
2875 carrierTechnologyParameters:
2876 carrierTechnology: RESTCLIENT
2877 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters
2879 consumerPollTime: '50'
2880 url: https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT/cg1/sg1
2881 eventProtocolParameters:
2884 nameAlias: policyName
2885 eventName: pmsh-operational-policy
2886 eventNameFilter: pmsh-operational-policy
2888 carrierTechnologyParameters:
2889 carrierTechnology: RESTREQUESTOR
2890 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
2892 url: http://10.10.10.184:30254/api/v1/execution-service/process
2894 restRequestTimeout: 2000
2897 - Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
2898 eventProtocolParameters:
2900 eventName: CDSCreateResponseEvent
2901 eventNameFilter: CDSCreateResponseEvent
2903 requestorPeer: CDSRequestProducer
2904 requestorTimeout: 500
2905 CDSDeleteRequestConsumer:
2906 carrierTechnologyParameters:
2907 carrierTechnology: RESTREQUESTOR
2908 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
2910 url: http://10.10.10.184:30254/api/v1/execution-service/process
2912 restRequestTimeout: 2000
2915 - Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
2916 eventProtocolParameters:
2918 eventName: CDSDeleteResponseEvent
2919 eventNameFilter: CDSDeleteResponseEvent
2921 requestorPeer: CDSDeleteRequestProducer
2922 requestorTimeout: 500
2924 carrierTechnologyParameters:
2925 carrierTechnology: RESTREQUESTOR
2926 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
2928 url: https://message-router:3905/events/unauthenticated.PMSH_CL_INPUT
2930 restRequestTimeout: 2000
2931 eventProtocolParameters:
2933 eventName: MRResponseEvent
2934 eventNameFilter: MRResponseEvent
2936 requestorPeer: CDSReplyProducer
2937 requestorTimeout: 500
2938 eventOutputParameters:
2940 carrierTechnologyParameters:
2941 carrierTechnology: FILE
2943 fileName: /tmp/outputevents.log
2944 eventProtocolParameters:
2947 carrierTechnologyParameters:
2948 carrierTechnology: FILE
2951 eventProtocolParameters:
2954 carrierTechnologyParameters:
2955 carrierTechnology: RESTREQUESTOR
2956 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
2957 eventProtocolParameters:
2959 eventNameFilter: CDSCreateSubscriptionRequestEvent
2961 requestorPeer: CDSRequestConsumer
2962 requestorTimeout: 500
2963 CDSDeleteRequestProducer:
2964 carrierTechnologyParameters:
2965 carrierTechnology: RESTREQUESTOR
2966 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
2967 eventProtocolParameters:
2969 eventNameFilter: CDSDeleteSubscriptionRequestEvent
2971 requestorPeer: CDSDeleteRequestConsumer
2972 requestorTimeout: 500
2974 carrierTechnologyParameters:
2975 carrierTechnology: RESTREQUESTOR
2976 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
2977 eventProtocolParameters:
2979 eventNameFilter: CDSResponseStatusEvent
2981 requestorPeer: CDSReplyConsumer
2982 requestorTimeout: 500