fix(gateway): standalone local route config with full Node/Transport/Routing/OpenApi sections

Mount router-gateway-local.json as appsettings.json (not appsettings.local.json)
so it fully replaces the baked-in config instead of merging. Add Node, Transports,
Routing, and OpenApi sections to make the file self-contained. Test validates all
required top-level sections are present.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
master
2026-04-10 12:28:28 +03:00
parent a3fcee5ffa
commit f50a422939
6 changed files with 84 additions and 3 deletions

View File

@@ -143,7 +143,9 @@ docker compose -f docker-compose.stella-ops.yml logs -f scanner-web
### Router Frontdoor Configuration
`router-gateway` uses the microservice-first route table in `router-gateway-local.json`.
`router-gateway` uses the microservice-first route table in `router-gateway-local.json`,
mounted as the container's `appsettings.json` so the local route table replaces the baked-in
gateway route list instead of merging with it.
First-party Stella APIs are expected to flow through router transport; reverse proxy remains only for
external/bootstrap surfaces that cannot participate in router registration yet (for example OIDC browser
flows, Rekor, and static/platform bootstrap assets).