Commit graph

6 commits

Author SHA1 Message Date
hhftechnologies
93fd97772d Add env-driven Traefik URL discovery and fallbacks
Introduce services/traefik_urls.go to centralize Traefik URL helpers and add opt-in fallback probing via TRAEFIK_API_FALLBACK_URLS. defaultTraefikURL now prefers TRAEFIK_API_URL before falling back to http://traefik:8080. main.go only auto-discovers the Traefik API when TRAEFIK_API_URL is empty and TRAEFIK_API_DISCOVER=true. Service fetchers were refactored to use fallbackTraefikURLsFromEnv (and return an error if no fallbacks are configured) and a noisy non-critical endpoint warning log was removed. These changes make fallback probing explicit and avoid silently overriding user-provided TRAEFIK_API_URL.
2026-04-16 04:12:57 +05:30
hhftechnologies
caabae1ab1 Upgrade Go/toolchain and deps; add rollback helper
Bump Go versions in CI, Dockerfile and go.mod/toolchain to 1.25.x and update several module dependencies. Introduce rollbackTransaction(tx, context) and replace direct tx.Rollback() calls (including panic recovery) across handlers to centralize rollback logging/handling. Replace direct json.Unmarshal/Scan calls in tests with mustUnmarshalResponse/mustScan helpers. Add TrustedProxies to ServerConfig and configure Gin with SetTrustedProxies. Misc: adjust final Docker image (Alpine version and healthcheck command) and minor logging/formatting cleanups.
2026-04-16 03:38:12 +05:30
hhftechnologies
4c76756593 updated-test-files-mtlsbugsfix 2026-01-17 13:12:44 +05:30
hhftechnologies
0e9e516439 mtls-update
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run
2026-01-14 04:19:52 +05:30
hhftechnologies
59282721dd refactoring 2026-01-11 15:24:17 +05:30
hhftechnologies
f6e0ce616a Initial commit 2025-04-13 22:54:56 +05:30