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 0D5DD200B16 for ; Mon, 20 Jun 2016 12:56:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0C464160A55; Mon, 20 Jun 2016 10:56:56 +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 49E38160A24 for ; Mon, 20 Jun 2016 12:56:55 +0200 (CEST) Received: (qmail 47783 invoked by uid 500); 20 Jun 2016 10:56:54 -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 47772 invoked by uid 99); 20 Jun 2016 10:56:54 -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, 20 Jun 2016 10:56:54 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 14807DFC6F; Mon, 20 Jun 2016 10:56:54 +0000 (UTC) From: neykov To: dev@brooklyn.apache.org Reply-To: dev@brooklyn.apache.org References: In-Reply-To: Subject: [GitHub] brooklyn-server issue #204: Move machine metrics to SoftwareProcess entity Content-Type: text/plain Message-Id: <20160620105654.14807DFC6F@git1-us-west.apache.org> Date: Mon, 20 Jun 2016 10:56:54 +0000 (UTC) archived-at: Mon, 20 Jun 2016 10:56:56 -0000 Github user neykov commented on the issue: https://github.com/apache/brooklyn-server/pull/204 Will merge after moving enricher creation to `init` method. Stopping feeds in the stop effector feels like the right thing to do. This is the practice we follow in connect/disconnectSensors and having this done out of the box will simplify entity implementations. Still think feeds need some more attention in future PRs, especially around creation. Currently we create the feeds even if it's already added to the entity (and try to handle duplicates gracefully). Rebind will start the feeds without taking into consideration the entity state. Overall feels like feed workflow needs cleanup. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---