Skip to main content

Add resources to systems

View as Markdown

In EventCatalog, systems can directly reference:

Architecture decision records (ADRs) link to a system from the ADR. Read Add ADRs and proposals to systems.

Messages, APIs, schemas, and channels are usually documented through the services and messages inside the system.

Add resources using frontmatter​

Add resources to the system frontmatter using services, flows, entities, and containers.

/domains/Shopping/systems/cart-system/index.mdx
---
id: cart-system
name: Cart System
version: 1.0.0
# define services in this system
services:
- id: cart-api
version: 1.0.0
# define databases in this system
containers:
- id: cart-database
version: 1.0.0
# define documented business workflows part of this system
flows:
- id: checkout-flow
version: 1.0.0
# define any entities that belong to this system
entities:
- id: cart
version: 1.0.0
---

The version is optional. If no version is given, EventCatalog uses the latest version of the referenced resource.

Keep resources inside the system folder​

You can also define resources inside the system folder to keep related architecture documentation together.

This structure makes the system the entry point for the resources that make up that capability.

You can also keep ADRs and proposals in adrs/ and proposals/ folders inside the system folder. The folder does not link them to the system. To link them, read the next section.

Add ADRs and proposals to systems​

You link ADRs and proposals to a system in different locations:

ResourceWhere you add the linkWhere the system shows it
ADRThe appliesTo field of the ADRDecision Records in the system sidebar
ProposalThe proposals field of the systemProposals in Quick Reference

Add ADRs to a system​

Add the system to the appliesTo field of the ADR. You do not change the system file.

/domains/Catalog/systems/product-catalog-system/adrs/adr-001-use-transactional-outbox/index.mdx
---
id: adr-001-use-transactional-outbox
name: 'ADR-001: Publish product events via a transactional outbox'
version: 1.0.0
status: accepted
date: 2026-02-10
appliesTo:
- type: system
id: product-catalog-system
---

The Decision Records section in the system sidebar lists each ADR that applies to the system. For more information, read Add ADRs to resources.

Add proposals to a system​

Add the proposals field to the system file. Give the id of each proposal:

/domains/Catalog/systems/search-system/index.mdx
---
id: search-system
name: Search System
version: 1.0.0
proposals:
- id: real-time-search-indexing
- id: hourly-search-reindex
---

When the system lists proposals, Quick Reference in the system sidebar shows a Proposals link. The link opens a table of the proposals, with the status of each proposal.

The Search System page. Quick Reference in the sidebar has a Proposals link

For more information, read Add proposals to domains and systems.

Show the system's resources on its page​

Add <NodeGraph /> to the system page to show the services and data stores inside the system, and the messages between them.

/domains/Shopping/systems/cart-system/index.mdx
## Architecture

<NodeGraph />

Product Catalog System showing its services, messages, and data stores

Each system also has a Diagram page, linked from the Architecture section of the system sidebar. Level 2 (L2) of the Diagram shows the services and data stores inside the system, and level 3 (L3) adds the messages and channels:

/visualiser/systems/{system-id}/{version}?level=2

Learn more in System diagrams.

Resources page​

Every system with resources gets a Resources page that lists them in one table. Open it from Quick Reference > Resources in the system's sidebar, or go to:

/docs/systems/{system-id}/{version}/resources

The page lists the resources attached directly to the system:

ResourceWhere it comes fromRelationship
ServicesThe system's servicesContains
FlowsThe system's flowsContains
EntitiesThe system's entitiesOwns
Data storesThe system's containersContains
Decision recordsAny ADR whose appliesTo includes the system (add ADRs to resources)Governed by

Messages are not listed on a system's Resources page. To see them, open the Resources page of a service in the system.

The table has the same filters, sorting and row actions as the service Resources page. See Service resources page.

Changed in EventCatalog v5

The sidebar link was called System Resources and is now Resources. The page now lists decision records and has a Relationship column. The system architecture overview page (/architecture/systems/{system-id}/{version}) is removed. Old links redirect to the Resources page, or to the system's docs page when it has nothing to list.

For the complete list of supported fields, see the systems reference.