refactor: Migrate from monolithic to modular architecture

1. **Dokumentation der Architektur:**
    - Vervollständigen Sie die C4-Diagramme im docs-Verzeichnis
    - Dokumentieren Sie die wichtigsten Architekturentscheidungen in ADRs

2. **Redis-Integration finalisieren:**
    - Implementieren Sie die verteilte Cache-Lösung für die Offline-Fähigkeit
    - Nutzen Sie Redis Streams für das Event-Sourcing
This commit is contained in:
stefan
2025-07-23 14:29:40 +02:00
parent a256622f37
commit 9282dd0eb4
52 changed files with 5648 additions and 3 deletions
+31
View File
@@ -50,6 +50,37 @@ subprojects {
// Optimize JVM args for tests
jvmArgs = listOf("-Xmx512m", "-XX:+UseG1GC")
}
// Define a custom integrationTest task
tasks.register<Test>("integrationTest") {
description = "Runs integration tests."
group = "verification"
// Use the same configuration as the test task
useJUnitPlatform()
maxParallelForks = (Runtime.getRuntime().availableProcessors() / 2).takeIf { it > 0 } ?: 1
jvmArgs = listOf("-Xmx512m", "-XX:+UseG1GC")
// Include all tests that have "Integration" in their name
include("**/*Integration*Test.kt")
// Exclude tests that are not integration tests
exclude("**/*Test.kt")
// Set system properties for integration tests
systemProperty("spring.profiles.active", "integration-test")
systemProperty("redis.host", "localhost")
systemProperty("redis.port", "6379")
// Generate reports in a separate directory
reports {
html.required.set(true)
junitXml.required.set(true)
}
// This task should run after the regular test task
// We don't use mustRunAfter here to avoid reference issues
}
}
// Wrapper task configuration for the root project