GitHub user aledsage opened a pull request: https://github.com/apache/brooklyn-ui/pull/112
DSL editor: support referencing `brooklyn.parameters` Allows a blueprint to use `brooklyn.parameters`, and to reference that parameter using the DSL editor. For example, I wrote the blueprint below in YAML (except the values of foo and bar), then switched to graphical view. I used the DSL editor to set the values for foo and bar to reference the brooklyn.parameters at the top-level app and on another entity. ``` brooklyn.config: toplevelkey: toplevelval brooklyn.parameters: - name: toplevelParam services: - type: server id: server1 brooklyn.parameters: - name: MyParameter type: string - type: server id: server2 brooklyn.config: bar: '$brooklyn:component("server1").config("MyParameter")' foo: '$brooklyn:parent().config("toplevelParam")' ``` You can merge this pull request into a Git repository by running: $ git pull https://github.com/aledsage/brooklyn-ui dsl-editor-reference-brooklyn-parameter Alternatively you can review and apply these changes as the patch at: https://github.com/apache/brooklyn-ui/pull/112.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #112 ---- commit dc8ee4e019ae581db0fe72a4d09890db566c3045 Author: Aled Sage <aled.sage@...> Date: 2018-11-21T16:55:24Z DSL editor: support referencing `brooklyn.parameters` ---- ---