Add REST point names
Relates to elastic/elasticsearch#24169 Original commit: elastic/x-pack-elasticsearch@d18a24a035
This commit is contained in:
parent
3502a9901b
commit
0de8cf47b1
|
@ -38,6 +38,11 @@ public class RestIndexUpgradeAction extends BaseRestHandler {
|
|||
this.extraParameters = extraParameters;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "xpack_migration_upgrade";
|
||||
}
|
||||
|
||||
@Override
|
||||
public RestChannelConsumer prepareRequest(RestRequest request, NodeClient client) throws IOException {
|
||||
if (request.method().equals(RestRequest.Method.POST)) {
|
||||
|
|
|
@ -32,6 +32,11 @@ public class RestIndexUpgradeInfoAction extends BaseRestHandler {
|
|||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "xpack_migration_assistance";
|
||||
}
|
||||
|
||||
@Override
|
||||
public RestChannelConsumer prepareRequest(RestRequest request, NodeClient client) throws IOException {
|
||||
if (request.method().equals(RestRequest.Method.GET)) {
|
||||
|
|
Loading…
Reference in New Issue