This commit is contained in:
2018-08-24 17:57:30 +00:00
parent cbb153166f
commit 1cfa78472e
6 changed files with 157 additions and 22 deletions

View File

@@ -16,6 +16,11 @@ Cleanup and sticking to the following code convention:
DATES, TIMES, TIMESTAMPS - All dates and times sent or retrieved from the REST interface must be in UTC / GMT time zone.
It is the client's responsibility to display and accept dates in local format but interaction with the server is in UTC only.
Localized text - All text prsented by the server will be a locale key only and it is the clients responsibility to display in local text format with the exception of:
- Ops logs, Metrics, event logs: these items and any other future pre-generated text items will be localized at the server according to the logged in users' locale

View File

@@ -9,6 +9,13 @@ Items are only removed from log when source object is deleted (and replaced with
Needs a cleaner job that periodically looks for non-existant objects that are logged
Has to handle a scenario where there is no data for an object because in future we will likely have a purge feature or maybe a feature to turn it off and needs to accept that scenario
ROUTES
------
Fetch a constructed, localized log for the following:
- Supply user ID, optional time range, get back a log of everything the user did in order for all time or just the specified time range
- Supply object type, object id, optional time range, get back a log of history for that object for all time or time range specified
Fetch the above but in raw form as data as well??
EVENT_TYPES
-----------

View File

@@ -64,8 +64,12 @@ and backend. I want to know what happens under typical heavy usage simulating m
I'm guessing something that autodrives a browser or simulates one to access via client UI for full end to end testing.
- Should be configurable to simulate various loads:
- Smoke test (Quick bug test): excercises one of everything once only looking for fundamental problems
- Load test (Slower longer test to look for scaling issues related to a huge, busy office): exercises typical daily load of very large office but configurable to run in simulated days, so
can run it as a simulated week with 7 or month with 30 or years by entering in the number of days to simulate. Would be nice if it did month end type stuff or delayed then billed out etc.
- Load / scale / assurance test (Slower longer test to look for scaling issues related to a huge, busy office): exercises typical daily load of very large office but configurable to run in simulated days, so
can run it as a simulated week with 7 or month with 30 or years by entering in the number of days to simulate.
Would be nice if it did month end type stuff or delayed then billed out etc.
Should report stats about timing etc from the client perspective, we already have metrics for the backend perspective.
I'd like to know immediately if something is weirdly slow, not just in error.
Should not erase data at end so we can then manually login and check things out with a full load of at scale data