feature: Site & Gateway Registry + Clinical Sync Contracts

This commit is contained in:
voltsrage
2026-06-23 04:31:15 +08:00
parent c9994b1ba2
commit efe5419da4
24 changed files with 547 additions and 19 deletions
-9
View File
@@ -1,6 +1,3 @@
**`scripts/run-phase22-verification.sh`:**
```bash
#!/usr/bin/env bash
set -euo pipefail
@@ -13,9 +10,6 @@ KEY="${GATEWAY_API_KEY:-dev-gateway-key-change-in-production}"
GW_ID="${GATEWAY_ID:-22222222-2222-2222-2222-222222222222}"
JWT="${ADMIN_JWT:?Set ADMIN_JWT}"
echo "==> Run sync batch tests"
dotnet test VigilCareClinicalAPI.Tests --filter "FullyQualifiedName~ClinicalSyncBatch"
echo "==> Start full stack"
docker compose --profile full --profile ward-gateway up -d
sleep 30
@@ -54,6 +48,3 @@ docker exec -i $(docker ps -qf name=postgres) psql -U postgres -d vigilcare \
echo "==> Check no duplicate paging (grep application logs for [PAGE] count)"
echo "Phase 22 verification passed."
```
Make executable: `chmod +x scripts/run-phase22-verification.sh`