Add test profile for server
This commit is contained in:
@@ -94,7 +94,7 @@ public class RefreshAutoConfiguration {
|
||||
protected static class RefreshEndpointsConfiguration {
|
||||
|
||||
@ConditionalOnClass(IntegrationMBeanExporter.class)
|
||||
protected static class RefreshEndpointWithIntegration {
|
||||
protected static class RestartEndpointWithIntegration {
|
||||
|
||||
@Autowired(required=false)
|
||||
private IntegrationMBeanExporter exporter;
|
||||
@@ -112,7 +112,7 @@ public class RefreshAutoConfiguration {
|
||||
}
|
||||
|
||||
@ConditionalOnMissingClass(name = "org.springframework.integration.monitor.IntegrationMBeanExporter")
|
||||
protected static class RefreshEndpointWithoutIntegration {
|
||||
protected static class RestartEndpointWithoutIntegration {
|
||||
|
||||
@Bean
|
||||
@ConditionalOnMissingBean
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
spring:
|
||||
platform:
|
||||
config:
|
||||
server:
|
||||
basedir: target/config
|
||||
@@ -3,6 +3,8 @@ info:
|
||||
spring:
|
||||
application:
|
||||
name: configserver
|
||||
jmx:
|
||||
default_domain: platform.config.server
|
||||
server:
|
||||
port: 8888
|
||||
management:
|
||||
|
||||
Reference in New Issue
Block a user