GitHub user alasdairhodge opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/1093
Fix/deferred location config
Resolves issues with `$brooklyn:external()` in location config:
* `TypeCoercions` resolves `DeferredSupplier` values
* locations constructed within a new execution context on
`LocalLocationManager` so that relevant context objects can be retrieved in a
consistent way
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/alasdairhodge/incubator-brooklyn
fix/deferred-location-config
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/1093.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 #1093
----
commit ba69dba8a3d45a78a64e7367553b1941966bf430
Author: Alasdair Hodge <[email protected]>
Date: 2015-12-02T18:19:05Z
Resolve DeferredSuppliers when coercing config values.
commit b2302dce07da3461247ac073b1daf9116203f96d
Author: Alasdair Hodge <[email protected]>
Date: 2015-12-02T18:20:13Z
Instantiate locations in a task context, to permit resolution of certain
DeferredSupplier config.
commit 7b7e0e0dddbb1738054b25f99a8f32d8d38a5a06
Author: Alasdair Hodge <[email protected]>
Date: 2015-12-07T12:46:12Z
Fix JcloudsLocation to use type-coercing get() method.
commit c9c7c6f23fc6eebb5c63ece64fd167b92fdef6f1
Author: Alasdair Hodge <[email protected]>
Date: 2015-12-08T10:22:59Z
Fix test assertions in response to task-based location creation.
----
---
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.
---