Add @Configuration class for Locator only.
Add @Configuration class for Manager only.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user