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 8EE572009F3 for ; Fri, 20 May 2016 11:13:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8DB42160A2D; Fri, 20 May 2016 09:13:27 +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 E03771609AF for ; Fri, 20 May 2016 11:13:26 +0200 (CEST) Received: (qmail 50801 invoked by uid 500); 20 May 2016 09:13:26 -0000 Mailing-List: contact commits-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 commits@brooklyn.apache.org Received: (qmail 50786 invoked by uid 99); 20 May 2016 09:13:26 -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; Fri, 20 May 2016 09:13:26 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 05B53DFABC; Fri, 20 May 2016 09:13:26 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sjcorbett@apache.org To: commits@brooklyn.apache.org Date: Fri, 20 May 2016 09:13:26 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/7] brooklyn-docs git commit: Updating port inferencing documentation archived-at: Fri, 20 May 2016 09:13:27 -0000 Repository: brooklyn-docs Updated Branches: refs/heads/master d0376bdaa -> 3b99db2da Updating port inferencing documentation Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/ad61cbca Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/ad61cbca Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/ad61cbca Branch: refs/heads/master Commit: ad61cbcae87c9e7f964e1769aa20edb34b837d8d Parents: 7c41f83 Author: Kiuby88 Authored: Fri May 13 14:37:09 2016 +0200 Committer: Kiuby88 Committed: Fri May 13 14:37:09 2016 +0200 ---------------------------------------------------------------------- guide/yaml/custom-entities.md | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/ad61cbca/guide/yaml/custom-entities.md ---------------------------------------------------------------------- diff --git a/guide/yaml/custom-entities.md b/guide/yaml/custom-entities.md index 9698aa8..69d0d02 100644 --- a/guide/yaml/custom-entities.md +++ b/guide/yaml/custom-entities.md @@ -75,6 +75,10 @@ In addition, any such config key will be opened, irrespective of whether it matches the `inboundPorts.configRegex`. To prevent any inferencing of ports to open, you can set the config `inboundPorts.autoInfer` to `false`. +Furthermore, the port inferencing capability takes in account static `ConfigKey` fields that +are defined on any Entity sub-class. So, `ConfigKey` fields that are based on `PortRanges` type will +be also included as required open ports. + Note that in the example above, `netcat.port` must be specified in a `brooklyn.config` block. This block can be used to hold any config (including for example the `launch.command`), but for convenience Brooklyn allows config keys declared on the underlying type