Commit Graph

96 Commits

Author SHA1 Message Date
flecomte 4afc4fa353 install rabbitMQ on docker 2025-04-14 23:40:11 +02:00
flecomte 70d596acf0 create GameListRepositoryInRedis 2025-04-14 23:40:11 +02:00
flecomte 2fb4c778fd move subscribeToBus in configureGameListener function, and use it on test 2025-04-14 23:40:11 +02:00
flecomte d5d6a48df3 HikariConfig 2025-04-14 23:40:10 +02:00
flecomte 96469b689f remove projectionsBuilders method 2025-04-14 23:40:10 +02:00
flecomte 2709366a53 optimise test 2025-04-14 23:40:09 +02:00
flecomte 6ab3e63af2 refactor docker compose 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 cee57ad2a3 clean Dockerfile 2025-04-14 23:40:07 +02:00
flecomte c407ac6251 use splited docker compose file in gradle 2025-04-14 23:40:07 +02:00
flecomte d94c558989 split docker compose file 2025-04-14 23:40:06 +02:00
flecomte 6ec45fc9db add some documentation 2025-04-14 23:40:06 +02:00
flecomte 933907b608 testApplication 2025-04-14 23:40:06 +02:00
flecomte 027747a20b minors changes 2025-04-14 23:40:05 +02:00
flecomte e4ffd7792b create docker for the API 2025-04-14 23:40:05 +02:00
flecomte 77be521627 install flyway 2025-04-14 23:40:04 +02:00
flecomte 86086eb949 move EventStream method implementation into the interface 2025-04-14 23:40:04 +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 097981112d add postgresql docker 2025-04-14 23:40:03 +02:00
flecomte d02b2bb049 add traefik 2025-04-14 23:40:02 +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 23b304fdbd create interface ProjectionSnapshotRepository 2025-04-14 23:40:00 +02:00
flecomte dd7cfb943e update jedis config 2025-04-14 23:39:59 +02:00
flecomte 6ddffa4f41 use redis/redis-stack instead of redis/redis-stack-server 2025-04-14 23:39:59 +02:00
flecomte dee0d32d28 Move SnapshotConfig class 2025-04-14 23:39:58 +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 908cc888ad Change EventBus to Bus 2025-04-14 23:39:55 +02:00
flecomte cd320b31da Move projection interface 2025-04-14 23:39:54 +02:00
flecomte b91c45100d A new snapshot is always created after new event 2025-04-14 23:39:54 +02:00
flecomte 12af6604d6 create a websocket route to create and join a game 2025-04-14 23:39:53 +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 1d70f73061 restrict numeric card number to 0..9 2025-04-14 23:39:49 +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 4739495980 Rename file DeclareWebSocketsGameRoute 2025-04-14 23:39:47 +02:00
flecomte fb9a8e2384 Rename class GameCommandRouteWebSocket 2025-04-14 23:39:46 +02:00