This commit is contained in:
Zeeshaun
2026-04-07 14:21:04 -05:00
parent e37826fe30
commit 75ea216a17
264 changed files with 15920 additions and 0 deletions
@@ -0,0 +1,10 @@
namespace LCU.API.Internal.LoanRate.Configurations;
public class ApiConfiguration
{
public string AppName { get; set; }
public string SeqUrl { get; set; }
public string SeqApiKey { get; set; }
public string[] CorsAllowedOrigins { get; set; }
public FeatureFlags FeatureFlags { get; set; }
}
@@ -0,0 +1,8 @@
namespace LCU.API.Internal.LoanRate.Configurations;
public class FeatureFlags
{
public bool RunLoadTestInitiateConsumer { get; set; }
public bool RunLoadTestProcessRateConsumer { get; set; }
public bool RunLoadTestRateCompletionConsumer { get; set; }
}
@@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace LCU.API.Internal.LoanRate.Configurations;
public class FileOperationsApiConfiguration
{
public string Url { get; set; }
public string ExtractExcelWorkBookDataEndpoint { get; set; }
[NotMapped]
public Uri ExtractExcelWorkBookDataEndpointUri => new Uri(Url + ExtractExcelWorkBookDataEndpoint);
}
@@ -0,0 +1,8 @@
namespace LCU.API.Internal.LoanRate.Configurations;
public class LoanRateLoadTestingSqlConnectionConfiguration
{
public string ConnectionString { get; set; }
public int MaxRetryCount { get; set; }
public TimeSpan MaxRetryDelay { get; set; }
}
@@ -0,0 +1,8 @@
namespace LCU.API.Internal.LoanRate.Configurations;
public class LoanRateSqlConnectionConfiguration
{
public string ConnectionString { get; set; }
public int MaxRetryCount { get; set; }
public TimeSpan MaxRetryDelay { get; set; }
}
@@ -0,0 +1,9 @@
using LCU.Library.Internal.LcuMassTransitModels;
namespace LCU.API.Internal.LoanRate.Configurations;
public class ReceiveEndpointConfigurations
{
public ReceiveEndpointConfiguration LoadTestInitiateReceiveEndpoint { get; set; }
public ReceiveEndpointConfiguration LoadTestProcessRateReceiveEndpoint { get; set; }
public ReceiveEndpointConfiguration LoadTestRateCompletionReceiveEndpoint { get; set; }
}