- Remove spring boot test (no longer necessary)
- Move test development configuration to main package
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This is a much more natural fit for the config service which is really a
key value store, and has been abusing SQL. This will let us expand the
config stuff later to support profiles and per-account config values.
I have left in the SQL code for now so config changes are still being
sent there in the event of catastrophic mongodb failure.
- Instead of replacing configuration with dev configuration on classpath,
create dev profile and use that
- Move common properties to application.yaml
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Use player rank to set how often the same player is allowed to be looked
up. Replace the ConcurrentLinkedDeque with a synchronized ArrayDeque
which has a constant time size().
It is unclear whether archives in an index can change without the index
crc or revision changing, so always create new indexes for each cache.
This is much simplier with not much more overhead.