mirror of
https://github.com/cdc-si/zia-translation.git
synced 2026-08-26 10:14:20 +00:00
Read-only mirror of https://github.com/cdc-si/zia-translation — Zentrale Ausgleichsstelle ZAS. Issues & pull requests at the source.
- Java 99.7%
- Dockerfile 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* Initial plan * feat: implement optional strategy parameter for translation endpoints - Add TranslationStrategy enum (SINGLE/DUAL) with case-insensitive fromString() - Add StringToTranslationStrategyConverter and WebMvcConfiguration to register it - Update TranslationService: replace String strategy with TranslationStrategy defaultStrategy, remove STRATEGY_SINGLE/STRATEGY_DUAL constants, add strategy param to public methods, add resolveStrategy() for request > global priority - Update TranslationController: add optional strategy @RequestParam to 3 POST endpoints - Update GlobalExceptionHandler: handle MethodArgumentTypeMismatchException → 400 - Update openapi.yaml: add strategy param and TranslationStrategy schema - Add TranslationStrategyTest and StringToTranslationStrategyConverterTest - Update existing tests to use new method signatures * refactor: address review feedback on strategy naming and component registration * better handling of strategy type mismatch --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Boris <boris.flueckigersaltarin@zas.admin.ch> |
||
| .copilot | ||
| .github | ||
| specifications | ||
| src | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| Dockerfile | ||
| Jenkinsfile | ||
| pom.xml | ||
| README.md | ||
zia-translation
Service de Traduction