Commit Graph

21 Commits

Author SHA1 Message Date
Alex Holliday
fd2d16cf78 Format all files on BE with perttier config 2024-10-17 12:07:30 +08:00
Alex Holliday
896b3437e5 Migrate tests to ESM 2024-10-15 14:00:24 +08:00
Alex Holliday
f057807b56 migrate to esm 2024-10-15 11:57:37 +08:00
Alex Holliday
9f1deb64d7 Add tests for deleteMaintenanceWindow 2024-10-11 14:01:19 +08:00
Alex Holliday
5d0029f6c7 Add tests for getMaintenanceWindowsByMonitorId 2024-10-11 13:58:11 +08:00
Alex Holliday
fb45761331 Add tests for getMaintenanceWindowsByTeamId 2024-10-11 13:53:22 +08:00
Alex Holliday
8578304ca4 refactor validation error and general error handling to reduce code duplicatoin 2024-10-10 08:59:44 +08:00
Alex Holliday
6e95d28e27 Implement pausing/resuming maintenance windows 2024-10-09 14:28:44 +08:00
Alex Holliday
ad9d735127 implement editing maintenance windows 2024-10-09 14:10:38 +08:00
Alex Holliday
e3c0944062 Add route, controller, and DB methods for fetching maintenance window by ID 2024-10-09 12:06:01 +08:00
Alex Holliday
114cfd6cb7 add put route, controller, and db method for maintenance window 2024-10-09 11:33:12 +08:00
Alex Holliday
335098e2a8 implement deleting maintenance window 2024-10-09 11:07:14 +08:00
Alex Holliday
7b65debed6 Populate table 2024-10-04 15:25:41 +08:00
Alex Holliday
68296eccc3 Add getMaintenanceWindowsByTeamId 2024-10-04 13:49:53 +08:00
Alex Holliday
8e87bdccd0 Add teamID to maintenance-window 2024-10-04 12:31:44 +08:00
Alex Holliday
47e051c2bb update backend for inserting maintenance windows 2024-10-04 12:24:40 +08:00
Alex Holliday
c1d1e0ad1d Refactor for clarity and correctness, add JS docs 2024-10-01 10:55:51 +08:00
Alex Holliday
185751b6b6 Add service name and method name to errors in maintenanceController 2024-09-15 12:13:05 +08:00
Alex Holliday
aaa63a81cd MaintenanceWindowController error handling 2024-07-30 14:00:19 -07:00
Alex Holliday
c478298631 MaintenanceWindowController error handling 2024-07-30 13:56:38 -07:00
Alexander Holliday
95dfc8d82c Feat/maintenance window controller (#475)
* Added createMaintenanceWindow route

* Added getMaintenanceWindowsByUserId

* Added getMaintenaceWindowsByMonitorId method, updated routes

* Exported delete methods
2024-07-30 10:01:52 -07:00