@radicaltools/cli 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +237 -22
- package/dist/hub-catalogue/concern/concern-api-evolution.radical +935 -0
- package/dist/hub-catalogue/concern/concern-architecture-style.radical +1112 -0
- package/dist/hub-catalogue/concern/concern-authentication.radical +685 -0
- package/dist/hub-catalogue/concern/concern-authorization.radical +1464 -0
- package/dist/hub-catalogue/concern/concern-availability.radical +804 -0
- package/dist/hub-catalogue/concern/concern-backend-stack.radical +1118 -0
- package/dist/hub-catalogue/concern/concern-backup-recovery.radical +1304 -0
- package/dist/hub-catalogue/concern/concern-capacity.radical +802 -0
- package/dist/hub-catalogue/concern/concern-communication-style.radical +1202 -0
- package/dist/hub-catalogue/concern/concern-data-consistency.radical +1081 -0
- package/dist/hub-catalogue/concern/concern-data-store.radical +960 -0
- package/dist/hub-catalogue/concern/concern-decomposition.radical +1143 -0
- package/dist/hub-catalogue/concern/concern-deployment.radical +952 -0
- package/dist/hub-catalogue/concern/concern-encryption.radical +1055 -0
- package/dist/hub-catalogue/concern/concern-frontend-stack.radical +1340 -0
- package/dist/hub-catalogue/concern/concern-infrastructure.radical +1151 -0
- package/dist/hub-catalogue/concern/concern-integration-resilience.radical +1079 -0
- package/dist/hub-catalogue/concern/concern-messaging.radical +940 -0
- package/dist/hub-catalogue/concern/concern-module-boundaries.radical +864 -0
- package/dist/hub-catalogue/concern/concern-observability.radical +1048 -0
- package/dist/hub-catalogue/concern/concern-personal-data.radical +1434 -0
- package/dist/hub-catalogue/concern/concern-rate-limiting.radical +1153 -0
- package/dist/hub-catalogue/concern/concern-secrets.radical +1026 -0
- package/dist/hub-catalogue/concern/concern-supply-chain.radical +1312 -0
- package/dist/hub-catalogue/concern/concern-tenant-isolation.radical +1306 -0
- package/dist/hub-catalogue/concern/concern-test-strategy.radical +1193 -0
- package/dist/index.js +9204 -5242
- package/package.json +5 -3
|
@@ -0,0 +1,804 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hub": {
|
|
3
|
+
"id": "concern-availability",
|
|
4
|
+
"category": "concern",
|
|
5
|
+
"name": "Availability",
|
|
6
|
+
"description": "How available it must be: the target and its error budget, the redundancy that target needs, what happens when the budget is spent, and how dependencies and planned work count against it.",
|
|
7
|
+
"tags": [
|
|
8
|
+
"reliability",
|
|
9
|
+
"availability",
|
|
10
|
+
"slo",
|
|
11
|
+
"error-budget",
|
|
12
|
+
"redundancy",
|
|
13
|
+
"multi-zone",
|
|
14
|
+
"failover"
|
|
15
|
+
],
|
|
16
|
+
"requiredMetamodel": "c4-ddd-governance-builtin",
|
|
17
|
+
"concern": {
|
|
18
|
+
"id": "availability",
|
|
19
|
+
"trigger": "LIST RELATIONS WHERE (source.type = \"person\" OR source.external = true) AND target.external != true AND (target.type = \"system\" OR target.type = \"container\" OR target.type = \"webapp\" OR target.type = \"component\")",
|
|
20
|
+
"applyTo": "target",
|
|
21
|
+
"why": "people or other systems reach these elements, so how much downtime they may have, and what it takes to stay within it, has to be decided.",
|
|
22
|
+
"group": "reliability"
|
|
23
|
+
},
|
|
24
|
+
"sources": [
|
|
25
|
+
{
|
|
26
|
+
"title": "Google SRE book, chapter 3: Embracing Risk",
|
|
27
|
+
"url": "https://sre.google/sre-book/embracing-risk/"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"title": "Google SRE book, chapter 4: Service Level Objectives",
|
|
31
|
+
"url": "https://sre.google/sre-book/service-level-objectives/"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"title": "Google SRE workbook: Example Error Budget Policy",
|
|
35
|
+
"url": "https://sre.google/workbook/error-budget-policy/"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"title": "AWS Well-Architected Framework, Reliability Pillar",
|
|
39
|
+
"url": "https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/welcome.html"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"title": "Sloth: SLO generator for Prometheus",
|
|
43
|
+
"url": "https://sloth.dev/"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"templateParams": [
|
|
47
|
+
{
|
|
48
|
+
"key": "TIER",
|
|
49
|
+
"title": "Target",
|
|
50
|
+
"label": "What availability does it promise, per 30 days (%)?",
|
|
51
|
+
"hint": "Each nine cuts the allowed downtime tenfold and decides the redundancy: one zone, several zones, or several regions. Pick the lowest target the users and contracts accept, not the highest you can imagine.",
|
|
52
|
+
"defaultValue": "99.9",
|
|
53
|
+
"options": [
|
|
54
|
+
{
|
|
55
|
+
"value": "99.0",
|
|
56
|
+
"label": "99.0",
|
|
57
|
+
"description": "Down at most 7 h 12 min per 30 days. One zone, instances restarted by the platform, a managed database with backups. Pick it for internal tools and back-office work that can wait an hour, with nobody paged at night."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"value": "99.9",
|
|
61
|
+
"label": "99.9",
|
|
62
|
+
"description": "Down at most 43 min per 30 days. At least two instances in two availability zones and a database that fails over by itself; someone on call. Pick it for most customer-facing services and partner APIs."
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"value": "99.95",
|
|
66
|
+
"label": "99.95",
|
|
67
|
+
"description": "Down at most 21 min per 30 days. Three zones with capacity to lose one at peak, releases and schema changes without downtime. Pick it for revenue paths (checkout, payments) where an hour down is a visible loss."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"value": "99.99",
|
|
71
|
+
"label": "99.99",
|
|
72
|
+
"description": "Down at most 4 min 19 s per 30 days: no time for a person to react. Active-active in two regions with automatic failover. Pick it only when a contract or safety demands it and the budget covers roughly double the infrastructure."
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"key": "BUDGET",
|
|
78
|
+
"title": "Error budget",
|
|
79
|
+
"label": "What happens when the error budget is spent?",
|
|
80
|
+
"hint": "The error budget is the downtime the target allows. Without a policy agreed in advance, a missed target changes nothing.",
|
|
81
|
+
"defaultValue": "freeze",
|
|
82
|
+
"options": [
|
|
83
|
+
{
|
|
84
|
+
"value": "freeze",
|
|
85
|
+
"label": "releases freeze",
|
|
86
|
+
"description": "While the 30-day budget is spent, only reliability and security fixes are deployed. Pick it when the target is in a contract or the same outages keep coming back, and product owners have agreed to it in writing."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"value": "review",
|
|
90
|
+
"label": "a review sets priorities",
|
|
91
|
+
"description": "A spent budget starts a blameless postmortem and puts its top action into the next iteration; releases go on. Pick it for a young product where shipping matters more than the last nine, or a team without the authority to freeze."
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"key": "DEPENDENCIES",
|
|
97
|
+
"title": "Dependencies",
|
|
98
|
+
"label": "How do the dependencies it calls fit the target?",
|
|
99
|
+
"hint": "Availability multiplies along synchronous calls: two hard dependencies at 99.9 % leave at most 99.8 % for the caller.",
|
|
100
|
+
"defaultValue": "stronger",
|
|
101
|
+
"options": [
|
|
102
|
+
{
|
|
103
|
+
"value": "stronger",
|
|
104
|
+
"label": "hard dependencies above our target",
|
|
105
|
+
"description": "Every service it must call to answer offers a committed availability higher than its own target, and the product of them still meets it. Pick it when the dependencies are managed services or platforms with published SLAs (databases, queues, identity providers)."
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"value": "degrade",
|
|
109
|
+
"label": "degraded service without them",
|
|
110
|
+
"description": "Dependencies that cannot meet the target are made soft: without them it still serves what does not need them (cached prices, orders queued for later). Pick it when a partner system or an older internal service is weaker than the target."
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"key": "MAINTENANCE",
|
|
116
|
+
"title": "Planned work",
|
|
117
|
+
"label": "May planned work take it down?",
|
|
118
|
+
"hint": "Releases, migrations and patching are the most common cause of downtime. Either they are designed to run online, or they get an announced window.",
|
|
119
|
+
"defaultValue": "none",
|
|
120
|
+
"options": [
|
|
121
|
+
{
|
|
122
|
+
"value": "none",
|
|
123
|
+
"label": "no planned downtime",
|
|
124
|
+
"description": "Releases, schema changes and patching run while it serves; anything they break counts against the error budget. Pick it for 99.95 % and above, for users in every time zone, and whenever releases are frequent."
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"value": "window",
|
|
128
|
+
"label": "an announced maintenance window",
|
|
129
|
+
"description": "Work that cannot run online gets a weekly window, announced in advance and left out of the measured availability. Pick it for users in one time zone with a quiet night, and only with a target of 99.9 % or less."
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"key": "WINDOW",
|
|
135
|
+
"label": "When is the maintenance window?",
|
|
136
|
+
"defaultValue": "Sundays 02:00 to 04:00 UTC"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
"nodes": [
|
|
141
|
+
{
|
|
142
|
+
"id": "need",
|
|
143
|
+
"type": "need",
|
|
144
|
+
"label": "Available as promised",
|
|
145
|
+
"x": 0,
|
|
146
|
+
"y": 0,
|
|
147
|
+
"kind": "brief",
|
|
148
|
+
"source": "Hub concern pack: Availability",
|
|
149
|
+
"description": "People and other systems reach this element and depend on it answering. They need to know how much downtime to expect, and the team needs a number that decides when reliability work comes before features. The target has to be paid for with the redundancy it implies, hold up when a zone or a dependency fails, and survive the team's own releases and maintenance."
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"id": "req-target",
|
|
153
|
+
"type": "requirement",
|
|
154
|
+
"label": "Availability target met",
|
|
155
|
+
"x": 260,
|
|
156
|
+
"y": 0,
|
|
157
|
+
"ears_type": "ubiquitous",
|
|
158
|
+
"action": "answer at least {{TIER}} % of valid requests in every 30-day window without a server error, measured where callers reach it (load balancer or API gateway), with requests refused for the caller's own fault (4xx) left out",
|
|
159
|
+
"rationale": "A target measured as users see it, over a rolling window, is what the error budget and every other decision here rest on (Google SRE book, chapter 4)."
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"id": "req-instance",
|
|
163
|
+
"type": "requirement",
|
|
164
|
+
"label": "Lost instance replaced",
|
|
165
|
+
"x": 260,
|
|
166
|
+
"y": 130,
|
|
167
|
+
"ears_type": "unwanted-behaviour",
|
|
168
|
+
"unwanted_condition": "its only instance, or the host under it, stops",
|
|
169
|
+
"action": "start a replacement automatically and serve again within 15 minutes, without a person",
|
|
170
|
+
"rationale": "At 99.0 % one zone is enough, but 7 h 12 min a month does not cover a restart that waits for someone to notice (AWS Well-Architected REL 11).",
|
|
171
|
+
"hubWhen": {
|
|
172
|
+
"TIER": [
|
|
173
|
+
"99.0"
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"id": "req-zones",
|
|
179
|
+
"type": "requirement",
|
|
180
|
+
"label": "Survives a zone loss",
|
|
181
|
+
"x": 260,
|
|
182
|
+
"y": 260,
|
|
183
|
+
"ears_type": "unwanted-behaviour",
|
|
184
|
+
"unwanted_condition": "one availability zone becomes unreachable",
|
|
185
|
+
"action": "keep answering from the remaining zones within 5 minutes, with at least two instances in two zones (three zones for 99.95 %) and enough capacity left to carry the peak",
|
|
186
|
+
"rationale": "A zone loss is a routine event at cloud scale; 43 minutes a month (99.9 %) or 21 (99.95 %) is gone in one outage if serving depends on a single zone (AWS Well-Architected REL 10).",
|
|
187
|
+
"hubWhen": {
|
|
188
|
+
"TIER": [
|
|
189
|
+
"99.9",
|
|
190
|
+
"99.95"
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"id": "req-region",
|
|
196
|
+
"type": "requirement",
|
|
197
|
+
"label": "Survives a region loss",
|
|
198
|
+
"x": 260,
|
|
199
|
+
"y": 390,
|
|
200
|
+
"ears_type": "unwanted-behaviour",
|
|
201
|
+
"unwanted_condition": "the region serving it fails or is cut off",
|
|
202
|
+
"action": "serve every request from the other region within 60 seconds, by automated health-based routing with no person in the loop",
|
|
203
|
+
"rationale": "At 99.99 % the month allows 4 min 19 s; one regional incident or a person deciding to fail over would use it all (Google SRE book, chapter 3).",
|
|
204
|
+
"hubWhen": {
|
|
205
|
+
"TIER": [
|
|
206
|
+
"99.99"
|
|
207
|
+
]
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "req-freeze",
|
|
212
|
+
"type": "requirement",
|
|
213
|
+
"label": "Spent budget freezes releases",
|
|
214
|
+
"x": 260,
|
|
215
|
+
"y": 520,
|
|
216
|
+
"ears_type": "state-driven",
|
|
217
|
+
"precondition": "the error budget of the last 30 days is spent",
|
|
218
|
+
"action": "deploy only changes that fix reliability or security, until the measured availability is back at {{TIER}} % or above",
|
|
219
|
+
"rationale": "An error budget policy agreed in advance turns a missed target into a decision nobody has to argue about (Google SRE workbook, Example Error Budget Policy).",
|
|
220
|
+
"hubWhen": {
|
|
221
|
+
"BUDGET": [
|
|
222
|
+
"freeze"
|
|
223
|
+
]
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"id": "req-review",
|
|
228
|
+
"type": "requirement",
|
|
229
|
+
"label": "Spent budget reviewed",
|
|
230
|
+
"x": 260,
|
|
231
|
+
"y": 650,
|
|
232
|
+
"ears_type": "event-driven",
|
|
233
|
+
"trigger": "the error budget of the last 30 days is spent",
|
|
234
|
+
"action": "hold a blameless postmortem within 5 working days and put its most important reliability action into the next iteration",
|
|
235
|
+
"rationale": "Without a freeze, the review is what makes a missed target change priorities (Google SRE workbook, Example Error Budget Policy).",
|
|
236
|
+
"hubWhen": {
|
|
237
|
+
"BUDGET": [
|
|
238
|
+
"review"
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"id": "req-dependencies",
|
|
244
|
+
"type": "requirement",
|
|
245
|
+
"label": "Dependencies above target",
|
|
246
|
+
"x": 260,
|
|
247
|
+
"y": 780,
|
|
248
|
+
"ears_type": "ubiquitous",
|
|
249
|
+
"action": "call synchronously only services whose committed availability is above {{TIER}} %, and keep the product of those availabilities, its own included, at or above {{TIER}} %",
|
|
250
|
+
"rationale": "Availability multiplies along hard dependencies: an element cannot promise more than the services it waits for (Google SRE book, chapter 3; AWS Well-Architected REL 1).",
|
|
251
|
+
"hubWhen": {
|
|
252
|
+
"DEPENDENCIES": [
|
|
253
|
+
"stronger"
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"id": "req-degrade",
|
|
259
|
+
"type": "requirement",
|
|
260
|
+
"label": "Degrades without dependencies",
|
|
261
|
+
"x": 260,
|
|
262
|
+
"y": 910,
|
|
263
|
+
"ears_type": "unwanted-behaviour",
|
|
264
|
+
"unwanted_condition": "a dependency weaker than its own target does not answer within its timeout",
|
|
265
|
+
"action": "go on serving every operation that does not need it, and answer those that do within 1 second with a degraded result (cached data, work queued for later) or a clear \"try later\"",
|
|
266
|
+
"rationale": "A soft dependency does not count against the target; turning hard dependencies soft is how an element beats the availability of what it calls (AWS Well-Architected REL 5).",
|
|
267
|
+
"hubWhen": {
|
|
268
|
+
"DEPENDENCIES": [
|
|
269
|
+
"degrade"
|
|
270
|
+
]
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"id": "req-online",
|
|
275
|
+
"type": "requirement",
|
|
276
|
+
"label": "Planned work runs online",
|
|
277
|
+
"x": 260,
|
|
278
|
+
"y": 1040,
|
|
279
|
+
"ears_type": "event-driven",
|
|
280
|
+
"trigger": "a release, a schema change or a patch is rolled out",
|
|
281
|
+
"action": "go on answering throughout, and count every request it fails meanwhile against the error budget",
|
|
282
|
+
"rationale": "Planned work is the most common cause of downtime; designing it out is what high targets need (Google SRE book, chapter 4).",
|
|
283
|
+
"hubWhen": {
|
|
284
|
+
"MAINTENANCE": [
|
|
285
|
+
"none"
|
|
286
|
+
]
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"id": "req-window",
|
|
291
|
+
"type": "requirement",
|
|
292
|
+
"label": "Maintenance window kept",
|
|
293
|
+
"x": 260,
|
|
294
|
+
"y": 1170,
|
|
295
|
+
"ears_type": "state-driven",
|
|
296
|
+
"precondition": "planned work needs it stopped",
|
|
297
|
+
"action": "stop only within the maintenance window ({{WINDOW}}), announce it to users at least 7 days before, show a maintenance page meanwhile, and leave the window out of the measured availability only when it was announced in time",
|
|
298
|
+
"rationale": "A window announced in advance is downtime users can plan around; one that is not is an outage (Google SRE book, chapter 4).",
|
|
299
|
+
"hubWhen": {
|
|
300
|
+
"MAINTENANCE": [
|
|
301
|
+
"window"
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"id": "sc-target",
|
|
307
|
+
"type": "scenario",
|
|
308
|
+
"label": "Target computed",
|
|
309
|
+
"x": 520,
|
|
310
|
+
"y": 0,
|
|
311
|
+
"given": "30 days of production traffic at the load balancer",
|
|
312
|
+
"when": "the share of valid requests answered without a 5xx is computed",
|
|
313
|
+
"then": "it is at least {{TIER}} %"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"id": "sc-instance",
|
|
317
|
+
"type": "scenario",
|
|
318
|
+
"label": "Instance restarted",
|
|
319
|
+
"x": 520,
|
|
320
|
+
"y": 130,
|
|
321
|
+
"given": "the element running on one instance",
|
|
322
|
+
"when": "the instance is killed",
|
|
323
|
+
"then": "a new one serves requests within 15 minutes and nobody was paged to start it",
|
|
324
|
+
"hubWhen": {
|
|
325
|
+
"TIER": [
|
|
326
|
+
"99.0"
|
|
327
|
+
]
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"id": "sc-zones",
|
|
332
|
+
"type": "scenario",
|
|
333
|
+
"label": "Zone lost",
|
|
334
|
+
"x": 520,
|
|
335
|
+
"y": 260,
|
|
336
|
+
"given": "the element serving peak traffic across its zones",
|
|
337
|
+
"when": "every instance in one zone is stopped",
|
|
338
|
+
"then": "within 5 minutes the error rate is back below 0.1 % without a person acting",
|
|
339
|
+
"hubWhen": {
|
|
340
|
+
"TIER": [
|
|
341
|
+
"99.9",
|
|
342
|
+
"99.95"
|
|
343
|
+
]
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"id": "sc-region",
|
|
348
|
+
"type": "scenario",
|
|
349
|
+
"label": "Region lost",
|
|
350
|
+
"x": 520,
|
|
351
|
+
"y": 390,
|
|
352
|
+
"given": "the element serving from two regions",
|
|
353
|
+
"when": "one region is cut off from the network",
|
|
354
|
+
"then": "within 60 seconds every request is answered from the other region",
|
|
355
|
+
"hubWhen": {
|
|
356
|
+
"TIER": [
|
|
357
|
+
"99.99"
|
|
358
|
+
]
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"id": "sc-freeze",
|
|
363
|
+
"type": "scenario",
|
|
364
|
+
"label": "Release blocked",
|
|
365
|
+
"x": 520,
|
|
366
|
+
"y": 520,
|
|
367
|
+
"given": "a 30-day availability below {{TIER}} %",
|
|
368
|
+
"when": "a feature change is about to deploy to production, and then a reliability fix",
|
|
369
|
+
"then": "the feature change is stopped by the pipeline and the fix deploys",
|
|
370
|
+
"hubWhen": {
|
|
371
|
+
"BUDGET": [
|
|
372
|
+
"freeze"
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"id": "sc-review",
|
|
378
|
+
"type": "scenario",
|
|
379
|
+
"label": "Review held",
|
|
380
|
+
"x": 520,
|
|
381
|
+
"y": 650,
|
|
382
|
+
"given": "a 30-day availability that falls below {{TIER}} %",
|
|
383
|
+
"when": "5 working days pass",
|
|
384
|
+
"then": "a postmortem is written and its top action is planned in the next iteration",
|
|
385
|
+
"hubWhen": {
|
|
386
|
+
"BUDGET": [
|
|
387
|
+
"review"
|
|
388
|
+
]
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"id": "sc-dependencies",
|
|
393
|
+
"type": "scenario",
|
|
394
|
+
"label": "Dependency budget checked",
|
|
395
|
+
"x": 520,
|
|
396
|
+
"y": 780,
|
|
397
|
+
"given": "the list of services it calls synchronously, with their committed availability",
|
|
398
|
+
"when": "the product of their availabilities is computed",
|
|
399
|
+
"then": "every one is above {{TIER}} % and the product is at least {{TIER}} %",
|
|
400
|
+
"hubWhen": {
|
|
401
|
+
"DEPENDENCIES": [
|
|
402
|
+
"stronger"
|
|
403
|
+
]
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"id": "sc-degrade",
|
|
408
|
+
"type": "scenario",
|
|
409
|
+
"label": "Partner down",
|
|
410
|
+
"x": 520,
|
|
411
|
+
"y": 910,
|
|
412
|
+
"given": "a dependency that stops answering",
|
|
413
|
+
"when": "requests that need it and requests that do not arrive",
|
|
414
|
+
"then": "the second are served as usual and the first get a degraded answer within 1 second",
|
|
415
|
+
"hubWhen": {
|
|
416
|
+
"DEPENDENCIES": [
|
|
417
|
+
"degrade"
|
|
418
|
+
]
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"id": "sc-online",
|
|
423
|
+
"type": "scenario",
|
|
424
|
+
"label": "Release under load",
|
|
425
|
+
"x": 520,
|
|
426
|
+
"y": 1040,
|
|
427
|
+
"given": "steady production-like traffic",
|
|
428
|
+
"when": "a release with a schema change rolls out",
|
|
429
|
+
"then": "the error rate stays below 0.1 % throughout",
|
|
430
|
+
"hubWhen": {
|
|
431
|
+
"MAINTENANCE": [
|
|
432
|
+
"none"
|
|
433
|
+
]
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"id": "sc-window",
|
|
438
|
+
"type": "scenario",
|
|
439
|
+
"label": "Window announced",
|
|
440
|
+
"x": 520,
|
|
441
|
+
"y": 1170,
|
|
442
|
+
"given": "a migration that needs the element stopped",
|
|
443
|
+
"when": "it is scheduled",
|
|
444
|
+
"then": "it runs within {{WINDOW}}, users were told 7 days before, and they see a maintenance page while it runs",
|
|
445
|
+
"hubWhen": {
|
|
446
|
+
"MAINTENANCE": [
|
|
447
|
+
"window"
|
|
448
|
+
]
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"id": "adr-one-zone",
|
|
453
|
+
"type": "adr",
|
|
454
|
+
"label": "One zone, restarted by the platform",
|
|
455
|
+
"x": 780,
|
|
456
|
+
"y": 0,
|
|
457
|
+
"concern": "availability",
|
|
458
|
+
"status": "accepted",
|
|
459
|
+
"date": "",
|
|
460
|
+
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features.",
|
|
461
|
+
"decision": "The element targets {{TIER}} % per 30 days (7 h 12 min of downtime). It runs in one availability zone on a platform that restarts failed instances by itself: a Kubernetes Deployment with liveness probes, or a managed runtime (Azure App Service, Google Cloud Run, AWS App Runner). Its database is a managed single instance with automated backups. Dependencies: {{DEPENDENCIES}}. Planned work: {{MAINTENANCE}}. When the budget is spent: {{BUDGET}}. Choose the runtime by what the team already operates; a managed runtime unless the element needs Kubernetes features.",
|
|
462
|
+
"consequences": "• The cheapest setup: one copy of everything.\n• A zone outage takes the element down until the zone returns; that is accepted at 99.0 %.\n• Nobody is paged at night; outages wait for working hours as long as the month's budget lasts.\n• Moving to 99.9 % later means a second zone and a database that fails over, which this decision does not prepare.",
|
|
463
|
+
"alternatives": "1. Two zones from the start: buys 99.9 % but doubles the cost for users who do not need it.\n2. A single virtual machine restarted by hand: cheaper, but a restart waits for someone to notice.",
|
|
464
|
+
"hubWhen": {
|
|
465
|
+
"TIER": [
|
|
466
|
+
"99.0"
|
|
467
|
+
]
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"id": "adr-multi-zone",
|
|
472
|
+
"type": "adr",
|
|
473
|
+
"label": "Redundant across zones",
|
|
474
|
+
"x": 780,
|
|
475
|
+
"y": 130,
|
|
476
|
+
"concern": "availability",
|
|
477
|
+
"status": "accepted",
|
|
478
|
+
"date": "",
|
|
479
|
+
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features.",
|
|
480
|
+
"decision": "The element targets {{TIER}} % per 30 days. It runs at least two instances in two availability zones (for 99.95 %: three zones, with enough instances that two zones carry the peak), spread with Kubernetes topology spread constraints or zone-redundant platform settings, behind a load balancer that health-checks each instance. Its database fails over to a synchronous standby in another zone by itself: Amazon RDS Multi-AZ, Azure SQL zone-redundant, Cloud SQL high availability or a Patroni cluster. Dependencies: {{DEPENDENCIES}}. Planned work: {{MAINTENANCE}}. When the budget is spent: {{BUDGET}}. Someone is on call, since 43 minutes (21 for 99.95 %) do not wait for the morning.",
|
|
481
|
+
"consequences": "• A zone loss costs minutes of errors, not hours.\n• Roughly twice the compute of one zone (three zones for 99.95 %), and cross-zone traffic is billed.\n• Every instance must be stateless or share state through the database or a cache: sessions and uploads cannot live on one instance.\n• The database failover is a few dozen seconds of errors, which counts against the budget; it is tested, not assumed.",
|
|
482
|
+
"alternatives": "1. One zone and fast restarts: cheaper, but one zone outage uses the whole month's budget.\n2. Two regions active-active: survives a region, at roughly twice the cost and with the hard problem of data replicated across regions.",
|
|
483
|
+
"hubWhen": {
|
|
484
|
+
"TIER": [
|
|
485
|
+
"99.9",
|
|
486
|
+
"99.95"
|
|
487
|
+
]
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"id": "adr-multi-region",
|
|
492
|
+
"type": "adr",
|
|
493
|
+
"label": "Active-active in two regions",
|
|
494
|
+
"x": 780,
|
|
495
|
+
"y": 260,
|
|
496
|
+
"concern": "availability",
|
|
497
|
+
"status": "accepted",
|
|
498
|
+
"date": "",
|
|
499
|
+
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features.",
|
|
500
|
+
"decision": "The element targets {{TIER}} % per 30 days (4 min 19 s). It runs active-active in two regions, each in at least two zones and each able to carry the whole peak. A global load balancer routes by health and moves traffic without a person: Amazon Route 53 with health checks and Application Recovery Controller, Azure Front Door, or Google Cloud global load balancing. Data is replicated across regions by a store built for it: Amazon Aurora Global Database or DynamoDB global tables, Azure Cosmos DB, Google Cloud Spanner, or CockroachDB; choose by the consistency the data needs (strong across regions: Spanner or CockroachDB; per-region writes with replication lag: Aurora Global Database, DynamoDB global tables). Dependencies: {{DEPENDENCIES}}. Planned work: {{MAINTENANCE}}. When the budget is spent: {{BUDGET}}.",
|
|
501
|
+
"consequences": "• A region outage costs a minute, not the month.\n• Roughly double the infrastructure, plus cross-region data transfer.\n• Writes across regions are slower or eventually consistent; the data model has to be designed for it.\n• Failover is exercised regularly, or it will not work when needed.\n• Every hard dependency, the identity provider included, must also be multi-region.",
|
|
502
|
+
"alternatives": "1. Active-passive with a warm standby region: cheaper, but failover takes minutes and is rarely tested.\n2. Three zones in one region (99.95 %): far simpler, and enough unless a contract demands four nines.",
|
|
503
|
+
"hubWhen": {
|
|
504
|
+
"TIER": [
|
|
505
|
+
"99.99"
|
|
506
|
+
]
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"id": "adr-budget-freeze",
|
|
511
|
+
"type": "adr",
|
|
512
|
+
"label": "Spent budget freezes releases",
|
|
513
|
+
"x": 780,
|
|
514
|
+
"y": 390,
|
|
515
|
+
"concern": "availability",
|
|
516
|
+
"status": "accepted",
|
|
517
|
+
"date": "",
|
|
518
|
+
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features.",
|
|
519
|
+
"decision": "The error budget is the downtime {{TIER}} % allows in a rolling 30-day window. While it is spent, the deployment pipeline lets through only changes labelled as reliability or security fixes; feature work resumes when the measured availability is back at {{TIER}} % or above. The policy is signed by the product owner and the team lead, and an exception needs both. The budget is computed from the SLO's recording rules (Sloth or Pyrra on Prometheus, or the SLO feature of Datadog, Grafana Cloud or Google Cloud Monitoring), and the pipeline reads it before every production deploy.",
|
|
520
|
+
"consequences": "• Reliability work wins automatically when users are hurting, with no argument.\n• A bad month can stop feature releases for days; product owners plan for it.\n• The availability measurement must be trusted, since it now gates releases.\n• Fixes have to be labelled honestly; the label is reviewed in the pull request.",
|
|
521
|
+
"alternatives": "1. A review instead of a freeze: keeps shipping, but relies on the review changing priorities.\n2. No policy: the target is reported and nothing follows from it.",
|
|
522
|
+
"hubWhen": {
|
|
523
|
+
"BUDGET": [
|
|
524
|
+
"freeze"
|
|
525
|
+
]
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"id": "adr-budget-review",
|
|
530
|
+
"type": "adr",
|
|
531
|
+
"label": "Spent budget triggers a review",
|
|
532
|
+
"x": 780,
|
|
533
|
+
"y": 520,
|
|
534
|
+
"concern": "availability",
|
|
535
|
+
"status": "accepted",
|
|
536
|
+
"date": "",
|
|
537
|
+
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features.",
|
|
538
|
+
"decision": "The error budget is the downtime {{TIER}} % allows in a rolling 30-day window. When it is spent, an alert opens a ticket for a blameless postmortem, held within 5 working days; its most important action goes into the next iteration ahead of feature work. Releases are not stopped. The budget is computed from the SLO's recording rules (Sloth or Pyrra on Prometheus, or the SLO feature of Datadog, Grafana Cloud or Google Cloud Monitoring).",
|
|
539
|
+
"consequences": "• Feature releases keep going in a bad month.\n• The postmortem makes the causes visible and gives reliability work a place in the plan.\n• If the same causes keep spending the budget, this decision should be superseded by a freeze.",
|
|
540
|
+
"alternatives": "1. A release freeze: stronger, but needs product owners' agreement and a trusted measurement.\n2. No policy: the target is reported and nothing follows from it.",
|
|
541
|
+
"hubWhen": {
|
|
542
|
+
"BUDGET": [
|
|
543
|
+
"review"
|
|
544
|
+
]
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"id": "ff-slo",
|
|
549
|
+
"type": "fitness-fn",
|
|
550
|
+
"label": "Availability SLO measured",
|
|
551
|
+
"x": 1040,
|
|
552
|
+
"y": 0,
|
|
553
|
+
"category": "operational",
|
|
554
|
+
"threshold": "Availability at least {{TIER}} % over every rolling 30 days; a page when the budget burns 14.4 times faster than allowed over 1 hour",
|
|
555
|
+
"description": "An SLO spec generates the Prometheus recording rules for the availability over 30 days and the multiwindow burn-rate alerts. The SLI is the share of requests answered without a 5xx at the edge. The error budget remaining is what the budget policy reads.\n\nTool: Sloth (Prometheus SLO generator); Pyrra takes the same objective\n\n```yaml\n# sloth generate -i availability.yaml -o availability.rules.yaml\nversion: \"prometheus/v1\"\nservice: \"order-api\"\nlabels:\n owner: \"orders-team\"\nslos:\n - name: \"availability\"\n objective: {{TIER}}\n description: \"Share of valid requests answered without a server error, over 30 days.\"\n sli:\n events:\n error_query: sum(rate(http_server_request_duration_seconds_count{job=\"order-api\",http_response_status_code=~\"5..\"}[{{.window}}]))\n total_query: sum(rate(http_server_request_duration_seconds_count{job=\"order-api\"}[{{.window}}]))\n alerting:\n name: OrderApiAvailability\n page_alert:\n labels: { severity: page }\n ticket_alert:\n labels: { severity: ticket }\n```"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"id": "ff-instance-loss",
|
|
559
|
+
"type": "fitness-fn",
|
|
560
|
+
"label": "Killed instance comes back",
|
|
561
|
+
"x": 1040,
|
|
562
|
+
"y": 130,
|
|
563
|
+
"category": "operational",
|
|
564
|
+
"threshold": "After its instance is killed the element serves again within 15 minutes, with no person acting",
|
|
565
|
+
"description": "A scheduled chaos experiment kills the element's pod; a probe (the Blackbox exporter or a k6 check) records how long until it answers again, and the experiment fails past 15 minutes.\n\nTool: Chaos Mesh (PodChaos), with the Prometheus Blackbox exporter as probe\n\n```yaml\napiVersion: chaos-mesh.org/v1alpha1\nkind: Schedule\nmetadata: { name: order-api-instance-loss, namespace: shop }\nspec:\n schedule: \"0 10 * * 2\" # Tuesdays 10:00, in working hours\n type: PodChaos\n historyLimit: 5\n concurrencyPolicy: Forbid\n podChaos:\n action: pod-kill\n mode: all\n selector:\n namespaces: [shop]\n labelSelectors: { app: order-api }\n# Alert if not back: probe_success{job=\"blackbox\",instance=\"https://shop.example.com/healthz\"} == 0 for 15m\n```",
|
|
566
|
+
"hubWhen": {
|
|
567
|
+
"TIER": [
|
|
568
|
+
"99.0"
|
|
569
|
+
]
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"id": "ff-zone-loss",
|
|
574
|
+
"type": "fitness-fn",
|
|
575
|
+
"label": "Zone loss tolerated",
|
|
576
|
+
"x": 1040,
|
|
577
|
+
"y": 260,
|
|
578
|
+
"category": "operational",
|
|
579
|
+
"threshold": "With every instance in one zone killed at production-like load, errors above 0.1 % last no longer than 5 minutes",
|
|
580
|
+
"description": "A chaos experiment kills every pod on the nodes of one zone while a load test runs at the expected peak; the load test fails when errors stay above 0.1 % for more than 5 minutes. Run it every month and after every change to the deployment, and once a quarter fail over the database as well.\n\nTool: Chaos Mesh (PodChaos by node zone) with k6 as load\n\n```yaml\napiVersion: chaos-mesh.org/v1alpha1\nkind: PodChaos\nmetadata: { name: order-api-zone-a-down, namespace: shop }\nspec:\n action: pod-kill\n mode: all\n selector:\n namespaces: [shop]\n labelSelectors: { app: order-api }\n nodeSelectors:\n topology.kubernetes.io/zone: eu-west-1a\n# Meanwhile: k6 run --env RATE=<peak rps> zone-loss.js\n# with thresholds: { http_req_failed: [{ threshold: 'rate<0.001', abortOnFail: false }] }\n# evaluated over the window from 5 minutes after the kill to its end.\n```",
|
|
581
|
+
"hubWhen": {
|
|
582
|
+
"TIER": [
|
|
583
|
+
"99.9",
|
|
584
|
+
"99.95"
|
|
585
|
+
]
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"id": "ff-region-failover",
|
|
590
|
+
"type": "fitness-fn",
|
|
591
|
+
"label": "Region failover drilled",
|
|
592
|
+
"x": 1040,
|
|
593
|
+
"y": 390,
|
|
594
|
+
"category": "operational",
|
|
595
|
+
"threshold": "With one region cut off, every request is answered from the other region within 60 seconds; 0 % errors after that",
|
|
596
|
+
"description": "A quarterly game day cuts the application subnets of one region off the network while a k6 probe calls the global endpoint every second from outside; the probe fails if any request fails more than 60 seconds after the cut. The stop condition ends the experiment when the global error alarm fires.\n\nTool: AWS Fault Injection Service (network disruption), with a k6 probe on the global endpoint\n\n```json\n{\n \"description\": \"Cut region A's application subnets off; traffic must move to region B within 60 s\",\n \"targets\": {\n \"appSubnets\": {\n \"resourceType\": \"aws:ec2:subnet\",\n \"resourceTags\": { \"tier\": \"app\", \"service\": \"order-api\" },\n \"selectionMode\": \"ALL\"\n }\n },\n \"actions\": {\n \"isolateRegion\": {\n \"actionId\": \"aws:network:disrupt-connectivity\",\n \"parameters\": { \"duration\": \"PT15M\", \"scope\": \"all\" },\n \"targets\": { \"Subnets\": \"appSubnets\" }\n }\n },\n \"stopConditions\": [\n { \"source\": \"aws:cloudwatch:alarm\", \"value\": \"arn:aws:cloudwatch:us-east-1:123456789012:alarm:global-error-rate\" }\n ],\n \"roleArn\": \"arn:aws:iam::123456789012:role/fis-experiments\"\n}\n```",
|
|
597
|
+
"hubWhen": {
|
|
598
|
+
"TIER": [
|
|
599
|
+
"99.99"
|
|
600
|
+
]
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"id": "ff-budget-gate",
|
|
605
|
+
"type": "fitness-fn",
|
|
606
|
+
"label": "Spent budget blocks deploys",
|
|
607
|
+
"x": 1040,
|
|
608
|
+
"y": 520,
|
|
609
|
+
"category": "process",
|
|
610
|
+
"threshold": "A production deploy without the reliability-fix label is refused whenever the 30-day error budget remaining is 0 or below",
|
|
611
|
+
"description": "A pipeline step before every production deploy reads the error budget remaining from Prometheus (the Sloth recording rule) and fails when it is spent, unless the change carries the label for reliability or security fixes.\n\nTool: GitHub Actions step querying the Prometheus HTTP API\n\n```yaml\n- name: Error budget gate\n if: ${{ !contains(github.event.pull_request.labels.*.name, 'reliability-fix') }}\n run: |\n remaining=$(curl -sf \"$PROMETHEUS_URL/api/v1/query\" \\\n --data-urlencode 'query=slo:period_error_budget_remaining:ratio{sloth_service=\"order-api\",sloth_slo=\"availability\"}' \\\n | jq -r '.data.result[0].value[1]')\n echo \"Error budget remaining: $remaining\"\n if awk \"BEGIN { exit !($remaining <= 0) }\"; then\n echo \"::error::Error budget spent: only reliability or security fixes deploy (ADR Spent budget freezes releases)\"\n exit 1\n fi\n```",
|
|
612
|
+
"hubWhen": {
|
|
613
|
+
"BUDGET": [
|
|
614
|
+
"freeze"
|
|
615
|
+
]
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"id": "ff-budget-review",
|
|
620
|
+
"type": "fitness-fn",
|
|
621
|
+
"label": "Spent budget opens a review",
|
|
622
|
+
"x": 1040,
|
|
623
|
+
"y": 650,
|
|
624
|
+
"category": "process",
|
|
625
|
+
"threshold": "Every spent 30-day budget opens a postmortem ticket within 1 hour; 100 % of them closed within 5 working days",
|
|
626
|
+
"description": "An alerting rule fires when the error budget remaining reaches 0 and Alertmanager routes it to the ticket system (Jira or GitHub Issues through a webhook receiver); the team's monthly review counts tickets closed in time.\n\nTool: Prometheus alerting rule routed by Alertmanager\n\n```yaml\ngroups:\n - name: error-budget\n rules:\n - alert: OrderApiErrorBudgetSpent\n expr: slo:period_error_budget_remaining:ratio{sloth_service=\"order-api\",sloth_slo=\"availability\"} <= 0\n for: 15m\n labels:\n severity: ticket\n action: postmortem\n annotations:\n summary: \"Order API spent its 30-day error budget ({{TIER}} %)\"\n description: \"Hold a blameless postmortem within 5 working days (ADR Spent budget triggers a review).\"\n```",
|
|
627
|
+
"hubWhen": {
|
|
628
|
+
"BUDGET": [
|
|
629
|
+
"review"
|
|
630
|
+
]
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
],
|
|
634
|
+
"relations": [
|
|
635
|
+
{
|
|
636
|
+
"id": "req-target--derives--need",
|
|
637
|
+
"sourceId": "req-target",
|
|
638
|
+
"targetId": "need",
|
|
639
|
+
"relationType": "derives"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"id": "req-instance--derives--need",
|
|
643
|
+
"sourceId": "req-instance",
|
|
644
|
+
"targetId": "need",
|
|
645
|
+
"relationType": "derives"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"id": "req-zones--derives--need",
|
|
649
|
+
"sourceId": "req-zones",
|
|
650
|
+
"targetId": "need",
|
|
651
|
+
"relationType": "derives"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"id": "req-region--derives--need",
|
|
655
|
+
"sourceId": "req-region",
|
|
656
|
+
"targetId": "need",
|
|
657
|
+
"relationType": "derives"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"id": "req-freeze--derives--need",
|
|
661
|
+
"sourceId": "req-freeze",
|
|
662
|
+
"targetId": "need",
|
|
663
|
+
"relationType": "derives"
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"id": "req-review--derives--need",
|
|
667
|
+
"sourceId": "req-review",
|
|
668
|
+
"targetId": "need",
|
|
669
|
+
"relationType": "derives"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"id": "req-dependencies--derives--need",
|
|
673
|
+
"sourceId": "req-dependencies",
|
|
674
|
+
"targetId": "need",
|
|
675
|
+
"relationType": "derives"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"id": "req-degrade--derives--need",
|
|
679
|
+
"sourceId": "req-degrade",
|
|
680
|
+
"targetId": "need",
|
|
681
|
+
"relationType": "derives"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"id": "req-online--derives--need",
|
|
685
|
+
"sourceId": "req-online",
|
|
686
|
+
"targetId": "need",
|
|
687
|
+
"relationType": "derives"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"id": "req-window--derives--need",
|
|
691
|
+
"sourceId": "req-window",
|
|
692
|
+
"targetId": "need",
|
|
693
|
+
"relationType": "derives"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"id": "sc-target--verifies--req-target",
|
|
697
|
+
"sourceId": "sc-target",
|
|
698
|
+
"targetId": "req-target",
|
|
699
|
+
"relationType": "verifies"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"id": "sc-instance--verifies--req-instance",
|
|
703
|
+
"sourceId": "sc-instance",
|
|
704
|
+
"targetId": "req-instance",
|
|
705
|
+
"relationType": "verifies"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"id": "sc-zones--verifies--req-zones",
|
|
709
|
+
"sourceId": "sc-zones",
|
|
710
|
+
"targetId": "req-zones",
|
|
711
|
+
"relationType": "verifies"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"id": "sc-region--verifies--req-region",
|
|
715
|
+
"sourceId": "sc-region",
|
|
716
|
+
"targetId": "req-region",
|
|
717
|
+
"relationType": "verifies"
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"id": "sc-freeze--verifies--req-freeze",
|
|
721
|
+
"sourceId": "sc-freeze",
|
|
722
|
+
"targetId": "req-freeze",
|
|
723
|
+
"relationType": "verifies"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"id": "sc-review--verifies--req-review",
|
|
727
|
+
"sourceId": "sc-review",
|
|
728
|
+
"targetId": "req-review",
|
|
729
|
+
"relationType": "verifies"
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"id": "sc-dependencies--verifies--req-dependencies",
|
|
733
|
+
"sourceId": "sc-dependencies",
|
|
734
|
+
"targetId": "req-dependencies",
|
|
735
|
+
"relationType": "verifies"
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"id": "sc-degrade--verifies--req-degrade",
|
|
739
|
+
"sourceId": "sc-degrade",
|
|
740
|
+
"targetId": "req-degrade",
|
|
741
|
+
"relationType": "verifies"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"id": "sc-online--verifies--req-online",
|
|
745
|
+
"sourceId": "sc-online",
|
|
746
|
+
"targetId": "req-online",
|
|
747
|
+
"relationType": "verifies"
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"id": "sc-window--verifies--req-window",
|
|
751
|
+
"sourceId": "sc-window",
|
|
752
|
+
"targetId": "req-window",
|
|
753
|
+
"relationType": "verifies"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"id": "ff-slo--implements--adr-one-zone",
|
|
757
|
+
"sourceId": "ff-slo",
|
|
758
|
+
"targetId": "adr-one-zone",
|
|
759
|
+
"relationType": "implements"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"id": "ff-slo--implements--adr-multi-zone",
|
|
763
|
+
"sourceId": "ff-slo",
|
|
764
|
+
"targetId": "adr-multi-zone",
|
|
765
|
+
"relationType": "implements"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"id": "ff-slo--implements--adr-multi-region",
|
|
769
|
+
"sourceId": "ff-slo",
|
|
770
|
+
"targetId": "adr-multi-region",
|
|
771
|
+
"relationType": "implements"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"id": "ff-instance-loss--implements--adr-one-zone",
|
|
775
|
+
"sourceId": "ff-instance-loss",
|
|
776
|
+
"targetId": "adr-one-zone",
|
|
777
|
+
"relationType": "implements"
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"id": "ff-zone-loss--implements--adr-multi-zone",
|
|
781
|
+
"sourceId": "ff-zone-loss",
|
|
782
|
+
"targetId": "adr-multi-zone",
|
|
783
|
+
"relationType": "implements"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"id": "ff-region-failover--implements--adr-multi-region",
|
|
787
|
+
"sourceId": "ff-region-failover",
|
|
788
|
+
"targetId": "adr-multi-region",
|
|
789
|
+
"relationType": "implements"
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"id": "ff-budget-gate--implements--adr-budget-freeze",
|
|
793
|
+
"sourceId": "ff-budget-gate",
|
|
794
|
+
"targetId": "adr-budget-freeze",
|
|
795
|
+
"relationType": "implements"
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"id": "ff-budget-review--implements--adr-budget-review",
|
|
799
|
+
"sourceId": "ff-budget-review",
|
|
800
|
+
"targetId": "adr-budget-review",
|
|
801
|
+
"relationType": "implements"
|
|
802
|
+
}
|
|
803
|
+
]
|
|
804
|
+
}
|