diff --git a/devdocs/specs/todo-before-release.txt b/devdocs/specs/todo-before-release.txt
index e899d922..702cf10e 100644
--- a/devdocs/specs/todo-before-release.txt
+++ b/devdocs/specs/todo-before-release.txt
@@ -26,6 +26,17 @@ Branch / tags / repository
- Currently it's not an issue, but maybe it should be done properly
Remove widget route from release (or hide it) but keep in debug
+ (But...would it be handy for diagnosing things??)
+
+DB INDEXES / PERFORMANCE
+ - Absolutely have to fine tune the indexes before release.
+ - Found a lot of useful info on examining index usage with postgres, there are some built in stats in Postgres that show how indexes are being used and or not used properly or usefully
+ - A quick search should show many ways to query for used tables etc
+ - Monitor unussed indexes: https://jmorano.moretrix.com/2014/02/postgresql-monitor-unused-indexes/
+ - Many queries to do with tuning: https://gist.github.com/ruckus/5718112
+ - Useful for learning: https://www.datadoghq.com/blog/postgresql-monitoring/
+ -
+
DOCUMENTATION TODO's
diff --git a/devdocs/todo.txt b/devdocs/todo.txt
index a0baf2ad..5c06a0f7 100644
--- a/devdocs/todo.txt
+++ b/devdocs/todo.txt
@@ -29,14 +29,9 @@ Once that is done then can steam ahead on the biz objects but until I have the c
IMMEDIATE ITEMS:
================
-
-
- Put up copy to devops, build huge dataset, run all tests, pound it with 1000 runs, shake it out
- Starting 1000 test runs at 2018-10-9-4:12pm
-- Seeder.SeedDatabase should accept a JobId parameter so it can log each step in the job if present
- -TrialBiz line 73 calls it and should be changed to pass the JobId
- - Seeder should be changed to log job info for each step
- Should server show uptime?
- Log route: Add a route to download *all* log files as a single zip archive which will make life much easier for analysis
@@ -47,14 +42,6 @@ IMMEDIATE ITEMS:
FUTURE ITEMS:
=============
-DB INDEXES / PERFORMANCE
- - Absolutely have to fine tune the indexes before release.
- - Found a lot of useful info on examining index usage with postgres, there are some built in stats in Postgres that show how indexes are being used and or not used properly or usefully
- - A quick search should show many ways to query for used tables etc
- - Monitor unussed indexes: https://jmorano.moretrix.com/2014/02/postgresql-monitor-unused-indexes/
- - Many queries to do with tuning: https://gist.github.com/ruckus/5718112
- - Useful for learning: https://www.datadoghq.com/blog/postgresql-monitoring/
- -
CLIENT SHELL
diff --git a/server/AyaNova/Startup.cs b/server/AyaNova/Startup.cs
index c3357b43..82fba171 100644
--- a/server/AyaNova/Startup.cs
+++ b/server/AyaNova/Startup.cs
@@ -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
diff --git a/server/AyaNova/biz/JobsBiz.cs b/server/AyaNova/biz/JobsBiz.cs
index c72b5c3a..27ee98d2 100644
--- a/server/AyaNova/biz/JobsBiz.cs
+++ b/server/AyaNova/biz/JobsBiz.cs
@@ -236,7 +236,7 @@ namespace AyaNova.Biz
///
internal static OpsJobLog LogJob(Guid jobId, string statusText)
{
- return LogJob(jobId, statusText);
+ return LogJob(jobId, statusText, null);
}
///
@@ -245,7 +245,7 @@ namespace AyaNova.Biz
///
///
///
- 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;
diff --git a/test/raven-integration/util.cs b/test/raven-integration/util.cs
index a70a4548..64dbaee7 100644
--- a/test/raven-integration/util.cs
+++ b/test/raven-integration/util.cs
@@ -12,8 +12,8 @@ namespace raven_integration
{
private static HttpClient client { get; } = new HttpClient();
- private static string API_BASE_URL = "http://localhost:7575/api/v8.0/";
- //private static string API_BASE_URL = "https://test.helloayanova.com/api/v8.0/";
+ // private static string API_BASE_URL = "http://localhost:7575/api/v8.0/";
+ private static string API_BASE_URL = "https://test.helloayanova.com/api/v8.0/";
public static string TEST_DATA_FOLDER = @"..\..\..\testdata\";
@@ -23,7 +23,7 @@ namespace raven_integration
public static string Uniquify(string s)
{
- // return s + " " + Auto.GetNext().ToString();
+ // return s + " " + Auto.GetNext().ToString();
return s + " " + (Auto.GetNext() + ((DateTimeOffset)DateTime.Now).ToUnixTimeMilliseconds()).ToString();
}