feat(tolgee): add quarkus-tolgee-service and quarkus-tolgee-hibernate-validator #229
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
phoenix-oss/quarkus-commons!229
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/tolgee"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
catalogue for one project. Mandatory config (quarkus.rest-client.tolgee.url,
phoeniqs-oss.tolgee.project-id/api-key), no enabled flag. Dynamic namespace
discovery via used-namespaces, namespace isolation, locale fallback chain
rooted at quarkus.locales/quarkus.default-locale, packaged JSON fallback,
startup survives unavailable Tolgee but fails on missing config. No
request-time network access.
templates through Tolgee and delegates constraint interpolation back to
Hibernate; request-locale resolution delegated to Quarkus's
locale-resolver-wrapper so Accept-Language handling matches plain Quarkus.
instance (responses always nested, named namespaces wrapped); default
namespace reported as {id:null, name:null}; unknown languages silently
omitted.
integration suite (16 tests). JaCoCo gates: validator 1.00, service 0.98
(documented in AGENTS.md: startup-only guard is not recordable in tests).
- quarkus-tolgee-service: in-memory, atomically reloadable Tolgee translation catalogue for one project. Mandatory config (quarkus.rest-client.tolgee.url, phoeniqs-oss.tolgee.project-id/api-key), no enabled flag. Dynamic namespace discovery via used-namespaces, namespace isolation, locale fallback chain rooted at quarkus.locales/quarkus.default-locale, packaged JSON fallback, startup survives unavailable Tolgee but fails on missing config. No request-time network access. - quarkus-tolgee-hibernate-validator: resolves {key} validation message templates through Tolgee and delegates constraint interpolation back to Hibernate; request-locale resolution delegated to Quarkus's locale-resolver-wrapper so Accept-Language handling matches plain Quarkus. - Live recon recorded: structureDelimiter ignored by the reference Tolgee instance (responses always nested, named namespaces wrapped); default namespace reported as {id:null, name:null}; unknown languages silently omitted. - Tests: WireMock-based contract/snapshot suite (31 tests) and validator integration suite (16 tests). JaCoCo gates: validator 1.00, service 0.98 (documented in AGENTS.md: startup-only guard is not recordable in tests).50e3cb2f153784bbac933784bbac931e8bae07b6