Get the latest docs.
You are looking at documentation for an older release. Not what you want? Use the version selector on the top banner or click here.
policies enable you to analyze a stream of events that correspond to a group of nodes (and their instances).
policy_types section is a hash in which each item in the hash represents an policy type.
policy_types: # my_definitions.policies.my_policy1 is the policy type name my_definitions.policies.my_policy1: ... my_policy2: ...
|source||yes||string||The policy type implementation source (URL or a path relative to the blueprint root directory).|
|properties||no||dict||Optional properties schema for the policy type.|
policy_types: my_host_failure_policy: source: policies/host_failure.clj properties: policy_operates_on_group: description: The policy will maintain its state for each node instance individually. default: false is_node_started_before_workflow: description: The trigger will be processed even if node is not in the started state default: false interval_between_workflows: description: Don't check the last workflow's trigger time before launching workflow default: -1 service: description: Operate on events with an "example" being a substring of their service field default: - example
This section describes how to define a policy type. To use policy types, see the Groups specification.