Phase 3 PR 17 — complete OPC UA server startup + live integration test #16
Reference in New Issue
Block a user
Delete Branch "phase-3-pr17-server-startup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finishes the PR 16 scope: OpcUaApplicationHost builds ApplicationConfiguration programmatically, generates/validates the app cert, starts OtOpcUaServer, then drives GenericDriverNodeManager.BuildAddressSpaceAsync per driver. OpcUaServerService.ExecuteAsync wires it into the background-service lifecycle. Program.cs binds new OpcUaServerOptions from appsettings. Integration test spawns the server in-process on a random port, connects via an OPC UA client, browses the driver subtree and reads a variable value routed through IReadable end-to-end. Outcome: PR 14's alarm events now reach OPC UA AlarmConditionState.ReportEvent observable by any compliant client. 165/165 tests pass (2 new integration). Branches off v2.