This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user