Repository: brooklyn-server
Updated Branches:
  refs/heads/master 410ec8c2c -> 445b4b4dc


Add ElectPrimaryPolicy (and enrichers) to catalog.bom


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/a93469d1
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/a93469d1
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/a93469d1

Branch: refs/heads/master
Commit: a93469d1a7c83ffadc412e34b90497cb37a80a15
Parents: 410ec8c
Author: Aled Sage <[email protected]>
Authored: Tue Nov 14 11:31:27 2017 +0000
Committer: Aled Sage <[email protected]>
Committed: Tue Nov 14 11:31:27 2017 +0000

----------------------------------------------------------------------
 policy/src/main/resources/catalog.bom | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/a93469d1/policy/src/main/resources/catalog.bom
----------------------------------------------------------------------
diff --git a/policy/src/main/resources/catalog.bom 
b/policy/src/main/resources/catalog.bom
index 5abd64f..ab7796c 100644
--- a/policy/src/main/resources/catalog.bom
+++ b/policy/src/main/resources/catalog.bom
@@ -67,6 +67,14 @@ brooklyn.catalog:
         description: |
           Policy that executes an effector at a configurable time or after
           a configurable delay.
+    - id: org.apache.brooklyn.policy.failover.ElectPrimaryPolicy
+      itemType: policy
+      item:
+        type: org.apache.brooklyn.policy.failover.ElectPrimaryPolicy
+        name: Elect Primary Policy
+        description: |
+          Acts to keep exactly one of its children or members as primary, 
promoting and demoting them when required.
+          For example, used for failover in high availability or disaster 
recovery.
 
 #  Removed from catalog because 'FollowTheSunPool' cannot currently be 
configured via catalog mechanisms.
 #  Also removing associated 'BalanceableWorkerPool' etc as they are only 
useful with 'FollowTheSunPool'
@@ -123,3 +131,16 @@ brooklyn.catalog:
         type: org.apache.brooklyn.policy.ha.ServiceFailureDetector
         name: Service Failure Detector
         description: Emits a new sensor if the current entity fails
+    - id: org.apache.brooklyn.policy.failover.PrimaryRunningEnricher
+      item:
+        type: org.apache.brooklyn.policy.failover.PrimaryRunningEnricher
+        name: Primary Running
+        description: |
+          Records if the elected primary child/member is running, updating 
service state 
+          of this entity.
+    - id: org.apache.brooklyn.policy.failover.PropagatePrimaryEnricher 
+      item:
+        type: org.apache.brooklyn.policy.failover.PropagatePrimaryEnricher
+        name: Propagate Primary
+        description: Makes selected sensors mirrored from the primary to this 
entity.
+

Reply via email to