Commit Graph

88 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
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
79cf169ede Add ssl-checker, refactor fetchMonitorCertificate 2024-10-17 11:57:37 +08:00
om-3004
d1e65f53ba Add test cases for checking monitor endpoint resolution 2024-10-16 21:12:51 +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
om-3004
ebf6a0ceb7 Check the monitor URL resolution before adding it 2024-10-15 17:20:54 +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
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
8578304ca4 refactor validation error and general error handling to reduce code duplicatoin 2024-10-10 08:59:44 +08:00
Alex Holliday
c1d1e0ad1d Refactor for clarity and correctness, add JS docs 2024-10-01 10:55:51 +08:00
Alex Holliday
e0e80dc9c7 Refactor method names, add improve JSdocs for monitorController 2024-10-01 10:29:32 +08:00
Alex Holliday
11b97ab3b4 add update settings method, remove all env var references possible 2024-09-26 14:37:11 +08:00
Alex Holliday
38ee162f61 improve error handling in network service, fix username form errors 2024-09-26 11:01:38 +08:00
Alex Holliday
09fb5595ab Fix proptype errors, remove old alert reference 2024-09-26 10:42:03 +08:00
Alex Holliday
bd03964ab6 Add get monitor stats by ID to docs 2024-09-24 15:20:45 +08:00
Alex Holliday
0d12798dd2 Remove checks from monitor query 2024-09-17 08:12:23 +08:00
Alex Holliday
d7e6019139 Add service name and method name to errors in monitorController 2024-09-15 12:16:20 +08:00
Alex Holliday
c35157ffb4 Add thunks for adding and removing demo monitors 2024-09-11 12:03:13 +08:00
Alex Holliday
3f5dc337a0 Update delete all method 2024-09-11 11:22:33 +08:00
Alex Holliday
a89777333a Add route, controller, and DB methods for adding demo monitors 2024-09-11 11:03:39 +08:00
Alex Holliday
f88ca5ee2c fix more typos 2024-09-05 14:31:29 -07:00
Alex Holliday
9eaab0da1a Add network requests and validation 2024-09-05 12:16:29 -07:00
Alex Holliday
cec8ecd985 add DB and controller methods 2024-09-05 11:17:31 -07:00
Alexander Holliday
e2529612d9 Merge branch 'develop' into fix/missing-be-validation 2024-09-03 20:40:52 -07:00
Alexander Holliday
1c09b32128 Merge pull request #790 from bluewave-labs/fix/restore-indeterminate-status
Fix/restore indeterminate status
2024-09-03 16:40:43 -07:00
Alex Holliday
5af81c7291 restore controller 2024-09-03 15:43:12 -07:00
Alex Holliday
8bac81fb09 Add validation for certificate request 2024-09-03 15:11:17 -07:00
Alex Holliday
cece932e45 Implement validation 2024-09-03 15:07:11 -07:00
Alex Holliday
bc0df325d1 Add route, controller, db operations, and validation for aggregate monitor stats 2024-09-03 14:39:16 -07:00
Alexander Holliday
1bde8fdb86 Revert "Add indeterminate state to monitors, resolves #765" 2024-09-03 09:30:43 -07:00
Alex Holliday
071a7fc9cf Add indeterminate state to monitors 2024-09-02 10:45:07 -07:00
Alex Holliday
68b50a3059 Update getMonitorsByTeamid to use attached notifications 2024-08-30 18:00:04 -07:00
Alex Holliday
7e90b5f48b Notifications added to monitor object 2024-08-30 13:03:59 -07:00
Alex Holliday
d4ed7f3f7a Add thunks for getting single monitor and pausing/resuming single monitor 2024-08-28 20:07:22 -07:00
Alex Holliday
17174ebe14 Add pause routes and controller, implement functionality 2024-08-28 15:21:59 -07:00