ExampleService

@BoundedContext(name = "example-service", alias = "example", description = "Wow Example Context", aggregates = [BoundedContext.Aggregate(name = "order", packageScopes = [CreateOrder::class]), BoundedContext.Aggregate(name = "cart", tenantId = "(0)", packageScopes = [AddCartItem::class])])
object ExampleService

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The aggregate a cart or order item's productId refers to. The example has no product aggregate of its own: products come from the pricing and inventory services, and a query reference may point across services.

Link copied to clipboard
Link copied to clipboard
const val SERVICE_NAME: String