This is a book notes for [Hands-On Microservices with Spring Boot and Spring Cloud]
The product composite service aggregates information from the three core services and presents information about a product as follows:
- Product information
- A list of product reviews
- A list of product recommendations
- Product ID
- Name
- Weight
- Product ID
- Review ID
- Author
- Subject
- Content
- Product ID
- Recommendation ID
- Author
- Rate
- Content
create-projects.bat generate skeleton code using Spring Initializr.
cd microservices/product-composite-service; ./gradlew build; cd ../..;
cd microservices/product-service; ./gradlew build; cd ../..;
cd microservices/recommendation-service; ./gradlew build; cd ../..;
cd microservices/review-service; ./gradlew build; cd ../..;
include ':microservices:product-service'
include ':microservices:review-service'
include ':microservices:recommendation-service'
include ':microservices:product-composite-service'
cp -r microservices/product-service/gradle .
cp microservices/product-service/gradlew .
cp microservices/product-service/gradlew.bat .
cp microservices/product-service/.gitignore .
find microservices -depth -name "gradle" -exec rm -rfv "{}" \;
find microservices -depth -name "gradlew*" -exec rm -fv "{}" \;
./gradlew build