fix(dcl): verify-endpoint probe logs through a real logger so first-time OPC UA app-cert creation is visible (#121)

The site's DataConnectionManagerActor handed VerifyEndpointAsync a NullLogger. A secured
probe is usually what first creates a node's application certificate, so the creation
Warning carrying the thumbprint every server must trust was silently discarded (found on the
rig live gate). The actor takes an optional probe logger; the Host supplies one. Test pins
creation logged once (Warning, thumbprint), not on reuse.
This commit is contained in:
Joseph Doherty
2026-11-10 14:41:25 -05:00
parent ff8354478c
commit 36c64a6bb8
3 changed files with 50 additions and 4 deletions
@@ -872,7 +872,9 @@ akka {{
?? new ZB.MOM.WW.ScadaBridge.DataConnectionLayer.OpcUaGlobalOptions();
dclManager = _actorSystem!.ActorOf(
Props.Create(() => new ZB.MOM.WW.ScadaBridge.DataConnectionLayer.Actors.DataConnectionManagerActor(
dclFactory, dclOptions, healthCollector, siteEventLogger, opcUaGlobalOptions)),
dclFactory, dclOptions, healthCollector, siteEventLogger, opcUaGlobalOptions,
_serviceProvider.GetRequiredService<ILoggerFactory>()
.CreateLogger("ZB.MOM.WW.ScadaBridge.DataConnectionLayer.VerifyEndpoint"))),
"dcl-manager");
_logger.LogInformation("Data Connection Layer manager actor created");
}