Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 678 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 678 Bytes

sprint-cloud-config-test

The following listing shows a recipe for creating the git repository in the preceding example:

Create git repository

$ cd $HOME
$ mkdir config-repo
$ cd config-repo
$ git init .
$ echo info.foo: bar > application.properties
$ git add -A .
$ git commit -m "Add application.properties"

Run server

From the root of the project:

$ cd server
$ mvn spring-boot:run

Run client

Open a new terminal and from the root of the project:

$ cd client
$ mvn spring-boot:run

Call to refresh actuator on client

Open a new terminal and:

$ curl -X POST http://localhost:8080/actuator/refresh