Commit Graph

96 Commits

Author SHA1 Message Date
f85f5986b4 test: rework GameSimulationTest for greater robustness 2025-04-14 23:40:27 +02:00
0aa13b9299 Fix: close all connections after each tests 2025-04-14 23:40:19 +02:00
aa9dac74e8 enable rabbit 2025-04-14 23:40:19 +02:00
cb3ec3f96c Fix tests 2025-04-14 23:40:19 +02:00
080ea1245d remove priority of subscribe 2025-04-14 23:40:18 +02:00
0bfeef8a91 fix ProjectionSnapshotRepositoryInMemory.excludeTheHeadBySize 2025-04-14 23:40:18 +02:00
d05bf62bf0 Add name to InMemory services 2025-04-14 23:40:17 +02:00
147ae47155 hide hikari info log 2025-04-14 23:40:17 +02:00
e1529ee52c add function subscribeToBus to GameCommandHandler 2025-04-14 23:40:16 +02:00
903eb975e3 disable rabbit 2025-04-14 23:40:16 +02:00
83a92ab391 declare ReactionListener in Koin 2025-04-14 23:40:15 +02:00
37eaf7c8e5 disable redis 2025-04-14 23:40:15 +02:00
aca655952e add function subscribeToBus to RepositoryInMemory 2025-04-14 23:40:15 +02:00
9e3c1267bf create GameEventBusInRabbinMQ and use it as GameEventBus 2025-04-14 23:40:13 +02:00
650e964e48 configure rabbitMQ ConnectionFactory 2025-04-14 23:40:12 +02:00
e8fb80b646 create BusInRabbitMQ 2025-04-14 23:40:12 +02:00
70d596acf0 create GameListRepositoryInRedis 2025-04-14 23:40:11 +02:00
2fb4c778fd move subscribeToBus in configureGameListener function, and use it on test 2025-04-14 23:40:11 +02:00
d5d6a48df3 HikariConfig 2025-04-14 23:40:10 +02:00
96469b689f remove projectionsBuilders method 2025-04-14 23:40:10 +02:00
7d030204f6 use GameEventStoreInPostgresql instead of InMemory 2025-04-14 23:40:09 +02:00
d9e05e6d9a create EventStreamInPostgresql 2025-04-14 23:40:08 +02:00
a427bf88c7 create EventStreamInMemoryTest 2025-04-14 23:40:08 +02:00
6ec45fc9db add some documentation 2025-04-14 23:40:06 +02:00
027747a20b minors changes 2025-04-14 23:40:05 +02:00
e4ffd7792b create docker for the API 2025-04-14 23:40:05 +02:00
86086eb949 move EventStream method implementation into the interface 2025-04-14 23:40:04 +02:00
2ebd293900 connection to postgresql 2025-04-14 23:40:04 +02:00
442379dc49 fix and improve ProjectionSnapshotRepositoryInRedis 2025-04-14 23:40:02 +02:00
22792a0427 create GameStateRepositoryInRedis 2025-04-14 23:40:01 +02:00
9670a000f0 create ProjectionSnapshotRepositoryInRedis 2025-04-14 23:40:00 +02:00
23b304fdbd create interface ProjectionSnapshotRepository 2025-04-14 23:40:00 +02:00
dd7cfb943e update jedis config 2025-04-14 23:39:59 +02:00
dee0d32d28 Move SnapshotConfig class 2025-04-14 23:39:58 +02:00
8e732b0f9e Configure redis for ktor/koin 2025-04-14 23:39:58 +02:00
c28bc00679 Create PlayerNotificationListenerTest 2025-04-14 23:39:57 +02:00
c762f31449 Move tests 2025-04-14 23:39:56 +02:00
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
908cc888ad Change EventBus to Bus 2025-04-14 23:39:55 +02:00
cd320b31da Move projection interface 2025-04-14 23:39:54 +02:00
b91c45100d A new snapshot is always created after new event 2025-04-14 23:39:54 +02:00
12af6604d6 create a websocket route to create and join a game 2025-04-14 23:39:53 +02:00
c3155da23c Create route to list all the games 2025-04-14 23:39:52 +02:00
8074881d57 Move GameStateRepository 2025-04-14 23:39:51 +02:00
1a96c68521 Add AggregateID for the PlayerNotificationEventListener and CommandHandler 2025-04-14 23:39:50 +02:00
1d70f73061 restrict numeric card number to 0..9 2025-04-14 23:39:49 +02:00
48ac4156bd change cardOnCurrentStack on lastCardPlayer 2025-04-14 23:39:49 +02:00
3434d43fc2 move secrete into config file 2025-04-14 23:39:48 +02:00
4adfc6467c Split configs 2025-04-14 23:39:48 +02:00
769d104040 Move file and add interface to improve Archi Hexa 2025-04-14 23:39:47 +02:00