Skip to content

[7.16] Allow specifying deprecation level for REST deprecation handler (#80629)#80779

Merged
elasticsearchmachine merged 1 commit intoelastic:7.16from
dakrone:backport/7.16/pr-80629
Nov 16, 2021
Merged

[7.16] Allow specifying deprecation level for REST deprecation handler (#80629)#80779
elasticsearchmachine merged 1 commit intoelastic:7.16from
dakrone:backport/7.16/pr-80629

Conversation

@dakrone
Copy link
Copy Markdown
Member

@dakrone dakrone commented Nov 16, 2021

Backports the following commits to 7.16:

…tic#80629)

This allows specifying an optional level to be used for the deprecation handler registering a route.

The default remains if the level is unspecified.

Relates to elastic#80167

# Conflicts:
#	server/src/main/java/org/elasticsearch/common/logging/DeprecationLogger.java
#	server/src/main/java/org/elasticsearch/rest/DeprecationRestHandler.java
#	server/src/main/java/org/elasticsearch/rest/RestController.java
#	server/src/main/java/org/elasticsearch/rest/action/admin/indices/RestPutIndexTemplateAction.java
#	server/src/test/java/org/elasticsearch/rest/DeprecationRestHandlerTests.java
#	server/src/test/java/org/elasticsearch/rest/RestControllerTests.java
@dakrone dakrone added backport :Core/Infra/REST API REST infrastructure and utilities v7.16.1 labels Nov 16, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Nov 16, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@dakrone dakrone added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Nov 16, 2021
@elasticsearchmachine elasticsearchmachine merged commit ad8b14b into elastic:7.16 Nov 16, 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 :Core/Infra/REST API REST infrastructure and utilities Team:Core/Infra Meta label for core/infra team v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants