Skip to main content

Product Master

Supporting Subdomain

Product Master is one of the fleet's sixteen domain bounded contexts. It sits in the wms tier of the CloudEvents subdomain taxonomy, the third wms context after facility-layout and inventory-storage (inbound-receiving and slotting-optimization have since become the fourth and fifth). It is the single source of truth for what a SKU is: for handling (its classification) and physically (its unit dimensions and weight). It answers no "where" or "how many" question; stock stays in inventory-storage (ADR 0001).

It owns one aggregate, Product, identified by SKU, with an optional description, an optional Classification (the closed handling-tag set, TemperatureClass and DOT hazard class), a Physical profile (declared, measured and effective values, with a discrepancy flag, ADR 0002) and a version carried on every published event.

What is live, what is retired, and what has no consumer

Per this context's own Context Map, checked against the reference deployment (warehouse-infra develop):

Live (wired in warehouse-infra develop): six contexts keep a version-guarded local copy of ProductClassified from warehouse.product-master.events, one row per SKU: inventory-storage (its ADR 0034), order-management (ADR 0036), wes-work-planning (ADR 0035), fulfillment-execution (ADR 0039), slotting-optimization and returns-processing. For order-management, wes-work-planning and fulfillment-execution that replaced their former GET /products/{sku}/classification calls to inventory-storage (ADR 0003, stages C and D); inventory-storage has since removed its own classification surface (stage E, its PR #218). The GS1 packaging hierarchy (ADR 0011: pack levels with a GTIN, ProductPackLevelDeclared, ProductPackLevelMeasured, ProductPackLevelRetired, GET /gtins/{gtin}) feeds seven local pack views: inbound-receiving, inventory-storage, pick-face-replenishment, slotting-optimization, wes-work-planning, fulfillment-execution and network-inventory-planning (ProductPackLevelMeasured is read only by wes-work-planning and slotting-optimization). inbound-receiving reads ProductRegistered, and slotting-optimization reads ProductDimensionsDeclared and ProductMeasured. Events leave through a transactional outbox. Every consumer group is set in warehouse-infra develop (helm-values/<consumer>.yaml or the consumer chart's default).

Read surfaces (no service-to-service reads): REST behind Kong at /api/product-master, a read-only MCP server (cmd/mcp, four tools, ADR 0005) that warehouse-ops-agent reads for its find_master_data_gaps tool, the productmaster_mfe console remote at /mfes/product-master/ (the Product Master tile in warehouse-console), and the master data quality report of the analytics read side (cmd/product-projector and cmd/product-reports, ADR 0006).

Retired: the legacy importer of inventory-storage's own ProductClassified (stage E of ADR 0003): neither the importer nor the legacy type exists on either develop (fleet edge K21, retired).

Published contract, no consumer yet: ProductDescriptionChanged.

This context's pages​

Every page above except the Business Context and the Async API narrative is synced from the product-master repository.

Elsewhere​