You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by al...@apache.org on 2015/04/01 23:21:14 UTC
[3/4] incubator-brooklyn git commit: tidy-up of nodejs yaml
tidy-up of nodejs yaml
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/58229e5e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/58229e5e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/58229e5e
Branch: refs/heads/master
Commit: 58229e5e1afb2bf7a9b9a7e37e31c234b2ec2c7c
Parents: a08c72d
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Sat Mar 28 10:02:37 2015 -0500
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Sat Mar 28 21:27:46 2015 -0500
----------------------------------------------------------------------
.../src/main/resources/brooklyn/demo/nodejs-todo.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/58229e5e/examples/simple-web-cluster/src/main/resources/brooklyn/demo/nodejs-todo.yaml
----------------------------------------------------------------------
diff --git a/examples/simple-web-cluster/src/main/resources/brooklyn/demo/nodejs-todo.yaml b/examples/simple-web-cluster/src/main/resources/brooklyn/demo/nodejs-todo.yaml
index 8bf3f7f..ea17556 100644
--- a/examples/simple-web-cluster/src/main/resources/brooklyn/demo/nodejs-todo.yaml
+++ b/examples/simple-web-cluster/src/main/resources/brooklyn/demo/nodejs-todo.yaml
@@ -21,10 +21,10 @@ origin: "https://github.com/amirrajan/nodejs-todo/"
locations:
- jclouds:softlayer:ams01
services:
-- serviceType: brooklyn.entity.nosql.redis.RedisStore
+- type: brooklyn.entity.nosql.redis.RedisStore
id: redis
name: "Redis"
-- serviceType: brooklyn.entity.webapp.nodejs.NodeJsWebAppService
+- type: brooklyn.entity.webapp.nodejs.NodeJsWebAppService
id: nodejs
name: "Node.JS"
brooklyn.config:
@@ -48,6 +48,6 @@ services:
env:
REDISTOGO_URL: >
$brooklyn:formatString("redis://%s:%d/",
- component("redis").attributeWhenReady("host.name"),
- component("redis").attributeWhenReady("redis.port"))
+ component("redis").attributeWhenReady("host.subnet.hostname"),
+ component("redis").attributeWhenReady("redis.port"))
launch.latch: $brooklyn:component("redis").attributeWhenReady("service.isUp")
\ No newline at end of file