This commit is contained in:
2018-10-09 22:15:03 +00:00
parent 68b4e5aa46
commit fa3aeeab70
4 changed files with 21 additions and 12 deletions

View File

@@ -13,7 +13,8 @@ https://medium.com/@wesharehoodies/immensely-upgrade-your-development-environmen
Changes needed to routes?? Changes needed to routes??
- http://www.talkingdotnet.com/actionresult-t-asp-net-core-2-1/ - http://www.talkingdotnet.com/actionresult-t-asp-net-core-2-1/
Ensure all modern best practice security is properly enabled on helloayanova.com so testing is valid
- https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security#Deployment_best_practices
CODING WORK CODING WORK
+++++++++++ +++++++++++
@@ -28,17 +29,14 @@ Once that is done then can steam ahead on the biz objects but until I have the c
IMMEDIATE ITEMS: IMMEDIATE ITEMS:
================ ================
- Seeder.SeedDatabase should accept a JobId parameter so it can log each step in the job if present
- LOGIN logging, seems like too much, maybe drop it down a level into a diagnostic level? Or an option to be turned on? -TrialBiz line 73 calls it and should be changed to pass the JobId
THIS: 2018-10-04 11:50:29.8943|INFO|AyaNova.Api.Controllers.AuthController|User number "7" logged in from "::ffff:127.0.0.xxx" ok - Seeder should be changed to log job info for each step
- Before moving on with api completely: Create a batch file to run integration tests in a loop and make it run overnight to see what shakes out at the server in terms of errors etc.
Ensure all modern best practice security is properly enabled on helloayanova.com so testing is valid
- https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security#Deployment_best_practices
- Put up copy to devops, build huge dataset, run all tests - Put up copy to devops, build huge dataset, run all tests
- Should server show uptime?
************************************************************************************ ************************************************************************************
FUTURE ITEMS: FUTURE ITEMS:
============= =============

View File

@@ -102,7 +102,17 @@ https://risingstars.js.org/2017/en/
- Check logs with sudo docker logs [containerID] to find out what happened - Check logs with sudo docker logs [containerID] to find out what happened
- Or in some cases (once) Digital Ocean fucked up something - Or in some cases (once) Digital Ocean fucked up something
- ERASE DB, FETCH LICENSE, GENERATE DATA
- ERASE DB:
- Stop container if not already stopped: execute sudo docker-compose down
- Edit docker-compose.yml, uncomment line with erase db environment variable and re-start to erase db
- sudo docker-compose up -d
- Stop the container again, use nano to edit docker-compose.yml and re-comment the erase db evenironment variable
- Start the container again with the up command
- FETCH TEST KEY:
- Go into the api explorer, authenticate then select the POST to license route (not the TRIAL one), this will fetch a test key and install it
- SEED DB:
- Go to trial route and pick seed level (HUGE for proper testing) and activate
### Publish command line: ### Publish command line:

View File

@@ -44,8 +44,9 @@ namespace AyaNova.Api.Controllers
/// "Small" - a small one man shop dataset /// "Small" - a small one man shop dataset
/// "Medium" - Local service company with multiple employees and departments dataset /// "Medium" - Local service company with multiple employees and departments dataset
/// "Large" - Large corporate multi regional dataset /// "Large" - Large corporate multi regional dataset
/// "Huge" - Used for automated testing and development, if you choose this it will take a very long time (15 minutes to overnight)
/// </summary> /// </summary>
/// <param name="size">Valid values are "Small", "Medium", "Large"</param> /// <param name="size">Valid values are "Small", "Medium", "Large", "Huge"</param>
/// <returns></returns> /// <returns></returns>
[HttpPost("seed/{size}")] [HttpPost("seed/{size}")]
public ActionResult SeedTrialDatabase([FromRoute] string size) public ActionResult SeedTrialDatabase([FromRoute] string size)

View File

@@ -11,7 +11,7 @@ namespace AyaNova.Util
{ {
get get
{ {
return "8.0.0-alpha.2018.9.18"; return "8.0.0-alpha.2018.10.9";
} }
} }