ЛР 2 - БВТ2302 - Саргсян Сона - на 4 #145

Closed
sargsona wants to merge 7 commits from sargsona/mtusi2026lab2:solution/bvt2302-sargsyan into master
5 changed files with 12 additions and 0 deletions
Showing only changes of commit f4087c1672 - Show all commits
+1
View File
@@ -0,0 +1 @@
api-1 | 2026-11-02 22:31:51,587 [INFO] [req_id=-] Applied migration 001_init.sql
+3
View File
@@ -0,0 +1,3 @@
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8080"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
+3
View File
@@ -0,0 +1,3 @@
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
mtusi-lab2-api-1 mtusi-messenger:lab2 "sh -c 'exec uvicorn…" api 38 minutes ago Up Less than a second (health: starting) 127.0.0.1:8080->8080/tcp
mtusi-lab2-postgres-1 postgres:16.6-alpine "docker-entrypoint.s…" postgres 38 minutes ago Up 5 seconds (healthy) 5432/tcp
+3
View File
@@ -0,0 +1,3 @@
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
mtusi-lab2-api-1 mtusi-messenger:lab2 "sh -c 'exec uvicorn…" api 38 minutes ago Up 39 seconds (healthy) 127.0.0.1:8080->8080/tcp
mtusi-lab2-postgres-1 postgres:16.6-alpine "docker-entrypoint.s…" postgres 38 minutes ago Up 44 seconds (healthy) 5432/tcp
+2
View File
@@ -0,0 +1,2 @@
python3 tests/smoke.py --base-url "http://localhost:8080"
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.