The meta repo organize the operations for the POC
Design a mobile solution with the following Design:
FRONT-END | BACKEND (First Layer) | BACKEND (Second Layer) | |||
---|---|---|---|---|---|
My Client | SCC | My Calculator API | SCC | My Sum API | |
SCC | Another Calculator API | SCC | My Multiply API |
Organize contracts by Domain
The POC includes 2 repositories to store contracts from multiple domains in the Calculator Universe
Integration Tests
In a Integration Tests, it is possible to use with the help of StubRunnerRule (Pending Test) contracts from multiple domains, the usage of @AutoConfigureStubRunner is limited to only one Git repo: https://cloud.spring.io/spring-cloud-static/Greenwich.RELEASE/multi/multi__spring_cloud_contract_stub_runner.html
To use the contracts for a mobile consumer, it is possible to use a Docker image or Docker compose: https://cloud.spring.io/spring-cloud-contract/spring-cloud-contract.html#stubrunner-docker