fix java.sysprops string
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/0b60bf28 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/0b60bf28 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/0b60bf28 Branch: refs/heads/0.7.0-incubating Commit: 0b60bf28ece59377f61e0cca3156443019379289 Parents: 2db5635 Author: Andrea Turli <[email protected]> Authored: Thu Apr 30 11:41:15 2015 +0200 Committer: Andrea Turli <[email protected]> Committed: Thu Apr 30 11:41:15 2015 +0200 ---------------------------------------------------------------------- docs/guide/start/_my-web-cluster.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/0b60bf28/docs/guide/start/_my-web-cluster.yaml ---------------------------------------------------------------------- diff --git a/docs/guide/start/_my-web-cluster.yaml b/docs/guide/start/_my-web-cluster.yaml index 166c497..ded2a69 100644 --- a/docs/guide/start/_my-web-cluster.yaml +++ b/docs/guide/start/_my-web-cluster.yaml @@ -10,7 +10,7 @@ services: wars.root: http://search.maven.org/remotecontent?filepath=io/brooklyn/example/brooklyn-example-hello-world-sql-webapp/0.6.0/brooklyn-example-hello-world-sql-webapp-0.6.0.war java.sysprops: brooklyn.example.db.url: > - $brooklyn:formatString("jdbc:%s%s?user=%s\\&password=%s", + $brooklyn:formatString("jdbc:%s%s?user=%s&password=%s", component("db").attributeWhenReady("datastore.url"), "visitors", "brooklyn", "br00k11n") @@ -18,4 +18,4 @@ services: id: db name: My DB brooklyn.config: - creationScriptUrl: https://bit.ly/brooklyn-visitors-creation-script \ No newline at end of file + creationScriptUrl: https://bit.ly/brooklyn-visitors-creation-script
