Commit graph

26 commits

Author SHA1 Message Date
hhftechnologies
2557b25e2e Update test.yml 2026-04-16 04:19:59 +05:30
hhftechnologies
c9d516a00c Update test.yml 2026-04-16 04:18:15 +05:30
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
74519a54ad Create test.yml
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run
Tests / Run Tests (push) Waiting to run
Tests / Lint (push) Waiting to run
Tests / Build (push) Blocked by required conditions
2026-01-24 02:49:15 +05:30
hhftechnologies
f9a9fde7ce update-docs 2026-01-18 17:54:09 +05:30
HHF Technology
4c4258f78d
Update main.yml
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
2025-10-03 16:40:25 +05:30
HHF Technology
37a0c5e8ad
Update main.yml
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
2025-09-30 09:12:43 +05:30
hhftechnologies
0a5f8f0aea Update main.yml 2025-09-29 23:57:35 +05:30
HHF Technology
50cbd618aa
Update main.yml
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
2025-08-28 09:33:57 +05:30
hhftechnologies
ba7b24f83d Update main.yml 2025-06-23 11:03:07 +05:30
hhftechnologies
ade4cf956b Update main.yml 2025-05-22 13:27:54 +05:30
hhftechnologies
6f1d4143aa major-update 2025-04-29 12:37:50 +05:30
hhftechnologies
54de04c4eb Update main.yml 2025-04-23 19:34:02 +05:30
hhftechnologies
10a2cf3ce4 refactoring 2025-04-22 16:25:17 +05:30
hhftechnologies
effc0b14a6 Update main.yml 2025-04-20 23:17:01 +05:30
hhftechnologies
865edc1be2 update 2025-04-20 22:11:12 +05:30
hhftechnologies
f0e5eeb70b update 2025-04-18 20:47:04 +05:30
hhftechnologies
42aa680a7d Update main.yml 2025-04-16 19:23:03 +05:30
hhftechnologies
ec386804b7 Update main.yml 2025-04-16 14:51:55 +05:30
hhftechnologies
4989d9e29b update 2025-04-16 13:26:21 +05:30
HHF Technology
2c90318c9a
Update main.yml 2025-04-15 21:55:49 +05:30
hhftechnologies
64a7cf330d update 2025-04-14 20:29:30 +05:30
hhftechnologies
1a1debbedf Update main.yml 2025-04-14 16:22:03 +05:30
hhftechnologies
babb46904b Update main.yml 2025-04-14 15:59:04 +05:30
hhftechnologies
f6e0ce616a Initial commit 2025-04-13 22:54:56 +05:30