https://github.com/xpinjection/library-warehouse
Library Warehouse application
https://github.com/xpinjection/library-warehouse
Last synced: 6 months ago
JSON representation
Library Warehouse application
- Host: GitHub
- URL: https://github.com/xpinjection/library-warehouse
- Owner: xpinjection
- Created: 2022-05-31T23:12:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-29T11:14:32.000Z (over 2 years ago)
- Last Synced: 2025-01-26T17:34:57.919Z (12 months ago)
- Language: Java
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- 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.