Kitchen sink
The Kitchen sink is one small Project that uses every feature of the Model: every kind of Element and Service, External ones, async Relationships through a broker, nested Deployment Targets, endpoints, structural and Dynamic Views, a Lens and an ADR. The Model YAML reference takes its examples from it.
Open the live demo ↗ · Source on GitHub
What is where
Section titled “What is where”| File | Shows |
|---|---|
workspace.yaml |
Three Teams and one Environment. |
sink/project.yaml |
A Project owned by the Core Team. |
sink/model.yaml |
A Person; an internal System with an app, a datastore and a broker Service, Components, and an async Relationship through the broker; an External System; Services outside any System, one External; owner, tags and links. |
sink/reporting.yaml |
A Service in its own file, placed in a System with in. |
sink/deployments.yaml |
A region with a cluster inside it, Deployments with URLs, and endpoints. |
sink/views.yaml |
A structural View, one with exclude and an Impact Lens, and a Dynamic View with a call, a derived edge, an event and a reply. |
sink/adr/0001-…md |
An accepted ADR linked to Elements and a View. |
The Model
Section titled “The Model”people: customer: name: Customer description: A Person. relationships: - to: web description: Uses technology: HTTPS
systems: shop: name: Shop description: An internal System with every Service type. services: web: name: Web description: An app Service. technology: React owner: edge tags: [customer-facing] links: - label: Runbook url: https://wiki.sink.example/runbooks/web relationships: - to: api description: Calls technology: JSON/HTTPS api: name: API description: An app Service with Components. technology: Node.js components: orders: name: Orders technology: TypeScript module relationships: - to: orders-db description: Stores orders in technology: SQL - to: payment-gateway description: Charges cards through technology: HTTPS catalogue: name: Catalogue technology: TypeScript module relationships: - to: search description: Searches with technology: HTTPS orders-db: name: Orders DB description: A datastore Service. type: datastore technology: PostgreSQL owner: data events: name: Events description: A broker Service. type: broker technology: Kafka owner: data mailer: name: Mailer description: Subscribes to order events. technology: Go relationships: - to: api description: Emails a receipt for each order interaction: async via: events channel: orders.placed payments-provider: name: Payments Provider description: An External System. external: true owner: edge
services: search: name: Search description: A Service outside any System. technology: OpenSearch owner: data payment-gateway: name: Payment Gateway description: An External Service outside any System. external: true technology: Stripe API owner: edgeIts other Saved Views
Section titled “Its other Saved Views”Related
Section titled “Related”- Elements and Relationships reference
- Big Bank, a larger, more realistic Workspace