This repository contains a sample implementation of price quotation API and the automated test cases.
The purpose to demonstrate the test automation using MockServer.
The price quotation API exposes an endpoint for quotation request
[POST] /quotations/generate`
To build and run API, run this command to compile and run unit tests and integration tests
mvn clean install
The Quotation API orchestrates external APIs - Customer, Product and Quotation Engine in order to validate and generate price quotation upon client's request.
API clients are responsible for the integration with external APIs.
Maven lifecycle manages the test execution and initialization of MockServer. Refer to pom.xml for the detailed configuration.