This commit is contained in:
2018-10-11 22:16:31 +00:00
parent 9de3924286
commit 3098be3cc2
5 changed files with 19 additions and 20 deletions

View File

@@ -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

View File

@@ -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;