Skip to content

v1.2.0

Choose a tag to compare

@smaspons smaspons released this 19 May 11:48
837bdaf

What's changed?

Added

  • Single-tenant routing mode (SINGLE_TENANT_ID): when set, all ${API_ROOT}/v1/* requests resolve to that tenant regardless of Host, and ${API_ROOT}/admin/* is reachable on the same host/IP. Enables IP-only or single-host production deployments without DNS or fake Host headers. BASE_DOMAIN is ignored for routing in this mode. When unset, DNS-based multi-tenant routing via BASE_DOMAIN is unchanged.

Changed

  • Configurable API root: all surfaces now live under a single env-driven prefix (API_ROOT, default /giswater). Tenant API at ${API_ROOT}/v1, admin at ${API_ROOT}/admin, global health at ${API_ROOT}/health, static at ${API_ROOT}/static. Set API_ROOT=/gw-api to keep legacy v1.1 URLs.
  • Log viewer (/logs/ui) now resolves its static asset URLs from STATIC_PREFIX instead of hardcoded /gw-api/static.
  • deploy/nginx.conf.example, scripts/smoke_test.sh, and docker-compose.yml healthcheck updated to use ${API_ROOT} (default /giswater).
  • Public URLs moved from /gw-api/... to /giswater/... by default. Deployments that need the old paths must set API_ROOT=/gw-api; clients, Keycloak callbacks, probes, and any hardcoded URLs must be updated accordingly.

Full Changelog: v1.1.0...v1.2.0