Add test profile for server

This commit is contained in:
Dave Syer
2014-07-10 07:22:08 +01:00
parent 5d230d7564
commit de3acf6da0
3 changed files with 9 additions and 2 deletions

View File

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

View File

@@ -0,0 +1,5 @@
spring:
platform:
config:
server:
basedir: target/config

View File

@@ -3,6 +3,8 @@ info:
spring:
application:
name: configserver
jmx:
default_domain: platform.config.server
server:
port: 8888
management: