feat(core): dynamic settings service, IFinlyticLogger, log broadcaster, and persistent Yahoo auth
This commit is contained in:
@@ -5,16 +5,27 @@ namespace FinlyticCore.Models.Settings;
|
||||
/// </summary>
|
||||
public static class CoreSettingKeys
|
||||
{
|
||||
// --- Logging-Kanäle ---
|
||||
// --- 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", "");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user