GitHub user ahgittin reopened a pull request:

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

    Port parameters docs and fixes

    Expand the "custom-entities" yaml guide (and its `netcat` example) to cover 
port inferencing.  Also add some other useful things:  parameters, catalog, and 
cluster.
    
    Several fixes/features to enable this:
    * a spec parameter can imply the creation of sensors, so port inferencing 
works from parameters
    * a `resizeMode` can easily be set for a dynamic cluster (`off`, 
`sequential`, or `parallel`)
    * a bug is fixed where driver initialization would hang if shell env vars 
had unresolved dependent config

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

    $ git pull https://github.com/ahgittin/incubator-brooklyn 
port-parameters-docs-and-fixes

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

    https://github.com/apache/incubator-brooklyn/pull/1166.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 #1166
    
----
commit 5e9012b23e2bf9ad6423a5e0ef13c7ea8153947d
Author: Alex Heneveld <[email protected]>
Date:   2016-01-21T13:22:21Z

    ensure install-label-salt-inferencing does not block
    
    otherwise setting a shell env var to include a port will cause it to block 
prematurely.
    also clean up javadoc around `getNonBlocking` behaviour.

commit 9141c99f4c0f295a3a39b75bf06b42f85650d3f4
Author: Alex Heneveld <[email protected]>
Date:   2016-01-21T13:24:15Z

    allow spec parameters to imply sensors as well as config keys;
    mainly intended for AttributeSensorAndConfigKey -- especially ports.
    
    this means param of type `port` given a range causes a sensor to be 
published with the actual value.

commit 411d3f8a3536de6e321dea14d72cdffeb9938310
Author: Alex Heneveld <[email protected]>
Date:   2016-01-21T13:17:08Z

    add more examples to `netcat` illustration,
    showing port inference, parameters, catalog, and more.

commit 624cf2ac0f7e5353f685bcdba296f329bceeebf2
Author: Alex Heneveld <[email protected]>
Date:   2016-01-21T13:34:02Z

    start fleshing out release notes, including reference to the new parameters 
example

commit ecbd90e22c989c7d24983942b7426c8a17c29463
Author: Alex Heneveld <[email protected]>
Date:   2016-01-21T13:55:30Z

    support dynamic cluster restart

commit 03725f4cc582ad5870c34c4437fcd1f4e6f1926c
Author: Alex Heneveld <[email protected]>
Date:   2016-01-22T11:58:16Z

    revert generics change as it causes inconsistent failures in different JVM's

----


---
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