Commit Graph

79 Commits

Author SHA1 Message Date
flecomte 2a798646c2 feat: use rabbit to projection bus 2025-04-14 23:40:32 +02:00
flecomte a7f82e6bce test: fix GameStateRouteTest 2025-04-14 23:40:31 +02:00
flecomte 4086a21dcb test: fix test for redis 2025-04-14 23:40:31 +02:00
flecomte d394fca3f9 re enable Redis 2025-04-14 23:40:31 +02:00
flecomte 19c39678cf test: add missing test GameEventHandlerTest 2025-04-14 23:40:30 +02:00
flecomte ec3ccafc4d test: limit log level in some tests 2025-04-14 23:40:29 +02:00
flecomte 575aee6e04 test: fix flaky test 2025-04-14 23:40:28 +02:00
flecomte b4700aa185 test: add GameStateRoute Tests 2025-04-14 23:40:27 +02:00
flecomte f85f5986b4 test: rework GameSimulationTest for greater robustness 2025-04-14 23:40:27 +02:00
flecomte 601d5dcda9 ci: increase timeout for the CI 2025-04-14 23:40:26 +02:00
flecomte 02192cf33b add missing @OptIn 2025-04-14 23:40:26 +02:00
flecomte 7ff35c0119 test: fix GameSimulationTest test 2025-04-14 23:40:21 +02:00
flecomte ea18aabdec test: add constant for tags 2025-04-14 23:40:21 +02:00
flecomte 13b2795736 test: add constant for tags 2025-04-14 23:40:21 +02:00
flecomte 1b0680241d test: add RabbitMQ test 2025-04-14 23:40:20 +02:00
flecomte 0aa13b9299 Fix: close all connections after each tests 2025-04-14 23:40:19 +02:00
flecomte cb3ec3f96c Fix tests 2025-04-14 23:40:19 +02:00
flecomte 0bfeef8a91 fix ProjectionSnapshotRepositoryInMemory.excludeTheHeadBySize 2025-04-14 23:40:18 +02:00
flecomte fd954e631d fix testApplicationWithConfig 2025-04-14 23:40:17 +02:00
flecomte 37eaf7c8e5 disable redis 2025-04-14 23:40:15 +02:00
flecomte 5ef49c1585 missing runBlocking 2025-04-14 23:40:14 +02:00
flecomte d55260a286 missing execute on prepareStatement 2025-04-14 23:40:14 +02:00
flecomte e8fb80b646 create BusInRabbitMQ 2025-04-14 23:40:12 +02:00
flecomte 2fb4c778fd move subscribeToBus in configureGameListener function, and use it on test 2025-04-14 23:40:11 +02:00
flecomte 2709366a53 optimise test 2025-04-14 23:40:09 +02:00
flecomte 7d030204f6 use GameEventStoreInPostgresql instead of InMemory 2025-04-14 23:40:09 +02:00
flecomte d9e05e6d9a create EventStreamInPostgresql 2025-04-14 23:40:08 +02:00
flecomte a427bf88c7 create EventStreamInMemoryTest 2025-04-14 23:40:08 +02:00
flecomte 933907b608 testApplication 2025-04-14 23:40:06 +02:00
flecomte 2ebd293900 connection to postgresql 2025-04-14 23:40:04 +02:00
flecomte 3b9616aa67 refactor testApplication 2025-04-14 23:40:03 +02:00
flecomte 442379dc49 fix and improve ProjectionSnapshotRepositoryInRedis 2025-04-14 23:40:02 +02:00
flecomte 22792a0427 create GameStateRepositoryInRedis 2025-04-14 23:40:01 +02:00
flecomte 9670a000f0 create ProjectionSnapshotRepositoryInRedis 2025-04-14 23:40:00 +02:00
flecomte dd7cfb943e update jedis config 2025-04-14 23:39:59 +02:00
flecomte 8e732b0f9e Configure redis for ktor/koin 2025-04-14 23:39:58 +02:00
flecomte 6d2043d9fe Install redis with docker 2025-04-14 23:39:57 +02:00
flecomte c28bc00679 Create PlayerNotificationListenerTest 2025-04-14 23:39:57 +02:00
flecomte c762f31449 Move tests 2025-04-14 23:39:56 +02:00
flecomte 8c1eabb9f5 Projection was now built on listener events
Create ProjectionBus and use it with listeners
add EventStream::getByVersion
2025-04-14 23:39:56 +02:00
flecomte cd320b31da Move projection interface 2025-04-14 23:39:54 +02:00
flecomte c3155da23c Create route to list all the games 2025-04-14 23:39:52 +02:00
flecomte 8074881d57 Move GameStateRepository 2025-04-14 23:39:51 +02:00
flecomte 1a96c68521 Add AggregateID for the PlayerNotificationEventListener and CommandHandler 2025-04-14 23:39:50 +02:00
flecomte 0374712824 add test on GameState for canBePlayThisCard & isReady 2025-04-14 23:39:50 +02:00
flecomte 48ac4156bd change cardOnCurrentStack on lastCardPlayer 2025-04-14 23:39:49 +02:00
flecomte 3434d43fc2 move secrete into config file 2025-04-14 23:39:48 +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