This commit is contained in:
@@ -369,7 +369,8 @@ namespace AyaNova
|
||||
|
||||
#if (DEBUG)
|
||||
//TESTING
|
||||
ServerBootConfig.AYANOVA_PERMANENTLY_ERASE_DATABASE = TESTING_REFRESH_DB;
|
||||
if (TESTING_REFRESH_DB)
|
||||
ServerBootConfig.AYANOVA_PERMANENTLY_ERASE_DATABASE = TESTING_REFRESH_DB;
|
||||
//TESTING
|
||||
#endif
|
||||
|
||||
@@ -403,7 +404,7 @@ namespace AyaNova
|
||||
if (TESTING_REFRESH_DB)
|
||||
{
|
||||
AyaNova.Core.License.Fetch(apiServerState, dbContext, _log);
|
||||
Util.Seeder.SeedDatabase(Util.Seeder.SeedLevel.HugeForLoadTest);//#############################################################################################
|
||||
Util.Seeder.SeedDatabase(Util.Seeder.SeedLevel.LargeCorporateMultiRegionalTrialDataSet);//#############################################################################################
|
||||
}
|
||||
//TESTING
|
||||
#endif
|
||||
|
||||
@@ -236,7 +236,7 @@ namespace AyaNova.Biz
|
||||
/// <param name="statusText"></param>
|
||||
internal static OpsJobLog LogJob(Guid jobId, string statusText)
|
||||
{
|
||||
return LogJob(jobId, statusText);
|
||||
return LogJob(jobId, statusText, null);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -245,7 +245,7 @@ namespace AyaNova.Biz
|
||||
/// <param name="jobId"></param>
|
||||
/// <param name="statusText"></param>
|
||||
/// <param name="ct"></param>
|
||||
internal static OpsJobLog LogJob(Guid jobId, string statusText, AyContext ct = null)
|
||||
internal static OpsJobLog LogJob(Guid jobId, string statusText, AyContext ct)
|
||||
{
|
||||
if (ct == null)
|
||||
ct = ServiceProviderProvider.DBContext;
|
||||
|
||||
Reference in New Issue
Block a user