Go to file
2020-06-24 10:29:51 +07:00
gradle/wrapper Add first sample config client 2020-06-24 09:59:10 +07:00
src Updated 2020-06-24 10:29:51 +07:00
.gitignore Updated 2020-06-24 10:29:41 +07:00
build.gradle Add first sample config client 2020-06-24 09:59:10 +07:00
gradlew Add first sample config client 2020-06-24 09:59:10 +07:00
gradlew.bat Add first sample config client 2020-06-24 09:59:10 +07:00
README.md Update 'README.md' 2020-06-24 10:02:55 +07:00
settings.gradle Add first sample config client 2020-06-24 09:59:10 +07:00

Sample Config Client

Add libras for client config

implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.cloud:spring-cloud-starter-config'

Add config bootstrap

spring:
  application:
    name: config-client-sample
  cloud:
    config:
      uri: ${CONFIG_URL:https://config-apren.cubetiqs.com}
      profile: config-client-sample
      username: SomboCheaRootAdmin
      password: noRootPassword7891