GitHub user alasdairhodge opened a pull request:
https://github.com/apache/brooklyn-server/pull/291
Conveniences to make groups easier to configure in YAML
* Extends `$brooklyn:object()` syntax to support parameterised constructors
and static factory methods
* Adds variants of `EntityPredicates.config()` and `attribute()` that
accept strings
* Adds variants of `EntityFunctions.config()` and `attribute()` that accept
strings
* Adds variants of `EntityFunctions.config()` and `attribute()` that accept
format specifier
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/alasdairhodge/brooklyn-server
yaml-group-enhancements
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/291.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 #291
----
commit 33647865f41649f48ce38cbda41a8cd4d9b0e94b
Author: Alasdair Hodge <[email protected]>
Date: 2016-08-05T13:25:48Z
Convenience functions to access attributes + config by name.
commit f3f39938d75aaa4ebb1132952493a186399ad30f
Author: Alasdair Hodge <[email protected]>
Date: 2016-08-05T13:26:20Z
Convenience predicates to test attributes + config by name.
commit 26af0a214f4ecfd593e821bf77bac5d9b8c7d116
Author: Alasdair Hodge <[email protected]>
Date: 2016-08-05T13:26:55Z
Improved $brooklyn:object() DSL.
- Support parameterised constructors
- Support static factory methods
----
---
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.
---