Commit Graph

16 Commits

Author SHA1 Message Date
Joseph Doherty
65c8e932e2 feat(batch45): implement events server methods — stats, remote tracking, connection events
Port 80 features from server/events.go including the full events infrastructure:
internal send/receive loops, system subscription machinery, statsz heartbeats,
remote server tracking, connection event advisories, user-info handler, OCSP peer
reject events, remote latency merge, kick/ldm client, and helper functions.

Add ClearConnectionHeartbeatTimer/SetConnectionHeartbeatTimer to Account,
add MsgHandler/SysMsgHandler delegates and supporting types (ServerApiResponse,
EventFilterOptions, StatszEventOptions, UserInfo, KickClientReq, LdmClientReq,
AccNumSubsReq) to EventTypes.cs, and add Seq field to ServerInfo for heartbeat
sequence tracking.
2026-03-01 09:41:20 -05:00
Joseph Doherty
e9be0751ec feat(batch25): implement gateway reply map and inbound message pipeline 2026-03-01 02:07:25 -05:00
Joseph Doherty
3e9ad16033 feat(batch24): complete leaf nodes implementation and verification 2026-03-01 01:31:57 -05:00
Joseph Doherty
28f2a075fd feat(batch27): merge jetstream-core 2026-02-28 21:46:00 -05:00
Joseph Doherty
f2bc957229 chore(batch23): start routes batch 2026-02-28 20:59:47 -05:00
Joseph Doherty
4b7fac7957 feat(batch27): implement jetstream bootstrap and account wiring 2026-02-28 20:57:02 -05:00
Joseph Doherty
e53b4aa17a feat(batch19): implement activation, issuer, and external auth account methods 2026-02-28 20:21:52 -05:00
Joseph Doherty
5493703280 feat(batch19): implement service reply and stream import/export methods 2026-02-28 20:15:59 -05:00
Joseph Doherty
f4dfbf49bd feat(batch19): implement service import maps and response subscription methods 2026-02-28 20:10:06 -05:00
Joseph Doherty
50f6b69fda feat(batch19): implement account latency and import-cycle methods 2026-02-28 19:53:59 -05:00
Joseph Doherty
dcf1df44d1 feat(batch19): implement account trace/counter/export core methods 2026-02-28 19:47:10 -05:00
Joseph Doherty
cd24ea01c5 feat(batch6-task4): implement f3 account authorization parsing 2026-02-28 09:47:32 -05:00
Joseph Doherty
beab0e60da feat(batch3): implement send queue feature group 2026-02-28 07:31:12 -05:00
Joseph Doherty
8849265780 Eliminate PortTracker stub backlog by implementing Raft/file-store/stream/server/client/OCSP stubs and adding coverage. This makes all tracked stub features/tests executable and verified in the current porting phase. 2026-02-27 08:56:26 -05:00
Joseph Doherty
ce45dff994 feat: port sessions 12 & 13 — Events/Monitoring/MsgTrace + Config Reload
Session 12 (218 features, IDs 854-950, 2166-2251, 2405-2439):
- EventTypes: system subjects, event message types, InternalState, ConnectEventMsg,
  DisconnectEventMsg, AccountNumConns, ServerIdentity, DataStats
- MonitorTypes: Connz, ConnInfo, ConnzOptions, ConnState, ProxyInfo, TlsPeerCert
- MonitorSortOptions: SortOpt, ConnInfos, all 13 sort comparers
- MsgTraceTypes: IMsgTrace, MsgTraceBase + 6 concrete types, custom JSON converter

Session 13 (89 features, IDs 2800-2888):
- ReloadOptions: IReloadOption interface, NoopReloadOption base, 50 option classes
  covering logging, TLS, auth, cluster, JetStream, MQTT, OCSP, misc
2026-02-26 15:46:14 -05:00
Joseph Doherty
12a14ec476 feat: port session 11 — Accounts & Directory JWT Store
- Account: full Account class (200 features) with subject mappings,
  connection counting, export/import checks, expiration timers
- DirJwtStore: directory-based JWT storage with sharding and expiry
- AccountResolver: IAccountResolver, MemoryAccountResolver,
  UrlAccountResolver, DirAccountResolver, CacheDirAccountResolver
- AccountTypes: all supporting types (AccountLimits, SConns, ExportMap,
  ImportMap, ServiceExport, StreamExport, ServiceLatency, etc.)
- 34 unit tests (599 total), 234 features complete (IDs 150-349, 793-826)
2026-02-26 15:37:08 -05:00