BAEL-90 - versioned config
This commit is contained in:
parent
99254e9826
commit
2040fda6d2
1
pom.xml
1
pom.xml
|
@ -83,6 +83,7 @@
|
|||
<module>spring-spel</module>
|
||||
<module>spring-rest</module>
|
||||
<module>spring-rest-docs</module>
|
||||
<module>spring-cloud-config</module>
|
||||
|
||||
<module>spring-security-basic-auth</module>
|
||||
<module>spring-security-custom-permission</module>
|
||||
|
|
|
@ -12,4 +12,10 @@
|
|||
<module>server</module>
|
||||
<module>client</module>
|
||||
</modules>
|
||||
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>1.3.5.RELEASE</version>
|
||||
</parent>
|
||||
</project>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
server.port=8888
|
||||
spring.cloud.config.server.git.uri=${CONFIG_REPO}
|
||||
spring.cloud.config.server.git.clone-on-start=true
|
||||
spring.cloud.config.server.git.uri=https://github.com/eugenp/tutorials
|
||||
spring.cloud.config.server.git.clone-on-start=false
|
||||
security.user.name=root
|
||||
security.user.password=s3cr3t
|
||||
encrypt.key-store.location=classpath:/config-server.jks
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package com.baeldung.spring.cloud.config.server;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.test.SpringApplicationConfiguration;
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
user.role=Developer
|
|
@ -0,0 +1 @@
|
|||
user.role=User
|
Loading…
Reference in New Issue