Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 848A9200D36 for ; Mon, 6 Nov 2017 16:57:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 82C80160BEC; Mon, 6 Nov 2017 15:57:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C3CA71609E0 for ; Mon, 6 Nov 2017 16:57:05 +0100 (CET) Received: (qmail 32820 invoked by uid 500); 6 Nov 2017 15:57:04 -0000 Mailing-List: contact dev-help@brooklyn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.apache.org Delivered-To: mailing list dev@brooklyn.apache.org Received: (qmail 32554 invoked by uid 99); 6 Nov 2017 15:57:04 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2017 15:57:04 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D218EDFE15; Mon, 6 Nov 2017 15:57:02 +0000 (UTC) From: drigodwin To: dev@brooklyn.apache.org Reply-To: dev@brooklyn.apache.org References: In-Reply-To: Subject: [GitHub] brooklyn-docs pull request #231: document the new ElectPrimaryPolicy and rel... Content-Type: text/plain Message-Id: <20171106155702.D218EDFE15@git1-us-west.apache.org> Date: Mon, 6 Nov 2017 15:57:02 +0000 (UTC) archived-at: Mon, 06 Nov 2017 15:57:06 -0000 Github user drigodwin commented on a diff in the pull request: https://github.com/apache/brooklyn-docs/pull/231#discussion_r149119018 --- Diff: guide/blueprints/policies.md --- @@ -78,11 +78,18 @@ example of these working together. - org.apache.brooklyn.policy.ha.ServiceReplacer The ServiceReplacer attaches to a DynamicCluster and replaces a failed member in response to -`ha.entityFailed` (or other configurable sensor). +`ha.entityFailed` (or other configurable sensor) as typically emitted by the ServiceFailureDetector enricher. The [introduction to policies]({{book.path.docs}}/start/policies.md) shows a worked example of this policy in use. +#### ServiceFailureDetector Enricher + +- org.apache.brooklyn.policy.ha.ServiceFailureDetector + +TODO --- End diff -- I don't think we should include TODOs in the docs ---