-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add REST Test for Snapshot Clone API #63863
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
Add REST Test for Snapshot Clone API #63863
Conversation
This was still missing, we should at least have one test that verifies that the REST API actually works.
|
Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore) |
|
|
||
| @Override | ||
| public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException { | ||
| builder.startObject(); |
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.
This is kind of meh, we technically only need the indices and indices options fields here for the HLRC client. But then I dug into it and found that we add all these redundant fields for other requests as well so I kept it consistent here for now. I have an idea on how to make this nicer that I'd put in a follow up (could just use a params entry here).
|
Thanks Tanguy! |
Adds snapshot clone REST tests and HLRC support for the API.
Adds snapshot clone REST tests and HLRC support for the API.
This commit adds some missing documentation about the Clone Snapshot Java API. Relates #63863
This commit adds some missing documentation about the Clone Snapshot Java API. Relates elastic#63863
This commit adds some missing documentation about the Clone Snapshot Java API. Relates elastic#63863
This was still missing, we should at least have one test that verifies
that the REST API actually works.