brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <>
Subject [GitHub] incubator-brooklyn pull request: Make YAML more powerful
Date Tue, 14 Apr 2015 13:40:35 GMT
Github user aledsage commented on a diff in the pull request:
    --- Diff: docs/guide/yaml/ ---
    @@ -157,12 +166,14 @@ concise DSL defined here:
     * `$brooklyn:formatString("pattern e.g. %s %s", "field 1", "field 2")` returns a future
which creates the formatted string
       with the given parameters, where parameters may be strings *or* other tasks such as
     * `$brooklyn:literal("string")` returns the given string as a literal (suppressing any
`$brooklyn:` expansion)
    -* `$brooklyn:sensor("io.brooklyn.ContainingEntityClass", "")` returns the
strongly typed sensor defined in the given class
    +* `$brooklyn:object(Map)` creates an object, using keys `type` to define the java type,
    --- End diff --
    Longer term, we should include an example here. Folk not familiar with yaml will likely
struggle with what `object(Map)` means.

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