Repository: incubator-brooklyn
Updated Branches:
  refs/heads/master b28ba027e -> 80f7f6216


Adds catalog item example to externalized-configuration.md


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

Branch: refs/heads/master
Commit: 76c761b19fe43f204bcf215315b97e8411a3cba1
Parents: b28ba02
Author: Aled Sage <aled.s...@gmail.com>
Authored: Fri Jan 22 15:03:41 2016 +0000
Committer: Aled Sage <aled.s...@gmail.com>
Committed: Fri Jan 22 17:52:20 2016 +0000

----------------------------------------------------------------------
 .../guide/ops/externalized-configuration.md        | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/76c761b1/brooklyn-docs/guide/ops/externalized-configuration.md
----------------------------------------------------------------------
diff --git a/brooklyn-docs/guide/ops/externalized-configuration.md 
b/brooklyn-docs/guide/ops/externalized-configuration.md
index ea6c63c..24fd4eb 100644
--- a/brooklyn-docs/guide/ops/externalized-configuration.md
+++ b/brooklyn-docs/guide/ops/externalized-configuration.md
@@ -122,6 +122,23 @@ 
brooklyn.location.jclouds.aws-ec2.credential=$brooklyn:external("mysupplier", "a
 {% endhighlight %}
 
 
+## Referring to External Configuration in Catalog Items
+
+The same blueprint language DSL can be used within YAML catalog items. For 
example:
+
+    brooklyn.catalog:
+      id: com.example.myblueprint
+      version: 1.2.3
+      brooklyn.libraries:
+      - >
+        
$brooklyn:formatString("https://%s:%s...@repo.example.com/libs/myblueprint-1.2.3.jar";,
 
+        external("mysuppier", "username"), external("mysupplier", "password"))
+      item:
+        type: com.example.MyBlueprint
+
+Note the `>` in the example above is used to split across multiple lines.
+
+
 ## Suppliers available with Brooklyn
 
 Brooklyn ships with a number of external configuration suppliers ready to use.

Reply via email to