influxdb/influxdb3/tests/cli
praveen-influx a6bec9cd27
feat: admin token recovery (#26594)
* feat: additional server setup for admin token recovery

- new server to only serve admin token regeneration without an admin
  token has been added
- minor refactors to allow reuse of some of the utilities like trace
  layer for metrics moved to their own functions to allow them to be
  instantiated for both servers
- tests added to check if both the new server works right for
  regenerating token and also ensure none of the other functionalities
  are available on the admin token recovery server

closes: https://github.com/influxdata/influxdb/issues/26330

* refactor: tidy ups + extra logging

* refactor: address PR feedback

- recovery server now only starts when `--admin-token-recovery-http-bind` is passed in
- as soon as regeneration is done, the recovery server shuts itself down
- the select! macro logic has been changed such that shutting down
  recovery server does not shutdown the main server

* refactor: host url updates when regenerating token

- when `--regenerate` is passed in, `--host` still defaults to the main
  server. To get to the recovery server, `--host` with the recovery
  server address should be passed in
2025-07-18 20:03:46 +01:00
..
snapshots feat: add system.processing_engine_trigger_arguments table (#26604) 2025-07-11 11:41:14 -07:00
admin_token.rs feat: admin token recovery (#26594) 2025-07-18 20:03:46 +01:00
api.rs feat: admin token recovery (#26594) 2025-07-18 20:03:46 +01:00
db_retention.rs chore: Update to Rust 1.88 (#26567) 2025-06-27 07:38:45 +10:00
mod.rs fix: Existing soft-deleted schema can be hard-deleted (#26574) 2025-07-03 07:26:13 +10:00