Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Update getDetectors URL to match recent API changes #1258

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport c4c515d from #1257

This PR addresses a test failure caused by the recent update of the listing detectors URL from '/detectors' to '/detectors/_list' as implemented in server/routes/ad.ts. The change was introduced in opensearch-project/anomaly-detection-dashboards-plugin#739. Previously, the tests in `dashboard_spec.js` and `detector_list_spec.js` were failing because they were waiting for requests to `BASE_AD_NODE_API_PATH + '/detectors*'`, which no longer exists due to the URL update.

Testing:
- Successfully ran all tests in `dashboard_spec.js` and `detector_list_spec.js` to ensure that they now correctly interact with the updated URL.

Signed-off-by: Kaituo Li <[email protected]>
(cherry picked from commit c4c515d)
@kavilla kavilla merged commit 1170bea into 2.x Apr 30, 2024
34 of 35 checks passed
@github-actions github-actions bot deleted the backport/backport-1257-to-2.x branch April 30, 2024 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants