Refactor RestMainAction into separate module (#95881)

we want to allow overriding info (GET /) api in serverless, therefore this commit moves the RestMainAction and is transport classes into a module that has a rest plugin

Main endpoint is often used in testing to verfiy that a cluster is ready, hence this commit also has to add a testing dependency on main to a lot of modules

relates #95422
This commit is contained in:
Przemyslaw Gomulka 2023-05-10 14:39:00 +02:00 committed by GitHub
parent f13b1a5648
commit dc03c47ada
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 200 additions and 47 deletions

View file

@ -134,7 +134,6 @@ module org.elasticsearch.server {
exports org.elasticsearch.action.get;
exports org.elasticsearch.action.index;
exports org.elasticsearch.action.ingest;
exports org.elasticsearch.action.main;
exports org.elasticsearch.action.resync;
exports org.elasticsearch.action.search;
exports org.elasticsearch.action.support;