Let us build a REST client application by following these steps:
- Create a ch10-reports Maven project and configure pom.xml similar to the previous projects. Add the parent POM for Spring Boot 2.0.0.M2 and all its starter POM dependencies. Just like in the previous recipe, also include the needed support libraries for MySQL connectivity and RxJava 2.0.
- Copy all the data model classes from ch09 and place them inside a new org.packt.microservice.client.model.data package (such as AveAge, CountDept, Employee, Department, and so on).
- Add a bootstrap class for this project inside a root package: org.packt.microservice.client:
@Configuration @ComponentScan("org.packt.microservice.client") @EnableAutoConfiguration( exclude={FreeMarkerAutoConfiguration.class, ...