feat: expose mapped raw and uns data through grpc adapters

This commit is contained in:
Joseph Doherty
2026-11-16 20:43:15 -05:00
parent 47960a6d57
commit 8ad03e9c5d
118 changed files with 12645 additions and 227 deletions
@@ -448,7 +448,8 @@ public static class ServiceCollectionExtensions
// Dependency mux must be spawned before DriverHostActor so the host can forward
// AttributeValueBatchPublished into it from the very first driver spawn.
var mux = system.ActorOf(DependencyMuxActor.Props(), DependencyMuxActorName);
var mux = system.ActorOf(DependencyMuxActor.Props(interestSink:
resolver.GetService<ZB.MOM.WW.OtOpcUa.Runtime.DataConnections.IProjectedDependencyInterestSink>()), DependencyMuxActorName);
registry.Register<DependencyMuxActorKey>(mux);
// Per-cluster mesh Phase 2: the node end of the central↔node command boundary. Spawned
@@ -566,6 +567,8 @@ public static class ServiceCollectionExtensions
// consumers then behave as if the endpoint were listening (the pre-#762 behaviour).
var endpointState = resolver.GetService<IOpcUaEndpointState>();
var redundancy = resolver.GetService<WarmRedundancySettings>() ?? WarmRedundancySettings.Unset;
// Attach mapped deployment ownership before either actor can begin catalog activation.
_ = resolver.GetService<ZB.MOM.WW.OtOpcUa.Runtime.DataConnections.ProjectedMappingDeploymentRuntime>();
// The same production factory selects authority, catalog and Warm publications in tests.
var publishActor = system.ActorOf(
DataConnectionPublisherProps.Create(resolver, addressSpaceSink, serviceLevel,
@@ -671,7 +674,8 @@ public static class ServiceCollectionExtensions
dataWriteRuntime: resolver.GetService<ZB.MOM.WW.OtOpcUa.Runtime.DataConnections.DataWriteRuntime>(),
acquisitionCapacity: resolver.GetService<SubscriptionAcquisitionCapacity>(),
writeClock: resolver.GetService<TimeProvider>(),
dataConnections: resolver.GetService<ZB.MOM.WW.OtOpcUa.Runtime.DataConnections.DataConnectionDeploymentRuntime>()),
dataConnections: resolver.GetService<ZB.MOM.WW.OtOpcUa.Runtime.DataConnections.DataConnectionDeploymentRuntime>(),
projectedPublisher: resolver.GetService<ZB.MOM.WW.OtOpcUa.Runtime.DataConnections.ActorProjectedValuePublisher>()),
DriverHostActorName);
registry.Register<DriverHostActorKey>(driverHost);