Commit Graph
19 Commits
Author SHA1 Message Date
Alex Holliday bc0df325d1 Add route, controller, db operations, and validation for aggregate monitor stats 2024-09-03 14:39:16 -07:00
Alex Holliday 17174ebe14 Add pause routes and controller, implement functionality 2024-08-28 15:21:59 -07:00
Alex Holliday 5bd13a572e Add middleware for verifying roles, use middleware on appropriate routs 2024-08-27 10:39:55 -07:00
Alex Holliday 465c1f9f9e Refactor getMonitorByUserID to getMonitorByTeamID 2024-08-26 19:38:24 -07:00
Alex Holliday e533c94918 Implemented new stats for Monitor Details 2024-08-12 15:15:13 -07:00
Alex Holliday d7251bfd81 Refactored monitor details 2024-08-12 12:05:57 -07:00
Mert Şişmanoğlu 9aba73f13a fix: use correct request methods edit=PUT, delete=DELETE
>Routes
>> alert
>> check
>> monitor
2024-08-08 12:57:41 +03:00
Alex Holliday aed4881eac Fix rest verbs 2024-08-02 11:54:46 -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
Alex Holliday e63d577fa5 Added endponts and routes for fetching monitors with incidents 2024-07-22 14:28:03 -07:00
Alex Holliday 12e85aed03 Fixed non functioning code 2024-07-12 10:24:46 -07:00
MuhammadKhalilzadeh 6b8af0f669 Transfering limit to get monitors by Id. Plus, readme file changes 2024-07-11 10:20:39 +03:30
Alex Holliday 59562b10c9 Improved network service error handling 2024-06-18 11:42:25 -07:00
Alex Holliday ef8867658e Removed package-lock.json from root 2024-05-24 13:44:42 -07:00
Alex Holliday c4dc57b9be Updated status codes, added edit monitor endpoint 2024-05-21 13:52:28 -07:00
Alex Holliday e7cd1ae6ab Added create and delete monitor routes, Added JSDocs to MongoDB 2024-05-21 11:23:39 -07:00
Alex Holliday 8cc92e6c40 Implemented MongoDB example db, updated documentation 2024-05-13 14:21:27 -07:00
Alex Holliday 2e2d91937e Added fake DB for monitor route testing 2024-05-10 13:59:33 -07:00
Alex Holliday def8ba4b9d Added monitor router, controller, and model 2024-05-10 13:36:04 -07:00