The repo "pact-ec-app" demonstrates an e-commerce application which depends on the "pact-ec-review-service" restful service. The former (as a consumer) sends requests to the latter (as a provider) to get rating information (5-star rating) for a product on the e-commerce website with product id and user name.
- Install jdk 1.8+ and maven 3
- Git clone the "pact-ec-app" repo.
- Run command "./mvnw clean test"
- The pact file target/pacts/ec_app-review_service.json will be generated.