Skip to content

Commit dbfe0c2

Browse files
authored
deprecate the restful API of batch ingestion (#3688)
Signed-off-by: Xun Zhang <xunzh@amazon.com>
1 parent 1aa9327 commit dbfe0c2

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

plugin/src/main/java/org/opensearch/ml/plugin/MachineLearningPlugin.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@
233233
import org.opensearch.ml.processor.MLInferenceSearchRequestProcessor;
234234
import org.opensearch.ml.processor.MLInferenceSearchResponseProcessor;
235235
import org.opensearch.ml.repackage.com.google.common.collect.ImmutableList;
236-
import org.opensearch.ml.rest.RestMLBatchIngestAction;
237236
import org.opensearch.ml.rest.RestMLCancelBatchJobAction;
238237
import org.opensearch.ml.rest.RestMLCreateConnectorAction;
239238
import org.opensearch.ml.rest.RestMLCreateControllerAction;
@@ -828,7 +827,6 @@ public List<RestHandler> getRestHandlers(
828827
RestMLListToolsAction restMLListToolsAction = new RestMLListToolsAction(toolFactories);
829828
RestMLGetToolAction restMLGetToolAction = new RestMLGetToolAction(toolFactories);
830829
RestMLGetConfigAction restMLGetConfigAction = new RestMLGetConfigAction(mlFeatureEnabledSetting);
831-
RestMLBatchIngestAction restMLBatchIngestAction = new RestMLBatchIngestAction();
832830
RestMLCancelBatchJobAction restMLCancelBatchJobAction = new RestMLCancelBatchJobAction();
833831
return ImmutableList
834832
.of(
@@ -883,7 +881,6 @@ public List<RestHandler> getRestHandlers(
883881
restMLListToolsAction,
884882
restMLGetToolAction,
885883
restMLGetConfigAction,
886-
restMLBatchIngestAction,
887884
restMLCancelBatchJobAction
888885
);
889886
}
Binary file not shown.

0 commit comments

Comments
 (0)