Every term the documentation uses without defining it on the spot, and where it is explained. The specifications behind them are in STANDARDS.md.
| Term | Meaning | Explained in |
|---|---|---|
| Access token | The JWT every request is authorized by, accepted only with this API as its audience. | Token audience |
| Air quality level | A step of the official index scale, 0 to 5, read from the value GIOŚ sends. | GIOŚ integration |
| Analysis window | The number of days a statistic or ranking covers; ofDays clamps, ofDaysStrict refuses. |
airquality: Bounds are value objects |
| Anti-corruption layer | A module's own adapter that translates another module's or GIOŚ's model into its own words. | Hexagonal Layering: The rule, between bounded contexts |
| BFF | The back-end signs the user in and keeps the tokens; the browser holds only the session cookie, __Host-FRESHLY_SESSION. |
auth: The flow |
| Bounded context | A module with its own model, ports and persistence: auth, useraccess, permission, translation, airquality. |
Hexagonal Layering: The rule, between bounded contexts |
| Caller roles | The set of role names an authorization decision is made from. | permission: What the decision is made from |
| CSRF token | The value of the __Host-XSRF-TOKEN cookie, sent back in X-XSRF-TOKEN by every write the session authenticates. |
Cross-site requests: The CSRF token |
| Default | A module's text declared in code, rewritten at every start. | Translation catalog: The two layers |
| Dominant level | The most frequent level in a window; no data gives no level, and a tie goes to the worse one. | airquality: The statistics round the unreassuring way |
| GIOŚ | The Polish Chief Inspectorate of Environmental Protection, the source of the readings. | airquality |
| Measurement | One station's readings at one hour; immutable, identified by station and timestamp. | airquality: AirQualityMeasurement is immutable |
| Message key | A key of the translation catalog; a problem document carries it in code. |
Error responses |
| Orphan key | A stored key no module declares any more. | Translation catalog: Keys nobody declares any more |
| Override | An administrator's text for a key, never touched by a deployment. | Translation catalog: The two layers |
| Permission | What a role may do, declared by the module that enforces it. | permission: Where a permission is declared |
| PKCE | A one-time secret binding the returned code to the browser that started the sign-in. | Sign-in state |
| Pollutant | A tracked substance, such as PM10 or NO2; readings are a map keyed by it. | airquality: Readings are a map, not six nullable fields |
| Port, adapter | An interface a module's application layer owns, and its implementation in infrastructure. | Hexagonal Layering: The rule, inside one bounded context |
| Problem document | The JSON body of every refusal: a key in code and the text resolved for the reader in detail. |
Error responses |
| Provisioning | Creating the local user at the first sign-in; auth decides, useraccess stores. |
useraccess: What it deliberately does not own |
| Published language | A shared vocabulary every module may use, such as shared-authz. |
Shared modules: shared-authz is a Published Language |
| Role authority | The document naming the permissions one role carries. | permission |
| Sign-in theme | The look Keycloak gives its pages and mails, the app's own, as docker/keycloak/themes/freshly. |
auth: The sign-in pages |
| Single-flight refresh | One refresh per refresh token, across replicas. | Token refresh |
| Stale override | An override whose default has changed since it was written. | Translation catalog: Staleness |
SystemUser |
A person's standing in the application: active or not, and their roles. | useraccess: What it owns |
VersionGuard |
The comparison of a submitted version with the stored one, in shared-lang; ETagUtil handles the header. |
Hexagonal Layering: Optimistic locking → VersionGuard |