GitHub user aledsage opened a pull request:
https://github.com/apache/brooklyn-server/pull/91
BYON and MultiLocation resolvers: use LocationSpec for children
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/brooklyn-server
fix/byon-resolver-locationSpec-usage
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/91.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 #91
----
commit 3170a814d817df20567cf079d081644988291fd7
Author: Aled Sage <[email protected]>
Date: 2016-03-30T12:50:25Z
BYON resolver: use LocationSpec for machines
Avoid instantiating the machine locations in the resolver, as that
causes us to manage (and never unmanage) them.
commit 0a3f8347764b3cc47054373be5983307b23b3778
Author: Aled Sage <[email protected]>
Date: 2016-03-30T12:52:03Z
MultiLocation resolver: use config list of LocationSpec
Similar to ByonResolver, use a separate config key for LocationSpecs
of child locations.
Restores backwards compatibility, by re-adding:
MultiLocation.getSubLocations()
----
---
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.
---