Commit Graph
16 Commits
Author SHA1 Message Date
flecomte e2d7942c7e refactoring: Masive refactor to build the V2
Tests / build (push) Successful in 7m14s
Tests / lint (push) Successful in 8m35s
Tests / test (push) Failing after 11m0s
2026-07-30 23:01:50 +02:00
flecomte 4adfc6467c Split configs 2025-04-14 23:39:48 +02:00
flecomte 769d104040 Move file and add interface to improve Archi Hexa 2025-04-14 23:39:47 +02:00
flecomte ca95344ca9 Send Success notification when Command is executed
extract Action of the Commands
simplify somme classes
2025-04-14 23:39:45 +02:00
flecomte a2f93d4edd rename GameCommandRunner to GameCommandActionRunner 2025-04-14 23:39:45 +02:00
flecomte b4234a9b37 update ktlint rules 2025-04-14 23:39:44 +02:00
flecomte 492981bed0 Split EventStream and EventStore 2025-04-14 23:39:43 +02:00
flecomte 91767e3747 Improve concurrence of ProjectionSnapshotRepositoryInMemory and GameEventHandler 2025-04-14 23:39:42 +02:00
flecomte 286dedac76 extract projection snapshot logic
implement GameStateRepositoryTest
add lambda to the GameEventHandler.handle{} to set the version

add VersionBuilder
add version to the events
add creation date to the events
rename gameId to aggregateId
add EventHandler interface
2025-04-14 23:39:41 +02:00
flecomte 28075feff2 create GameCommandRunner to extract business logic 2025-04-14 23:39:41 +02:00
flecomte a2756d7fdb Rename listeners 2025-04-14 23:39:40 +02:00
flecomte c84aa7e0c1 CommandStreamChannel block the duplicate call
add GameCommandHandlerTest
Create a CommandStreamChannelBuilder to inject maxCacheTime
Add missing empty disabled test
fix EventStreamInMemory.readAll
2025-04-14 23:39:40 +02:00
flecomte 3a685496fd Add GameStateRepository.getUntil(event)
Add Cache and Snapshot to the GameStateRepository
Add eventId on events
2025-04-14 23:39:38 +02:00
flecomte 19e425d684 Create GameStateRepository
Use GameState.apply() to build Projection
Create GameEventHandler
Add PlayerWinEvent
2025-04-14 23:39:38 +02:00
flecomte 99f0760d3c Clean and fix 2025-04-14 23:39:36 +02:00
flecomte bc35131bfc add IamReadyToPlayCommand & refactoring 2025-04-14 23:39:31 +02:00