...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
tosca_definitions_version: tosca_simple_yaml_1_0_0 policy_types: onap.policies.controlloop.operational.Common: derived_from: tosca.policies.Root version: 2.0.0 description: Operational Policy for Control Loop execution properties: id: type: String description: The unique control loop id required: true timeout: type: Integer description: Overall timeout for executing all the operations. required: true abatement: type: Boolean description: Whether an abatement event message will be expected for the control loop. required: true default: false triggeroperation: typedescription: StringList of operations to be performed when Control Loop is triggered. description: Initial operation to execute upon receiving an Onset eventrequired: messagetrue for the Control Loop. entry_schema: required: true operation: type: onap.datatype.controlloop.Operation descriptiontrigger: List of operations to be performed when Control Loop is triggered. type: String required: true description: Initial operation to execute upon receiving an Onset event message entry_schema:for the Control Loop. typerequired: onap.datatype.controlloop.Operationtrue onap.policies.controlloop.operational.Apex: derived_from: onap.policies.controlloop.operational.Common version: 1.0.0 description: Operational policies for Apex PDP properties: onap.policies.controlloop.operational.Drools: derived_from: onap.policies.controlloop.operational.Common version: 1.0.0 description: Operational policies for Drools PDP properties: controller: description: Drools controller properties required: true entry_schema: type: onap.datatype:controlloop.controller.Drools data_types: onap.datatype.controlloop.controller.Drools: derived_from: tosca.datatypes.Root version: 1.0.0 description: Definition of the target type for operations during control loops properties: #TBD onap.datatype.controlloop.Operation: derived_from: tosca.datatypes.Root version: 1.0.0 description: An operation supported by an actor properties: id: type: String description: Unique identifier for the operation required: true description: type: String description: A user-friendly description of the intent for the operation required: false actor: descriptiontype: TheString actor that will perform the operation description: The actor that will perform required:the trueoperation entry_schemarequired: true operation: type: onap.nodetype.controlloop.Actor operationtype: String description: The operation the actor should perform on the target required: true entry_schema: type: onap.datatype.controlloop.operation target: type: String description: The target the operation is to be performed on. required: true payload: type: Map description: Optional payload that is passed from the policy to the actor for operation execution. required: false timeout: type: Integer description: The amount of time for the actor to perform the operation. required: true retries: type: Integer description: The number of retries the actor should attempt to perform the operation. required: true default: 0 success: type: String description: Points to the operation to invoke on success. A value of "final_success" indicates and end to the operation. required: false default: final_success failure: type: String description: Points to the operation to invoke on Actor operation failure. required: false default: final_failure failure_timeout: description: Points to the operation to invoke when the time out for the operation occurs. required: false default: final_failure_timeout failure_retries: description: Points to the operation to invoke when the current operation has exceeded its max retries. required: false default: final_failure_retries failure_exception: description: Points to the operation to invoke when the current operation causes an exception. required: false default: final_failure_exception failure_guard: description: Points to the operation to invoke when the current operation is blocked due to guard policy enforcement. required: false default: final_failure_guard |
Issue: The "policies" property can be confusing with the TOSCA Topology Template value "policies".
...