Expand description
The mock Suotar control surface: test-only routes that are not part of Suotar’s API.
A tick runs one iteration of one phase synchronously: the real loops are long-running
tokio::time::intervals in their own Deployments, which a Playwright spec cannot wait out inside
its 100 s timeout.
Reachable only when test_mode && test_suotar, so no token. Not exported to utoipa or
bindings.ts; Playwright uses a hand-written client (system-tests/src/utils/suotarControl.ts).
Structs§
- Registrar
Tick Result - What
run-registrar-tickreturns: one entry per phase in the sequence, in the order they ran. - RunTick
Query
Enums§
- Phase
Tick Result - The outcome of dispatching one phase.
Functions§
- _add_
routes - known_
phase_ 🔒names - run_
registrar_ 🔒tick - POST
/api/v0/mock-suotar/control/run-registrar-tick - run_
tick 🔒 - POST
/api/v0/mock-suotar/control/run-tick?phase={phase}