feat(lmxproxy): phase 3 — host gRPC server, security, configuration, service hosting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
namespace ZB.MOM.WW.LmxProxy.Host.Configuration
|
||||
{
|
||||
/// <summary>Root configuration class bound to appsettings.json.</summary>
|
||||
public class LmxProxyConfiguration
|
||||
{
|
||||
/// <summary>gRPC server listen port. Default: 50051.</summary>
|
||||
public int GrpcPort { get; set; } = 50051;
|
||||
|
||||
/// <summary>Path to API key configuration file. Default: apikeys.json.</summary>
|
||||
public string ApiKeyConfigFile { get; set; } = "apikeys.json";
|
||||
|
||||
/// <summary>MxAccess connection settings.</summary>
|
||||
public ConnectionConfiguration Connection { get; set; } = new ConnectionConfiguration();
|
||||
|
||||
/// <summary>Subscription channel settings.</summary>
|
||||
public SubscriptionConfiguration Subscription { get; set; } = new SubscriptionConfiguration();
|
||||
|
||||
/// <summary>TLS/SSL settings.</summary>
|
||||
public TlsConfiguration Tls { get; set; } = new TlsConfiguration();
|
||||
|
||||
/// <summary>Status web server settings.</summary>
|
||||
public WebServerConfiguration WebServer { get; set; } = new WebServerConfiguration();
|
||||
|
||||
/// <summary>Windows SCM service recovery settings.</summary>
|
||||
public ServiceRecoveryConfiguration ServiceRecovery { get; set; } = new ServiceRecoveryConfiguration();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user