Commit Graph
56 Commits
Author SHA1 Message Date
Alex Holliday 6bb8461435 add port type monitors to queue mapping 2025-01-23 13:35:01 -08:00
Alex Holliday 59c6f39ea9 Remove incomplete line 2025-01-10 09:46:22 -08:00
Alex Holliday c1d6433e6c use jobScheduler instead of deprecatred repeatable 2025-01-09 12:01:51 -08:00
Alex Holliday e2d5388a30 remove monitors from summary, unused 2025-01-07 10:12:41 -08:00
Alex Holliday 299ae95a0d Add more logging to jobqueue 2025-01-06 14:30:48 -08:00
Alex Holliday c284eafd63 update logs to standard 2025-01-02 11:39:53 -08:00
Alex Holliday 62d1d34937 better worker task handling, implement progress updates 2025-01-01 20:14:03 -08:00
Alex Holliday c11e412e81 fix init job queue method 2025-01-01 18:18:39 -08:00
Alex Holliday e222b13b51 add separate queue for each monitor type 2025-01-01 13:32:18 -08:00
Alex Holliday d686a8de5e made adding jobs and scaling workers non-blocking 2024-12-27 14:00:47 -08:00
Alex Holliday 8b0af64761 Add static name exports to all services 2024-12-24 11:58:26 -08:00
Alex Holliday 02666397c9 Move all notification handling from JobQueue to NotificaitonService where it should be 2024-11-24 17:43:37 +08:00
Alex Holliday b96648b155 add hardware monitor notification checking to jobQueue 2024-11-22 11:55:31 +08:00
Alex Holliday b079327296 remove console log 2024-11-13 10:59:40 +08:00
Alex Holliday 41370c8d04 Add check to see if existing service/method exists to logger statement 2024-11-13 10:33:46 +08:00
Alex Holliday ce221afa9f remove active job code, does not accomplish intended purpose 2024-10-31 17:02:02 +08:00
Alex Holliday 120296763b Attempt to stop active jobs 2024-10-31 16:00:29 +08:00
Alex Holliday 0c321cf484 Add optional authorization config to HTTP request. Delegate handleHardware to handleHttp as they are identical 2024-10-29 13:51:00 +08:00
Alex Holliday 9559e8178f Fix typo == -> === 2024-10-29 10:51:57 +08:00
Alex Holliday 2fda99dbef Update jobQueue JSdocs 2024-10-28 18:09:00 +08:00
Alex Holliday 5d6cfb16bc Refactor jobQueue to use new services 2024-10-28 14:20:40 +08:00
Alex Holliday 268ad695bf replace console.log statements with logger 2024-10-24 15:35:30 +08:00
Alex Holliday a0248c81c2 standardize log statements 2024-10-24 15:28:13 +08:00
Alex Holliday 5066580441 add missing 'this' to logger 2024-10-23 11:11:22 +08:00
Alex Holliday fc85d2b794 Minor refactor in worker loop for clarity 2024-10-22 15:26:55 +08:00
Alex Holliday f5265b140c Minor refactor for correctness 2024-10-18 13:36:39 +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 22a0caf919 Fix date/time error in JobQueue 2024-10-04 13:04:18 +08:00
Alex Holliday c8418705b1 parse form for submission 2024-10-04 12:09:08 +08:00
Alex Holliday 5b3b78bd3f Scale workers on deleting job 2024-10-01 12:36:37 +08:00
Alex Holliday f724997b02 Add JSdocs to SettingsService, add descriptions of services 2024-10-01 09:55:14 +08:00
Alex Holliday 11b97ab3b4 add update settings method, remove all env var references possible 2024-09-26 14:37:11 +08:00
Alex Holliday d55119c28d Add job queue to docs 2024-09-25 12:55:31 +08:00
Alex Holliday 0d99f1ac8a Add service name and method name to errors in jobQueue 2024-09-15 12:24:13 +08:00
Alex Holliday 9c59330cb0 Fixed property name for check 2024-09-06 09:42:34 -07:00
Alex Holliday 91909ed350 Add check for monitor active state before adding jobs to queue on startup 2024-09-05 10:44:04 -07:00
Alex Holliday f52285b32f Restore job queue 2024-09-03 15:46:17 -07:00
Alexander Holliday 1bde8fdb86 Revert "Add indeterminate state to monitors, resolves #765" 2024-09-03 09:30:43 -07:00
Alex Holliday 071a7fc9cf Add indeterminate state to monitors 2024-09-02 10:45:07 -07:00
Alex Holliday ea00cf07a1 Added metrics endpoint to queue, improved cleanup, improved logging 2024-08-15 14:13:12 -07:00
Alex Holliday 809e6ee58f Refactored notifications from Check model to NetworkService 2024-08-14 10:20:35 -07:00
Alex Holliday c11d5f4d5a Added more logging, improved cleanup 2024-08-06 13:52:48 -07:00
Alex Holliday 4be58cef17 Add instant check at create monitor time 2024-08-02 10:14:32 -07:00
Alex Holliday 9e51cffb67 JobQueue was not deleting jobs correctly due to incorrect lookup in monitor object 2024-07-31 13:24:38 -07:00
Alexander Holliday bdf8d6aaea Feat/maintenance window check, resolves #467 (#476)
* Added createMaintenanceWindow route

* Added getMaintenanceWindowsByUserId

* Added getMaintenaceWindowsByMonitorId method, updated routes

* Exported delete methods

* Add check for maintenance window before executing job
2024-07-30 10:02:04 -07:00
Alexander Holliday 9cba53f22c Feat/db/maintenance window (#472)
* Added comment to show where maintenance window should be applied

* Add maintenance window schema

* Added userID to model
2024-07-28 13:52:15 -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 771cce98b5 Checks now inserted into db during monitor status check 2024-06-17 13:52:20 -07:00
Alex Holliday 14f68d58f7 Implemented network service 2024-06-17 10:47:36 -07:00