feat(redis): implement Redis integration for game state management and websocket communication

This commit is contained in:
2026-04-26 00:13:35 +02:00
parent ec09a1bdb9
commit 83f84371be
48 changed files with 1475 additions and 427 deletions
+7 -2
View File
@@ -46,7 +46,11 @@ val coverageExclusions = listOf(
// AccountResource / ChallengeResource — REST integration layer; @QuarkusTest not instrumented by Scoverage
"**/account/src/main/scala/de/nowchess/account/resource/**",
// JacksonConfig / NativeReflectionConfig — Quarkus lifecycle hooks, no testable logic
"**/account/src/main/scala/de/nowchess/account/config/**"
"**/account/src/main/scala/de/nowchess/account/config/**",
// WebSocket service — infrastructure CDI beans (RedisConfig, RedissonProducer)
"**/ws/src/main/scala/de/nowchess/ws/config/**",
// GameWebSocketResource in core — replaced by ws module
"**/core/src/main/scala/de/nowchess/chess/resource/GameWebSocketResource.scala",
)
// Converts a Sonar-style glob to a scoverage regex (matched against full source path).
@@ -93,7 +97,8 @@ val versions = mapOf(
"SCALA_PARSER_COMBINATORS" to "2.4.0",
"FASTPARSE" to "3.0.2",
"JACKSON" to "2.17.2",
"JACKSON_SCALA" to "2.17.2"
"JACKSON_SCALA" to "2.17.2",
"REDISSON" to "3.32.0"
)
extra["VERSIONS"] = versions