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 7DCF1200C05 for ; Mon, 23 Jan 2017 14:51:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7B835160B53; Mon, 23 Jan 2017 13:51:45 +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 E7855160B49 for ; Mon, 23 Jan 2017 14:51:44 +0100 (CET) Received: (qmail 41170 invoked by uid 500); 23 Jan 2017 13:51:43 -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 41106 invoked by uid 99); 23 Jan 2017 13:51:39 -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, 23 Jan 2017 13:51:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6B336DFBE6; Mon, 23 Jan 2017 13:51:39 +0000 (UTC) From: geomacy To: dev@brooklyn.apache.org Reply-To: dev@brooklyn.apache.org References: In-Reply-To: Subject: [GitHub] brooklyn-server issue #529: LocationNetworkInfoCustomizer Content-Type: text/plain Message-Id: <20170123135139.6B336DFBE6@git1-us-west.apache.org> Date: Mon, 23 Jan 2017 13:51:39 +0000 (UTC) archived-at: Mon, 23 Jan 2017 13:51:45 -0000 Github user geomacy commented on the issue: https://github.com/apache/brooklyn-server/pull/529 Will have a look through this now, however, on the points for opinion above, my 2ยข worth is: - naming: "Customizer" isn't really needed (we don't insist on e.g. VanillaSoftwareProcessEntity), and this class isn't really "Basic" (which to me refers to the "default no-op" behaviour of `BasicJcloudsLocationCustomizer`). Also "Location" doesn't add much to the description, when you already have "Network". The role of the class is about choosing which network you want, not really about "Info" as such so how about `org.apache.brooklyn.location.jclouds.NetworkPreference`. - what to extend: I suppose another way to look at it is, "if someone changes behaviour in `BasicJcloudsLocationCustomizer` is that something we would want this to inherit"? No strong feeling but I tend to think that we would want that, so it should extend it. - `publishNetworks` - I'd say prefer leaving things as separate as possible, so would suggest leaving that to a separate PR. - resolve options - will have a look. --- 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. ---