Skip to content

Conversation

@original-brownbear
Copy link
Contributor

This was still missing, we should at least have one test that verifies
that the REST API actually works.

This was still missing, we should at least have one test that verifies
that the REST API actually works.
@original-brownbear original-brownbear added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v8.0.0 v7.11.0 v7.10.1 labels Oct 19, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore)

@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Oct 19, 2020
@original-brownbear
Copy link
Contributor Author

Thanks + Sorry @tlrx I had to push 4c54d2a after your review to satisfy some HLRC checks unfortunately so I re-requested review.


@Override
public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {
builder.startObject();
Copy link
Contributor Author

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).

@original-brownbear
Copy link
Contributor Author

Thanks Tanguy!

@original-brownbear original-brownbear merged commit 6128d35 into elastic:master Oct 19, 2020
@original-brownbear original-brownbear deleted the rest-test-clone-api branch October 19, 2020 13:36
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Oct 19, 2020
Adds snapshot clone REST tests and HLRC support for the API.
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Oct 19, 2020
Adds snapshot clone REST tests and HLRC support for the API.
original-brownbear added a commit that referenced this pull request Oct 20, 2020
Adds snapshot clone REST tests and HLRC support for the API.
original-brownbear added a commit that referenced this pull request Oct 20, 2020
Adds snapshot clone REST tests and HLRC support for the API.
@andreidan andreidan added v7.10.0 and removed v7.10.1 labels Oct 28, 2020
@original-brownbear original-brownbear restored the rest-test-clone-api branch December 6, 2020 19:01
tlrx added a commit to tlrx/elasticsearch that referenced this pull request Mar 23, 2021
tlrx added a commit that referenced this pull request Mar 24, 2021
This commit adds some missing documentation about 
the Clone Snapshot Java API.

Relates #63863
tlrx added a commit to tlrx/elasticsearch that referenced this pull request Mar 24, 2021
This commit adds some missing documentation about 
the Clone Snapshot Java API.

Relates elastic#63863
tlrx added a commit to tlrx/elasticsearch that referenced this pull request Mar 24, 2021
This commit adds some missing documentation about 
the Clone Snapshot Java API.

Relates elastic#63863
tlrx added a commit that referenced this pull request Mar 24, 2021
This commit adds some missing documentation about 
the Clone Snapshot Java API.

Relates #63863
tlrx added a commit that referenced this pull request Mar 24, 2021
This commit adds some missing documentation about 
the Clone Snapshot Java API.

Relates #63863
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. >test Issues or PRs that are addressing/adding tests v7.10.0 v7.11.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants