feat(historian-host): bind TCP host/port/tls config

This commit is contained in:
Joseph Doherty
2026-06-12 11:19:46 -04:00
parent 3528702185
commit 7ce7505a36
4 changed files with 40 additions and 1 deletions
+4 -1
View File
@@ -94,7 +94,10 @@ if (hasDriver)
builder.Services.AddAlarmHistorian(
builder.Configuration,
(opts, sp) => new WonderwareHistorianClient(
new WonderwareHistorianClientOptions(opts.PipeName, opts.SharedSecret),
new WonderwareHistorianClientOptions(opts.PipeName, opts.SharedSecret)
{
Host = opts.Host, Port = opts.Port, UseTls = opts.UseTls, ServerCertThumbprint = opts.ServerCertThumbprint,
},
sp.GetService<ILogger<WonderwareHistorianClient>>()));
// Bind every cross-platform driver factory before AddAkka resolves IDriverFactory — replaces