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 |
|
Alex Holliday
|
8d9803fef0
|
Added methods for handleHardwareUpdates, refactored sending notifications to allow for arbitrary templates
|
2024-10-23 13:46:27 +08:00 |
|
Alex Holliday
|
55111ba4c9
|
Add new template to emailService templateLookup
|
2024-10-23 13:45:53 +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 |
|
Alexander Holliday
|
d29fcfbaf7
|
Merge pull request #1001 from bluewave-labs/feat/be/settings-service-tests
feat/be/settings service tests
|
2024-10-22 10:12:02 +08:00 |
|
Alex Holliday
|
6f358d297d
|
Update service and tests to use new
|
2024-10-22 10:11:02 +08:00 |
|
Alex Holliday
|
351b7527ed
|
Remove redundant check
|
2024-10-21 16:14:43 +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 |
|