Remove IndexNameExpressionResolver from base classes that don't use it (#120531)

This commit is contained in:
Simon Cooper 2025-01-22 10:17:07 +00:00 committed by GitHub
parent 13c75c02f0
commit 39601ed683
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
229 changed files with 124 additions and 534 deletions

View file

@ -72,14 +72,7 @@ public class EnterpriseSearchUsageTransportAction extends XPackUsageFeatureTrans
XPackLicenseState licenseState,
Client client
) {
super(
XPackUsageFeatureAction.ENTERPRISE_SEARCH.name(),
transportService,
clusterService,
threadPool,
actionFilters,
indexNameExpressionResolver
);
super(XPackUsageFeatureAction.ENTERPRISE_SEARCH.name(), transportService, clusterService, threadPool, actionFilters);
this.licenseState = licenseState;
this.clientWithOrigin = new OriginSettingClient(client, ENT_SEARCH_ORIGIN);
this.indicesAdminClient = clientWithOrigin.admin().indices();

View file

@ -44,7 +44,6 @@ public class TransportDeleteAnalyticsCollectionAction extends AcknowledgedTransp
threadPool,
actionFilters,
DeleteAnalyticsCollectionAction.Request::new,
indexNameExpressionResolver,
EsExecutors.DIRECT_EXECUTOR_SERVICE
);
this.analyticsCollectionService = analyticsCollectionService;

View file

@ -43,7 +43,6 @@ public class TransportGetAnalyticsCollectionAction extends TransportMasterNodeRe
threadPool,
actionFilters,
GetAnalyticsCollectionAction.Request::new,
indexNameExpressionResolver,
GetAnalyticsCollectionAction.Response::new,
EsExecutors.DIRECT_EXECUTOR_SERVICE
);

View file

@ -44,7 +44,6 @@ public class TransportPutAnalyticsCollectionAction extends TransportMasterNodeAc
threadPool,
actionFilters,
PutAnalyticsCollectionAction.Request::new,
indexNameExpressionResolver,
PutAnalyticsCollectionAction.Response::new,
EsExecutors.DIRECT_EXECUTOR_SERVICE
);