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.
27 lines
1.1 KiB
C#
27 lines
1.1 KiB
C#
namespace ZB.MOM.WW.ScadaBridge.NotificationService;
|
|
|
|
/// <summary>
|
|
/// Configuration options for the Notification Service, bound from the
|
|
/// <c>ScadaBridge:Notification</c> configuration section.
|
|
///
|
|
/// SMTP settings are primarily carried by the deployed <c>SmtpConfiguration</c>
|
|
/// entity. NS-017: these values are the fallback used by the central
|
|
/// Notification Outbox's <c>EmailNotificationDeliveryAdapter</c> when the
|
|
/// corresponding <c>SmtpConfiguration</c> field is left unset (non-positive) on a
|
|
/// partially deployed row — a value present on the row always takes precedence.
|
|
/// </summary>
|
|
public class NotificationOptions
|
|
{
|
|
/// <summary>
|
|
/// Connection timeout (seconds) used when <c>SmtpConfiguration.ConnectionTimeoutSeconds</c>
|
|
/// is unset. Default 30s.
|
|
/// </summary>
|
|
public int ConnectionTimeoutSeconds { get; set; } = 30;
|
|
|
|
/// <summary>
|
|
/// Maximum concurrent SMTP connections used when
|
|
/// <c>SmtpConfiguration.MaxConcurrentConnections</c> is unset. Default 5.
|
|
/// </summary>
|
|
public int MaxConcurrentConnections { get; set; } = 5;
|
|
}
|