Add @Configuration class for Locator only.

Add @Configuration class for Manager only.
This commit is contained in:
John Blum
2020-11-03 10:41:10 -08:00
parent 49a580fe93
commit 77ac40d653

View File

@@ -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