Commit Graph

257 Commits

Author SHA1 Message Date
om-3004
34a13530b3 Merge branch 'develop' into enhancement/check-if-url-resolves 2024-10-18 11:39:07 +05:30
Alexander Holliday
59392d0194 Merge pull request #975 from bluewave-labs/fix/be/ssl-checker
Add ssl-checker, refactor fetchMonitorCertificate
2024-10-18 10:05:10 +08:00
om-3004
ff6051b6b0 Update test case for url resolution to make it more specific 2024-10-17 16:59:49 +05:30
om-3004
aee7e02587 Add validation for monitor URL and update test case and api documentation accordingly 2024-10-17 12:37:03 +05:30
om-3004
0f763e7913 promisify the resolve method to pass the error to the middleware and updat test cases accordingly 2024-10-17 11:06:46 +05:30
om-3004
7ec5e64f6f Remove unused imports 2024-10-17 10:50:19 +05:30
om-3004
afe7c9047c Handle imports exports format check resolution tests code 2024-10-17 10:47:34 +05:30
om-3004
c598278c6f Merge branch 'develop' into enhancement/check-if-url-resolves 2024-10-17 10:35:41 +05:30
om-3004
6715a8b500 Refactor code for check endpoint and update test cases accordingly 2024-10-17 10:02:01 +05:30
Alex Holliday
fd2d16cf78 Format all files on BE with perttier config 2024-10-17 12:07:30 +08:00
Alex Holliday
79cf169ede Add ssl-checker, refactor fetchMonitorCertificate 2024-10-17 11:57:37 +08:00
Alex Holliday
63e39ed50d Resolve conflicts, update tests 2024-10-17 10:54:31 +08:00
Alex Holliday
81f1fe4694 Merge branch 'develop' into feat/be/esm 2024-10-17 10:42:57 +08:00
om-3004
d1e65f53ba Add test cases for checking monitor endpoint resolution 2024-10-16 21:12:51 +05:30
Rushi Gandhi
111f7d5a67 remove if/else by using ternary operator 2024-10-16 14:13:48 +05:30
Rushi Gandhi
29ce8bb116 Refactor issueToken function for issueing the refresh token 2024-10-16 12:45:31 +05:30
Alex Holliday
4a05157eb3 Fix coverage for auth 2024-10-16 14:17:35 +08:00
Alex Holliday
c356843799 Add tests for fetchCertificates 2024-10-16 13:22:39 +08:00
om-3004
2c85828144 Merge branch 'develop' into enhancement/check-if-url-resolves 2024-10-16 10:04:41 +05:30
Alex Holliday
81d3b8dcb5 Use new fetchMonitorCertificate method, prettier formatting 2024-10-16 11:47:12 +08:00
Alex Holliday
5f6e0631c6 Prettier formatting 2024-10-16 11:46:37 +08:00
Alex Holliday
ced1bf9788 Refactor getting certificate to use TLS instead of SSL-checker 2024-10-16 11:44:36 +08:00
om-3004
ebf6a0ceb7 Check the monitor URL resolution before adding it 2024-10-15 17:20:54 +05:30
Rushi Gandhi
cd0160f421 Pass whole user object instead of just _id 2024-10-15 15:55:29 +05:30
Rushi Gandhi
05c051ae3a Generate refresh token & add it to response 2024-10-15 12:30:24 +05:30
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
75238978e9 updated tests for full coverage 2024-10-14 15:23:38 +08:00
Alex Holliday
fde9303b8f Add tests for obliterate 2024-10-14 13:23:40 +08:00
Alex Holliday
b063fa267a add test for addJob 2024-10-14 13:17:08 +08:00
Alex Holliday
ed3b008016 Add queue controller tests for getMetrics and getJobs 2024-10-14 13:13:13 +08:00
Alex Holliday
607b16d1cd Add tests for addDemoMonitors 2024-10-14 11:36:49 +08:00
Alex Holliday
bdde060f7f Add tests for deleteAllMonitors 2024-10-14 11:06:45 +08:00
Alex Holliday
a0b651fd24 Added getMoniotrsByTeamId tests 2024-10-14 09:43:47 +08:00
Alex Holliday
586b18d295 Add tests for getMonitorById 2024-10-11 15:07:37 +08:00
Alex Holliday
3e23d97930 Add tests for getMonitorCertificate 2024-10-11 14:59:55 +08:00
Alex Holliday
644363e3bb Add tests for getAllMonitors and getMonitorStatsById 2024-10-11 14:23:35 +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
4ce08e05df Add tests for inviteController 2024-10-11 12:42:46 +08:00
Alex Holliday
606c799166 Add deleteUser tests 2024-10-10 21:26:43 +08:00
Alex Holliday
a46f5ae3ab Add tests for authController.registerUser and authController.loginUser 2024-10-10 11:42:33 +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