/spring-cloud-config-example

Spring Cloud Config server and client example.

Primary LanguageJava

Spring Cloud Config server and client example.

Launch

  1. Start ConfigServer application using mvn spring-boot:run command
  2. Start ConfigClient application using mvn spring-boot:run command
  3. Go to http://localhost:8080/whoami/{username} replacing {username} placeholder with any string value
  4. You will see welcome message with passed {username} and user role, loaded right from ConfigService

Tutorials used