Skip to content

Short-term fail/retry handling of external REST calls #2

Description

@stefanbente

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions