Catalog
Core BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journey.
Business Purpose & Boundary
CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs is BookWorm’s Core bounded context for authoritative book information, classification taxonomies (AuthorEntityv1.0.0AuthorRepresents a credited author of one or more books in the product catalog, enforcing display-name validity and referentia...Ownercatalog-experience-teamOpen docs, CategoryEntityv1.0.0CategorySingle-level taxonomy classification grouping books by subject or genre within the product catalog.Ownercatalog-experience-teamOpen docs, PublisherEntityv1.0.0PublisherRepresents a publishing house or imprint associated with books in the product catalog.Ownercatalog-experience-teamOpen docs), pricing, availability, and hybrid text-and-semantic search. It serves low-latency product discovery reads, manages book cover assets, and projects aggregate rating summaries asynchronously from customer feedback events. Explicitly out of scope are customer shopping baskets (ShoppingDomainv1.0.0ShoppingCoordinates the customer basket and pre-purchase checkout intent, from selecting books through handing an accepted purch...Ownercommerce-fulfillment-teamDiagramOpen docs), accepted purchase snapshots (OrderingDomainv1.0.0OrderingCreates durable Orders from a buyer's current basket, locks purchase-time pricing, and owns order lifecycle transitions ...Ownercommerce-fulfillment-teamDiagramOpen docs), and individual customer feedback records (ReviewsDomainv1.0.0ReviewsCaptures individual customer feedback for books, publishes rating changes for Catalog discovery, and provides privacy-sc...Ownercatalog-experience-teamDiagramOpen docs).
Catalog listing availability describes whether a title is in stock for discovery—it is not an inventory reservation held by a basket or a fulfillment guarantee. Catalog price updates never retroactively alter purchase-time prices locked onto accepted orders.
Core Responsibilities & Capabilities
| Capability | Owning Service / Agent | Primary Entities |
|---|---|---|
| Product Lifecycle & Taxonomies | Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs | BookEntityv1.0.0BookCanonical sellable title in the product catalog, encapsulating descriptive metadata, pricing, stock availability, taxono...Ownercatalog-experience-teamOpen docs, AuthorEntityv1.0.0AuthorRepresents a credited author of one or more books in the product catalog, enforcing display-name validity and referentia...Ownercatalog-experience-teamOpen docs, CategoryEntityv1.0.0CategorySingle-level taxonomy classification grouping books by subject or genre within the product catalog.Ownercatalog-experience-teamOpen docs, PublisherEntityv1.0.0PublisherRepresents a publishing house or imprint associated with books in the product catalog.Ownercatalog-experience-teamOpen docs |
| Hybrid Text & Semantic Search | Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs | BookEntityv1.0.0BookCanonical sellable title in the product catalog, encapsulating descriptive metadata, pricing, stock availability, taxono...Ownercatalog-experience-teamOpen docs |
| Rating Summary Projection | Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs | BookEntityv1.0.0BookCanonical sellable title in the product catalog, encapsulating descriptive metadata, pricing, stock availability, taxono...Ownercatalog-experience-teamOpen docs |
| Scheduled Vector Embedding Sync | Catalog IngestionServicev1.0.0Catalog IngestionInternal background worker that reads pending Catalog book updates and synchronizes semantic search vectors in Qdrant. SubscribesProcessVectorBatchIntegrationEventOwnercatalog-experience-teamDiagramRepositoryOpen docs | BookEntityv1.0.0BookCanonical sellable title in the product catalog, encapsulating descriptive metadata, pricing, stock availability, taxono...Ownercatalog-experience-teamOpen docs |
Cross-Domain Interactions (Context Map)
| Neighboring Domain | Direction | Integration Mechanism | Business Data Exchanged |
|---|---|---|---|
| ShoppingDomainv1.0.0ShoppingCoordinates the customer basket and pre-purchase checkout intent, from selecting books through handing an accepted purch...Ownercommerce-fulfillment-teamDiagramOpen docs | Downstream (Catalog → Shopping) | Sync (gRPC) | Book titles, current prices, and availability for basket display enrichment |
| OrderingDomainv1.0.0OrderingCreates durable Orders from a buyer's current basket, locks purchase-time pricing, and owns order lifecycle transitions ...Ownercommerce-fulfillment-teamDiagramOpen docs | Downstream (Catalog → Ordering) | Sync (gRPC) | Authoritative unit and discount prices resolved at checkout time |
| ReviewsDomainv1.0.0ReviewsCaptures individual customer feedback for books, publishes rating changes for Catalog discovery, and provides privacy-sc...Ownercatalog-experience-teamDiagramOpen docs | Upstream (Reviews → Catalog) | Async (Events) | Feedback created/deleted events updating aggregate rating; missing-book compensation event |
| PlatformDomainv1.0.0PlatformProvides cross-cutting capabilities for recurring scheduled triggers and durable, idempotent transactional email notific...Ownerplatform-engineering-teamDiagramOpen docs | Upstream (Platform → Catalog) | Async (Events) | Recurring vector-batch trigger initiating semantic index refreshes |
| ConversationalDomainv1.0.0ConversationalRoutes BookWorm customer requests through privacy-filtered AI agents for catalog-backed book discovery and read-only sto...Ownerai-capabilities-teamDiagramOpen docs | Downstream (Catalog → Conversational) | Sync (via MCP Tools) | Read-only catalog search, book details, categories, and authors |
Eventual Consistency & Compensation: Catalog never queries ReviewsDomainv1.0.0ReviewsCaptures individual customer feedback for books, publishes rating changes for Catalog discovery, and provides privacy-sc...Ownercatalog-experience-teamDiagramOpen docs synchronously, keeping storefront discovery available even if Reviews is degraded. Instead, rating summaries and semantic search vectors are rebuildable derived projections. If a rating event references a nonexistent or deleted book, Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs publishes Book rating update failedEventv1.0.0Book rating update failedIndicates that Catalog could not apply a feedback-created event because the referenced book was not found. Ownercatalog-experience-teamSchemaDiagramOpen docs so ReviewsDomainv1.0.0ReviewsCaptures individual customer feedback for books, publishes rating changes for Catalog discovery, and provides privacy-sc...Ownercatalog-experience-teamDiagramOpen docs can compensate idempotently.
Ubiquitous Language Highlights
- Book: The canonical listed title available for discovery, carrying descriptive metadata, cover image, pricing, availability, and taxonomy links.
- Price: A book’s original price paired with an optional discount price (never negative and never exceeding the original price), modeled as an attribute of BookEntityv1.0.0BookCanonical sellable title in the product catalog, encapsulating descriptive metadata, pricing, stock availability, taxono...Ownercatalog-experience-teamOpen docs rather than a separate product.
- Availability: Whether a catalog listing is in stock or out of stock, independent of any customer basket.
- Rating Summary: The derived average rating and total review count displayed for a book—an aggregate projection rather than individual customer feedback.
Architecture Visualizations
Catalog Context Overview
Related Governance & Documentation
- Product Catalog SystemSystemv1.0.0Product Catalog SystemInternal BookWorm system that owns catalog management, product discovery, and catalog search index ingestion within the ...Ownercatalog-experience-teamDiagramOpen docs — System boundary, containers, and owned services.
- Product IngestionFlowv1.0.0Product IngestionCatalog API persists product changes in PostgreSQL; Scheduler triggers Catalog Ingestion over Kafka every five minutes t...Ownercatalog-experience-teamView flowOpen docs — End-to-end scheduled vector indexing workflow.
- ADR-BW-004: Integrate request-response operations through owned HTTP and gRPC contractsDecision Recordv1.0.0ADR-BW-004: Integrate request-response operations through owned HTTP and gRPC contractsUse service-owned HTTP APIs and defined Protocol Buffer interfaces rather than internal handlers or database access.Ownerarchitecture-enabling-teamOpen docs — Versioned synchronous HTTP and gRPC contract boundaries.
- ADR-BW-006: Keep business state and persistence access capability-ownedDecision Recordv1.0.0ADR-BW-006: Keep business state and persistence access capability-ownedPreserve one accountable owner for each business model and integrate through contracts rather than shared mutable tables...Ownerarchitecture-enabling-teamOpen docs — Service-owned persistence isolation.
- ADR-BW-007: Distinguish authoritative state from derived viewsDecision Recordv1.0.0ADR-BW-007: Distinguish authoritative state from derived viewsTreat search and rating projections as derived information with explicit consistency limits rather than alternative sour...Ownerarchitecture-enabling-teamOpen docs — Authoritative state vs. rebuildable derived projections.
- GlossaryCustom DocGlossaryShared plain-language definitions for BookWorm domain concepts, architecture terms, and recurring acronyms.Ownerarchitecture-enabling-teamOpen doc — Shared catalog and cross-domain vocabulary.