Expunge .platform. from config project
Fixes gh-12
This commit is contained in:
@@ -45,7 +45,7 @@ import org.springframework.util.FileSystemUtils;
|
||||
*/
|
||||
public class JGitEnvironmentRepository implements EnvironmentRepository {
|
||||
|
||||
public static final String DEFAULT_URI = "https://github.com/spring-platform-samples/config-repo";
|
||||
public static final String DEFAULT_URI = "https://github.com/spring-cloud-samples/config-repo";
|
||||
|
||||
private static Log logger = LogFactory.getLog(JGitEnvironmentRepository.class);
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ public class SpringApplicationEnvironmentRepository implements EnvironmentReposi
|
||||
config = "application," + config;
|
||||
}
|
||||
list.add("--spring.config.name=" + config);
|
||||
list.add("--spring.platform.bootstrap.enabled=false");
|
||||
list.add("--spring.cloud.bootstrap.enabled=false");
|
||||
if (locations != null) {
|
||||
list.add("--spring.config.location="
|
||||
+ StringUtils.arrayToCommaDelimitedString(locations));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
spring:
|
||||
platform:
|
||||
cloud:
|
||||
config:
|
||||
server:
|
||||
basedir: target/config
|
||||
|
||||
@@ -4,7 +4,7 @@ spring:
|
||||
application:
|
||||
name: configserver
|
||||
jmx:
|
||||
default_domain: platform.config.server
|
||||
default_domain: cloud.config.server
|
||||
server:
|
||||
port: 8888
|
||||
management:
|
||||
|
||||
Reference in New Issue
Block a user