GitHub user aledsage opened a pull request:
https://github.com/apache/brooklyn-server/pull/141
Transformer enricher: support triggerSensors
Some uses of the transformer want to be triggered by multiple sensor
events (e.g. when they will combine two sensor values). This change
allows us to subscribe to multiple sensors, and to trigger the
evaulation when any of those change.
The sourceSensor is now optional. You can use it in the same way as
previously, or you can use just triggerSensors, or you can combine the
two. If combined, then the triggerSensors will cause us to look up the
latest value of the sourceSensor and synthesise an event as though
the source sensor had just published.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/brooklyn-server various/20160517a
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/141.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 #141
----
commit 0aba4ffd1789b3591d70b0975e0a8088fa5d7129
Author: Aled Sage <[email protected]>
Date: 2016-05-17T09:53:11Z
YAML built-in types: include boolean etc
commit 15b07e06ca913722f035a7c4687bf466edf4c512
Author: Aled Sage <[email protected]>
Date: 2016-05-17T10:08:54Z
Transformer enricher: support triggerSensors
Some uses of the transformer want to be triggered by multiple sensor
events (e.g. when they will combine two sensor values). This change
allows us to subscribe to multiple sensors, and to trigger the
evaulation when any of those change.
The sourceSensor is now optional. You can use it in the same way as
previously, or you can use just triggerSensors, or you can combine the
two. If combined, then the triggerSensors will cause us to look up the
latest value of the sourceSensor and synthesise an event as though
the source sensor had just published.
commit 4dda885cdacc97e003d6678dbebf1cbec857e3a6
Author: Aled Sage <[email protected]>
Date: 2016-05-17T10:09:09Z
TestHttpCall: fix typo in javadoc
----
---
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.
---