Commit Graph
12 Commits
Author SHA1 Message Date
Alex Holliday 75a897716f Add notifcations to getMonitorById as well 2024-07-31 20:22:11 -07:00
Alex Holliday b126830110 Add notifications to monitors before returning 2024-07-31 20:20:04 -07:00
Alex Holliday 76f4143097 Notifications removed and readded on monitor edit 2024-07-31 13:59:14 -07:00
Alex Holliday 905d6ed658 remove delete, use undefined instead 2024-07-31 12:27:40 -07:00
Alex Holliday 09edaebd98 Implement inserting notifications when a monitor is created, update validation 2024-07-31 12:12:05 -07:00
Alex Holliday 1664bc09ea Add delete method 2024-07-30 13:25:56 -07:00
Alex Holliday 03ee67cfca Add methods to MongoDB 2024-07-30 13:23:14 -07:00
Alex Holliday a7c93aee39 Add DB operations for notifications 2024-07-30 13:19:37 -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
Alexander Holliday f236d3ce4c Feat/db/maintenance window db operations (#473)
* Added comment to show where maintenance window should be applied

* Add maintenance window schema

* Added userID to model

* Add maintenace window db operation methods

* add jsdocs

* Add remaining JSdocs
2024-07-29 07:17:22 -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 e47d3685ce Moved all methods to modules (#460)
* Moved all methods to modules

* removed old mongoDB file
2024-07-26 18:25:20 -07:00