GitHub user aledsage reopened 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 c9db37e7a7127a418fa684f0d14810f492f84c16
Author: Aled Sage <[email protected]>
Date: 2016-05-17T09:53:11Z
YAML built-in types: include boolean etc
commit 9361eecf5052eae91e474fe10240a2b2a75a6a28
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 0894c1bd0033c146b7f0e62d12033cc32087de00
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.
---