test: run 21 verification script
chore: add readme
This commit is contained in:
@@ -45,7 +45,7 @@ sleep 35
|
||||
|
||||
echo "==> List active encounters from local replica"
|
||||
ENCOUNTER_ID=$(curl -sf "$GW/api/v1/encounters?status=ACTIVE&department=ICU" \
|
||||
-H "Authorization: Bearer $GATEWAY_JWT" | jq -r '.data.items[0].id')
|
||||
-H "Authorization: Bearer $GATEWAY_JWT" | jq -r '.data.items[0].encounterId')
|
||||
if [[ -z "$ENCOUNTER_ID" || "$ENCOUNTER_ID" == "null" ]]; then
|
||||
echo "No ACTIVE ICU encounter on gateway — seed replica or set GATEWAY_SYNC_JWT for sync" >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user