Adding
This commit is contained in:
+10
@@ -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; }
|
||||
}
|
||||
+11
@@ -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);
|
||||
}
|
||||
+8
@@ -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; }
|
||||
}
|
||||
+8
@@ -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; }
|
||||
}
|
||||
+9
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user