brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drigod...@apache.org
Subject [1/2] brooklyn-docs git commit: Update config keys' deprecated names
Date Tue, 03 Oct 2017 10:27:14 GMT
Repository: brooklyn-docs
Updated Branches:
  refs/heads/master 175ad24ab -> a8eac1fc8


Update config keys' deprecated names


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/ed65bde6
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/ed65bde6
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/ed65bde6

Branch: refs/heads/master
Commit: ed65bde631f7c61b3a340fa4b60b8a7bf3cbdb21
Parents: 2d275fd
Author: Thomas Bouron <thomas.bouron@cloudsoftcorp.com>
Authored: Mon Oct 2 17:26:31 2017 +0200
Committer: Thomas Bouron <thomas.bouron@cloudsoftcorp.com>
Committed: Mon Oct 2 17:26:31 2017 +0200

----------------------------------------------------------------------
 guide/blueprints/advanced-example.md                    | 4 ++--
 guide/blueprints/ansible/creating-ansible-blueprints.md | 2 +-
 guide/blueprints/example_yaml/brooklyn-elk-catalog.bom  | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/ed65bde6/guide/blueprints/advanced-example.md
----------------------------------------------------------------------
diff --git a/guide/blueprints/advanced-example.md b/guide/blueprints/advanced-example.md
index 34395d2..786d2c5 100644
--- a/guide/blueprints/advanced-example.md
+++ b/guide/blueprints/advanced-example.md
@@ -197,7 +197,7 @@ certain conditions are met before continuing. For example:
 - type: kibana-standalone
   id: kibana
   name: Kibana Server
-  customize.latch: $brooklyn:component("es").attributeWhenReady("service.isUp")
+  latch.customize: $brooklyn:component("es").attributeWhenReady("service.isUp")
 ~~~
 
 This latch is used to stop Kibana customizing until the Elasticsearch cluster is up. We do
this to ensure 
@@ -226,7 +226,7 @@ services:
         brooklyn.config:
           launch.command: sleep 2
           checkRunning.command: true
-          launch.latch: $brooklyn:parent().attributeWhenReady("single-executor")
+          latch.launch: $brooklyn:parent().attributeWhenReady("single-executor")
 ~~~
 
 It's important to note that the above setup is not reentrant. This means that users should
be careful to

http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/ed65bde6/guide/blueprints/ansible/creating-ansible-blueprints.md
----------------------------------------------------------------------
diff --git a/guide/blueprints/ansible/creating-ansible-blueprints.md b/guide/blueprints/ansible/creating-ansible-blueprints.md
index 845f542..6f92524 100644
--- a/guide/blueprints/ansible/creating-ansible-blueprints.md
+++ b/guide/blueprints/ansible/creating-ansible-blueprints.md
@@ -151,7 +151,7 @@ There is no specific configuration in AnsibleEntity for Ansible [Roles](http://d
               - command: unzip -o -d /etc/ansible/playbooks /tmp/master.zip
     
       - serviceType: org.apache.brooklyn.entity.stock.BasicApplication
-        start.latch: $brooklyn:entity("bootstrap").attributeWhenReady("service.isUp")
+        latch.start: $brooklyn:entity("bootstrap").attributeWhenReady("service.isUp")
         brooklyn.children:
         - type: org.apache.brooklyn.entity.cm.ansible.AnsibleEntity
           name: test

http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/ed65bde6/guide/blueprints/example_yaml/brooklyn-elk-catalog.bom
----------------------------------------------------------------------
diff --git a/guide/blueprints/example_yaml/brooklyn-elk-catalog.bom b/guide/blueprints/example_yaml/brooklyn-elk-catalog.bom
index ab27d77..c3c3e60 100644
--- a/guide/blueprints/example_yaml/brooklyn-elk-catalog.bom
+++ b/guide/blueprints/example_yaml/brooklyn-elk-catalog.bom
@@ -28,7 +28,7 @@ brooklyn.catalog:
       - type: kibana-standalone
         id: kibana
         name: Kibana Server
-        customize.latch: $brooklyn:component("es").attributeWhenReady("service.isUp")
+        latch.customize: $brooklyn:component("es").attributeWhenReady("service.isUp")
         brooklyn.config:
           kibana.elasticsearch.ip: $brooklyn:component("es").attributeWhenReady("host.address.first")
           kibana.elasticsearch.port: $brooklyn:component("es").config("elasticsearch.http.port")
@@ -47,7 +47,7 @@ brooklyn.catalog:
 
       - type: org.apache.brooklyn.entity.webapp.tomcat.Tomcat8Server
         id: tomcat
-        customize.latch: $brooklyn:entity("es").attributeWhenReady("service.isUp")
+        latch.customize: $brooklyn:entity("es").attributeWhenReady("service.isUp")
         brooklyn.config:
           wars.root: "http://search.maven.org/remotecontent?filepath=org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/0.8.0-incubating/brooklyn-example-hello-world-sql-webapp-0.8.0-incubating.war"
           children.startable.mode: background_late


Mime
View raw message