Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

application.properties will not contain any property meant for the config client

 

pom.xml needs the following dependencies

Code Block
<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>
    <groupId>org.springframework.retry</groupId>
    <artifactId>spring-retry</artifactId>
</dependency>
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-aop</artifactId>
</dependency>

 

 

2. Server

Spring config server will run separately and handle the property files. The client will communicate with the server to get the property files.

...