7b0b9c7365
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.
23 lines
886 B
C#
23 lines
886 B
C#
namespace ZB.MOM.WW.ScadaBridge.Commons.Interfaces.Services;
|
|
|
|
/// <summary>
|
|
/// Surfaces the local node's semantic role-within-cluster name so downstream
|
|
/// audit writers can stamp it on the SourceNode column.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Conventional values follow the pattern <c>node-a</c>/<c>node-b</c> on site
|
|
/// nodes and <c>central-a</c>/<c>central-b</c> on central nodes. The value is
|
|
/// a free-form operator-supplied label — there is no enforced format. When the
|
|
/// configuration value is missing, empty, or whitespace, implementations
|
|
/// return <c>null</c> so audit writers can persist NULL rather than an empty
|
|
/// string.
|
|
/// </remarks>
|
|
public interface INodeIdentityProvider
|
|
{
|
|
/// <summary>
|
|
/// The configured semantic node name, trimmed of surrounding whitespace.
|
|
/// <c>null</c> when unconfigured.
|
|
/// </summary>
|
|
string? NodeName { get; }
|
|
}
|