January 2018
Intermediate to advanced
414 pages
10h 29m
English
Now that we have our Configuration Server running, we can run our microservice, so let's run it again from the microservice folder:
mvnw spring-boot:run
The log lines should look something like this:
INFO 15312 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8888INFO 9496 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource {name='configService', propertySources=[MapPropertySource {name='classpath:config/application.yml'}]}
This means that our microservice has been able to connect to our Configuration Server and retrieve its configuration.
Let's add a simple RestController to our microservice so we can check that ...
Read now
Unlock full access