brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alasdairhodge <>
Subject [GitHub] incubator-brooklyn pull request: Adds catalog item example to exte...
Date Fri, 22 Jan 2016 17:33:06 GMT
Github user alasdairhodge commented on a diff in the pull request:
    --- Diff: brooklyn-docs/guide/ops/ ---
    @@ -122,6 +122,23 @@$brooklyn:external("mysupplier",
     {% 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("",

    +        external("mysuppier", "username"), external("mysupplier", "password"))
    +      item:
    +        type: com.example.MyBlueprint
    +Note the `>` in the example above is used to split across multiple lines.
    --- End diff --
    Much better example. I didn't realise that the `$brooklyn` prefix can be dropped inside
the scope of the function arguments; does this definitely parse? ;o)

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message