GitHub user grkvlt opened a pull request:
https://github.com/apache/brooklyn-server/pull/219
Added identity method to DSL
Adds a new function to the DSL that returns an entities ID. Useful for
unique identifiers and references in blueprints. The new function can be used
as follows:
```YAML
shell.env:
ENTITY_ID: $brooklyn:identity()
OTHER_ID: $brooklyn:entity("other-entity").identity()
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/grkvlt/brooklyn-server dsl-identity
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/219.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 #219
----
commit a205c5d206e5f0c89919329ab85d0e5b797d26f1
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-06-08T17:18:47Z
Added identity method to DSL
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---