Commit Graph

13 Commits

Author SHA1 Message Date
Janis e69bbd233a feat: Bruno
Build & Test (NowChessSystems) TeamCity build failed
2026-04-17 18:03:07 +02:00
Janis 3bad8c64d3 feat: add API endpoints for game creation, draw offers, FEN/PGN import/export, and move actions
Build & Test (NowChessSystems) TeamCity build failed
2026-04-15 10:14:48 +02:00
LQ63 52197125f7 test(backcore): achieve 100% line coverage
Build & Test (NowChessSystems) TeamCity build failed
- Remove dead GameResult variants (Checkmate, Stalemate, InsufficientMaterial) that were never produced
- Fix ImportResource.importPgn to return 400 for null body instead of silently succeeding with empty PGN
- Add JaCoCo exclusions for companion objects and private ServiceState (only compiler-level synthetics)
- Add integration tests: all move types in toLegalMoveDto (capture/castle/en-passant/promotion), undo/redo/resign/exportPgn 404 paths, null-body endpoints
- Add unit tests: all parsePromotionChar branches (r/b/n/wildcard), drawAction claim success, engine setter, findMatchingMove orElse path, check status in GameMapper
- Add DtoCoverageTest and GameDomainCoverageTest covering synthetic methods (equals, hashCode, copy, productElement, productElementName, canEqual) and singleton serialization (writeReplace)

Result: LINE 300/300 (100%)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 09:41:25 +02:00
LQ63 8fd6adc1f4 feat(backcore): Quarkus compatible with GUI/TUI
Build & Test (NowChessSystems) TeamCity build failed
Added quarkus backcore run functionality so that it launches the TUI, GUI, Quarkus via modules: backcore:run
2026-04-14 23:24:16 +02:00
LQ63 db955c08a5 style: fix CRLF line endings introduced by rebase
Build & Test (NowChessSystems) TeamCity build failed
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 21:44:29 +02:00
LQ63 2c4d96e373 feat(backcore): Quarkus tests
Added quarkus test compatability with sonar through jacoco reporter
2026-04-14 21:28:16 +02:00
LQ63 acddd58ad3 feat: NCS-37 import FEN/PGN, export endpoints, NDJSON stream snapshot 2026-04-14 21:28:16 +02:00
LQ63 33dd63a9b6 feat: NCS-37 resign, draw actions, and export/stream endpoints 2026-04-14 21:28:16 +02:00
LQ63 6fc3b3c3df feat: NCS-37 move-making, legal moves, undo/redo endpoints 2026-04-14 21:28:16 +02:00
LQ63 41fa674bf7 fix: use PgnExporter for SAN pgn field, fix status priority in GameMapper 2026-04-14 21:28:16 +02:00
LQ63 21eee717f1 feat: NCS-37 game lifecycle endpoints (createGame, getGame)
Add domain model (GameResult, GameSession, GameId, GameStore, GameMapper),
DTOs, JacksonConfig, and GameResource REST endpoints with QuarkusTest coverage.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 21:28:16 +02:00
LQ63 d59d692381 fix: use version catalog keys for jackson-scala and junit-bom in backcore 2026-04-14 21:28:16 +02:00
LQ63 c830b143dc feat: NCS-37 add backcore Quarkus module skeleton
Introduces the backcore Quarkus REST module with build configuration,
application.yml, and a smoke test confirming Quarkus boots successfully.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 21:28:16 +02:00