- examples/: c4-standard-web-app, c4-e-shop (was online-shop), c4-event-based-integration; the same models the extension offers under Archify | New Model… - model-scaffold --example <name> copies one and renames id, name, description and the overview title; never overwrites - tests cover every example and the copy; docs updated
30 lines
858 B
Plaintext
30 lines
858 B
Plaintext
schema_version: 1
|
|
model:
|
|
id: event-based-integration
|
|
name: Event-Based Integration
|
|
description: >
|
|
Systems that never call each other directly; events go through a bus,
|
|
a router validates and enriches them, consumers react. Context,
|
|
containers, the router's components and one flow, C4 style.
|
|
diagram_type: architecture
|
|
meta:
|
|
title: Event-Based Integration — overview
|
|
output: main.html
|
|
components:
|
|
- ref: crm
|
|
pos: [40, 60]
|
|
size: [130, 60]
|
|
- ref: erp
|
|
pos: [40, 260]
|
|
size: [130, 60]
|
|
- ref: platform
|
|
pos: [280, 160]
|
|
size: [170, 60]
|
|
- ref: warehouse
|
|
pos: [540, 160]
|
|
size: [150, 60]
|
|
connections:
|
|
- { from: crm, to: platform, label: customer events, variant: emphasis }
|
|
- { from: erp, to: platform, label: order events, variant: emphasis }
|
|
- { from: platform, to: warehouse, label: pick lists }
|