-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deprecate the restful API of batch ingestion #3688
Conversation
Signed-off-by: Xun Zhang <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3688 +/- ##
============================================
+ Coverage 80.34% 80.35% +0.01%
- Complexity 7023 7024 +1
============================================
Files 615 615
Lines 30636 30635 -1
Branches 3447 3447
============================================
+ Hits 24614 24617 +3
+ Misses 4528 4525 -3
+ Partials 1494 1493 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
is the MLBatchIngestionInput going to stay but only removing the REST API? ml-commons/common/src/main/java/org/opensearch/ml/common/transport/batch/MLBatchIngestionInput.java Line 29 in 1aa9327
|
Yes so no one uses it directly. the transport layer API can still stay just in case the flow framework wants to integrate. We can remove all the code later once decided that this is not needed for sure. |
Why aren't we removing Also can you remove |
I assume there is no customer adoption to this feature yet? Otherwise this message doesn't seem right to me if any customer started using this feature already. |
This API is stateless so no impact to existing Cx. Probably a better way is to return a deprecation message and asking the caller to check out data prepper in the rest class. But I guess overall the usage is low and this message shouldn’t matter that much. |
Signed-off-by: Xun Zhang <[email protected]> (cherry picked from commit dbfe0c2)
Thanks for the comment. Will remove "bwc/2.4.0.0/opensearch-ml-2.4.0.0.zip" in a separate PR. |
Signed-off-by: Xun Zhang <[email protected]> (cherry picked from commit dbfe0c2) Co-authored-by: Xun Zhang <[email protected]>
Description
Verified the Rest API of batch ingestion is deprecated. Will send out a separate PR for the tech doc.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.