GitHub user aledsage opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/721
Feature: byon customization
Allows a BYON location to have more complex configuration (e.g. each
machine having its own separate map of config), including in YAML.
Also supports a MACHINE_CHOOSER config. This can be used to customize the
choice of which available machine should be returned, when obtain() is called.
The motivation is to make BYON more useful for multi-VM deployments, where
you want to pick particular machines for particular software components.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/incubator-brooklyn
feature/byon-customization
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/721.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 #721
----
commit 7b866a9ecf5aa87798c9130ade2e865a35545d88
Author: Aled Sage <[email protected]>
Date: 2015-06-26T13:36:18Z
Adds PRIVATE_ADDRESSES config to SshMachineLocation
- and same to WinRmMachineLocation
commit 09f3cc87afcf99772bf6597dc4bb2f77ed10660d
Author: Aled Sage <[email protected]>
Date: 2015-06-26T13:44:57Z
Cleanup ByonLocationResolverTest
commit 64adbb7f3b5198f2f79a13890597f0561ec0637e
Author: Aled Sage <[email protected]>
Date: 2015-06-26T13:45:54Z
Adds MACHINE_CHOOSER to FixedListMachineProvisioningLocation
Allows a function to be supplied, to choose from the set of available
machines when obtain() is called.
commit 0be24f935ef417fa9ca280e4055da8aa44f2881a
Author: Aled Sage <[email protected]>
Date: 2015-06-26T13:46:31Z
ByonLocationResolver: support complex machine config
Adds support for each machine in BYON having more complex config,
such as each having its own set of config options (where each machine
has a map of config values).
commit a310b296afb150e5ccb85bd1d56684fd651df4ba
Author: Aled Sage <[email protected]>
Date: 2015-06-26T13:47:02Z
Fix SoftwareProcessEntityTest.MyService
- Set the SERVICE_STATE_ACTUAL, rather than leaving the attribute
always saying Lifecycle.CREATED
commit 5c07519d516349d979486b502ea02ecc974fac9d
Author: Aled Sage <[email protected]>
Date: 2015-06-26T13:49:02Z
BrooklynYamlLocationResolver: donât swallow exception
Previously inresolveLocation() we were just getting the âcollapseTextâ
of the exception in the thrown toString, rather than having the
cause set. This meant that the underlying cause (e.g. of an NPE etc)
was never being logged.
Instead, set the cause when throwing the the IllegalStateException,
as well as having the nice toString.
----
---
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.
---