mirror of
https://github.com/openziti/ziti.git
synced 2026-09-11 01:05:42 +00:00
1d6333a6c0
* Add router.link.v1 config type. Fixes #3974 - adds the built-in `router.link.v1` ConfigType with a JSON schema covering listeners, dialers, heartbeats, payload/ack sender queue sizes, and `gcMode` for auto-GC of stale links - targets routers (`Target=router`) via the field added in #3743 - registers it for new databases via `createConfigType` in `initialize`, and for existing databases via a migration step that bumps the schema version 46 -> 47 - adds config-type-store tests covering registration, the router target, and migration-driven creation on existing databases - documents the Phase 1c step in the controller-managed router configuration design doc * Address review feedback on router.link.v1 config type. For #3974 - broadens the duration schema pattern to accept compound and fractional values (e.g. 1h30m, 1.5h) matching time.ParseDuration - adds the gcMode schema property (enum preserve/orphaned/changed) to the built-in config type so its definition is complete where the type is created - adds duration-format and gcMode validation test cases - removes the now-unnecessary per-iteration loop variable copy in the reject-cases test