feat: port session 03 — Configuration & Options types, Clone, MergeOptions, SetBaseline
- ServerOptionTypes.cs: all supporting types — ClusterOpts, GatewayOpts, LeafNodeOpts, WebsocketOpts, MqttOpts, RemoteLeafOpts, RemoteGatewayOpts, CompressionOpts, TlsConfigOpts, JsLimitOpts, JsTpmOpts, AuthCalloutOpts, ProxiesConfig, IAuthentication, IAccountResolver, enums (WriteTimeoutPolicy, StoreCipher, OcspMode) - ServerOptions.cs: full Options struct with ~100 properties across 10 subsystems (general, logging, networking, TLS, cluster, gateway, leafnode, websocket, MQTT, JetStream) - ServerOptions.Methods.cs: Clone (deep copy), MergeOptions, SetBaselineOptions, RoutesFromStr, NormalizeBasePath, OverrideTls, OverrideCluster, ExpandPath, HomeDir, MaybeReadPidFile, GetDefaultAuthTimeout, ConfigFlags.NoErrOnUnknownFields - 17 tests covering defaults, random port, merge, clone, expand path, auth timeout, routes parsing, normalize path, cluster override, config flags - Config file parsing (processConfigFileLine 765-line function) deferred to follow-up - All 130 tests pass (129 unit + 1 integration) - DB: features 344/3673 complete, tests 148/3257 complete (9.1% overall)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# NATS .NET Porting Status Report
|
||||
|
||||
Generated: 2026-02-26 14:39:36 UTC
|
||||
Generated: 2026-02-26 16:51:01 UTC
|
||||
|
||||
## Modules (12 total)
|
||||
|
||||
@@ -13,17 +13,19 @@ Generated: 2026-02-26 14:39:36 UTC
|
||||
|
||||
| Status | Count |
|
||||
|--------|-------|
|
||||
| complete | 328 |
|
||||
| n_a | 79 |
|
||||
| not_started | 3266 |
|
||||
| complete | 344 |
|
||||
| n_a | 82 |
|
||||
| not_started | 3180 |
|
||||
| stub | 67 |
|
||||
|
||||
## Unit Tests (3257 total)
|
||||
|
||||
| Status | Count |
|
||||
|--------|-------|
|
||||
| complete | 139 |
|
||||
| complete | 148 |
|
||||
| n_a | 49 |
|
||||
| not_started | 3069 |
|
||||
| not_started | 2980 |
|
||||
| stub | 80 |
|
||||
|
||||
## Library Mappings (36 total)
|
||||
|
||||
@@ -34,4 +36,4 @@ Generated: 2026-02-26 14:39:36 UTC
|
||||
|
||||
## Overall Progress
|
||||
|
||||
**606/6942 items complete (8.7%)**
|
||||
**634/6942 items complete (9.1%)**
|
||||
|
||||
Reference in New Issue
Block a user