Game Service OpenAPI
The REST API of the Game Service.
The Game Service is responsible for managing players and games.
Participants of the Microservice Dungeon register once as a player in order to take part in games.
To participate in the Microservice Dungeon, players register once using a unique playerName.
Each player receives a unique playerId upon registration, which identifies the player across the entire application.
To take part in a game, a player joins an open game using their playerId.
playerName but have forgotten the playerId.db.player.ecst.v1 contains all registrations that have ever taken place.
If the playerName is to be reused, the corresponding event must be identified.
Checkout the AsyncAPI for details.The test suite uses Testcontainers to provide external dependencies (a PostgreSQL database) as Docker containers.
Prerequisite: Docker Desktop must be running before executing the tests.
./mvnw test
The REST API of the Game Service.
The events the Game Service publishes.