Skip to content

Single instance of the IndexNameExpressionResolver#52604

Merged
jaymode merged 1 commit into
elastic:7.xfrom
jaymode:single_index_name_expression_resolver_7x
Feb 21, 2020
Merged

Single instance of the IndexNameExpressionResolver#52604
jaymode merged 1 commit into
elastic:7.xfrom
jaymode:single_index_name_expression_resolver_7x

Conversation

@jaymode

@jaymode jaymode commented Feb 20, 2020

Copy link
Copy Markdown
Member

This commit modifies the codebase so that our production code uses a
single instance of the IndexNameExpressionResolver class. This change
is being made in preparation for allowing name expression resolution
to be augmented by a plugin.

In order to remove some instances of IndexNameExpressionResolver, the
single instance is added as a parameter of Plugin#createComponents and
PersistentTaskPlugin#getPersistentTasksExecutor.

Backport of #52596

This commit modifies the codebase so that our production code uses a
single instance of the IndexNameExpressionResolver class. This change
is being made in preparation for allowing name expression resolution
to be augmented by a plugin.

In order to remove some instances of IndexNameExpressionResolver, the
single instance is added as a parameter of Plugin#createComponents and
PersistentTaskPlugin#getPersistentTasksExecutor.
@jaymode jaymode added :Core/Infra/Core Core issues without another label backport labels Feb 20, 2020
@elasticmachine

Copy link
Copy Markdown
Collaborator

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

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

Labels

backport :Core/Infra/Core Core issues without another label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants