meldestelle/docs
stefan 1db41a5c62 refactor(core): Stabilize and Refactor Shared Kernel
This commit introduces a comprehensive refactoring and stabilization of the core module, establishing a robust and well-tested foundation (Shared Kernel) for all other services.

The module has been thoroughly analyzed, cleaned up, and equipped with a professional-grade test suite.

Architectural Refinements:
- Slimmed down `core-domain` to be a true, minimal Shared Kernel by removing all domain-specific enums (`PferdeGeschlechtE`, `SparteE`, etc.). This enforces loose coupling between feature modules.
- The only remaining enum is `DatenQuelleE`, which is a cross-cutting concern.

Code Refactoring & Improvements:
- Refactored the configuration loading by introducing a `ConfigLoader` class. This decouples the `AppConfig` data classes from the loading mechanism, significantly improving the testability of components that rely on configuration.
- Unified the previously duplicated `ValidationResult` and `ValidationError` classes into a single, serializable source of truth, ensuring consistent error reporting across all APIs.

Testing Enhancements:
- Introduced a comprehensive test suite for the core module, bringing it to a production-ready quality standard.
- Implemented the "gold standard" for database testing by replacing the previous H2 approach with **Testcontainers**. The `DatabaseFactory` is now tested against a real, ephemeral PostgreSQL container, guaranteeing 100% production parity.
- Added robust unit and integration tests for critical components, including the new `ConfigLoader`, all custom `Serializers`, and the `ApiResponse` logic.
- Fixed all compilation and runtime errors in the test suite, resulting in a successful `./gradlew clean build`.
2025-08-05 18:25:21 +02:00
..
.swagger-codegen (vision) SCS/DDD 2025-07-14 22:02:46 +02:00
api docs: Migrationsplan für Projekt-Restrukturierung hinzugefügt 2025-07-25 13:05:42 +02:00
architecture refactor: Migrate from monolithic to modular architecture 2025-07-23 14:29:40 +02:00
client einige Ergänzungen 2025-07-25 23:16:16 +02:00
database einige Ergänzungen 2025-07-25 23:16:16 +02:00
development docs: Migrationsplan für Projekt-Restrukturierung hinzugefügt 2025-07-25 13:05:42 +02:00
entwickungszyklus refactor(core): Stabilize and Refactor Shared Kernel 2025-08-05 18:25:21 +02:00
implementation einige Ergänzungen 2025-07-25 23:16:16 +02:00
modules einige Ergänzungen 2025-07-25 23:16:16 +02:00
postman (vision) SCS/DDD 2025-07-18 23:07:05 +02:00
scripts einige Ergänzungen 2025-07-25 23:16:16 +02:00
.swagger-codegen-ignore (vision) SCS/DDD 2025-07-14 22:02:46 +02:00
BILINGUAL_DOCUMENTATION_IMPLEMENTATION_SUMMARY.md einige Ergänzungen 2025-07-25 23:16:16 +02:00
BILINGUAL_DOCUMENTATION_INDEX.md einige Ergänzungen 2025-07-25 23:16:16 +02:00
client-data-fetching-implementation-summary-de.md docs: Migrationsplan für Projekt-Restrukturierung hinzugefügt 2025-07-25 13:05:42 +02:00
client-data-fetching-implementation-summary.md refactor: Migrate from monolithic to modular architecture 2025-07-22 18:44:18 +02:00
client-data-fetching-improvements-de.md docs: Migrationsplan für Projekt-Restrukturierung hinzugefügt 2025-07-25 13:05:42 +02:00
client-data-fetching-improvements.md refactor: Migrate from monolithic to modular architecture 2025-07-22 18:44:18 +02:00
documentation-updates-summary.md docs: Migrationsplan für Projekt-Restrukturierung hinzugefügt 2025-07-25 13:05:42 +02:00
final-report-de.md docs: Migrationsplan für Projekt-Restrukturierung hinzugefügt 2025-07-25 13:05:42 +02:00
final-report.md refactor: Migrate from monolithic to modular architecture 2025-07-22 18:44:18 +02:00
index.html (vision) SCS/DDD 2025-07-14 22:02:46 +02:00
INDEX.md docs: Migrationsplan für Projekt-Restrukturierung hinzugefügt 2025-07-25 13:05:42 +02:00
migration-plan-de.md docs: Migrationsplan für Projekt-Restrukturierung hinzugefügt 2025-07-25 13:05:42 +02:00
migration-plan.md refactor: Migrate from monolithic to modular architecture 2025-07-22 18:44:18 +02:00
migration-remaining-tasks-de.md docs: Migrationsplan für Projekt-Restrukturierung hinzugefügt 2025-07-25 13:05:42 +02:00
migration-remaining-tasks.md refactor: Migrate from monolithic to modular architecture 2025-07-22 18:44:18 +02:00
migration-status-de.md docs: Migrationsplan für Projekt-Restrukturierung hinzugefügt 2025-07-25 13:05:42 +02:00
migration-status.md refactor: Migrate from monolithic to modular architecture 2025-07-22 18:44:18 +02:00
migration-summary-de.md docs: Migrationsplan für Projekt-Restrukturierung hinzugefügt 2025-07-25 13:05:42 +02:00
migration-summary.md refactor: Migrate from monolithic to modular architecture 2025-07-22 18:44:18 +02:00