Skip to main content

Module config

Module config 

Source

Structs§

ApplicationConfiguration
AzureBlobStorageConfiguration
AzureChatbotConfiguration
AzureConfiguration
AzureSearchConfiguration
McpConfiguration
What the MCP server at /api/v0/mcp needs to validate agent writes: the CMS’s block validator.
OAuthServerConfiguration
SuotarConfiguration
Where and how to reach Suotar’s moocfi API. In production the base url is https://opetushallinto.cs.helsinki.fi/suoritustarkistin/api/moocfi/.

Constants§

MOCK_SUOTAR_TOKEN
The only token the mock Suotar accepts. Public on purpose: never a real credential.
SUOTAR_AUTH_SCHEME
The scheme word Suotar requires before the API key.

Functions§

bool_env_false_by_default
Reads a boolean env var where missing values default to false.
non_empty_env 🔒
Reads an env var, treating a blank value the same as an unset one.
parse_join_base 🔒
Parses a Url::join base, adding the trailing slash one needs: joining onto a base without it replaces the base’s last path segment instead of extending it.