fix(comm): route Search/Verify/WriteTag commands through SiteCommunicationActor + DeploymentManager (M7 end-to-end)

This commit is contained in:
Joseph Doherty
2026-06-18 03:59:35 -04:00
parent 384204b71a
commit 39afa2743e
3 changed files with 87 additions and 0 deletions
@@ -168,6 +168,20 @@ public class DeploymentManagerActor : ReceiveActor, IWithTimers
Receive<ReadTagValuesCommand>(msg =>
Context.ActorSelection("/user/dcl-manager").Tell(msg, Sender));
// OPC UA tag-picker address-space search (T15), secured-write execute (T14),
// and endpoint Verify (T17) — same singleton-only re-forward as the browse
// handler above. SiteCommunicationActor routes these to this singleton
// (active node) so the local dcl-manager is the one holding the live
// DataConnectionActor children (Search/Write route there by connection name;
// Verify runs a temp probe in the manager). Tell with Sender preserved is
// semantically identical to Forward (ActorSelection has no Forward()).
Receive<SearchAddressSpaceCommand>(msg =>
Context.ActorSelection("/user/dcl-manager").Tell(msg, Sender));
Receive<Commons.Messages.DataConnection.WriteTagRequest>(msg =>
Context.ActorSelection("/user/dcl-manager").Tell(msg, Sender));
Receive<VerifyEndpointCommand>(msg =>
Context.ActorSelection("/user/dcl-manager").Tell(msg, Sender));
// T17 / D6 — OPC UA server-certificate trust. Trust is site-local: the
// trusted-peer PKI store is per-node, so a trust/remove MUST reach BOTH
// site nodes (node-a + node-b) or they diverge across failover. This