Package com.dmasone.identity.catalog.domain
package com.dmasone.identity.catalog.domain
Catalog domain model and stock rules.
Classes in this package express catalog business invariants without depending on Spring, HTTP, Redis, or JPA. Stock reservation belongs here so other modules cannot bypass catalog ownership by touching persistence directly.
-
ClassDescriptionRaised when a product exists but cannot satisfy the requested reservation.Raised when catalog stock is asked to reserve a non-positive quantity.Catalog aggregate that owns stock reservation rules.Raised by catalog application services when callers reference an unknown product id.