Changes DynamicCluster resize behaviour to favour the location defined on the memberspec (if present)
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/90d217dd Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/90d217dd Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/90d217dd Branch: refs/heads/master Commit: 90d217dd80a13916ce0e0777dcc3608dd1ca6fa9 Parents: 2c16216 Author: Martin Harris <[email protected]> Authored: Thu May 14 13:09:35 2015 +0100 Committer: Richard Downer <[email protected]> Committed: Thu May 28 17:27:35 2015 +0100 ---------------------------------------------------------------------- .../brooklyn/entity/drivers/ReflectiveEntityDriverFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/90d217dd/core/src/main/java/brooklyn/entity/drivers/ReflectiveEntityDriverFactory.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/brooklyn/entity/drivers/ReflectiveEntityDriverFactory.java b/core/src/main/java/brooklyn/entity/drivers/ReflectiveEntityDriverFactory.java index 7ad2f32..cbdd233 100644 --- a/core/src/main/java/brooklyn/entity/drivers/ReflectiveEntityDriverFactory.java +++ b/core/src/main/java/brooklyn/entity/drivers/ReflectiveEntityDriverFactory.java @@ -183,7 +183,7 @@ public class ReflectiveEntityDriverFactory { return Strings.removeFromEnd(driverInterfaceName, "Driver") + ((PaasLocation) location).getPaasProviderName() + "Driver"; } } - + public static class DriverInferenceForWinRmLocation extends AbstractDriverInferenceRule { public static final String DEFAULT_IDENTIFIER = "winrm-location-driver-inference-rule";
