|
206 | 206 | import org.elasticsearch.common.settings.Settings;
|
207 | 207 | import org.elasticsearch.common.settings.SettingsFilter;
|
208 | 208 | import org.elasticsearch.indices.breaker.CircuitBreakerService;
|
| 209 | +import org.elasticsearch.persistent.CompletionPersistentTaskAction; |
| 210 | +import org.elasticsearch.persistent.RemovePersistentTaskAction; |
| 211 | +import org.elasticsearch.persistent.StartPersistentTaskAction; |
| 212 | +import org.elasticsearch.persistent.UpdatePersistentTaskStatusAction; |
209 | 213 | import org.elasticsearch.plugins.ActionPlugin;
|
210 | 214 | import org.elasticsearch.plugins.ActionPlugin.ActionHandler;
|
211 | 215 | import org.elasticsearch.rest.RestController;
|
|
241 | 245 | import org.elasticsearch.rest.action.admin.cluster.RestRestoreSnapshotAction;
|
242 | 246 | import org.elasticsearch.rest.action.admin.cluster.RestSnapshotsStatusAction;
|
243 | 247 | import org.elasticsearch.rest.action.admin.cluster.RestVerifyRepositoryAction;
|
244 |
| -import org.elasticsearch.rest.action.admin.indices.RestResizeHandler; |
245 | 248 | import org.elasticsearch.rest.action.admin.indices.RestAnalyzeAction;
|
246 | 249 | import org.elasticsearch.rest.action.admin.indices.RestClearIndicesCacheAction;
|
247 | 250 | import org.elasticsearch.rest.action.admin.indices.RestCloseIndexAction;
|
|
252 | 255 | import org.elasticsearch.rest.action.admin.indices.RestForceMergeAction;
|
253 | 256 | import org.elasticsearch.rest.action.admin.indices.RestGetAliasesAction;
|
254 | 257 | import org.elasticsearch.rest.action.admin.indices.RestGetAllAliasesAction;
|
255 |
| -import org.elasticsearch.rest.action.admin.indices.RestGetAllMappingsAction; |
256 | 258 | import org.elasticsearch.rest.action.admin.indices.RestGetFieldMappingAction;
|
257 | 259 | import org.elasticsearch.rest.action.admin.indices.RestGetIndexTemplateAction;
|
258 | 260 | import org.elasticsearch.rest.action.admin.indices.RestGetIndicesAction;
|
|
269 | 271 | import org.elasticsearch.rest.action.admin.indices.RestPutMappingAction;
|
270 | 272 | import org.elasticsearch.rest.action.admin.indices.RestRecoveryAction;
|
271 | 273 | import org.elasticsearch.rest.action.admin.indices.RestRefreshAction;
|
| 274 | +import org.elasticsearch.rest.action.admin.indices.RestResizeHandler; |
272 | 275 | import org.elasticsearch.rest.action.admin.indices.RestRolloverIndexAction;
|
273 | 276 | import org.elasticsearch.rest.action.admin.indices.RestSyncedFlushAction;
|
274 | 277 | import org.elasticsearch.rest.action.admin.indices.RestUpdateSettingsAction;
|
|
313 | 316 | import org.elasticsearch.rest.action.search.RestSearchScrollAction;
|
314 | 317 | import org.elasticsearch.threadpool.ThreadPool;
|
315 | 318 | import org.elasticsearch.usage.UsageService;
|
316 |
| -import org.elasticsearch.persistent.CompletionPersistentTaskAction; |
317 |
| -import org.elasticsearch.persistent.RemovePersistentTaskAction; |
318 |
| -import org.elasticsearch.persistent.StartPersistentTaskAction; |
319 |
| -import org.elasticsearch.persistent.UpdatePersistentTaskStatusAction; |
320 | 319 |
|
321 | 320 | import java.util.ArrayList;
|
322 | 321 | import java.util.Collections;
|
@@ -556,7 +555,6 @@ public void initRestHandlers(Supplier<DiscoveryNodes> nodesInCluster) {
|
556 | 555 | registerHandler.accept(new RestSnapshotsStatusAction(settings, restController));
|
557 | 556 |
|
558 | 557 | registerHandler.accept(new RestGetAllAliasesAction(settings, restController));
|
559 |
| - registerHandler.accept(new RestGetAllMappingsAction(settings, restController)); |
560 | 558 | registerHandler.accept(new RestGetIndicesAction(settings, restController, indexScopedSettings, settingsFilter));
|
561 | 559 | registerHandler.accept(new RestIndicesStatsAction(settings, restController));
|
562 | 560 | registerHandler.accept(new RestIndicesSegmentsAction(settings, restController));
|
|
0 commit comments