-
Notifications
You must be signed in to change notification settings - Fork 139
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
Use _list/indices API instead of _cat/index API in CatIndexTool #3243
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: zane-neo <[email protected]>
Signed-off-by: zane-neo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see where we're properly testing the pagination here.
plugin/src/test/java/org/opensearch/ml/tools/CatIndexToolIT.java
Outdated
Show resolved
Hide resolved
plugin/src/test/java/org/opensearch/ml/tools/CatIndexToolIT.java
Outdated
Show resolved
Hide resolved
plugin/src/test/java/org/opensearch/ml/tools/CatIndexToolIT.java
Outdated
Show resolved
Hide resolved
plugin/src/test/java/org/opensearch/ml/tools/CatIndexToolIT.java
Outdated
Show resolved
Hide resolved
plugin/src/test/java/org/opensearch/ml/tools/CatIndexToolIT.java
Outdated
Show resolved
Hide resolved
ml-algorithms/src/main/java/org/opensearch/ml/engine/tools/CatIndexTool.java
Outdated
Show resolved
Hide resolved
ml-algorithms/src/main/java/org/opensearch/ml/engine/tools/CatIndexTool.java
Outdated
Show resolved
Hide resolved
Signed-off-by: zane-neo <[email protected]>
580e3ba
to
ef75795
Compare
Add a comment on the issue #3182 (comment)
|
Signed-off-by: zane-neo <[email protected]>
Signed-off-by: zane-neo <[email protected]>
Signed-off-by: zane-neo <[email protected]>
@dbwiddis @ylwu-amzn @dhrubo-os I've addressed your comments, can you review and approve? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a minor point on comment clarity!
ml-algorithms/src/main/java/org/opensearch/ml/engine/tools/ListIndexTool.java
Outdated
Show resolved
Hide resolved
Signed-off-by: zane-neo <[email protected]>
Description
Use _list/indices API instead of _cat/index API in CatIndexTool
Related Issues
#3182
Check List
--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.