feat(system): language registry with guarded updates and a catalog version

Ported from babyboo locale-registry: a duplicate code, a code change, switching
English off and switching off the last enabled language are refused as 409s
with a message code; every accepted change bumps the catalog version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-12-02 12:40:15 +08:00
1 parent 075a3a34d1
commit 4622a5219d
9 files changed
+359 -1

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ Verify commands:
## 2. services-system
- [ ] 2.1 Language registry: entity, repository, service and `/locale/*` controller, with the duplicate, code-locked, English-locked and last-enabled refusals, and the catalog version bump on save and update.
- [x] 2.1 Language registry: entity, repository, service and `/locale/*` controller, with the duplicate, code-locked, English-locked and last-enabled refusals, and the catalog version bump on save and update.
- Verify: `mvn -T 1C -B -q -pl solvway-services-system -am verify`
- [ ] 2.2 Messages:
- `catalog_meta` with `/message/catalogVersion`;