Commit Graph

33 Commits

Author SHA1 Message Date
Alex Holliday
6f358d297d Update service and tests to use new 2024-10-22 10:11:02 +08:00
Alex Holliday
7e0bc44ba6 Update networkService to handle hardware type monitors, add tests for full coverage 2024-10-21 11:55:44 +08:00
Alex Holliday
64d2d9b3ce Move opeartion back to 2024-10-18 14:21:22 +08:00
Alex Holliday
f5265b140c Minor refactor for correctness 2024-10-18 13:36:39 +08:00
Alex Holliday
1c30c309a7 Refactor network service to inject dependencies 2024-10-18 11:12:18 +08:00
Alex Holliday
fd2d16cf78 Format all files on BE with perttier config 2024-10-17 12:07:30 +08:00
Alex Holliday
f057807b56 migrate to esm 2024-10-15 11:57:37 +08:00
Alex Holliday
f724997b02 Add JSdocs to SettingsService, add descriptions of services 2024-10-01 09:55:14 +08:00
Alex Holliday
38ee162f61 improve error handling in network service, fix username form errors 2024-09-26 11:01:38 +08:00
Alex Holliday
9381f842f3 Add service name and method name to errors in misc services and middleware 2024-09-15 12:28:11 +08:00
Alex Holliday
65cc70cbdd remove unresponsive sites from demo list 2024-09-11 11:39:32 +08:00
Alex Holliday
3270d61624 Add period total checks 2024-09-04 12:00:01 -07:00
Alex Holliday
ffc132e19a Add missing else block 2024-09-04 11:45:54 -07:00
Alex Holliday
c490722eae restore netowrk service 2024-09-03 15:45:11 -07:00
Alexander Holliday
1bde8fdb86 Revert "Add indeterminate state to monitors, resolves #765" 2024-09-03 09:30:43 -07:00
Alex Holliday
d2528a694e simplified conditionals for updating status and sending notifications 2024-09-02 11:00:59 -07:00
Alex Holliday
4d61ecfe35 Add error handling to notifications 2024-09-02 10:52:11 -07:00
Alex Holliday
071a7fc9cf Add indeterminate state to monitors 2024-09-02 10:45:07 -07:00
Alex Holliday
8ac53a9e16 Add safety check for monitor 2024-08-31 16:48:02 -07:00
Alex Holliday
535f3f571a Add status codes and messages to checks 2024-08-28 09:42:02 -07:00
Alex Holliday
bf336ce0a5 Add null monitor check to Network Service 2024-08-19 09:48:45 -07:00
Alex Holliday
809e6ee58f Refactored notifications from Check model to NetworkService 2024-08-14 10:20:35 -07:00
Alex Holliday
907dcf4072 Add required stats to PagespeedCheck model 2024-08-02 12:32:08 -07:00
Alexander Holliday
477cad7cc9 Feat/monitor endpoint refactor (#463)
* Moved all methods to modules

* removed old mongoDB file

* Refactored endpoints to take query params, removed duplicate methods, updated routes, updated Client queries

* Added comment

* Add model differentiation

* Add sort order, fix minor bug, add validation for query params
2024-07-26 18:56:39 -07:00
Alexander Holliday
4a5c201cbf Forgot to call longAndStoreCheck (#454) 2024-07-25 23:10:30 -07:00
Skorpios
a33750849a Connecting psc to db (#453)
* hooking up the PSC to the DB.

* Updated docs.
2024-07-25 19:11:24 -07:00
Alexander Holliday
4071d6c97c Feat/handle pagespeed (#448)
* Initial commit

* Prepare for pagespeed Check

* removed unused code, updated JSdoc

* reverted controller
2024-07-25 14:59:31 -07:00
Alex Holliday
d883898384 Refactored to deal with empty data set 2024-06-24 10:59:18 -07:00
Alex Holliday
59562b10c9 Improved network service error handling 2024-06-18 11:42:25 -07:00
Alex Holliday
771cce98b5 Checks now inserted into db during monitor status check 2024-06-17 13:52:20 -07:00
Alex Holliday
0b52a5bdc7 Fixed error handling, refactored response time measurement 2024-06-17 11:33:55 -07:00
Alex Holliday
a0ca205d6a Added response time 2024-06-17 11:05:22 -07:00
Alex Holliday
14f68d58f7 Implemented network service 2024-06-17 10:47:36 -07:00