GitHub user aledsage opened a pull request:

    https://github.com/apache/brooklyn-server/pull/897

    Add ElectPrimaryPolicy (and enrichers) to catalog.bom

    Confirmed that these policies and enrichers are now listed in the catalog.
    
    Successfully used them in a simplistic example:
    ```
    location: localhost
    services:
      - type: org.apache.brooklyn.entity.stock.BasicStartable
      - type: org.apache.brooklyn.entity.stock.BasicStartable
    brooklyn.policies:
      - type: org.apache.brooklyn.policy.failover.ElectPrimaryPolicy
    brooklyn.enrichers:
      - type: org.apache.brooklyn.policy.failover.PrimaryRunningEnricher
      - type: org.apache.brooklyn.policy.failover.PropagatePrimaryEnricher
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aledsage/brooklyn-server 
add-ElectPrimaryPoilcy-to-catalog

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/brooklyn-server/pull/897.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #897
    
----
commit a93469d1a7c83ffadc412e34b90497cb37a80a15
Author: Aled Sage <[email protected]>
Date:   2017-11-14T11:31:27Z

    Add ElectPrimaryPolicy (and enrichers) to catalog.bom

----


---

Reply via email to