Files
ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Host/NodeOptions.cs
T
Joseph Doherty 7b0b9c7365 refactor: rename ScadaLink → ZB.MOM.WW.ScadaBridge (code + projects + namespaces)
Solution + 23 src projects + 26 test projects renamed; folders, csproj,
namespaces, and ScadaLinkDbContext/ScadaBridgeDbContext class updated.
ActorSystem "scadalink" → "scadabridge", Akka seed-node URLs migrated.
SQL roles/logins, LDAP domains, CLI command name, and CLI config dir
(~/.scadalink → ~/.scadabridge) also renamed.

Build green; 5 Host.Tests fail awaiting SQL login rename in next commit.
Pre-existing StaleTagMonitor timing flakes unchanged.

Rename script committed at tools/rename-to-scadabridge.sh.
2026-05-28 09:37:45 -04:00

24 lines
1.2 KiB
C#

namespace ZB.MOM.WW.ScadaBridge.Host;
public class NodeOptions
{
/// <summary>Gets or sets the node role (e.g. Central or Site).</summary>
public string Role { get; set; } = string.Empty;
/// <summary>Gets or sets the hostname or IP address this node advertises to the Akka cluster.</summary>
public string NodeHostname { get; set; } = string.Empty;
/// <summary>
/// Operator-configured semantic node name used to stamp the SourceNode
/// column on audit rows. Conventional values are <c>node-a</c>/<c>node-b</c>
/// on site nodes and <c>central-a</c>/<c>central-b</c> on central nodes,
/// but the value is a free-form label — no validation is enforced.
/// </summary>
public string NodeName { get; set; } = string.Empty;
/// <summary>Gets or sets the site identifier for site nodes; null for central nodes.</summary>
public string? SiteId { get; set; }
/// <summary>Gets or sets the Akka.NET remoting port for cluster communication.</summary>
public int RemotingPort { get; set; } = 8081;
/// <summary>Gets or sets the gRPC port for the site stream server.</summary>
public int GrpcPort { get; set; } = 8083;
}