GitHub user neykov opened a pull request:
https://github.com/apache/brooklyn-server/pull/607
Improve test location rebind stub
* Makes the stubbed location more functional by implementing the
getNodeMetadata, setting the location field on the NodeMetadata;
* Disabled aws hostname lookup - nothing to ssh into;
* Sets the HA manager for the new rebind management context to disabled.
This fixes it to return MASTER state. That's what the launcher does when no HA
configured.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/neykov/brooklyn-server
location-rebind-stub-improvements
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/607.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 #607
----
commit 7ce6f0d1fd229f6c31e99a89c98eb8c9f0f9fd73
Author: Svetoslav Neykov <[email protected]>
Date: 2017-03-22T16:28:51Z
Improve test location rebind stub
* Makes the stubbed location more functional by implementing the
getNodeMetadata, setting the location field on the NodeMetadata;
* Disabled aws hostname lookup - nothing to ssh into;
* Sets the HA manager for the new rebind management context to disabled.
This fixes it to return MASTER state. That's what the launcher does when no HA
configured.
----
---
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.
---