Enabling Spring Cloud Config Server

We will use the Git repository as a property source, and then we need to create a repository to keep these files. However, before that, let's navigate to the pom.xml file and see some interesting stuff. We can find the following dependency:

<dependency>  <groupId>org.springframework.cloud</groupId>  <artifactId>spring-cloud-config-server</artifactId></dependency>

It is a Config Server dependency. It enables us to use the Config Server in our application. Remember, we need to put this into the pom.xml file to achieve the required Config Server.

Get Spring 5.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.