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:
@@ -38,10 +38,16 @@ Schema DDL files (generated from specifications):
|
||||
| vuln | [schemas/vuln.sql](./schemas/vuln.sql) | 12 |
|
||||
| vex | [schemas/vex.sql](./schemas/vex.sql) | 13 |
|
||||
| scheduler | [schemas/scheduler.sql](./schemas/scheduler.sql) | 10 |
|
||||
| notify | [schemas/notify.sql](./schemas/notify.sql) | 14 |
|
||||
| notify | [schemas/notify.sql](./schemas/notify.sql) | 17 |
|
||||
| policy | [schemas/policy.sql](./schemas/policy.sql) | 8 |
|
||||
| packs | Included in policy schema | — |
|
||||
| issuer | [schemas/issuer.sql](./schemas/issuer.sql) | PROPOSED |
|
||||
| audit (shared) | [schemas/audit.sql](./schemas/audit.sql) | PROPOSED |
|
||||
|
||||
Pending DDL exports (per SPECIFICATION.md §§2.2 & 5): `packs.sql`, `issuer.sql`, and shared `audit.sql`.
|
||||
Notes:
|
||||
- Authority, vuln, vex, scheduler DDLs have been exported from SPECIFICATION.md. Notify, policy, packs, issuer, and audit remain to be exported (placeholders present).
|
||||
- Persistence configuration template: `docs/db/persistence-config-template.yaml` (replace hosts/creds per environment).
|
||||
- Cluster provisioning inputs template: `docs/db/cluster-provisioning.md`.
|
||||
|
||||
## Quick Links
|
||||
|
||||
|
||||
Reference in New Issue
Block a user