brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alasdairhodge <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Adds catalog item example to exte...
Date Fri, 22 Jan 2016 15:10:08 GMT
Github user alasdairhodge commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1172#discussion_r50546773
  
    --- Diff: brooklyn-docs/guide/ops/externalized-configuration.md ---
    @@ -122,6 +122,19 @@ 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:external("mysupplier", "my-blueprint-lib")
    +      item:
    +        type: com.example.MyBlueprint
    +
    +
    --- End diff --
    
    Good thing to demonstrate,but example feels a bit contrived. Perhaps show a *location*
catalog item, with user ID and credential externalised?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message