168 lines
3.5 KiB
JSON
168 lines
3.5 KiB
JSON
{
|
|
"version": "1.1",
|
|
"id": "reconciliation-loop",
|
|
"title": "reconciliation-loop runtime fixture",
|
|
"question": "Does the reconciliation-loop logical composition render correctly?",
|
|
"type": "architecture",
|
|
"direction": "LR",
|
|
"audience": [
|
|
"renderer maintainer"
|
|
],
|
|
"summary": "Executable reconciliation-loop fixture.",
|
|
"alt": "Executable technical diagram fixture for the reconciliation-loop composition profile.",
|
|
"long_description": "This fixture validates the node roles, edges, and layout rules of the reconciliation-loop profile.",
|
|
"source_context": {
|
|
"document": "examples/runtime-profiles/fixture.md",
|
|
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
|
"anchor": {
|
|
"kind": "line",
|
|
"value": 1,
|
|
"line": 1
|
|
}
|
|
},
|
|
"composition": {
|
|
"profile": "reconciliation-loop",
|
|
"diagram_only": true,
|
|
"reference_ids": [
|
|
"declarative-vm"
|
|
],
|
|
"rationale": "Runtime regression fixture for reconciliation-loop.",
|
|
"focus_node": "controller"
|
|
},
|
|
"groups": [],
|
|
"nodes": [
|
|
{
|
|
"id": "desired",
|
|
"label": "VM Custom Resource",
|
|
"kind": "resource",
|
|
"role": "desired-state",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"shape": "document",
|
|
"details": [
|
|
"vCPU: 2",
|
|
"memory: 8GB",
|
|
"process: dbaas-agent"
|
|
]
|
|
},
|
|
{
|
|
"id": "controller",
|
|
"label": "VM Operator",
|
|
"kind": "controller",
|
|
"role": "controller",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"shape": "controller",
|
|
"emphasis": "primary"
|
|
},
|
|
{
|
|
"id": "actual",
|
|
"label": "VM",
|
|
"kind": "runtime",
|
|
"role": "actual-state",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"details": [
|
|
"dbaas-agent"
|
|
]
|
|
},
|
|
{
|
|
"id": "status",
|
|
"label": "status",
|
|
"kind": "state",
|
|
"role": "status",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"shape": "port",
|
|
"details": [
|
|
"dbaas-agent: ok"
|
|
]
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"id": "watch",
|
|
"from": "desired",
|
|
"to": "controller",
|
|
"label": "watch",
|
|
"kind": "request",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "create",
|
|
"from": "controller",
|
|
"to": "actual",
|
|
"label": "create VM",
|
|
"kind": "request",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"emphasis": "primary"
|
|
},
|
|
{
|
|
"id": "status-read",
|
|
"from": "actual",
|
|
"to": "status",
|
|
"label": "report status",
|
|
"kind": "response",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"style": "dashed"
|
|
},
|
|
{
|
|
"id": "status-write",
|
|
"from": "status",
|
|
"to": "desired",
|
|
"label": "update status",
|
|
"kind": "response",
|
|
"evidence": [
|
|
{
|
|
"start_line": 1,
|
|
"end_line": 1
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"style": "dashed"
|
|
}
|
|
],
|
|
"legend": [],
|
|
"metadata": {
|
|
"fixture": true
|
|
}
|
|
}
|