https://github.com/xpinjection/library-warehouse
Library Warehouse application
https://github.com/xpinjection/library-warehouse
Last synced: about 1 month ago
JSON representation
Library Warehouse application
- Host: GitHub
- URL: https://github.com/xpinjection/library-warehouse
- Owner: xpinjection
- License: mit
- Created: 2022-05-31T23:12:25.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-10-05T21:55:24.000Z (8 months ago)
- Last Synced: 2025-10-05T23:37:31.077Z (8 months ago)
- Language: Java
- Size: 41 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Library Warehouse application

Sample Spring Boot cloud-native application, a consumer of the [Library application](https://github.com/xpinjection/test-driven-spring-boot/) REST API for books management.
## Consumer-driven contracts
[Pact](https://docs.pact.io/) is used to describe and manage REST API contracts.
To generate and publish pacts following command could be used: `./mvnw clean package pact:publish -Dpact.skip.publish=false`.
Use system variable `pact.skip.publish` to control generated pacts publishing to the Pact Broker. The Pact Broker configuration is located in `pom.xml` and could be overridden with system properties as well.
System properties `pact.consumer.version` and `pact.branch.name` should be used to pass correct version of the application and git branch for tracking in the Pact Broker.