mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
Make transport and index versions easier to extend (#99688)
When overriding transport and index versions, it is difficult to decide whether a version constant in serverless should be returned, or the latest version constant from serverless should be used, since the latest from serverless is not available. This commit adjust the version extension methods to pass in the latest serverless version constants. It also tweaks module and method visibility for a helper method needed.
This commit is contained in:
parent
cdedf5387b
commit
a5d07ee51f
5 changed files with 14 additions and 8 deletions
|
@ -279,7 +279,11 @@ module org.elasticsearch.server {
|
|||
exports org.elasticsearch.indices.recovery.plan;
|
||||
exports org.elasticsearch.indices.store;
|
||||
exports org.elasticsearch.ingest;
|
||||
exports org.elasticsearch.internal to org.elasticsearch.serverless.version, org.elasticsearch.serverless.buildinfo;
|
||||
exports org.elasticsearch.internal
|
||||
to
|
||||
org.elasticsearch.serverless.version,
|
||||
org.elasticsearch.serverless.buildinfo,
|
||||
org.elasticsearch.serverless.constants;
|
||||
exports org.elasticsearch.lucene.analysis.miscellaneous;
|
||||
exports org.elasticsearch.lucene.grouping;
|
||||
exports org.elasticsearch.lucene.queries;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue