The six models from extension 0.11.0 (arc42 by section, ArchiMate by layer) next to the three C4 ones; model:scaffold --example offers them and the tests validate each with 0 problems.
50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
schema_version: 1
|
|
diagram_type: architecture
|
|
meta:
|
|
title: Booking API - level 2
|
|
output: booking.html
|
|
decisions: [seat-holds-with-ttl]
|
|
components:
|
|
- ref: web
|
|
pos: [40, 160]
|
|
size: [130, 60]
|
|
- id: programme
|
|
type: backend
|
|
label: Programme
|
|
sublabel: shows, halls
|
|
pos: [250, 60]
|
|
size: [130, 60]
|
|
- id: seats
|
|
type: backend
|
|
label: Seat Holds
|
|
sublabel: lock, release
|
|
pos: [250, 160]
|
|
size: [130, 60]
|
|
- id: checkout
|
|
type: backend
|
|
label: Checkout
|
|
sublabel: orders, webhook
|
|
pos: [250, 260]
|
|
size: [130, 60]
|
|
- ref: seatlock
|
|
pos: [460, 160]
|
|
size: [130, 60]
|
|
decisions: [seat-holds-with-ttl]
|
|
- ref: db
|
|
pos: [460, 60]
|
|
size: [130, 60]
|
|
- ref: psp
|
|
pos: [460, 360]
|
|
size: [150, 60]
|
|
boundaries:
|
|
- kind: region
|
|
label: Booking API
|
|
wraps: [programme, seats, checkout]
|
|
connections:
|
|
- { from: web, to: programme, label: browse }
|
|
- { from: web, to: seats, label: hold, variant: emphasis }
|
|
- { from: web, to: checkout, label: pay }
|
|
- { from: programme, to: db, label: SQL }
|
|
- { from: seats, to: seatlock, label: SET NX, decisions: [seat-holds-with-ttl] }
|
|
- { from: checkout, to: psp, label: session, variant: security }
|