elasticsearch/libs
Patrick Doyle 7ec8fccf94
Refactor before entitlements for testing (#129099)
* Support multiple plugin source paths

* Refactor: remove unncessary PathLookup method.

It's only called in one place, and there's no need to override it for testing.
Removing it just makes things simpler.

* Refactor: local var for pathLookup

* Fix bugs in test build info parsing

* Fix representative_class in test

* Move BridgeUtilTests.

Tests in org.elasticsearch.entitlement.bridge are going to be uniquely hard to
test once we patch the bridge into java.base, due to Java's prohibition on
split packages.

Let's just move this guy to another package.

* Upcast (?!) Java23EntitlementChecker to EntitlementChecker

* Empty TestPathLookup

* Create PolicyManager during bootstrap, allowing us to share initialization

* Use empty component path list instead of null

* Downcast to the class of the check method.

In our unit test, we have a mock checker that doesn't extend
EntitlementChecker, so downcasting to that would require us to needlessly
rework the unit test.

* Fix javadoc typos
2025-06-09 18:56:07 +02:00
..
cli Remove security manager from tests (#127087) 2025-04-22 18:08:09 +02:00
core React more prompty to task cancellation while waiting for the cluster to unblock (#128737) 2025-06-03 11:00:20 +03:00
dissect Use directory name as project name for libs (#115720) 2024-10-29 13:02:28 -07:00
entitlement Refactor before entitlements for testing (#129099) 2025-06-09 18:56:07 +02:00
geo Fix #123425 numerical floating point edge case (#127982) 2025-05-10 16:37:29 +02:00
grok Fix a bunch of non-final static fields (#119185) 2024-12-26 19:14:36 +01:00
h3 Reapply "Update Gradle wrapper to 8.13 (#122421)" (#123889) (#123896) 2025-03-05 08:02:13 +01:00
log4j
logging Set root logger level for CLIs (#123742) 2025-03-02 17:55:09 +00:00
logstash-bridge Make enrich project-aware (#124099) 2025-03-06 19:20:46 +01:00
lz4 Use directory name as project name for libs (#115720) 2024-10-29 13:02:28 -07:00
native Remove security manager from tests (#127087) 2025-04-22 18:08:09 +02:00
plugin-analysis-api [Build] Remove deprecated BuildParams (#116984) 2024-11-22 16:30:57 +01:00
plugin-api Add AGPLv3 as a supported license 2024-09-13 15:29:46 -07:00
plugin-scanner Update ASM 9.7 -> 9.7.1 to support JDK 24 (#118094) 2024-12-06 08:16:46 +01:00
simdvec Reapply "Adds new unexposed and experimental IVF format (#127528)" (#128005) (#128051) 2025-05-14 08:47:59 +10:00
ssl-config Add exclusive access files for security module (#123676) 2025-03-08 07:02:36 -08:00
tdigest Reapply "Update Gradle wrapper to 8.13 (#122421)" (#123889) (#123896) 2025-03-05 08:02:13 +01:00
x-content Update AbstractXContentParser to support parsers that don't provide text characters (#129005) 2025-06-06 09:17:41 -04:00
build.gradle Use directory name as project name for libs (#115720) 2024-10-29 13:02:28 -07:00