Step 04 - Setting up Spring cloud config server
STEP 4: create project with given below configuration https://start.spring.io/
Dependacy Needed
- Config Server
- DevTools
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-server</artifactId>
</dependency>
<!-- by dev tool server can pickup changes directly without restart server -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<!-- Default dependency for test junin and mokito -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
spring.application.name=spring-cloud-config-server
server.port=8888
Comments
Post a Comment