Skip to content

[Backport] Refactor file path resolution for entitlements (#127040) #127133

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 2 commits into from
Apr 22, 2025

Conversation

jdconrad
Copy link
Contributor

Backport of #127040

This change refactors the known directory resolution such as modules, 
plugins, lib, etc. into a PathLookup. This is one of the steps towards 
allowing unit tests to provide their own PathLookup for resolution so 
we can enable entitlements there.

ES-11584
@jdconrad jdconrad added backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) auto-backport Automatically create backport pull requests when merged test-entitlements Trigger CI checks using security manager replacement v8.18.1 v8.19.0 v9.0.1 :Core/Infra/Entitlements Entitlements infrastructure labels Apr 21, 2025
@jdconrad
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/part-4-entitlements

@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.18
8.x

jdconrad added a commit to jdconrad/elasticsearch that referenced this pull request Apr 22, 2025
…tic#127133)

This change refactors the known directory resolution such as modules, 
plugins, lib, etc. into a PathLookup. This is one of the steps towards 
allowing unit tests to provide their own PathLookup for resolution so 
we can enable entitlements there.

ES-11584
jdconrad added a commit to jdconrad/elasticsearch that referenced this pull request Apr 22, 2025
…tic#127133)

This change refactors the known directory resolution such as modules, 
plugins, lib, etc. into a PathLookup. This is one of the steps towards 
allowing unit tests to provide their own PathLookup for resolution so 
we can enable entitlements there.

ES-11584
elasticsearchmachine pushed a commit that referenced this pull request Apr 22, 2025
…127160)

This change refactors the known directory resolution such as modules, 
plugins, lib, etc. into a PathLookup. This is one of the steps towards 
allowing unit tests to provide their own PathLookup for resolution so 
we can enable entitlements there.

ES-11584
elasticsearchmachine pushed a commit that referenced this pull request Apr 22, 2025
…127159)

This change refactors the known directory resolution such as modules, 
plugins, lib, etc. into a PathLookup. This is one of the steps towards 
allowing unit tests to provide their own PathLookup for resolution so 
we can enable entitlements there.

ES-11584
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Core/Infra/Entitlements Entitlements infrastructure test-entitlements Trigger CI checks using security manager replacement v8.18.1 v8.19.0 v9.0.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants