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

Update API call endpoints from _opendistro to _plugins #25

Merged
merged 1 commit into from
May 20, 2021

Conversation

ohltyler
Copy link
Member

Signed-off-by: Tyler Ohlsen ohltyler@amazon.com

Description

Updates the API calls to use the new _plugins/ endpoint prefix in favor of the legacy _opendistro/* endpoint prefix.

Current list of anomaly detection API calls being updated: here
Current list of alerting API calls being updated: here

Have tested all anomaly detection calls made.

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
@ohltyler
Copy link
Member Author

Will test the alerting API call changes after the alerting plugin supports the new paths.

@ohltyler ohltyler requested review from ylwu-amzn, kaituo and spbjss May 17, 2021 17:47
@ohltyler ohltyler added the enhancement New feature or request label May 17, 2021
Copy link
Contributor

@ylwu-amzn ylwu-amzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the change!

Copy link
Member

@saratvemulapalli saratvemulapalli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Tyler for the change!

@ohltyler ohltyler linked an issue May 17, 2021 that may be closed by this pull request
Copy link

@spbjss spbjss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me.

@ohltyler ohltyler merged commit d814b13 into opensearch-project:main May 20, 2021
@ohltyler ohltyler deleted the update-apis branch May 20, 2021 21:16
@ohltyler ohltyler mentioned this pull request Jul 21, 2021
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure compatibility with new REST APIs
4 participants