Skip to content

API gateway

The detailed view of a building block of 5.1; its summary is 5.2 — API gateway.

Aspect Detail
Role the single public entry in front of the whole origin — a second backend deployable, admitted under NFR-12 for the gateway; holds the sign-in and the session (8.8) and routes to the backend, which becomes a resource server for the relayed token
Interfaces the web app's files, /api/** and the sign-in paths; relays the token to the backend; the contract between them and the web app is the committed OpenAPI snapshot (8.9)
Technology Spring Cloud Gateway Server Web MVC
Code a gateway subproject, not created yet
Decided by ADR-0010 (docs/adr/adr-0010-api-gateway-and-api-contract.md)
Deployment its own Cloud Run service, the only public one (7.1.2.1)
Status planned