Skip to content

Fix ignoring require_alias parameter in high level rest client #67865

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

Merged
merged 3 commits into from
Apr 20, 2021

Conversation

gaobinlong
Copy link
Contributor

Relates to #67819.

The main changes are:

  1. Set the require_alias parameter in the reindex, index and update methods in RequestConverters class.
  2. Test that the parameter can be parsed correctly.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

@jtibshirani jtibshirani added >bug Team:Clients Meta label for clients team labels Jan 26, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/clients-team (Team:Clients)

@jakelandis jakelandis requested a review from swallez January 28, 2021 15:17
@jakelandis
Copy link
Contributor

@elasticmachine ok to test

@swallez - can you please take a look at this PR ?

@mark-vieira
Copy link
Contributor

@elasticmachine update branch

@jakelandis jakelandis removed the request for review from swallez February 11, 2021 17:17
@danhermann danhermann self-requested a review February 11, 2021 17:19
@martijnvg martijnvg requested review from martijnvg and removed request for danhermann March 11, 2021 15:31
@gaobinlong
Copy link
Contributor Author

@martijnvg, can this PR be merged now?

@martijnvg
Copy link
Member

@gaobinlong Thanks for the ping, I will look into this today.

@martijnvg
Copy link
Member

@elasticmachine update branch

@martijnvg
Copy link
Member

@elasticmachine run elasticsearch-ci/2

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

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

Thanks @gaobinlong for fixing this! And apologies to the delay.
I will merge this once pr ci is green.

@martijnvg martijnvg merged commit 7cd0bdc into elastic:master Apr 20, 2021
martijnvg pushed a commit to martijnvg/elasticsearch that referenced this pull request Apr 20, 2021
…astic#67865)

The main changes are:
* Set the require_alias parameter in the reindex, index and update methods in RequestConverters class.
* Test that the parameter can be parsed correctly.

Closes elastic#67819.
martijnvg added a commit that referenced this pull request Apr 20, 2021
…1914)

Backporting #67865 to 7.x branch.

The main changes are:
* Set the require_alias parameter in the reindex, index and update methods in RequestConverters class.
* Test that the parameter can be parsed correctly.

Closes #67819.

Co-authored-by: bellengao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug Team:Clients Meta label for clients team Team:Data Management Meta label for data/management team v7.13.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants