GitHub user googlielmo opened a pull request:

    https://github.com/apache/incubator-brooklyn/pull/1148

    Better control over opening inbound ports

    Add config keys to `SoftwareProcess` governing the opening of ports based 
on sensor names, so it is explicit when you look at the config keys for the 
relevant entities.  ie, `SoftwareProcessImpl.getRequiredOpenPorts` uses a 
config key whose default value is this:
    ```
        inboundPorts.configRegex=.*\.port
    ```
    Also add a config option whose default value is this:
    ```
        inboundPorts.autoInfer=true
    ```
    If explicitly set to false, it turns off the opening of ports based on 
naming convention, and also those defined in Java entities that are of type 
PortRange.
    
    Remove duplication of code between `SameServerDriverLifecycleEffectorTasks` 
and `SoftwareProcessImpl`.
    
    Make login port (22) also a config key, not a constant, in 
`SameServerEntity`.

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

    $ git pull https://github.com/googlielmo/incubator-brooklyn 
feature/inbound-port-opening

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

    https://github.com/apache/incubator-brooklyn/pull/1148.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 #1148
    
----
commit 6b43665fa021e11447001d6d1f56eadae6a002ae
Author: Guglielmo Nigri <[email protected]>
Date:   2016-01-14T10:42:51Z

    Better control over opening inbound ports

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to