32 lines
2.0 KiB
C#
32 lines
2.0 KiB
C#
namespace FinlyticCore.Models.Settings;
|
|
|
|
/// <summary>
|
|
/// Globale, mikroservice-übergreifende SettingKeys in FinlyticCore.
|
|
/// </summary>
|
|
public static class CoreSettingKeys
|
|
{
|
|
// --- Globale Logging-Kanäle ---
|
|
public static readonly SettingKey<bool> HealthPingChannel = new("Logging.Channel.Health", true);
|
|
public static readonly SettingKey<bool> MqttChannel = new("Logging.Channel.MQTT", true);
|
|
public static readonly SettingKey<bool> HtmlScrapperChannel = new("Logging.Channel.HtmlScrapper", true);
|
|
public static readonly SettingKey<bool> YahooClientChannel = new("Logging.Channel.YahooClient", true);
|
|
public static readonly SettingKey<bool> FundamentalsChannel = new("Logging.Channel.Fundamentals", true);
|
|
public static readonly SettingKey<bool> TradeRepublicChannel = new("Logging.Channel.TradeRepublic", true);
|
|
public static readonly SettingKey<bool> PlaywrightChannel = new("Logging.Channel.Playwright", true);
|
|
public static readonly SettingKey<bool> SettingsChannel = new("Logging.Channel.Settings", true);
|
|
|
|
// --- Scraper & Feature-Toggles ---
|
|
public static readonly SettingKey<bool> EnableHtmlFallback = new("Feature.EnableHtmlFallback", true);
|
|
public static readonly SettingKey<bool> AllowForceRefresh = new("Feature.AllowForceRefresh", true);
|
|
public static readonly SettingKey<int> ScraperTimeoutSeconds = new("Scraper.TimeoutSeconds", 30);
|
|
public static readonly SettingKey<int> ScraperMaxRetries = new("Scraper.MaxRetries", 2);
|
|
|
|
// --- Trade Republic WebSocket Config ---
|
|
public static readonly SettingKey<int> TradeRepublicWsReconnectIntervalSeconds = new("TradeRepublic.WsReconnectIntervalSeconds", 5);
|
|
public static readonly SettingKey<int> TradeRepublicWsTimeoutSeconds = new("TradeRepublic.WsTimeoutSeconds", 15);
|
|
|
|
// --- Yahoo Auth Persistence ---
|
|
public static readonly SettingKey<string> YahooAuthCrumb = new("Yahoo.Auth.Crumb", "");
|
|
public static readonly SettingKey<string> YahooAuthCookie = new("Yahoo.Auth.Cookie", "");
|
|
}
|