GitHub user aledsage opened a pull request:
https://github.com/apache/brooklyn-server/pull/763
Add 'first' to aggregator
Use case is that we have a cluster - we want to propagate the sensor form
any of the cluster's members, where that value is not null (in the same format
as the child's value).
This is important for the cluster to be used in the same way as a simple
child might be used (for "substitutability" of entity types, in object-oriented
terms).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/brooklyn-server
add-first-to-aggregator
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/763.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 #763
----
commit ec01ecbf49698888e17f1f40a69e54f7e3bd27e1
Author: Aled Sage <[email protected]>
Date: 2017-07-14T14:24:13Z
Adds coercion for simple string->predicate
commit d99e932b57eab13136d0488ed798038b04d8a27e
Author: Aled Sage <[email protected]>
Date: 2017-07-14T14:24:48Z
Adds Aggregator for âfirstâ (and adds yaml tests)
----
---
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.
---