feat: Implement InventoryResource providing a REST API for inventory management with CRUD operations.#4
Open
manuelaidos123 wants to merge 11 commits intomodernizing-java-applications-book:mainfrom
Conversation
…management with CRUD operations.
Author
|
Last commit is Error Handling Implementation |
… with reactive REST.
Author
|
last commit i upgrade some dependencies and quarkus aswell mvnw wrapper and i tested by using quarkus dev its working a like a charm |
… operations, pagination, error handling, and content types.
Author
|
Test coverage added |
Author
|
Implemented Bean Validation (commit message is wrong) |
- Add `productId` field with unique constraint to Inventory entity - Implement `findByProductId` and `existsByProductId` lookup methods - Include `quarkus-smallrye-openapi` dependency for API documentation - Apply OpenAPI annotations to resource endpoints and models
Author
|
add productId support and OpenAPI integration |
Add detailed README.md documenting the RESTful inventory management microservice including features, prerequisites, running instructions, API endpoints with examples, data model, and error handling.
Author
|
README.md |
Integrate Quarkus Cache to optimize read performance for inventory lookups. This change adds caching for GET requests by ID and Product ID, with automatic invalidation on data modification. - Add `quarkus-cache` dependency. - Cache `getById` and `getByProductId` endpoints. - Invalidate caches on create, update, and delete operations. - Add `DELETE /api/inventory/cache` endpoint for manual cache clearing. - Update README with caching configuration and usage details.
Author
|
Integrate Quarkus Cache to optimize read performance for inventory lookups. This change adds caching for GET requests by ID and Product ID, with automatic invalidation on data modification. |
Introduces the CI/CD infrastructure and core application settings required to build, run, and deploy the inventory-quarkus service. - **CI/CD**: Adds a multi-stage Jenkinsfile covering source checkout, validation, build, testing, Docker image creation, and Kubernetes deployment. - **Configuration**: Sets up `application.properties` for PostgreSQL, OIDC (Keycloak), structured JSON logging, and Micrometer metrics. - **Database**: Includes the initial Flyway migration script to define the database schema.
Author
|
multiple updates |
Removes explicit property definitions for fault tolerance (timeout, circuit breaker, retry) and the micrometer JVM binder. Fault tolerance settings are now managed via annotations in the code.
Author
|
move fault tolerance config to annotations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.