We will use the product service code developed earlier as a baseline to start extracting the properties out of the application into the config server.
- Copy the product service project from eclipse to create a new project for this chapter.
- Add the spring-cloud-starter-config dependency to the list of the dependencies in the POM file:
- Our main work will be on the resources. Tell the product service to use the config server running at: http://localhost:8888.
The failFast flag indicates that we do not want the application loading to continue if we don't find the config server. This is important, as it will ensure that the ...