Skip to content

[7.x] Add support for rest compatibility headers to the HLRC (#78490)#78849

Merged
elasticsearchmachine merged 1 commit intoelastic:7.xfrom
dakrone:backport/7.x/pr-78490
Oct 7, 2021
Merged

[7.x] Add support for rest compatibility headers to the HLRC (#78490)#78849
elasticsearchmachine merged 1 commit intoelastic:7.xfrom
dakrone:backport/7.x/pr-78490

Conversation

@dakrone
Copy link
Copy Markdown
Member

@dakrone dakrone commented Oct 7, 2021

Backports the following commits to 7.x:

This adds support for the headers necessary for REST version compatibility to the High Level Rest
Client (HLRC).

Compatibility mode can be turned on either with the .setAPICompatibilityMode(true) when creating
the client, or by setting the ELASTIC_CLIENT_APIVERSIONING to true similar to our other
Elasticsearch clients.

Resolves elastic#77859
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@dakrone dakrone added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Oct 7, 2021
@elasticsearchmachine elasticsearchmachine merged commit 83f57c3 into elastic:7.x Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants