February 2019
Intermediate to advanced
442 pages
11h 46m
English
The Spring Cloud Config server is ready. Now, we need to do the necessary configuration for Git repository integration. First, install the latest version of Git (https://git-scm.com/downloads) on your local machine and make sure it is available on a path. Create a directory on your local machine and initialize the Git repository with the following command:
git init
This will create an empty Git repository on the local machine. Next, add a properties file that holds the configuration details. Since the configuration server can hold configuration details for multiple microservices in Git, we need to follow a certain naming convention for the property file, as follows:
{microserivce-name}.properties ...