Files
NowChessSystems/modules
Janis Eccarius 3188241737
Build & Test (NowChessSystems) TeamCity build finished
fix(official-bots): park on external tournament servers using correct endpoint and token
External tournament servers expose POST /api/bots (registry) not
POST /api/account/bots. They also require their own HMAC-HS256 token,
not the NowChessSystems RS256 account-service token.

parkOnStartup now:
- Parks on the local NowChessSystems account service via /api/account/bots
  using the resolved NowChessSystems token (unchanged)
- For each remote server from fetchRemoteServers(), calls
  registerWithServer(serverUrl, name) to obtain a server-specific token
  via POST /api/auth/register (public endpoint), then parks via
  POST /api/bots using that token

registerWithTournamentServer extracted into registerWithServer(url, name)
so it can be reused for both the primary tournament server (resolveToken)
and all remote servers (parkOnStartup).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 21:13:00 +02:00
..
2026-06-22 17:41:58 +00:00
2026-06-15 20:52:53 +00:00
2026-06-21 14:51:19 +00:00
2026-06-21 09:39:54 +00:00
2026-06-21 11:34:38 +00:00
2026-06-02 09:49:42 +00:00
2026-05-02 15:53:05 +00:00
2026-05-12 22:21:53 +00:00
2026-05-06 07:06:52 +00:00
2026-06-03 06:04:13 +00:00
2026-06-19 10:28:49 +00:00