Skip to content

Commit

Permalink
Merge pull request #2969 from HHS/health-check-update
Browse files Browse the repository at this point in the history
Updating health check criteria and minor errata
  • Loading branch information
jonnalley authored Oct 23, 2024
2 parents 7cd4111 + d282c84 commit 3739a73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/data_tools/scripts/initial_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [ "$ENV" = "local" ]; then
psql postgresql://postgres:local_password@db:5432/postgres -f $file
done
else
echo "Local environment detected. Loading seed data..."
echo "Non-Local environment detected. Loading seed data..."
for file in $(ls ./data_tools/initial_data/*.sql | sort -g); do
echo "Loading $file..."
psql postgresql://"$PGUSER":"$PGPASSWORD"@"$PGHOST":"$PGPORT"/"$PGDATABASE" -f $file
Expand Down
2 changes: 1 addition & 1 deletion backend/ops_api/ops/utils/health_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async def check_auth_services() -> dict:

resp = {"status_code": None, "alarm_level": 0}
try:
authlib_client_config = current_app.config["AUTHLIB_OAUTH_CLIENTS"]["logingov"]
authlib_client_config = current_app.config["AUTHLIB_OAUTH_CLIENTS"]["hhsams"]
server_metadata_url = authlib_client_config["server_metadata_url"]
r = requests.get(server_metadata_url, timeout=10)
resp["status_code"] = r.status_code
Expand Down

0 comments on commit 3739a73

Please sign in to comment.