You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ge...@apache.org on 2017/12/06 14:15:17 UTC
[1/2] brooklyn-docs git commit: Race condition causing main.uri to be
null
Repository: brooklyn-docs
Updated Branches:
refs/heads/master e68aff122 -> 7984192b6
Race condition causing main.uri to be null
Fixed by adding all required sensors to triggerSensors
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/185de403
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/185de403
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/185de403
Branch: refs/heads/master
Commit: 185de40302fc26f406f402d638971f1be87d0157
Parents: e68aff1
Author: Duncan Grant <du...@cloudsoftcorp.com>
Authored: Wed Dec 6 14:07:36 2017 +0000
Committer: Duncan Grant <du...@cloudsoftcorp.com>
Committed: Wed Dec 6 14:07:36 2017 +0000
----------------------------------------------------------------------
guide/blueprints/example_yaml/vanilla-bash-netcat-catalog.bom | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/185de403/guide/blueprints/example_yaml/vanilla-bash-netcat-catalog.bom
----------------------------------------------------------------------
diff --git a/guide/blueprints/example_yaml/vanilla-bash-netcat-catalog.bom b/guide/blueprints/example_yaml/vanilla-bash-netcat-catalog.bom
index 1dfcc34..f047e5e 100644
--- a/guide/blueprints/example_yaml/vanilla-bash-netcat-catalog.bom
+++ b/guide/blueprints/example_yaml/vanilla-bash-netcat-catalog.bom
@@ -28,7 +28,9 @@ brooklyn.catalog:
- type: org.apache.brooklyn.enricher.stock.Transformer
brooklyn.config:
uniqueTag: main-uri-generator
- enricher.sourceSensor: $brooklyn:sensor("host.address")
+ enricher.triggerSensors:
+ - $brooklyn:sensor("netcat.port")
+ - $brooklyn:sensor("host.address")
enricher.targetSensor: $brooklyn:sensor("main.uri")
enricher.targetValue:
$brooklyn:formatString:
[2/2] brooklyn-docs git commit: Closes #240
Posted by ge...@apache.org.
Closes #240
Race condition causing main.uri to be null
Fixed by adding all required sensors to triggerSensors
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/7984192b
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/7984192b
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/7984192b
Branch: refs/heads/master
Commit: 7984192b604b8962eecbdb2a0f0deb90e1225664
Parents: e68aff1 185de40
Author: Geoff Macartney <ge...@cloudsoftcorp.com>
Authored: Wed Dec 6 14:15:07 2017 +0000
Committer: Geoff Macartney <ge...@cloudsoftcorp.com>
Committed: Wed Dec 6 14:15:07 2017 +0000
----------------------------------------------------------------------
guide/blueprints/example_yaml/vanilla-bash-netcat-catalog.bom | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------