add config server user creds
This commit is contained in:
5
pom.xml
5
pom.xml
@@ -53,11 +53,6 @@
|
|||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
|
||||||
<groupId>sydney.cheng</groupId>
|
|
||||||
<artifactId>ec-microservice-commons-security</artifactId>
|
|
||||||
<version>1.0.1-SNAPSHOT</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>sydney.cheng</groupId>
|
<groupId>sydney.cheng</groupId>
|
||||||
<artifactId>ec-microservice-commons-swagger</artifactId>
|
<artifactId>ec-microservice-commons-swagger</artifactId>
|
||||||
|
|||||||
@@ -37,6 +37,12 @@ spring:
|
|||||||
name: ${application.name}
|
name: ${application.name}
|
||||||
profiles:
|
profiles:
|
||||||
active: native
|
active: native
|
||||||
|
security:
|
||||||
|
basic:
|
||||||
|
enabled: true
|
||||||
|
user:
|
||||||
|
name: ${CONFIG_SERVER_USERNAME:configuser}
|
||||||
|
password: ${CONFIG_SERVER_PASSWORD:configPass$1234}
|
||||||
cloud:
|
cloud:
|
||||||
config:
|
config:
|
||||||
server:
|
server:
|
||||||
|
|||||||
Reference in New Issue
Block a user