Commit Graph

138 Commits

Author SHA1 Message Date
Alex Holliday eee33e85c4 Remove superfluous dotenv from authController, add missing dotenv to settingsService 2025-01-02 12:27:19 -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
Alexander Holliday ba05405f82 Merge pull request #1478 from bluewave-labs/feat/be/tcp-port-monitoring
feat: be/tcp port monitoring, references #1476
2024-12-29 08:57:35 -08:00
Alex Holliday d686a8de5e made adding jobs and scaling workers non-blocking 2024-12-27 14:00:47 -08:00
Alex Holliday 6ff1cd0b5d Add handling of ports to status service 2024-12-27 10:49:45 -08:00
Alex Holliday 9571af4dba Add port monitoring operation to network service 2024-12-27 10:49:31 -08:00
Alex Holliday 8b0af64761 Add static name exports to all services 2024-12-24 11:58:26 -08:00
Alex Holliday 7c1442e32f Add a service registry 2024-12-24 11:56:08 -08:00
Alexander Holliday bf79dde960 Merge pull request #1192 from bluewave-labs/fix/be/status-service-status-string
Add better status string generation
2024-11-24 18:36:01 -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 257cc73ab3 Add safety check for destructuing payload in StatusService 2024-11-24 17:39:05 +08:00
Alex Holliday abc28c9ee8 Add better status string generation 2024-11-24 15:59:09 +08:00
Alex Holliday 80763356e5 fix typo in comment 2024-11-22 12:24:26 +08:00
Alex Holliday a5e918e0a7 remove percentage to decimal conversion from BE 2024-11-22 12:23:40 +08:00
Alex Holliday b9cfbd7a74 handle hardware notifications 2024-11-22 11:56:26 +08:00
Alex Holliday 355f7e0511 add monitor an dprevStatus to response from statusService if monitor status does not change 2024-11-22 11:56:13 +08:00
Alex Holliday b96648b155 add hardware monitor notification checking to jobQueue 2024-11-22 11:55:31 +08:00
Alex Holliday a14e88ef29 Allow partial matches for docker IDs 2024-11-13 15:16:31 +08:00
Alex Holliday b2c43955f8 Add more robust error handling to networkService 2024-11-13 14:56:15 +08:00
Alex Holliday 7639dd2e80 Refactored switch statement, extracted error building 2024-11-13 12:34:53 +08:00
Alex Holliday 34ae35ea21 Add db operation type for Docker type checks to statusService 2024-11-13 11:07:36 +08:00
Alex Holliday 11b84610c5 safe object access 2024-11-13 11:07:03 +08:00
Alex Holliday 922c4d38d6 Build docker response 2024-11-13 11:00:16 +08:00
Alex Holliday b079327296 remove console log 2024-11-13 10:59:40 +08:00
Alex Holliday 2548742f31 Inject dockerode, instantiate instance 2024-11-13 10:36:42 +08:00
Alex Holliday 2f4189382a Add hanlder for Docker types 2024-11-13 10:34:05 +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
Alexander Holliday 642e6b6170 Merge pull request #1137 from bluewave-labs/feat/be/hardware-monitor-update
feat/be/hardware monitor update
2024-11-11 15:17:34 -08:00
Alex Holliday 3b8454b154 Update status service to handle new schema 2024-11-11 08:52:51 +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 29c83f5206 Safely access payload values 2024-10-29 14:48:19 +08:00
Alex Holliday b417b72450 Refactor requestPagespeed to simply call requestHttp with an updated job object 2024-10-29 14:47:54 +08:00
Alex Holliday 10a438a677 Implement handling of hardwareChecks 2024-10-29 13:51:31 +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 acdd737a5e await saving monitor 2024-10-28 15:34:19 +08:00
Alex Holliday 8b126d4d8a Fix StatusService SERVICE_NAME 2024-10-28 14:33:08 +08:00
Alex Holliday 5d6cfb16bc Refactor jobQueue to use new services 2024-10-28 14:20:40 +08:00
Alex Holliday 903ce58b39 Add notificationService 2024-10-28 14:20:05 +08:00
Alex Holliday d85dc50220 Add statusService 2024-10-28 14:19:14 +08:00
Alex Holliday cb5c7b2c73 Refactor network service 2024-10-28 14:18:27 +08:00
Alex Holliday 50c6e32d6e Fix variable assignment in 2024-10-25 10:49:08 +08:00
Alex Holliday cf032859a1 Merge branch 'develop' into feat/be/hardware-monitor-notifications 2024-10-25 10:44:30 +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