[verified] feat: add semantic diagram lifecycle
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
pageId: system
|
||||
preconditions:
|
||||
- type: exists
|
||||
id: api
|
||||
operations:
|
||||
- type: update
|
||||
id: api
|
||||
changes:
|
||||
label: Public API
|
||||
properties:
|
||||
owner: platform
|
||||
production: true
|
||||
observability: true
|
||||
- type: add
|
||||
node:
|
||||
id: cache
|
||||
label: Cache
|
||||
kind: database
|
||||
geometry:
|
||||
x: 520
|
||||
y: 200
|
||||
width: 120
|
||||
height: 80
|
||||
- type: connect
|
||||
edge:
|
||||
id: api-cache
|
||||
source: api
|
||||
target: cache
|
||||
label: Read-through
|
||||
kind: data
|
||||
@@ -0,0 +1,8 @@
|
||||
rules:
|
||||
- no-direct-internet-to-database
|
||||
- no-cycles
|
||||
- no-orphans
|
||||
- every-service-has-owner
|
||||
- production-has-observability
|
||||
- external-dependencies-have-timeouts
|
||||
- trust-boundaries-use-protocol
|
||||
Reference in New Issue
Block a user