forked from finos/architecture-as-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontext.json
More file actions
53 lines (53 loc) · 1.24 KB
/
context.json
File metadata and controls
53 lines (53 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"nodes": [
{
"unique-id": "retail-platform",
"node-type": "system",
"name": "Retail Platform",
"description": "Customer ordering and fulfillment"
},
{
"unique-id": "order-svc",
"node-type": "service",
"name": "Order Service",
"description": "Accepts and manages customer orders",
"interfaces": [
{ "unique-id": "rest", "name": "REST API" }
]
},
{
"unique-id": "inventory-svc",
"node-type": "service",
"name": "Inventory Service",
"description": "Tracks stock and reservations",
"interfaces": [
{ "unique-id": "rest", "name": "REST API" }
]
}
],
"relationships": [
{
"unique-id": "c1",
"relationship-type": {
"composed-of": {
"container": "retail-platform",
"nodes": ["order-svc", "inventory-svc"]
}
}
},
{
"unique-id": "e1",
"relationship-type": {
"connects": {
"source": { "node": "order-svc" },
"destination": { "node": "inventory-svc", "interfaces": [ "rest" ] }
}
},
"description": "REST API call to reserve stock"
}
],
"metadata": {},
"controls": {},
"flows": [],
"adrs": []
}