Commit Graph

24 Commits

Author SHA1 Message Date
4ea084bd1d fixing gradle build 2025-08-01 00:04:50 +02:00
stefan
df5919fac8 feat(build): Refactor infrastructure modules and establish single source of truth
This commit introduces a major refactoring of the build system and the core infrastructure modules. The primary goal is to establish a strict "Single Source of Truth" for all dependencies using Gradle Version Catalogs and to create a clean, maintainable, and scalable foundation for all current and future services.

### 1. Centralized Dependency Management (`libs.versions.toml`)

- **Established Single Source of Truth:** All dependency versions are now exclusively managed in `gradle/libs.versions.toml`. Hardcoded versions have been removed from all build scripts.
- **Introduced Gradle Bundles:** To simplify module dependencies, several bundles have been created (e.g., `testing-jvm`, `redis-cache`, `spring-cloud-gateway`, `monitoring-client`). This drastically reduces boilerplate in the `build.gradle.kts` files and improves readability.
- **Cleaned up Aliases:** All library and plugin aliases have been standardized for consistency.

### 2. Infrastructure Module Refactoring

All infrastructure modules (`core`, `platform`, `auth`, `cache`, `event-store`, `messaging`, `monitoring`, `gateway`) have been refactored to align with the new dependency management strategy.

- **Simplified Build Scripts:** The `build.gradle.kts` for each module now uses the new bundles and aliases, making them significantly cleaner and easier to understand.
- **Consistent Structure:** The architecture of each module now clearly follows the Port-Adapter pattern where applicable (e.g., `cache-api`/`redis-cache`).
- **Standardized `platform-bom`:** The project's own Bill of Materials (`platform-bom`) now also includes the Spring Cloud BOM, ensuring version consistency for all Spring-related dependencies.

### 3. Added Infrastructure Documentation

To improve onboarding and architectural understanding, a dedicated `README-*.md` file has been created for each refactored infrastructure module:
- `README-CORE.md`
- `README-PLATFORM.md`
- `README-INFRA-AUTH.md`
- `README-INFRA-CACHE.md`
- `README-INFRA-EVENT-STORE.md`
- `README-INFRA-MESSAGING.md`
- `README-INFRA-MONITORING.md`
- `README-INFRA-GATEWAY.md`

These documents explain the purpose, architecture, and usage of each component within the system. This lays the groundwork for our "Tracer Bullet" development approach.
2025-07-31 14:09:22 +02:00
81cb4582d6 fixing gradle build 2025-07-31 00:02:12 +02:00
stefan
e504326c7e fix(gradle) gradle.build 2025-07-30 14:32:41 +02:00
ea75bbdb24 fixing gradle build 2025-07-30 00:01:22 +02:00
stefan
965aa68fa7 fix(gradle) gradle.build 2025-07-29 16:32:38 +02:00
1ecac43d72 (vision) SCS/DDD
Service Discovery einführen
Consul als Service-Registry implementieren
Services für automatische Registrierung konfigurieren
Dynamisches Service-Routing im API-Gateway einrichten
Health-Checks für jeden Service implementieren
2025-07-21 23:54:13 +02:00
stefan
7a64325196 (fix) Umbau zu SCS
### API-Gateway erweitern
- Bestehenden API-Gateway-Service mit zusätzlichen Funktionen ausstatten:
    - Rate Limiting implementieren
    - Request/Response Logging verbessern
2025-07-21 16:25:12 +02:00
stefan
e76db7e924 (fix) Umbau zu SCS 2025-07-19 11:26:09 +02:00
611e31e196 (vision) SCS/DDD 2025-07-18 23:07:05 +02:00
stefan
029b0c86bc Umbau zu SCS 2025-07-17 15:17:31 +02:00
67c52f7381 (vision) SCS/DDD 2025-07-16 00:38:19 +02:00
d40bfaac48 (fix) Swagger/OpenAPI-Dokumentation implementieren 2025-06-30 23:38:48 +02:00
stefan
d2b51aed2c (fix) cleanup Gradle-Build 2025-06-30 13:25:44 +02:00
stefan
b2b3c2d93f (fix) cleanup Gradle-Build 2025-06-30 11:18:53 +02:00
stefan
bd399fdcd3 fix and upgrade gradle 2025-05-08 16:21:43 +02:00
d97df11832 fix(server, shared): TODO 2025-05-07 01:34:50 +02:00
stefan
d74b47cbf5 Datenklassen im shared-Modul 2025-05-06 16:25:00 +02:00
stefan
b513643b02 daten Klassen im shared Ordner erstellt und gradle überarbeitet 2025-05-06 15:07:07 +02:00
2ba54b4e11 fix(compose): Change server host port mapping to 8081 to avoid local conflict 2025-04-20 16:19:17 +02:00
0f68084f49 fix(server): Read database config directly from environment variables 2025-04-18 22:01:20 +02:00
stefan
b999cb5832 - server config outsourced
- test integrated
2025-04-18 15:15:42 +02:00
44cef36d00 init home and upgrade gradle-properties 2025-04-18 00:38:54 +02:00
stefan
12c723cad2 Project initialized 2025-04-17 13:02:03 +02:00