forked from mtusi2026/mtusi2026lab2
docs: fill report
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# scripts/outage-demo.sh (COMPOSE="podman compose")
|
||||
# Dependency outage demo on the live stand; date: 2026-10-29T22:09:23Z. Token is kept in a shell variable, never printed.
|
||||
baseline: GET /users/me (Bearer) -> 200
|
||||
|
||||
## podman compose stop redis
|
||||
GET /health/ready -> 503
|
||||
GET /users/me (valid Bearer) -> 503
|
||||
GET /users/me (no auth) -> 401
|
||||
POST /auth/sessions (Basic) -> 503
|
||||
body: {"error":{"code":"unavailable","message":"service temporarily unavailable","request_id":"0fc08a63-dc18-4508-a95e-7274844d13c8"}}
|
||||
## podman compose start redis -> ready; same token: GET /users/me -> 200
|
||||
|
||||
## podman compose stop postgres
|
||||
GET /health/ready -> 503
|
||||
GET /users/me (valid Bearer) -> 503
|
||||
GET /chats (valid Bearer) -> 503
|
||||
body: {"error":{"code":"unavailable","message":"service temporarily unavailable","request_id":"43f47140-394e-461e-b5bc-1863a33fc6da"}}
|
||||
## podman compose start postgres -> ready; same token: GET /users/me -> 200
|
||||
Reference in New Issue
Block a user