Skip to content

Commit

Permalink
Validate role service partially also in wait_for_deps.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik authored and index-git committed Jan 5, 2024
1 parent 3ab64c6 commit 1b94474
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/wait_for_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
from urllib.parse import urljoin

import geoserver
import layman_settings as settings
from geoserver.role_service import check_jdbc_role_service
import layman_settings as settings
from layman_start_util import validate_role_service

ATTEMPT_INTERVAL = 2
MAX_ATTEMPTS = 60
Expand Down Expand Up @@ -51,6 +52,7 @@ def main():
# Check PostgreSQL role service and stops immediately in case of any error
print(f"Checking PostgreSQL role service")
check_jdbc_role_service(settings.LAYMAN_ROLE_SERVICE_URI, settings.LAYMAN_ROLE_SERVICE_SCHEMA)
validate_role_service(layman_usernames=[])
print()

# QGIS Server
Expand Down

0 comments on commit 1b94474

Please sign in to comment.