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:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"registry_version": "1.0.0",
|
||||
"issued_at": "2025-12-04T00:00:00Z",
|
||||
"profiles": [
|
||||
{
|
||||
"id": "dpop-es256",
|
||||
"type": "dpop",
|
||||
"algorithms": ["ES256"],
|
||||
"status": "active",
|
||||
"min_version": "1.0.0",
|
||||
"pq_dual_sign": false
|
||||
},
|
||||
{
|
||||
"id": "mtls-ed25519",
|
||||
"type": "mtls",
|
||||
"algorithms": ["Ed25519"],
|
||||
"status": "active",
|
||||
"min_version": "1.0.0",
|
||||
"pq_dual_sign": false
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"signature": {
|
||||
"status": "unsigned",
|
||||
"expected_dsse": "crypto-profile-registry.v1.sigstore.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user