demo-refreshable-config-client /

Filename Size Date modified Message
.settings
src/main
998 B
New - demo-config-client initial import
19 B
Changed - Ignoring launch files
996 B
Changed - Renamed artifact - Upgraded Spring Boot and Cloud dependencies
463 B
New - demo-config-client initial import
919 B
README.md edited online with Bitbucket
4.2 KB
Changed - Removed registration with Eureka

README

Refreshable demo Config client accompanying source code for blog post at http://tech.asimio.net/2017/02/02/Refreshable-Configuration-using-Spring-Cloud-Config-Server-Spring-Cloud-Bus-RabbitMQ-and-Git.html

Requirements

  • Java 8
  • Maven 3.3.x
  • A Config server instance for this Demo Refreshable Config client to read remote properties from.

Building the artifact

mvn clean package

Running the application

java -Dspring.cloud.config.uri=http://localhost:8100 -jar target/demo-refreshable-config-client.jar

where a Config server instance is running at http://localhost:8100 in a config-first approach.

Available endpoints

curl -v "http://localhost:8700/actors/1"

Who do I talk to?