You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 065d9be
Browse filesBrowse the repository at this point in the historyBrowse files
feat(gateway): reconcile managed gateway API assignments
The built-in 'managed' gateway is not returned by GET /gateways, so its per-API assignments were never extracted, published, or reconciled. This left dev/prod divergence (e.g. an API removed from managed in dev remained assigned in prod).
- extract: query gateways/managed/apis and write gateways/managed/apis.json (only when non-empty)
- publish: skip PUT of the built-in managed Gateway resource (its GatewayApi associations still publish)
- delete-unmatched: reconcile GatewayApi assignments (incl. managed), scoped to gateways that own a local assignment, so untracked gateways are never touched
- add MANAGED_GATEWAY_NAME constant; tests for extract/publish/delete-unmatched
0 commit comments