GitHub user neykov opened a pull request:

    https://github.com/apache/brooklyn-server/pull/482

    Dsl deferred execution

    Allows DSL to be applied on the return value of `attributeWhenReady` and 
`config` calls. Before the change the DSL calls are made on the 
`AttributeWhenReady` and `DslConfigSupplier` objects correspondingly. After the 
changes the value will first be resolved and then the DSL evaluated on result. 
`DslComponent` is a special case where it will not be resolved before 
evaluating the DSL as that's the expected behaviour.
    Note that this still doesn't allow for chaining `attributeWhenReady` calls 
as the result of the first call will be (presumably) an entity, but it needs to 
be a `DslComponent`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/neykov/brooklyn-server dsl-deferred-execution

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/brooklyn-server/pull/482.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 #482
    
----
commit 8f9cca595a8c8184697a7a376f784e29dd4c8570
Author: Svetoslav Neykov <[email protected]>
Date:   2016-12-08T09:27:04Z

    Basic coverage of DSL YAML parsing and evaluation

commit 012852f90d83968f2bcf7e361cc60761dab6ee39
Author: Svetoslav Neykov <[email protected]>
Date:   2016-12-08T10:29:51Z

    Deferred DSL evaluation, allowing for chaining

----


---
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.
---

Reply via email to