From 77ac40d653d4d59346acd7bf380f1c652dbbb75d Mon Sep 17 00:00:00 2001 From: John Blum Date: Tue, 3 Nov 2020 10:41:10 -0800 Subject: [PATCH] Add @Configuration class for Locator only. Add @Configuration class for Manager only. --- .../ClientServerIntegrationTestsConfiguration.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/integration/config/ClientServerIntegrationTestsConfiguration.java b/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/integration/config/ClientServerIntegrationTestsConfiguration.java index 6f128b7..7ff21fd 100644 --- a/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/integration/config/ClientServerIntegrationTestsConfiguration.java +++ b/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/integration/config/ClientServerIntegrationTestsConfiguration.java @@ -106,6 +106,12 @@ public class ClientServerIntegrationTestsConfiguration { }; } + @Configuration + @EnableLocator + @EnableLogging + @Profile("locator") + static class LocatorConfiguration { } + @Configuration @EnableLocator @EnableLogging @@ -113,6 +119,12 @@ public class ClientServerIntegrationTestsConfiguration { @Profile("locator-manager") static class LocatorManagerConfiguration { } + @Configuration + @EnableLogging + @EnableManager(start = true) + @Profile("manager") + static class ManagerConfiguration { } + public static class SpringBootIsAbsentCondition implements Condition { @Override