/console — a single
page served by the service itself, no separate frontend deployment. Open
it, paste the process API key once (stored in the browser), and connect.
What it does today
Live event stream
Every pipeline action — forecast received, positions aggregated, CSV
published, schedules submitted, orchestration errors, config changes,
start/stop — appears live via Server-Sent Events, with history on load.
Runtime configuration
Change sFTP host/credentials, Engrate settings, home control area,
active areas, EIC identifiers and more — validated, applied without a
restart, persisted across restarts, secrets write-only.
Start / Stop
Stop pauses the orchestrator (scheduled runs become no-ops); manual
process steps stay available as an operator override. State survives
restarts and is visible in the status pill.
Delivery-day overview
Per-day pipeline state (aggregated / published / submitted), including
whether a step is stale because newer input arrived.
The console API
Everything the page does goes through JSON endpoints (scope: process), so it can equally be scripted:How runtime config works
Console changes are kept as an overlay on top of the environment variables, persisted toruntime_config.json in the audit directory (the
Azure Files share in production — so they survive restarts and
scale-to-zero). The config panel marks overridden fields with a runtime
badge. Environment variables remain the base; deleting the overlay file
reverts everything to env values.
API keys are deliberately not editable via the console — rotating them
stays an infrastructure operation.
Events on disk
Events are appended toevents.jsonl next to the audit trail — the stream
you see in the console is the same file, so it doubles as a permanent
operations log.
Planned (not in this draft)
- Configurable communication channels (sFTP, AS4, e-mail, API push)
- Configurable order of pipeline steps
- Message / file format configuration