February 2019
Intermediate to advanced
442 pages
11h 46m
English
We have created various Spring Boot applications for each individual functionality. They all are accessible (by default) on port 8080 one by one. However, they are not ready to be executed as microservices. Now we will add microservice-specific capabilities by adding a dependencies entry in the pom.xml file of each individual Spring Boot application.
Add the following entry in the dependencies section of pom.xml:
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> </dependency>
You also need to add an entry for the current version of Spring Cloud next to the <java-version> entry as follows:
<spring-cloud.version>Greenwich.RC2</spring-cloud.version> ...