Add unit tests for Router configuration and transport layers
- Implemented tests for RouterConfig, RoutingOptions, StaticInstanceConfig, and RouterConfigOptions to ensure default values are set correctly. - Added tests for RouterConfigProvider to validate configurations and ensure defaults are returned when no file is specified. - Created tests for ConfigValidationResult to check success and error scenarios. - Developed tests for ServiceCollectionExtensions to verify service registration for RouterConfig. - Introduced UdpTransportTests to validate serialization, connection, request-response, and error handling in UDP transport. - Added scripts for signing authority gaps and hashing DevPortal SDK snippets.
This commit is contained in:
11
docs/modules/authority/gaps/authority-delegation-quotas.md
Normal file
11
docs/modules/authority/gaps/authority-delegation-quotas.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Delegation Quotas & Alerts — AU8
|
||||
|
||||
| Metric | Threshold | Action | Alert |
|
||||
| --- | --- | --- | --- |
|
||||
| delegations_per_tenant_1h | 500 | throttle new delegation grants | pager @delegation-oncall |
|
||||
| delegation_failures_5m | 25 | investigate upstream scopes/JWKS | alert + ticket |
|
||||
| delegated_token_duration_seconds_p99 | 900 | enforce max TTL 900s; clamp to policy | alert if >900 |
|
||||
|
||||
Notes:
|
||||
- All metrics tagged with `tenant`, `environment`, `client_id`.
|
||||
- Offline mode: emit to local file sink with rotation; include in offline bundle logs.
|
||||
Reference in New Issue
Block a user