You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by ahgittin <gi...@git.apache.org> on 2016/01/21 15:13:21 UTC

[GitHub] incubator-brooklyn pull request: Port parameters docs and fixes

GitHub user ahgittin opened 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 <al...@cloudsoftcorp.com>
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 <al...@cloudsoftcorp.com>
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 <al...@cloudsoftcorp.com>
Date:   2016-01-21T13:17:08Z

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

commit 624cf2ac0f7e5353f685bcdba296f329bceeebf2
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Date:   2016-01-21T13:34:02Z

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

commit ecbd90e22c989c7d24983942b7426c8a17c29463
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Date:   2016-01-21T13:55:30Z

    support dynamic cluster restart

----


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

[GitHub] incubator-brooklyn pull request: Port parameters docs and fixes

Posted by googlielmo <gi...@git.apache.org>.
Github user googlielmo commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1166#issuecomment-173621814
  
    @ahgittin seen that, thanks.


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

[GitHub] incubator-brooklyn pull request: Port parameters docs and fixes

Posted by ahgittin <gi...@git.apache.org>.
Github user ahgittin closed the pull request at:

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


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

[GitHub] incubator-brooklyn pull request: Port parameters docs and fixes

Posted by ahgittin <gi...@git.apache.org>.
Github user ahgittin commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1166#issuecomment-173581108
  
    /cc @murdoaird @shartzel @Graeme-Miller please feel free to extend / adapt the extended netcat example.  it's quite a good intro now i think to what's at the heart of brooklyn.
    
    see https://github.com/ahgittin/incubator-brooklyn/commit/411d3f8a3536de6e321dea14d72cdffeb9938310



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

[GitHub] incubator-brooklyn pull request: Port parameters docs and fixes

Posted by ahgittin <gi...@git.apache.org>.
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 <al...@cloudsoftcorp.com>
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 <al...@cloudsoftcorp.com>
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 <al...@cloudsoftcorp.com>
Date:   2016-01-21T13:17:08Z

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

commit 624cf2ac0f7e5353f685bcdba296f329bceeebf2
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Date:   2016-01-21T13:34:02Z

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

commit ecbd90e22c989c7d24983942b7426c8a17c29463
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Date:   2016-01-21T13:55:30Z

    support dynamic cluster restart

commit 03725f4cc582ad5870c34c4437fcd1f4e6f1926c
Author: Alex Heneveld <al...@cloudsoftcorp.com>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: Port parameters docs and fixes

Posted by ahgittin <gi...@git.apache.org>.
Github user ahgittin commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1166#issuecomment-175203968
  
    triggering retest


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

[GitHub] incubator-brooklyn pull request: Port parameters docs and fixes

Posted by ahgittin <gi...@git.apache.org>.
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 <al...@cloudsoftcorp.com>
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 <al...@cloudsoftcorp.com>
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 <al...@cloudsoftcorp.com>
Date:   2016-01-21T13:17:08Z

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

commit 624cf2ac0f7e5353f685bcdba296f329bceeebf2
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Date:   2016-01-21T13:34:02Z

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

commit ecbd90e22c989c7d24983942b7426c8a17c29463
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Date:   2016-01-21T13:55:30Z

    support dynamic cluster restart

commit 03725f4cc582ad5870c34c4437fcd1f4e6f1926c
Author: Alex Heneveld <al...@cloudsoftcorp.com>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: Port parameters docs and fixes

Posted by ahgittin <gi...@git.apache.org>.
Github user ahgittin commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1166#issuecomment-177059815
  
    merging
    
    @shartzel i'd like you to have a look at this -- feels like a few more things like this (examples and ease-of-use tweaks) in the right places would make brooklyn much easier to get started with


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

[GitHub] incubator-brooklyn pull request: Port parameters docs and fixes

Posted by ahgittin <gi...@git.apache.org>.
Github user ahgittin commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1166#issuecomment-173582774
  
    @googlielmo FYI this provides some documentation for #1148 


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

[GitHub] incubator-brooklyn pull request: Port parameters docs and fixes

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


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

[GitHub] incubator-brooklyn pull request: Port parameters docs and fixes

Posted by ahgittin <gi...@git.apache.org>.
Github user ahgittin closed the pull request at:

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


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