Update to use datastore.creation.script.template.url
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/c0aaf80f Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/c0aaf80f Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/c0aaf80f Branch: refs/heads/master Commit: c0aaf80f12e0c284c804eb618805221dc5d03d13 Parents: 767a716 Author: Paul Campbell <paul.campb...@cloudsoft.io> Authored: Fri Aug 24 12:50:16 2018 +0100 Committer: Paul Campbell <paul.campb...@cloudsoft.io> Committed: Fri Aug 24 12:50:16 2018 +0100 ---------------------------------------------------------------------- .../appserver-clustered-w-db-concise.yaml | 2 +- .../example_yaml/appserver-clustered-w-db.yaml | 2 +- .../appserver-w-db-other-flavor.yaml | 2 +- .../blueprints/example_yaml/appserver-w-db.yaml | 2 +- .../example_yaml/appserver-w-policy.yaml | 2 +- .../testcases/getting-started-test-example.yaml | 2 +- guide/ops/cli/cli-usage-guide.md | 20 ++++++++++---------- guide/ops/gui/_my-web-cluster.yaml | 2 +- guide/ops/gui/_my-web-cluster2.yaml | 2 +- guide/start/_my-web-cluster.yaml | 2 +- guide/start/_my-web-cluster2.yaml | 2 +- 11 files changed, 20 insertions(+), 20 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/c0aaf80f/guide/blueprints/example_yaml/appserver-clustered-w-db-concise.yaml ---------------------------------------------------------------------- diff --git a/guide/blueprints/example_yaml/appserver-clustered-w-db-concise.yaml b/guide/blueprints/example_yaml/appserver-clustered-w-db-concise.yaml index f4176fa..24b3682 100644 --- a/guide/blueprints/example_yaml/appserver-clustered-w-db-concise.yaml +++ b/guide/blueprints/example_yaml/appserver-clustered-w-db-concise.yaml @@ -12,4 +12,4 @@ services: name: DB HelloWorld Visitors brooklyn.config: creation.script.password: $brooklyn:external("brooklyn-demo-sample", "hidden-brooklyn-password") - datastore.creation.script.url: https://github.com/apache/brooklyn-library/blob/master/examples/simple-web-cluster/src/main/resources/visitors-creation-script.sql + datastore.creation.script.template.url: https://github.com/apache/brooklyn-library/blob/master/examples/simple-web-cluster/src/main/resources/visitors-creation-script.sql http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/c0aaf80f/guide/blueprints/example_yaml/appserver-clustered-w-db.yaml ---------------------------------------------------------------------- diff --git a/guide/blueprints/example_yaml/appserver-clustered-w-db.yaml b/guide/blueprints/example_yaml/appserver-clustered-w-db.yaml index 024cc4d..46d55d6 100644 --- a/guide/blueprints/example_yaml/appserver-clustered-w-db.yaml +++ b/guide/blueprints/example_yaml/appserver-clustered-w-db.yaml @@ -22,5 +22,5 @@ services: name: DB HelloWorld Visitors brooklyn.config: creation.script.password: $brooklyn:external("brooklyn-demo-sample", "hidden-brooklyn-password") - datastore.creation.script.url: https://github.com/apache/brooklyn-library/blob/master/examples/simple-web-cluster/src/main/resources/visitors-creation-script.sql + datastore.creation.script.template.url: https://github.com/apache/brooklyn-library/blob/master/examples/simple-web-cluster/src/main/resources/visitors-creation-script.sql http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/c0aaf80f/guide/blueprints/example_yaml/appserver-w-db-other-flavor.yaml ---------------------------------------------------------------------- diff --git a/guide/blueprints/example_yaml/appserver-w-db-other-flavor.yaml b/guide/blueprints/example_yaml/appserver-w-db-other-flavor.yaml index fe4013c..2132a7e 100644 --- a/guide/blueprints/example_yaml/appserver-w-db-other-flavor.yaml +++ b/guide/blueprints/example_yaml/appserver-w-db-other-flavor.yaml @@ -18,6 +18,6 @@ services: name: DB HelloWorld Visitors brooklyn.config: creation.script.password: $brooklyn:external("brooklyn-demo-sample", "hidden-brooklyn-password") - datastore.creation.script.url: https://github.com/apache/brooklyn-library/raw/master/examples/simple-web-cluster/src/main/resources/visitors-creation-script.sql + datastore.creation.script.template.url: https://github.com/apache/brooklyn-library/raw/master/examples/simple-web-cluster/src/main/resources/visitors-creation-script.sql provisioning.properties: minRam: 8192 http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/c0aaf80f/guide/blueprints/example_yaml/appserver-w-db.yaml ---------------------------------------------------------------------- diff --git a/guide/blueprints/example_yaml/appserver-w-db.yaml b/guide/blueprints/example_yaml/appserver-w-db.yaml index 5510ba7..3555fcd 100644 --- a/guide/blueprints/example_yaml/appserver-w-db.yaml +++ b/guide/blueprints/example_yaml/appserver-w-db.yaml @@ -18,4 +18,4 @@ services: name: DB HelloWorld Visitors brooklyn.config: creation.script.password: $brooklyn:external("brooklyn-demo-sample", "hidden-brooklyn-password") - datastore.creation.script.url: https://github.com/apache/brooklyn-library/raw/master/examples/simple-web-cluster/src/main/resources/visitors-creation-script.sql + datastore.creation.script.template.url: https://github.com/apache/brooklyn-library/raw/master/examples/simple-web-cluster/src/main/resources/visitors-creation-script.sql http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/c0aaf80f/guide/blueprints/example_yaml/appserver-w-policy.yaml ---------------------------------------------------------------------- diff --git a/guide/blueprints/example_yaml/appserver-w-policy.yaml b/guide/blueprints/example_yaml/appserver-w-policy.yaml index 6ebe087..7c5315f 100644 --- a/guide/blueprints/example_yaml/appserver-w-policy.yaml +++ b/guide/blueprints/example_yaml/appserver-w-policy.yaml @@ -30,4 +30,4 @@ services: name: DB HelloWorld Visitors brooklyn.config: creation.script.password: $brooklyn:external("brooklyn-demo-sample", "hidden-brooklyn-password") - datastore.creation.script.url: https://github.com/apache/brooklyn-library/raw/master/examples/simple-web-cluster/src/main/resources/visitors-creation-script.sql + datastore.creation.script.template.url: https://github.com/apache/brooklyn-library/raw/master/examples/simple-web-cluster/src/main/resources/visitors-creation-script.sql http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/c0aaf80f/guide/blueprints/test/example_yaml/testcases/getting-started-test-example.yaml ---------------------------------------------------------------------- diff --git a/guide/blueprints/test/example_yaml/testcases/getting-started-test-example.yaml b/guide/blueprints/test/example_yaml/testcases/getting-started-test-example.yaml index 788dabf..4a77255 100644 --- a/guide/blueprints/test/example_yaml/testcases/getting-started-test-example.yaml +++ b/guide/blueprints/test/example_yaml/testcases/getting-started-test-example.yaml @@ -21,7 +21,7 @@ services: name: My DB brooklyn.config: creation.script.password: $brooklyn:external("brooklyn-demo-sample", "hidden-brooklyn-password") - datastore.creation.script.url: https://bit.ly/brooklyn-visitors-creation-script + datastore.creation.script.template.url: https://bit.ly/brooklyn-visitors-creation-script - type: org.apache.brooklyn.test.framework.TestHttpCall name: Check HTTP Response Status Code brooklyn.config: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/c0aaf80f/guide/ops/cli/cli-usage-guide.md ---------------------------------------------------------------------- diff --git a/guide/ops/cli/cli-usage-guide.md b/guide/ops/cli/cli-usage-guide.md index f6fcd84..c5c18db 100644 --- a/guide/ops/cli/cli-usage-guide.md +++ b/guide/ops/cli/cli-usage-guide.md @@ -109,14 +109,14 @@ command: ```text $ br app WebCluster entity thHnLFkP config -Key Value -install.unique_label MySqlNode_5.6.26 -brooklyn.wrapper_app true -datastore.creation.script.url https://bit.ly/brooklyn-visitors-creation-script -camp.template.id dnw3GqN0 -camp.plan.id db -onbox.base.dir /home/vagrant/brooklyn-managed-processes -onbox.base.dir.resolved true +Key Value +install.unique_label MySqlNode_5.6.26 +brooklyn.wrapper_app true +datastore.creation.script.template.url https://bit.ly/brooklyn-visitors-creation-script +camp.template.id dnw3GqN0 +camp.plan.id db +onbox.base.dir /home/vagrant/brooklyn-managed-processes +onbox.base.dir.resolved true ``` @@ -124,14 +124,14 @@ The value of a single configuration item can be displayed by using the configura as a parameter for the `config` command: ```text -$ br app WebCluster entity thHnLFkP config datastore.creation.script.url +$ br app WebCluster entity thHnLFkP config datastore.creation.script.template.url https://bit.ly/brooklyn-visitors-creation-script ``` The value of a configuration item can be changed by using the `set` command: ```text -$ br app WebCluster entity thHnLFkP config datastore.creation.script.url set \"https://bit.ly/new-script\" +$ br app WebCluster entity thHnLFkP config datastore.creation.script.template.url set \"https://bit.ly/new-script\" ``` ## Sensors http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/c0aaf80f/guide/ops/gui/_my-web-cluster.yaml ---------------------------------------------------------------------- diff --git a/guide/ops/gui/_my-web-cluster.yaml b/guide/ops/gui/_my-web-cluster.yaml index 65e01c1..9ec2674 100644 --- a/guide/ops/gui/_my-web-cluster.yaml +++ b/guide/ops/gui/_my-web-cluster.yaml @@ -21,4 +21,4 @@ services: id: db brooklyn.config: creation.script.password: $brooklyn:external("brooklyn-demo-sample", "hidden-brooklyn-password") - datastore.creation.script.url: https://bit.ly/brooklyn-visitors-creation-script \ No newline at end of file + datastore.creation.script.template.url: https://bit.ly/brooklyn-visitors-creation-script \ No newline at end of file http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/c0aaf80f/guide/ops/gui/_my-web-cluster2.yaml ---------------------------------------------------------------------- diff --git a/guide/ops/gui/_my-web-cluster2.yaml b/guide/ops/gui/_my-web-cluster2.yaml index fd0fef5..165c7b1 100644 --- a/guide/ops/gui/_my-web-cluster2.yaml +++ b/guide/ops/gui/_my-web-cluster2.yaml @@ -29,4 +29,4 @@ services: name: My DB brooklyn.config: creation.script.password: $brooklyn:external("brooklyn-demo-sample", "hidden-brooklyn-password") - datastore.creation.script.url: https://bit.ly/brooklyn-visitors-creation-script + datastore.creation.script.template.url: https://bit.ly/brooklyn-visitors-creation-script http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/c0aaf80f/guide/start/_my-web-cluster.yaml ---------------------------------------------------------------------- diff --git a/guide/start/_my-web-cluster.yaml b/guide/start/_my-web-cluster.yaml index 6cccedd..e79a88a 100644 --- a/guide/start/_my-web-cluster.yaml +++ b/guide/start/_my-web-cluster.yaml @@ -21,4 +21,4 @@ services: id: db brooklyn.config: creation.script.password: $brooklyn:external("brooklyn-demo-sample", "hidden-brooklyn-password") - datastore.creation.script.url: https://bit.ly/brooklyn-visitors-creation-script + datastore.creation.script.template.url: https://bit.ly/brooklyn-visitors-creation-script http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/c0aaf80f/guide/start/_my-web-cluster2.yaml ---------------------------------------------------------------------- diff --git a/guide/start/_my-web-cluster2.yaml b/guide/start/_my-web-cluster2.yaml index fd0fef5..165c7b1 100644 --- a/guide/start/_my-web-cluster2.yaml +++ b/guide/start/_my-web-cluster2.yaml @@ -29,4 +29,4 @@ services: name: My DB brooklyn.config: creation.script.password: $brooklyn:external("brooklyn-demo-sample", "hidden-brooklyn-password") - datastore.creation.script.url: https://bit.ly/brooklyn-visitors-creation-script + datastore.creation.script.template.url: https://bit.ly/brooklyn-visitors-creation-script