All Classes and Interfaces

Class
Description
Stable error shape returned by REST endpoints for validation and domain failures.
Cross-module application beans that should be owned by the bootstrap module, not by any individual business module.
Order aggregate for the placement use case.
Marker contract for events that describe something already decided by a module.
Base exception for business rule failures that should be translated into a structured API error response.
Single executable entry point for the modular monolith.
Small publishing port used by application services to emit domain events without coupling those services to Spring's concrete event infrastructure.
Raised when a client reuses an idempotency key for a different order request.
Raised when a product exists but cannot satisfy the requested reservation.
Raised when an order command violates placement rules before persistence or downstream module interaction happens.
Raised when catalog stock is asked to reserve a non-positive quantity.
Adapter that translates between the order repository port and Spring Data JPA.
Adapter between the payment repository port and JPA.
Creates the OpenAPI model from metadata loaded through openapi.yaml.
OpenAPI metadata loaded from openapi.yaml.
 
Order API exposing placement and lookup workflows.
HTTP representation of an order.
Database mapping for orders.
Raised when an API caller asks for an order id that the orders module does not own.
Integration event published after the orders module successfully places an order.
Event listener that starts payment processing after an order transaction has committed.
Query facade for order retrieval.
Persistence port for the order aggregate.
API-facing order projection returned by order commands and queries.
MapStruct mapper generated at compile time for the order REST boundary.
 
Lifecycle state owned by the orders module.
Payment module record of an authorization attempt for an order.
Optional read endpoint for payment results, useful in tests and demos to show that the event listener reacted to order placement.
HTTP representation of a payment attempt result.
Persistence mapping for payment attempts.
Raised when payment state has not yet been recorded for an order.
Persistence port for payment attempts.
MapStruct mapper generated at compile time for payment REST responses.
 
Read model returned by payment application services and optional API endpoints.
Payment use-case service.
Result of the simulated payment authorization request.
Command object for the order placement use case.
HTTP request model for order placement.
Result of the placement use case.
Primary order placement use case.
Catalog aggregate that owns stock reservation rules.
Write-side catalog service.
Read-only product API.
Persistence representation of catalog products.
Spring Data repository owned by catalog infrastructure.
Translation layer between the JPA entity and the stock-owning domain model.
Raised by catalog application services when callers reference an unknown product id.
Query-side facade for catalog read operations.
HTTP representation of a catalog product.
MapStruct mapper generated at compile time for catalog REST responses.
 
Read projection returned by catalog queries.
Central translation layer from application/domain failures to HTTP status codes.
Deterministic stand-in for an external payment provider.
Adapter from the shared event publishing port to Spring's in-process event bus.
Public application service contract used by other modules to reserve stock.