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
84 description: An operation supported by an actor
88 description: Unique identifier for the operation
92 description: A user-friendly description of the intent for the operation
95 type: onap.datatype.controlloop.Actor
96 description: The definition of the operation to be performed.
100 description: The amount of time for the actor to perform the operation.
104 description: The number of retries the actor should attempt to perform the operation.
109 description: Points to the operation to invoke on success. A value of "final_success" indicates and end to the operation.
111 default: final_success
114 description: Points to the operation to invoke on Actor operation failure.
116 default: final_failure
119 description: Points to the operation to invoke when the time out for the operation occurs.
121 default: final_failure_timeout
124 description: Points to the operation to invoke when the current operation has exceeded its max retries.
126 default: final_failure_retries
129 description: Points to the operation to invoke when the current operation causes an exception.
131 default: final_failure_exception
134 description: Points to the operation to invoke when the current operation is blocked due to guard policy enforcement.
136 default: final_failure_guard
138 onap.policies.Monitoring:
139 derived_from: tosca.policies.Root
140 description: a base policy type for all policies that govern monitoring provisioning
142 name: onap.policies.Monitoring
143 onap.policies.Sirisha:
144 derived_from: tosca.policies.Root
145 description: a base policy type for all policies that govern monitoring provisioning
147 name: onap.policies.Sirisha
148 onap.policies.controlloop.operational.Common:
149 derived_from: tosca.policies.Root
151 name: onap.policies.controlloop.operational.Common
153 Operational Policy for Control Loop execution. Originated in Frankfurt to support TOSCA Compliant
154 Policy Types. This does NOT support the legacy Policy YAML policy type.
158 description: The unique control loop id.
163 Overall timeout for executing all the operations. This timeout should equal or exceed the total
164 timeout for each operation listed.
168 description: Whether an abatement event message will be expected for the control loop from DCAE.
173 description: Initial operation to execute upon receiving an Onset event message for the Control Loop.
177 description: List of operations to be performed when Control Loop is triggered.
180 type: onap.datatype.controlloop.Operation
182 onap.policies.controlloop.operational.common.Apex:
183 derived_from: onap.policies.controlloop.operational.Common
186 name: onap.policies.controlloop.operational.common.Apex
187 description: Operational policies for Apex PDP
189 engineServiceParameters:
191 description: The engine parameters like name, instanceCount, policy implementation, parameters etc.
193 eventInputParameters:
195 description: The event input parameters.
197 eventOutputParameters:
199 description: The event output parameters.
203 description: Name/value pairs of properties to be set for APEX if needed.
206 org.onap.policy.clamp.controlloop.Participant:
208 derived_from: tosca.nodetypes.Root
213 org.onap.policy.clamp.controlloop.ControlLoopElement:
215 derived_from: tosca.nodetypes.Root
222 description: Specifies the organization that provides the control loop element
227 - greater_or_equal: 0
230 description: A value indicating the start phase in which this control loop element will be started, the
231 first start phase is zero. Control Loop Elements are started in their start_phase order and stopped
232 in reverse start phase order. Control Loop Elements with the same start phase are started and
233 stopped simultaneously
234 uninitializedToPassiveTimeout:
238 - greater_or_equal: 0
242 description: The maximum time in seconds to wait for a state chage from uninitialized to passive
243 passiveToRunningTimeout:
247 - greater_or_equal: 0
251 description: The maximum time in seconds to wait for a state chage from passive to running
252 runningToPassiveTimeout:
256 - greater_or_equal: 0
260 description: The maximum time in seconds to wait for a state chage from running to passive
261 passiveToUninitializedTimeout:
265 - greater_or_equal: 0
269 description: The maximum time in seconds to wait for a state chage from passive to uninitialized
270 org.onap.policy.clamp.controlloop.ControlLoop:
272 derived_from: tosca.nodetypes.Root
279 description: Specifies the organization that provides the control loop element
286 type: onap.datatypes.ToscaConceptIdentifier
287 description: Specifies a list of control loop element definitions that make up this control loop definition
288 org.onap.policy.clamp.controlloop.DCAEMicroserviceControlLoopElement:
290 derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
293 type: onap.datatypes.ToscaConceptIdentifier
296 type: onap.dcae.cloudify_blueprint
302 type: org.onap.datatypes.policy.clamp.controlloop.DCAEMicroserviceControlLoopElementConsulInfo
303 org.onap.policy.clamp.controlloop.PolicyControlLoopElement:
305 derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
308 type: onap.datatypes.ToscaConceptIdentifier
311 type: onap.datatypes.ToscaConceptIdentifier
313 org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement:
315 derived_from: org.onap.policy.clamp.controlloop.PolicyControlLoopElement
318 type: onap.datatypes.ToscaConceptIdentifier
321 type: onap.datatypes.ToscaConceptIdentifier
323 org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement:
325 derived_from: org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement
328 type: onap.datatypes.ToscaConceptIdentifier
331 type: onap.datatypes.ToscaConceptIdentifier
333 org.onap.policy.clamp.controlloop.CDSControlLoopElement:
335 derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
338 type: onap.datatypes.ToscaConceptIdentifier
342 pmsh_monitoring_policy:
343 type: onap.datatypes.ToscaConceptIdentifier
344 description: The ID of the PMSH monitoring policy to use
346 name: MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test
348 pmsh_operational_policy:
349 type: onap.datatypes.ToscaConceptIdentifier
350 description: The ID of the PMSH operational policy to use
352 name: operational.apex.pmcontrol
355 org.onap.policy.controlloop.PolicyControlLoopParticipant:
357 type: org.onap.policy.clamp.controlloop.Participant
359 description: Participant for DCAE microservices
362 org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement:
364 type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement
366 description: Control loop element for the monitoring policy for Performance Management Subscription Handling
370 name: org.onap.PM_Policy
373 name: onap.policies.monitoring.pm-subscription-handler
376 get_input: pmsh_monitoring_policy
377 org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement:
379 type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement
381 description: Control loop element for the operational policy for Performance Management Subscription Handling
385 name: org.onap.PM_Policy
388 name: onap.policies.operational.pm-subscription-handler
391 get_input: pmsh_operational_policy
392 org.onap.domain.pmsh.PMSHControlLoopDefinition:
394 type: org.onap.policy.clamp.controlloop.ControlLoop
396 description: Control loop for Performance Management Subscription Handling
400 - name: org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement
402 - name: org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement
405 - operational.apex.pmcontrol:
406 type: onap.policies.controlloop.operational.common.Apex
410 policy-id: operational.apex.pmcontrol
413 engineServiceParameters:
418 deploymentPort: 12561
422 name: PMControlPolicy
426 name: PMControlPolicy_KeyInfo
431 name: CDSActionIdentifiersType
435 name: CDSActionIdentifiersType
437 UUID: 6e5fa19b-14df-37e3-a4ae-8c537e861a82
438 description: Generated description for concept referred to by key "CDSActionIdentifiersType:0.0.1"
440 name: CDSCreateResponseEvent
444 name: CDSCreateResponseEvent
446 UUID: 14b29e38-ac75-3273-aa4e-8583c0aa7dad
447 description: Generated description for concept referred to by key "CDSCreateResponseEvent:0.0.1"
449 name: CDSCreateResponsePayloadType
453 name: CDSCreateResponsePayloadType
455 UUID: 04573f8f-e772-30a5-b1d9-d7318d4a1e13
456 description: Generated description for concept referred to by key "CDSCreateResponsePayloadType:0.0.1"
458 name: CDSCreateResponsePolicy
462 name: CDSCreateResponsePolicy
464 UUID: e126c965-fc09-3bfe-8f55-70f380a4a49c
465 description: Generated description for concept referred to by key "CDSCreateResponsePolicy:0.0.1"
467 name: CDSCreateResponseTask
471 name: CDSCreateResponseTask
473 UUID: 6165ee82-afd2-3aab-a517-f00b3f2461d2
474 description: Generated description for concept referred to by key "CDSCreateResponseTask:0.0.1"
476 name: CDSCreateSubscriptionPayloadType
480 name: CDSCreateSubscriptionPayloadType
482 UUID: 8350ac5e-c157-38b9-9614-a0f93a830e60
483 description: Generated description for concept referred to by key "CDSCreateSubscriptionPayloadType:0.0.1"
485 name: CDSCreateSubscriptionRequestEvent
489 name: CDSCreateSubscriptionRequestEvent
491 UUID: cfa325ba-226b-3a31-9183-ec43e2b6e9a2
492 description: Generated description for concept referred to by key "CDSCreateSubscriptionRequestEvent:0.0.1"
494 name: CDSDeleteResponseEvent
498 name: CDSDeleteResponseEvent
500 UUID: 8be9c0fa-7437-3841-aff2-b3cec6ae3bd8
501 description: Generated description for concept referred to by key "CDSDeleteResponseEvent:0.0.1"
503 name: CDSDeleteResponsePayloadType
507 name: CDSDeleteResponsePayloadType
509 UUID: 3fbfe0c9-152e-34d3-a504-09cd13c058d0
510 description: Generated description for concept referred to by key "CDSDeleteResponsePayloadType:0.0.1"
512 name: CDSDeleteResponsePolicy
516 name: CDSDeleteResponsePolicy
518 UUID: a780251c-edd5-3132-b865-04313246b43c
519 description: Generated description for concept referred to by key "CDSDeleteResponsePolicy:0.0.1"
521 name: CDSDeleteResponseTask
525 name: CDSDeleteResponseTask
527 UUID: afce4555-3aa3-3521-a7d8-ee8cdf0d3efc
528 description: Generated description for concept referred to by key "CDSDeleteResponseTask:0.0.1"
530 name: CDSDeleteSubscriptionPayloadType
534 name: CDSDeleteSubscriptionPayloadType
536 UUID: 12658406-9147-3c9d-a38c-5ad5e30b092b
537 description: Generated description for concept referred to by key "CDSDeleteSubscriptionPayloadType:0.0.1"
539 name: CDSDeleteSubscriptionRequestEvent
543 name: CDSDeleteSubscriptionRequestEvent
545 UUID: 24380c95-9289-36e6-8cbf-0edefa15ccd9
546 description: Generated description for concept referred to by key "CDSDeleteSubscriptionRequestEvent:0.0.1"
548 name: CDSRequestCommonHeaderType
552 name: CDSRequestCommonHeaderType
554 UUID: 35590ac0-062c-39f1-8786-b4ff716e30b1
555 description: Generated description for concept referred to by key "CDSRequestCommonHeaderType:0.0.1"
557 name: CDSResponseCommonHeaderType
561 name: CDSResponseCommonHeaderType
563 UUID: dd7e1805-885a-350b-aaf9-ed541321ae3c
564 description: Generated description for concept referred to by key "CDSResponseCommonHeaderType:0.0.1"
566 name: CDSResponseStatusEvent
570 name: CDSResponseStatusEvent
572 UUID: 7986e21b-32f7-302e-9554-31f21b673493
573 description: Generated description for concept referred to by key "CDSResponseStatusEvent:0.0.1"
575 name: CDSResponseStatusType
579 name: CDSResponseStatusType
581 UUID: 92b8a2cf-344e-3ce1-8cc0-2b7d3cb695fa
582 description: Generated description for concept referred to by key "CDSResponseStatusType:0.0.1"
584 name: CreateSubscriptionPayloadEvent
588 name: CreateSubscriptionPayloadEvent
590 UUID: 92162397-1a8e-3a3f-a469-d2af7700af4a
591 description: Generated description for concept referred to by key "CreateSubscriptionPayloadEvent:0.0.1"
593 name: CreateSubscriptionPayloadTask
597 name: CreateSubscriptionPayloadTask
599 UUID: bc0c69f0-52ed-38ea-b468-ae4a6fd1730d
600 description: Generated description for concept referred to by key "CreateSubscriptionPayloadTask:0.0.1"
602 name: CreateSubscriptionRequestTask
606 name: CreateSubscriptionRequestTask
608 UUID: 89cb75e9-f06c-30d3-b4ff-698d45f63869
609 description: Generated description for concept referred to by key "CreateSubscriptionRequestTask:0.0.1"
611 name: DeleteSubscriptionPayloadEvent
615 name: DeleteSubscriptionPayloadEvent
617 UUID: 994fa441-04ab-33bb-832d-1cd12ab5d074
618 description: Generated description for concept referred to by key "DeleteSubscriptionPayloadEvent:0.0.1"
620 name: DeleteSubscriptionPayloadTask
624 name: DeleteSubscriptionPayloadTask
626 UUID: 0f519117-5fea-3e4b-941f-8f778100465f
627 description: Generated description for concept referred to by key "DeleteSubscriptionPayloadTask:0.0.1"
629 name: DeleteSubscriptionRequestTask
633 name: DeleteSubscriptionRequestTask
635 UUID: acb772fe-d442-39e3-98f9-b1080caf4150
636 description: Generated description for concept referred to by key "DeleteSubscriptionRequestTask:0.0.1"
638 name: MRResponseEvent
642 name: MRResponseEvent
644 UUID: 13c747a3-6bae-3bcf-9c80-b152e01dc194
645 description: Generated description for concept referred to by key "MRResponseEvent:0.0.1"
647 name: PMControlPolicy
651 name: PMControlPolicy
653 UUID: acf1e55c-7bc5-3bd5-975a-0ca54afcd8a4
654 description: Generated description for concept referred to by key "PMControlPolicy:0.0.1"
656 name: PMControlPolicy_Albums
660 name: PMControlPolicy_Albums
662 UUID: b38ad204-c2c8-32f4-9b5a-dda0aeb0145b
663 description: Generated description for concept referred to by key "PMControlPolicy_Albums:0.0.1"
665 name: PMControlPolicy_Events
669 name: PMControlPolicy_Events
671 UUID: be3871a0-c42a-3113-a066-82d192840eca
672 description: Generated description for concept referred to by key "PMControlPolicy_Events:0.0.1"
674 name: PMControlPolicy_KeyInfo
678 name: PMControlPolicy_KeyInfo
680 UUID: ced37634-28a4-3178-b7f6-2980794927b0
681 description: Generated description for concept referred to by key "PMControlPolicy_KeyInfo:0.0.1"
683 name: PMControlPolicy_Policies
687 name: PMControlPolicy_Policies
689 UUID: be3d180d-ef9c-3a75-8e9c-84271a038bed
690 description: Generated description for concept referred to by key "PMControlPolicy_Policies:0.0.1"
692 name: PMControlPolicy_Schemas
696 name: PMControlPolicy_Schemas
698 UUID: e61973f1-189c-39e5-82f6-0d3afe298a20
699 description: Generated description for concept referred to by key "PMControlPolicy_Schemas:0.0.1"
701 name: PMControlPolicy_Tasks
705 name: PMControlPolicy_Tasks
707 UUID: 5658adb3-2962-30a3-a241-fae75bb8eb4a
708 description: Generated description for concept referred to by key "PMControlPolicy_Tasks:0.0.1"
710 name: PMSubscriptionAlbum
714 name: PMSubscriptionAlbum
716 UUID: c2bd6f0d-6854-317a-9be2-97c08338428c
717 description: Generated description for concept referred to by key "PMSubscriptionAlbum:0.0.1"
719 name: PMSubscriptionOutputEvent
723 name: PMSubscriptionOutputEvent
725 UUID: 992b7819-9f69-3aa0-bb0f-6e45ea15ce05
726 description: Generated description for concept referred to by key "PMSubscriptionOutputEvent:0.0.1"
728 name: PMSubscriptionType
732 name: PMSubscriptionType
734 UUID: 73c1c397-4fc3-357f-93b6-a8ad707fbaae
735 description: Generated description for concept referred to by key "PMSubscriptionType:0.0.1"
737 name: ReceiveEventPolicy
741 name: ReceiveEventPolicy
743 UUID: 568b7345-9de1-36d3-b6a3-9b857e6809a1
744 description: Generated description for concept referred to by key "ReceiveEventPolicy:0.0.1"
746 name: ReceiveSubscriptionTask
750 name: ReceiveSubscriptionTask
752 UUID: f596afc8-100c-35eb-92c8-352355ea457d
753 description: Generated description for concept referred to by key "ReceiveSubscriptionTask:0.0.1"
761 UUID: 153791fd-ae0a-36a7-88a5-309a7936415d
762 description: Generated description for concept referred to by key "SimpleIntType:0.0.1"
764 name: SimpleStringType
768 name: SimpleStringType
770 UUID: 8a4957cf-9493-3a76-8c22-a208e23259af
771 description: Generated description for concept referred to by key "SimpleStringType:0.0.1"
773 name: SubscriptionStatusType
777 name: SubscriptionStatusType
779 UUID: 597643b1-9db1-31ce-85d0-e1c63c43b30b
780 description: Generated description for concept referred to by key "SubscriptionStatusType:0.0.1"
782 name: SubscriptionType
786 name: SubscriptionType
788 UUID: 184547bb-7d64-3cb2-a273-d7185102c5ce
789 description: Generated description for concept referred to by key "SubscriptionType:0.0.1"
797 UUID: 6a8cc68e-dfc8-3403-9c6d-071c886b319c
798 description: Generated description for concept referred to by key "UUIDType:0.0.1"
800 name: pmsh-operational-policy
804 name: pmsh-operational-policy
806 UUID: fdf2c9ff-6422-3ea6-b6b6-49b12116265d
807 description: Generated description for concept referred to by key "pmsh-operational-policy:0.0.1"
810 name: PMControlPolicy_Policies
815 name: CDSCreateResponsePolicy
819 name: CDSCreateResponsePolicy
824 - key: CDSCreateResponseState
827 parentKeyName: CDSCreateResponsePolicy
828 parentKeyVersion: 0.0.1
829 parentLocalName: 'NULL'
830 localName: CDSCreateResponseState
832 name: CDSCreateResponseEvent
836 - key: ResponseOutput
839 parentKeyName: CDSCreateResponsePolicy
840 parentKeyVersion: 0.0.1
841 parentLocalName: CDSCreateResponseState
842 localName: ResponseOutput
844 name: CDSResponseStatusEvent
847 parentKeyName: 'NULL'
848 parentKeyVersion: 0.0.0
849 parentLocalName: 'NULL'
851 contextAlbumReference: []
854 logicFlavour: UNDEFINED
856 stateFinalizerLogicMap:
859 name: CDSCreateResponseTask
864 name: CDSCreateResponseTask
868 parentKeyName: CDSCreateResponsePolicy
869 parentKeyVersion: 0.0.1
870 parentLocalName: CDSCreateResponseState
871 localName: CDSCreateResponsePolicy
874 parentKeyName: CDSCreateResponsePolicy
875 parentKeyVersion: 0.0.1
876 parentLocalName: CDSCreateResponseState
877 localName: ResponseOutput
878 firstState: CDSCreateResponseState
880 name: CDSDeleteResponsePolicy
884 name: CDSDeleteResponsePolicy
889 - key: CDSDeleteResponseState
892 parentKeyName: CDSDeleteResponsePolicy
893 parentKeyVersion: 0.0.1
894 parentLocalName: 'NULL'
895 localName: CDSDeleteResponseState
897 name: CDSDeleteResponseEvent
901 - key: ResponseOutput
904 parentKeyName: CDSDeleteResponsePolicy
905 parentKeyVersion: 0.0.1
906 parentLocalName: CDSDeleteResponseState
907 localName: ResponseOutput
909 name: CDSResponseStatusEvent
912 parentKeyName: 'NULL'
913 parentKeyVersion: 0.0.0
914 parentLocalName: 'NULL'
916 contextAlbumReference: []
919 logicFlavour: UNDEFINED
921 stateFinalizerLogicMap:
924 name: CDSDeleteResponseTask
929 name: CDSDeleteResponseTask
933 parentKeyName: CDSDeleteResponsePolicy
934 parentKeyVersion: 0.0.1
935 parentLocalName: CDSDeleteResponseState
936 localName: CDSDeleteResponsePolicy
939 parentKeyName: CDSDeleteResponsePolicy
940 parentKeyVersion: 0.0.1
941 parentLocalName: CDSDeleteResponseState
942 localName: ResponseOutput
943 firstState: CDSDeleteResponseState
945 name: ReceiveEventPolicy
949 name: ReceiveEventPolicy
954 - key: CreateOrDeleteState
957 parentKeyName: ReceiveEventPolicy
958 parentKeyVersion: 0.0.1
959 parentLocalName: 'NULL'
960 localName: CreateOrDeleteState
962 name: PMSubscriptionOutputEvent
966 - key: CreateSubscriptionPayload
969 parentKeyName: ReceiveEventPolicy
970 parentKeyVersion: 0.0.1
971 parentLocalName: CreateOrDeleteState
972 localName: CreateSubscriptionPayload
974 name: CreateSubscriptionPayloadEvent
977 parentKeyName: ReceiveEventPolicy
978 parentKeyVersion: 0.0.1
979 parentLocalName: 'NULL'
980 localName: CreateSubscription
981 - key: DeleteSubscriptionPayload
984 parentKeyName: ReceiveEventPolicy
985 parentKeyVersion: 0.0.1
986 parentLocalName: CreateOrDeleteState
987 localName: DeleteSubscriptionPayload
989 name: DeleteSubscriptionPayloadEvent
992 parentKeyName: ReceiveEventPolicy
993 parentKeyVersion: 0.0.1
994 parentLocalName: 'NULL'
995 localName: DeleteSubscription
996 contextAlbumReference:
997 - name: PMSubscriptionAlbum
1000 key: TaskSelectionLogic
1001 logicFlavour: JAVASCRIPT
1004 * ============LICENSE_START=======================================================
1005 * Copyright (C) 2020 Nordix. All rights reserved.
1006 * ================================================================================
1007 * Licensed under the Apache License, Version 2.0 (the "License");
1008 * you may not use this file except in compliance with the License.
1009 * You may obtain a copy of the License at
1011 * http://www.apache.org/licenses/LICENSE-2.0
1013 * Unless required by applicable law or agreed to in writing, software
1014 * distributed under the License is distributed on an "AS IS" BASIS,
1015 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1016 * See the License for the specific language governing permissions and
1017 * limitations under the License.
1019 * SPDX-License-Identifier: Apache-2.0
1020 * ============LICENSE_END=========================================================
1023 executor.logger.info(executor.subject.id);
1025 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
1026 var changeType = pmSubscriptionInfo.get("changeType").toString()
1028 executor.logger.info("Change Type is " + changeType)
1030 if ("CREATE".equals(changeType)) {
1031 executor.logger.info("Choosing to create a subscription")
1032 executor.subject.getTaskKey("CreateSubscriptionPayloadTask").copyTo(executor.selectedTask);
1034 else if ("DELETE".equals(changeType)) {
1035 executor.logger.info("Choosing to delete a subscription")
1036 executor.subject.getTaskKey("DeleteSubscriptionPayloadTask").copyTo(executor.selectedTask);
1039 //var returnValue = executor.isTrue;
1041 stateFinalizerLogicMap:
1044 name: CreateSubscriptionPayloadTask
1049 name: CreateSubscriptionPayloadTask
1053 parentKeyName: ReceiveEventPolicy
1054 parentKeyVersion: 0.0.1
1055 parentLocalName: CreateOrDeleteState
1056 localName: ReceiveEventPolicy
1059 parentKeyName: ReceiveEventPolicy
1060 parentKeyVersion: 0.0.1
1061 parentLocalName: CreateOrDeleteState
1062 localName: CreateSubscriptionPayload
1064 name: DeleteSubscriptionPayloadTask
1068 parentKeyName: ReceiveEventPolicy
1069 parentKeyVersion: 0.0.1
1070 parentLocalName: CreateOrDeleteState
1071 localName: ReceiveEventPolicy
1074 parentKeyName: ReceiveEventPolicy
1075 parentKeyVersion: 0.0.1
1076 parentLocalName: CreateOrDeleteState
1077 localName: DeleteSubscriptionPayload
1078 - key: CreateSubscription
1081 parentKeyName: ReceiveEventPolicy
1082 parentKeyVersion: 0.0.1
1083 parentLocalName: 'NULL'
1084 localName: CreateSubscription
1086 name: CreateSubscriptionPayloadEvent
1090 - key: IssueCreateSubscriptionRequestOutput
1093 parentKeyName: ReceiveEventPolicy
1094 parentKeyVersion: 0.0.1
1095 parentLocalName: CreateSubscription
1096 localName: IssueCreateSubscriptionRequestOutput
1098 name: CDSCreateSubscriptionRequestEvent
1101 parentKeyName: 'NULL'
1102 parentKeyVersion: 0.0.0
1103 parentLocalName: 'NULL'
1105 contextAlbumReference:
1106 - name: PMSubscriptionAlbum
1110 logicFlavour: UNDEFINED
1112 stateFinalizerLogicMap:
1115 name: CreateSubscriptionRequestTask
1120 name: CreateSubscriptionRequestTask
1124 parentKeyName: ReceiveEventPolicy
1125 parentKeyVersion: 0.0.1
1126 parentLocalName: CreateSubscription
1127 localName: ReceiveEventPolicy
1130 parentKeyName: ReceiveEventPolicy
1131 parentKeyVersion: 0.0.1
1132 parentLocalName: CreateSubscription
1133 localName: IssueCreateSubscriptionRequestOutput
1134 - key: DeleteSubscription
1137 parentKeyName: ReceiveEventPolicy
1138 parentKeyVersion: 0.0.1
1139 parentLocalName: 'NULL'
1140 localName: DeleteSubscription
1142 name: DeleteSubscriptionPayloadEvent
1146 - key: IssueDeleteSubscriptionRequestOutput
1149 parentKeyName: ReceiveEventPolicy
1150 parentKeyVersion: 0.0.1
1151 parentLocalName: DeleteSubscription
1152 localName: IssueDeleteSubscriptionRequestOutput
1154 name: CDSDeleteSubscriptionRequestEvent
1157 parentKeyName: 'NULL'
1158 parentKeyVersion: 0.0.0
1159 parentLocalName: 'NULL'
1161 contextAlbumReference:
1162 - name: PMSubscriptionAlbum
1166 logicFlavour: UNDEFINED
1168 stateFinalizerLogicMap:
1171 name: DeleteSubscriptionRequestTask
1176 name: DeleteSubscriptionRequestTask
1180 parentKeyName: ReceiveEventPolicy
1181 parentKeyVersion: 0.0.1
1182 parentLocalName: DeleteSubscription
1183 localName: ReceiveEventPolicy
1186 parentKeyName: ReceiveEventPolicy
1187 parentKeyVersion: 0.0.1
1188 parentLocalName: DeleteSubscription
1189 localName: IssueDeleteSubscriptionRequestOutput
1190 - key: ReceiveSubscriptionState
1193 parentKeyName: ReceiveEventPolicy
1194 parentKeyVersion: 0.0.1
1195 parentLocalName: 'NULL'
1196 localName: ReceiveSubscriptionState
1198 name: pmsh-operational-policy
1202 - key: ReceivePMSubscriptionOutput
1205 parentKeyName: ReceiveEventPolicy
1206 parentKeyVersion: 0.0.1
1207 parentLocalName: ReceiveSubscriptionState
1208 localName: ReceivePMSubscriptionOutput
1210 name: PMSubscriptionOutputEvent
1213 parentKeyName: ReceiveEventPolicy
1214 parentKeyVersion: 0.0.1
1215 parentLocalName: 'NULL'
1216 localName: CreateOrDeleteState
1217 contextAlbumReference:
1218 - name: PMSubscriptionAlbum
1222 logicFlavour: UNDEFINED
1224 stateFinalizerLogicMap:
1227 name: ReceiveSubscriptionTask
1232 name: ReceiveSubscriptionTask
1236 parentKeyName: ReceiveEventPolicy
1237 parentKeyVersion: 0.0.1
1238 parentLocalName: ReceiveSubscriptionState
1239 localName: ReceiveEventPolicy
1242 parentKeyName: ReceiveEventPolicy
1243 parentKeyVersion: 0.0.1
1244 parentLocalName: ReceiveSubscriptionState
1245 localName: ReceivePMSubscriptionOutput
1246 firstState: ReceiveSubscriptionState
1249 name: PMControlPolicy_Tasks
1254 name: CDSCreateResponseTask
1258 name: CDSCreateResponseTask
1262 - key: actionIdentifiers
1264 key: actionIdentifiers
1266 name: CDSActionIdentifiersType
1273 name: CDSResponseCommonHeaderType
1280 name: CDSCreateResponsePayloadType
1287 name: CDSResponseStatusType
1296 name: SubscriptionStatusType
1301 contextAlbumReference:
1302 - name: PMSubscriptionAlbum
1306 logicFlavour: JAVASCRIPT
1309 * ============LICENSE_START=======================================================
1310 * Copyright (C) 2020 Nordix. All rights reserved.
1311 * ================================================================================
1312 * Licensed under the Apache License, Version 2.0 (the "License");
1313 * you may not use this file except in compliance with the License.
1314 * You may obtain a copy of the License at
1316 * http://www.apache.org/licenses/LICENSE-2.0
1318 * Unless required by applicable law or agreed to in writing, software
1319 * distributed under the License is distributed on an "AS IS" BASIS,
1320 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1321 * See the License for the specific language governing permissions and
1322 * limitations under the License.
1324 * SPDX-License-Identifier: Apache-2.0
1325 * ============LICENSE_END=========================================================
1328 executor.logger.info(executor.subject.id);
1330 var commonHeader = executor.inFields.get("commonHeader")
1331 var response = executor.inFields.get("payload")
1332 var albumID = commonHeader.get("requestId")
1334 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(albumID.toString());
1335 var responseStatus = executor.subject.getOutFieldSchemaHelper("status").createNewInstance();
1337 responseStatus.put("subscriptionName", pmSubscriptionInfo.get("subscription").get("subscriptionName"))
1338 responseStatus.put("nfName", pmSubscriptionInfo.get("nfName"))
1339 responseStatus.put("changeType", pmSubscriptionInfo.get("changeType"))
1341 var status = response.get(pmSubscriptionInfo.get("changeType").toLowerCase() + "_DasH_subscription_DasH_response").get("odl_DasH_response").get("status")
1343 executor.logger.info("RESPONSE STATUS = " + status)
1345 if(status == "success") {
1346 responseStatus.put("message", "success")
1348 responseStatus.put("message", "failed")
1351 executor.outFields.put("status", responseStatus)
1353 //var returnValue = executor.isTrue;
1356 name: CDSDeleteResponseTask
1360 name: CDSDeleteResponseTask
1364 - key: actionIdentifiers
1366 key: actionIdentifiers
1368 name: CDSActionIdentifiersType
1375 name: CDSResponseCommonHeaderType
1382 name: CDSDeleteResponsePayloadType
1389 name: CDSResponseStatusType
1398 name: SubscriptionStatusType
1403 contextAlbumReference:
1404 - name: PMSubscriptionAlbum
1408 logicFlavour: JAVASCRIPT
1411 * ============LICENSE_START=======================================================
1412 * Copyright (C) 2020 Nordix. All rights reserved.
1413 * ================================================================================
1414 * Licensed under the Apache License, Version 2.0 (the "License");
1415 * you may not use this file except in compliance with the License.
1416 * You may obtain a copy of the License at
1418 * http://www.apache.org/licenses/LICENSE-2.0
1420 * Unless required by applicable law or agreed to in writing, software
1421 * distributed under the License is distributed on an "AS IS" BASIS,
1422 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1423 * See the License for the specific language governing permissions and
1424 * limitations under the License.
1426 * SPDX-License-Identifier: Apache-2.0
1427 * ============LICENSE_END=========================================================
1430 executor.logger.info(executor.subject.id);
1432 var commonHeader = executor.inFields.get("commonHeader")
1433 var response = executor.inFields.get("payload")
1434 var albumID = commonHeader.get("requestId")
1436 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(albumID.toString());
1437 var responseStatus = executor.subject.getOutFieldSchemaHelper("status").createNewInstance();
1439 responseStatus.put("subscriptionName", pmSubscriptionInfo.get("subscription").get("subscriptionName"))
1440 responseStatus.put("nfName", pmSubscriptionInfo.get("nfName"))
1441 responseStatus.put("changeType", pmSubscriptionInfo.get("changeType"))
1443 var status = response.get(pmSubscriptionInfo.get("changeType").toLowerCase() + "_DasH_subscription_DasH_response").get("odl_DasH_response").get("status")
1445 executor.logger.info("RESPONSE STATUS = " + status)
1447 if(status == "success") {
1448 responseStatus.put("message", "success")
1450 responseStatus.put("message", "failed")
1453 executor.outFields.put("status", responseStatus)
1455 //var returnValue = executor.isTrue;
1458 name: CreateSubscriptionPayloadTask
1462 name: CreateSubscriptionPayloadTask
1486 name: CDSCreateSubscriptionPayloadType
1491 contextAlbumReference:
1492 - name: PMSubscriptionAlbum
1496 logicFlavour: JAVASCRIPT
1499 * ============LICENSE_START=======================================================
1500 * Copyright (C) 2020 Nordix. All rights reserved.
1501 * ================================================================================
1502 * Licensed under the Apache License, Version 2.0 (the "License");
1503 * you may not use this file except in compliance with the License.
1504 * You may obtain a copy of the License at
1506 * http://www.apache.org/licenses/LICENSE-2.0
1508 * Unless required by applicable law or agreed to in writing, software
1509 * distributed under the License is distributed on an "AS IS" BASIS,
1510 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1511 * See the License for the specific language governing permissions and
1512 * limitations under the License.
1514 * SPDX-License-Identifier: Apache-2.0
1515 * ============LICENSE_END=========================================================
1518 executor.logger.info(executor.subject.id);
1520 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
1522 var changeType = pmSubscriptionInfo.get("changeType").toLowerCase()
1524 var payloadProperties = executor.subject.getOutFieldSchemaHelper("payload").createNewSubInstance(changeType + "_DasH_subscription_DasH_properties_record");
1526 payloadProperties.put("nfName", pmSubscriptionInfo.get("nfName"))
1527 payloadProperties.put("subscriptionName", pmSubscriptionInfo.get("subscription").get("subscriptionName"))
1528 payloadProperties.put("administrativeState", pmSubscriptionInfo.get("subscription").get("administrativeState"))
1529 payloadProperties.put("fileBasedGP", pmSubscriptionInfo.get("subscription").get("fileBasedGP").toString())
1530 payloadProperties.put("fileLocation", pmSubscriptionInfo.get("subscription").get("fileLocation"))
1531 payloadProperties.put("measurementGroups", pmSubscriptionInfo.get("subscription").get("measurementGroups"))
1533 var payloadEntry = executor.subject.getOutFieldSchemaHelper("payload").createNewSubInstance("CDSRequestPayloadEntry");
1534 payloadEntry.put(changeType + "_DasH_subscription_DasH_properties", payloadProperties)
1536 var payload = executor.subject.getOutFieldSchemaHelper("payload").createNewInstance();
1537 payload.put(changeType + "_DasH_subscription_DasH_request", payloadEntry);
1539 executor.outFields.put("albumID", executor.inFields.get("albumID"))
1540 executor.outFields.put("payload", payload);
1542 //var returnValue = executor.isTrue;
1545 name: CreateSubscriptionRequestTask
1549 name: CreateSubscriptionRequestTask
1564 name: CDSCreateSubscriptionPayloadType
1569 - key: actionIdentifiers
1571 key: actionIdentifiers
1573 name: CDSActionIdentifiersType
1580 name: CDSRequestCommonHeaderType
1587 name: CDSCreateSubscriptionPayloadType
1592 contextAlbumReference:
1593 - name: PMSubscriptionAlbum
1597 logicFlavour: JAVASCRIPT
1600 * ============LICENSE_START=======================================================
1601 * Copyright (C) 2020 Nordix. All rights reserved.
1602 * ================================================================================
1603 * Licensed under the Apache License, Version 2.0 (the "License");
1604 * you may not use this file except in compliance with the License.
1605 * You may obtain a copy of the License at
1607 * http://www.apache.org/licenses/LICENSE-2.0
1609 * Unless required by applicable law or agreed to in writing, software
1610 * distributed under the License is distributed on an "AS IS" BASIS,
1611 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1612 * See the License for the specific language governing permissions and
1613 * limitations under the License.
1615 * SPDX-License-Identifier: Apache-2.0
1616 * ============LICENSE_END=========================================================
1619 executor.logger.info(executor.subject.id);
1621 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
1623 var changeType = pmSubscriptionInfo.get("changeType").toLowerCase()
1624 var blueprintName = pmSubscriptionInfo.get("blueprintName").toLowerCase()
1625 var blueprintVersion = pmSubscriptionInfo.get("blueprintVersion").toLowerCase()
1626 var payload = executor.inFields.get("payload")
1627 var actionName = changeType + "-subscription"
1629 var commonHeader = executor.subject.getOutFieldSchemaHelper("commonHeader").createNewInstance();
1630 commonHeader.put("originatorId", "sdnc");
1631 commonHeader.put("requestId", executor.inFields.get("albumID").toString());
1632 commonHeader.put("subRequestId", "sub-123456-1000");
1634 var actionIdentifiers = executor.subject.getOutFieldSchemaHelper("actionIdentifiers").createNewInstance();
1635 actionIdentifiers.put("actionName", actionName);
1636 actionIdentifiers.put("blueprintName", blueprintName);
1637 actionIdentifiers.put("blueprintVersion", blueprintVersion);
1638 actionIdentifiers.put("mode", "sync");
1640 executor.outFields.put("commonHeader", commonHeader);
1641 executor.outFields.put("actionIdentifiers", actionIdentifiers);
1642 executor.outFields.put("payload", payload);
1644 //var returnValue = executor.isTrue;
1647 name: DeleteSubscriptionPayloadTask
1651 name: DeleteSubscriptionPayloadTask
1675 name: CDSDeleteSubscriptionPayloadType
1680 contextAlbumReference:
1681 - name: PMSubscriptionAlbum
1685 logicFlavour: JAVASCRIPT
1688 * ============LICENSE_START=======================================================
1689 * Copyright (C) 2020 Nordix. All rights reserved.
1690 * ================================================================================
1691 * Licensed under the Apache License, Version 2.0 (the "License");
1692 * you may not use this file except in compliance with the License.
1693 * You may obtain a copy of the License at
1695 * http://www.apache.org/licenses/LICENSE-2.0
1697 * Unless required by applicable law or agreed to in writing, software
1698 * distributed under the License is distributed on an "AS IS" BASIS,
1699 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1700 * See the License for the specific language governing permissions and
1701 * limitations under the License.
1703 * SPDX-License-Identifier: Apache-2.0
1704 * ============LICENSE_END=========================================================
1707 executor.logger.info(executor.subject.id);
1709 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
1711 var changeType = pmSubscriptionInfo.get("changeType").toLowerCase()
1713 var payloadProperties = executor.subject.getOutFieldSchemaHelper("payload").createNewSubInstance(changeType + "_DasH_subscription_DasH_properties_record");
1715 payloadProperties.put("nfName", pmSubscriptionInfo.get("nfName"))
1716 payloadProperties.put("subscriptionName", pmSubscriptionInfo.get("subscription").get("subscriptionName"))
1717 payloadProperties.put("administrativeState", pmSubscriptionInfo.get("subscription").get("administrativeState"))
1718 payloadProperties.put("fileBasedGP", pmSubscriptionInfo.get("subscription").get("fileBasedGP").toString())
1719 payloadProperties.put("fileLocation", pmSubscriptionInfo.get("subscription").get("fileLocation"))
1720 payloadProperties.put("measurementGroups", pmSubscriptionInfo.get("subscription").get("measurementGroups"))
1722 var payloadEntry = executor.subject.getOutFieldSchemaHelper("payload").createNewSubInstance("CDSRequestPayloadEntry");
1723 payloadEntry.put(changeType + "_DasH_subscription_DasH_properties", payloadProperties)
1725 var payload = executor.subject.getOutFieldSchemaHelper("payload").createNewInstance();
1726 payload.put(changeType + "_DasH_subscription_DasH_request", payloadEntry);
1728 executor.outFields.put("albumID", executor.inFields.get("albumID"))
1729 executor.outFields.put("payload", payload);
1731 //var returnValue = executor.isTrue;
1734 name: DeleteSubscriptionRequestTask
1738 name: DeleteSubscriptionRequestTask
1753 name: CDSDeleteSubscriptionPayloadType
1758 - key: actionIdentifiers
1760 key: actionIdentifiers
1762 name: CDSActionIdentifiersType
1769 name: CDSRequestCommonHeaderType
1776 name: CDSDeleteSubscriptionPayloadType
1781 contextAlbumReference:
1782 - name: PMSubscriptionAlbum
1786 logicFlavour: JAVASCRIPT
1789 * ============LICENSE_START=======================================================
1790 * Copyright (C) 2020 Nordix. All rights reserved.
1791 * ================================================================================
1792 * Licensed under the Apache License, Version 2.0 (the "License");
1793 * you may not use this file except in compliance with the License.
1794 * You may obtain a copy of the License at
1796 * http://www.apache.org/licenses/LICENSE-2.0
1798 * Unless required by applicable law or agreed to in writing, software
1799 * distributed under the License is distributed on an "AS IS" BASIS,
1800 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1801 * See the License for the specific language governing permissions and
1802 * limitations under the License.
1804 * SPDX-License-Identifier: Apache-2.0
1805 * ============LICENSE_END=========================================================
1808 executor.logger.info(executor.subject.id);
1810 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").get(executor.inFields.get("albumID").toString())
1812 var changeType = pmSubscriptionInfo.get("changeType").toLowerCase()
1813 var blueprintName = pmSubscriptionInfo.get("blueprintName").toLowerCase()
1814 var blueprintVersion = pmSubscriptionInfo.get("blueprintVersion").toLowerCase()
1815 var payload = executor.inFields.get("payload")
1816 var actionName = changeType + "-subscription"
1818 var commonHeader = executor.subject.getOutFieldSchemaHelper("commonHeader").createNewInstance();
1819 commonHeader.put("originatorId", "sdnc");
1820 commonHeader.put("requestId", executor.inFields.get("albumID").toString());
1821 commonHeader.put("subRequestId", "sub-123456-1000");
1823 var actionIdentifiers = executor.subject.getOutFieldSchemaHelper("actionIdentifiers").createNewInstance();
1824 actionIdentifiers.put("actionName", actionName);
1825 actionIdentifiers.put("blueprintName", blueprintName);
1826 actionIdentifiers.put("blueprintVersion", blueprintVersion);
1827 actionIdentifiers.put("mode", "sync");
1829 executor.outFields.put("commonHeader", commonHeader);
1830 executor.outFields.put("actionIdentifiers", actionIdentifiers);
1831 executor.outFields.put("payload", payload);
1833 //var returnValue = executor.isTrue;
1836 name: ReceiveSubscriptionTask
1840 name: ReceiveSubscriptionTask
1844 - key: blueprintName
1848 name: SimpleStringType
1851 - key: blueprintVersion
1853 key: blueprintVersion
1855 name: SimpleStringType
1862 name: SimpleStringType
1865 - key: closedLoopControlName
1867 key: closedLoopControlName
1869 name: SimpleStringType
1876 name: SimpleStringType
1883 name: SimpleStringType
1890 name: SubscriptionType
1904 contextAlbumReference:
1905 - name: PMSubscriptionAlbum
1909 logicFlavour: JAVASCRIPT
1912 * ============LICENSE_START=======================================================
1913 * Copyright (C) 2020 Nordix. All rights reserved.
1914 * ================================================================================
1915 * Licensed under the Apache License, Version 2.0 (the "License");
1916 * you may not use this file except in compliance with the License.
1917 * You may obtain a copy of the License at
1919 * http://www.apache.org/licenses/LICENSE-2.0
1921 * Unless required by applicable law or agreed to in writing, software
1922 * distributed under the License is distributed on an "AS IS" BASIS,
1923 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1924 * See the License for the specific language governing permissions and
1925 * limitations under the License.
1927 * SPDX-License-Identifier: Apache-2.0
1928 * ============LICENSE_END=========================================================
1930 var uuidType = java.util.UUID;
1932 executor.logger.info(executor.subject.id);
1934 //albumID will be used to fetch info from our album later
1935 var albumID = uuidType.randomUUID();
1936 var pmSubscriptionInfo = executor.getContextAlbum("PMSubscriptionAlbum").getSchemaHelper().createNewInstance();
1937 var returnValue = true;
1939 if(executor.inFields.get("policyName") != null) {
1940 executor.logger.info("nfName in receive sub event " + executor.inFields.get("nfName"));
1942 var changeType = executor.inFields.get("changeType")
1943 var nfName = executor.inFields.get("nfName")
1944 var policyName = executor.inFields.get("policyName")
1945 var closedLoopControlName = executor.inFields.get("closedLoopControlName")
1946 var subscription = executor.inFields.get("subscription")
1947 var blueprintName = executor.inFields.get("blueprintName")
1948 var blueprintVersion = executor.inFields.get("blueprintVersion")
1950 pmSubscriptionInfo.put("nfName", executor.inFields.get("nfName"));
1951 pmSubscriptionInfo.put("changeType", executor.inFields.get("changeType"))
1952 pmSubscriptionInfo.put("policyName", executor.inFields.get("policyName"))
1953 pmSubscriptionInfo.put("closedLoopControlName", executor.inFields.get("closedLoopControlName"))
1954 pmSubscriptionInfo.put("subscription", subscription)
1955 pmSubscriptionInfo.put("blueprintName", blueprintName)
1956 pmSubscriptionInfo.put("blueprintVersion", blueprintVersion)
1959 executor.getContextAlbum("PMSubscriptionAlbum").put(albumID.toString(), pmSubscriptionInfo);
1961 executor.outFields.put("albumID", albumID)
1963 executor.message = "Received invalid event"
1964 returnValue = false;
1970 name: PMControlPolicy_Events
1975 name: CDSCreateResponseEvent
1979 name: CDSCreateResponseEvent
1981 nameSpace: org.onap.policy.apex.onap.pmcontrol
1986 - key: actionIdentifiers
1988 key: actionIdentifiers
1990 name: CDSActionIdentifiersType
1997 name: CDSResponseCommonHeaderType
2004 name: CDSCreateResponsePayloadType
2011 name: CDSResponseStatusType
2015 name: CDSCreateSubscriptionRequestEvent
2019 name: CDSCreateSubscriptionRequestEvent
2021 nameSpace: org.onap.policy.apex.onap.pmcontrol
2026 - key: actionIdentifiers
2028 key: actionIdentifiers
2030 name: CDSActionIdentifiersType
2037 name: CDSRequestCommonHeaderType
2044 name: CDSCreateSubscriptionPayloadType
2048 name: CDSDeleteResponseEvent
2052 name: CDSDeleteResponseEvent
2054 nameSpace: org.onap.policy.apex.onap.pmcontrol
2059 - key: actionIdentifiers
2061 key: actionIdentifiers
2063 name: CDSActionIdentifiersType
2070 name: CDSResponseCommonHeaderType
2077 name: CDSDeleteResponsePayloadType
2084 name: CDSResponseStatusType
2088 name: CDSDeleteSubscriptionRequestEvent
2092 name: CDSDeleteSubscriptionRequestEvent
2094 nameSpace: org.onap.policy.apex.onap.pmcontrol
2099 - key: actionIdentifiers
2101 key: actionIdentifiers
2103 name: CDSActionIdentifiersType
2110 name: CDSRequestCommonHeaderType
2117 name: CDSDeleteSubscriptionPayloadType
2121 name: CDSResponseStatusEvent
2125 name: CDSResponseStatusEvent
2127 nameSpace: org.onap.policy.apex.onap.pmcontrol
2136 name: SubscriptionStatusType
2140 name: CreateSubscriptionPayloadEvent
2144 name: CreateSubscriptionPayloadEvent
2146 nameSpace: org.onap.policy.apex.onap.pmcontrol
2162 name: CDSCreateSubscriptionPayloadType
2166 name: DeleteSubscriptionPayloadEvent
2170 name: DeleteSubscriptionPayloadEvent
2172 nameSpace: org.onap.policy.apex.onap.pmcontrol
2188 name: CDSDeleteSubscriptionPayloadType
2192 name: MRResponseEvent
2196 name: MRResponseEvent
2198 nameSpace: org.onap.policy.apex.onap.pmcontrol
2218 name: PMSubscriptionOutputEvent
2222 name: PMSubscriptionOutputEvent
2224 nameSpace: org.onap.policy.apex.onap.pmcontrol
2237 name: pmsh-operational-policy
2241 name: pmsh-operational-policy
2243 nameSpace: org.onap.policy.apex.onap.pmcontrol
2248 - key: blueprintName
2252 name: SimpleStringType
2255 - key: blueprintVersion
2257 key: blueprintVersion
2259 name: SimpleStringType
2266 name: SimpleStringType
2269 - key: closedLoopControlName
2271 key: closedLoopControlName
2273 name: SimpleStringType
2280 name: SimpleStringType
2287 name: SimpleStringType
2294 name: SubscriptionType
2299 name: PMControlPolicy_Albums
2304 name: PMSubscriptionAlbum
2308 name: PMSubscriptionAlbum
2313 name: PMSubscriptionType
2317 name: PMControlPolicy_Schemas
2322 name: CDSActionIdentifiersType
2326 name: CDSActionIdentifiersType
2329 schemaDefinition: |-
2332 "name": "ActionIdentifiers_Type",
2333 "namespace": "org.onap.policy.apex.onap.helloworld",
2336 "name": "actionName",
2340 "name": "blueprintName",
2344 "name": "blueprintVersion",
2354 name: CDSCreateResponsePayloadType
2358 name: CDSCreateResponsePayloadType
2361 schemaDefinition: |-
2363 "name": "CreateResponsePayloadEntry",
2365 "namespace": "org.onap.policy.apex.onap.helloworld",
2368 "name": "create_DasH_subscription_DasH_response",
2370 "name": "create_DasH_subscription_DasH_response",
2374 "name": "odl_DasH_response",
2376 "name": "odl_DasH_response",
2392 name: CDSCreateSubscriptionPayloadType
2396 name: CDSCreateSubscriptionPayloadType
2399 schemaDefinition: |-
2404 "name": "CDSRequestPayloadEntry",
2407 "name": "create_DasH_subscription_DasH_properties",
2409 "name": "create_DasH_subscription_DasH_properties_record",
2417 "name": "subscriptionName",
2421 "name": "administrativeState",
2425 "name": "fileBasedGP",
2429 "name": "fileLocation",
2433 "name": "measurementGroups",
2437 "name": "measurementGroups_record",
2441 "name": "measurementGroup",
2443 "name": "measurementGroup",
2447 "name": "measurementTypes",
2451 "name": "measurementTypes_record",
2455 "name": "measurementType",
2463 "name": "managedObjectDNsBasic",
2467 "name": "managedObjectDNsBasic_record",
2492 name: CDSDeleteResponsePayloadType
2496 name: CDSDeleteResponsePayloadType
2499 schemaDefinition: |-
2501 "name": "DeleteResponsePayloadEntry",
2503 "namespace": "com.acme.avro",
2506 "name": "delete_DasH_subscription_DasH_response",
2508 "name": "delete_DasH_subscription_DasH_response",
2512 "name": "odl_DasH_response",
2514 "name": "odl_DasH_response",
2530 name: CDSDeleteSubscriptionPayloadType
2534 name: CDSDeleteSubscriptionPayloadType
2537 schemaDefinition: |-
2542 "name": "CDSRequestPayloadEntry",
2545 "name": "delete_DasH_subscription_DasH_properties",
2547 "name": "delete_DasH_subscription_DasH_properties_record",
2555 "name": "subscriptionName",
2559 "name": "administrativeState",
2563 "name": "fileBasedGP",
2567 "name": "fileLocation",
2571 "name": "measurementGroups",
2575 "name": "measurementGroups_record",
2579 "name": "measurementGroup",
2581 "name": "measurementGroup",
2585 "name": "measurementTypes",
2589 "name": "measurementTypes_record",
2593 "name": "measurementType",
2601 "name": "managedObjectDNsBasic",
2605 "name": "managedObjectDNsBasic_record",
2630 name: CDSRequestCommonHeaderType
2634 name: CDSRequestCommonHeaderType
2637 schemaDefinition: |-
2640 "name": "RequestCommonHeader_Type",
2641 "namespace": "org.onap.policy.apex.onap.helloworld",
2644 "name": "originatorId",
2648 "name": "requestId",
2652 "name": "subRequestId",
2658 name: CDSResponseCommonHeaderType
2662 name: CDSResponseCommonHeaderType
2665 schemaDefinition: |-
2668 "name": "ResponseCommonHeader_Type",
2669 "namespace": "org.onap.policy.apex.onap.helloworld",
2672 "name": "originatorId",
2676 "name": "requestId",
2680 "name": "subRequestId",
2684 "name": "timestamp",
2689 "type": ["null", "string"]
2694 name: CDSResponseStatusType
2698 name: CDSResponseStatusType
2701 schemaDefinition: |-
2704 "name": "ResponseStatus_Type",
2705 "namespace": "org.onap.policy.apex.onap.helloworld",
2712 "name": "eventType",
2716 "name": "timestamp",
2726 name: PMSubscriptionType
2730 name: PMSubscriptionType
2733 schemaDefinition: "{\n\t\"name\": \"PMSubscription\",\n\t\"type\": \"record\",\n\t\"namespace\": \"\
2734 org.onap.policy.apex.onap.pmcontrol\",\n\t\"fields\": [\n {\n \"name\": \"nfName\"\
2735 ,\n \"type\": \"string\"\n },\n\t {\n\t\t\t\"name\": \"changeType\",\n\t\t\t\"\
2736 type\": \"string\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"closedLoopControlName\",\n\t\t\t\"type\": \"\
2737 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\
2738 {\n\t\t \"name\": \"blueprintName\",\n\t\t \"type\": \"string\"\n\t\t},\n\t\t{\n\t\t \"name\"\
2739 : \"blueprintVersion\",\n\t\t \"type\": \"string\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"subscription\"\
2740 ,\n\t\t\t\"type\": {\n\t\t\t\t\"name\": \"subscription\",\n\t\t\t\t\"type\": \"record\",\n\t\t\t\t\
2741 \"fields\": [{\n\t\t\t\t\t\t\"name\": \"subscriptionName\",\n\t\t\t\t\t\t\"type\": \"string\"\n\t\t\
2742 \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\"\
2743 \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\"\
2744 \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\"\
2745 \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\
2746 \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\"\
2747 ,\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\"\
2748 : \"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\"\
2749 ,\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\
2750 \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\
2751 \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\"\
2752 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\
2753 \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\
2754 \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\
2755 \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\
2756 \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\
2757 \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\
2758 \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\"\
2759 ,\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\
2760 \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\
2761 \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\
2762 \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\
2772 schemaDefinition: java.lang.Integer
2774 name: SimpleStringType
2778 name: SimpleStringType
2781 schemaDefinition: java.lang.String
2783 name: SubscriptionStatusType
2787 name: SubscriptionStatusType
2790 schemaDefinition: |-
2793 "name": "ActivateSubscriptionStatus_Type",
2794 "namespace": "org.onap.policy.apex.onap.helloworld",
2797 "name": "subscriptionName",
2805 "name": "changeType",
2815 name: SubscriptionType
2819 name: SubscriptionType
2822 schemaDefinition: "{\n\t\"name\": \"subscription\",\n\t\"type\": \"record\",\n\t\"fields\": [{\n\t\t\
2823 \t\"name\": \"subscriptionName\",\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"administrativeState\"\
2824 ,\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"fileBasedGP\",\n\t\t\t\"type\": \"\
2825 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\
2826 {\n\t\t\t\"name\": \"measurementGroups\",\n\t\t\t\"type\": {\n\t\t\t\t\"type\": \"array\",\n\t\t\t\
2827 \t\"items\": {\n\t\t\t\t\t\"name\": \"Measurement_Groups_Type\",\n\t\t\t\t\t\"type\": \"record\",\n\
2828 \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\
2829 \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\
2830 \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\"\
2831 : {\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\
2832 \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\
2833 \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\
2834 \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\
2835 }\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\
2836 \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\"\
2837 : {\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\"\
2838 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\"\
2839 ,\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\
2840 \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\
2841 \t\t}\n\t\t}\n\t]\n}"
2850 schemaDefinition: java.util.UUID
2854 parameterClassName: org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters
2856 parameterClassName: org.onap.policy.apex.context.parameters.ContextParameters
2859 parameterClassName: org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters
2861 parameterClassName: org.onap.policy.apex.context.impl.schema.java.JavaSchemaHelperParameters
2864 adaptedClass: java.time.Instant
2865 adaptorClass: org.onap.policy.controlloop.util.Serialization$GsonInstantAdapter
2866 eventInputParameters:
2868 carrierTechnologyParameters:
2869 carrierTechnology: RESTCLIENT
2870 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters
2872 consumerPollTime: '50'
2873 url: https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT/cg1/sg1
2874 eventProtocolParameters:
2877 nameAlias: policyName
2878 eventName: pmsh-operational-policy
2879 eventNameFilter: pmsh-operational-policy
2881 carrierTechnologyParameters:
2882 carrierTechnology: RESTREQUESTOR
2883 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
2885 url: http://10.10.10.184:30254/api/v1/execution-service/process
2887 restRequestTimeout: 2000
2890 - Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
2891 eventProtocolParameters:
2893 eventName: CDSCreateResponseEvent
2894 eventNameFilter: CDSCreateResponseEvent
2896 requestorPeer: CDSRequestProducer
2897 requestorTimeout: 500
2898 CDSDeleteRequestConsumer:
2899 carrierTechnologyParameters:
2900 carrierTechnology: RESTREQUESTOR
2901 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
2903 url: http://10.10.10.184:30254/api/v1/execution-service/process
2905 restRequestTimeout: 2000
2908 - Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
2909 eventProtocolParameters:
2911 eventName: CDSDeleteResponseEvent
2912 eventNameFilter: CDSDeleteResponseEvent
2914 requestorPeer: CDSDeleteRequestProducer
2915 requestorTimeout: 500
2917 carrierTechnologyParameters:
2918 carrierTechnology: RESTREQUESTOR
2919 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
2921 url: https://message-router:3905/events/unauthenticated.PMSH_CL_INPUT
2923 restRequestTimeout: 2000
2924 eventProtocolParameters:
2926 eventName: MRResponseEvent
2927 eventNameFilter: MRResponseEvent
2929 requestorPeer: CDSReplyProducer
2930 requestorTimeout: 500
2931 eventOutputParameters:
2933 carrierTechnologyParameters:
2934 carrierTechnology: FILE
2936 fileName: /tmp/outputevents.log
2937 eventProtocolParameters:
2940 carrierTechnologyParameters:
2941 carrierTechnology: FILE
2944 eventProtocolParameters:
2947 carrierTechnologyParameters:
2948 carrierTechnology: RESTREQUESTOR
2949 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
2950 eventProtocolParameters:
2952 eventNameFilter: CDSCreateSubscriptionRequestEvent
2954 requestorPeer: CDSRequestConsumer
2955 requestorTimeout: 500
2956 CDSDeleteRequestProducer:
2957 carrierTechnologyParameters:
2958 carrierTechnology: RESTREQUESTOR
2959 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
2960 eventProtocolParameters:
2962 eventNameFilter: CDSDeleteSubscriptionRequestEvent
2964 requestorPeer: CDSDeleteRequestConsumer
2965 requestorTimeout: 500
2967 carrierTechnologyParameters:
2968 carrierTechnology: RESTREQUESTOR
2969 parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters
2970 eventProtocolParameters:
2972 eventNameFilter: CDSResponseStatusEvent
2974 requestorPeer: CDSReplyConsumer
2975 requestorTimeout: 500