Skip to main content

Product Content

Built on develop, not deployed

Derived from model/model.yaml. The product-content service is built on develop (IQVO/product-content at 2f09dc0, checked 2026-10-27) and not deployed (no warehouse-infra entry). Every Err... name, REST route and CloudEvents type of this context named on this page exists in the service; where the built service differs from the model's design, the page says so (As built) or the context's Service and operations section lists it.

Generic

Product Content (product-content, code PC, tier storefront) enriches the network's catalogue item with everything a product page needs and the item master does not have: description, bullets, attributes, media and the category tree. The title stays the item master's (offer-availability); only catalogItemId crosses the boundary, and content never redefines the item itself. Media upload is out of scope: media are URLs to static assets. Content publishes only when complete — a description, exactly one PRIMARY medium and a category — and a retired content never publishes again. The category tree is a single, versioned aggregate, at most four levels deep, browsed by shoppers through product-discovery, the one consumer of every event this context publishes.

This context's pages​

PageWhat it holdsddd-crew tool it follows
Business ContextThe problem, actors, decisions, why a PIM is a buy, out of scope(narrative)
Ubiquitous LanguageTerms, code identifiers, terms not to confuseBounded Context Canvas (UL section)
Core Domain ChartWhy this context is GenericCore Domain Charts
Bounded Context CanvasPurpose, classification, roles, inbound and outbound messages, decisions, metricsBounded Context Canvas v5
Context MapEvery neighbour, direction and patternContext Mapping
Aggregate Design CanvasProductContent and CategoryTree, states, invariants, commandsAggregate Design Canvas v1.1
Domain EventsPublished and consumed CloudEvents, with an example envelopeDomain Message Flow Modelling (message catalogue)
Domain Message FlowAuthoring to publish, revision, tree publication, retire on discontinueDomain Message Flow Modelling
EventStormingProcess-level boards with hotspotsEventStorming glossary & cheat sheet
Use CasesOne section per command: trigger, flow, errors, events, idempotency(application layer, fleet convention)
Class DiagramDomain model and hexagonal ports and adapters (the model's design, with the as-built packages)(UML, fleet convention)
Entity RelationshipPostgres schema as built (migration 0001)(fleet convention)
Sequence DiagramsAdapter to Kafka for every command use case(UML, fleet convention)

Service and operations​

  • Service: IQVO/product-content on develop (2f09dc0, 2026-10-27): binaries cmd/api; REST contract apis/openapi.yaml, event contract apis/asyncapi.yaml, schema in internal/adapters/outbound/postgres/migrations/ (see Entity Relationship). 5 ADRs, listed in the ADR index.
  • Configuration: mandatory at boot (the service exits naming the missing variable): DATABASE_URL, KAFKA_BROKERS, OFFER_AVAILABILITY_CONSUMER_GROUP. There is no in-memory mode. Packaging: no Helm chart in the repo yet (charts/ is absent on develop).
  • Deployment: not deployed. warehouse-infra develop has no terraform/apps.yaml entry and no helm-values/product-content.yaml, so no database, consumer group or gateway route is provisioned. The kind cluster was not checked in this refresh.
  • Observability: service ADR 0005, Adopt the fleet observability standard (logs, metrics, traces), Accepted (2026-10-26). Logs, metrics and traces leave over OTLP/gRPC (OTEL_EXPORTER_OTLP_ENDPOINT, code default localhost:4317; OTEL_SERVICE_NAME); a collector that is down only drops telemetry. The Tier-2 business counter is content.products.published (unit {publication}, in internal/adapters/outbound/telemetry/content_metrics.go), with attribute outcome = published or rejected and reason on the outcomes that are not a success. No warehouse-infra dashboard queries it yet.

Elsewhere​