This is labelled "short-term" because it should cover only a brief outage (say, 1 min due to redeployment) of GameService. (There is a different issue to handle the case that GameService is gone for a longer time: #3)
Currently, the GenericPlayer just throws an error to the log file in case the external connection doesn't work. e.g. when synchronizing the game state or when registering a player.
We need a proper fail/retry mechanism that at least tries several times before giving up. Something along these lines: https://stackoverflow.com/questions/32352484/retry-java-resttemplate-http-request-if-host-offline.
This is labelled "short-term" because it should cover only a brief outage (say, 1 min due to redeployment) of GameService. (There is a different issue to handle the case that GameService is gone for a longer time: #3)
Currently, the GenericPlayer just throws an error to the log file in case the external connection doesn't work. e.g. when synchronizing the game state or when registering a player.
We need a proper fail/retry mechanism that at least tries several times before giving up. Something along these lines: https://stackoverflow.com/questions/32352484/retry-java-resttemplate-http-request-if-host-offline.