-
Notifications
You must be signed in to change notification settings - Fork 285
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
Add deprecation warning for GET/POST/PUT cache #4776
Add deprecation warning for GET/POST/PUT cache #4776
Conversation
Signed-off-by: Derek Ho <dxho@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are instead trying to Deprecate the routes itself, you can do something like this:
waiting for deprecatedroute to be added
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #4776 +/- ##
=======================================
Coverage 65.44% 65.44%
=======================================
Files 319 319
Lines 22252 22252
Branches 3594 3594
=======================================
Hits 14563 14563
+ Misses 5887 5883 -4
- Partials 1802 1806 +4
|
Signed-off-by: Derek Ho <dxho@amazon.com>
Signed-off-by: Derek Ho <dxho@amazon.com>
src/main/java/org/opensearch/security/dlic/rest/api/FlushCacheApiAction.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Derek Ho <dxho@amazon.com>
…-deprecation-warning
19706d1
Description
Adds deprecation warning that GET/POST/PUT methods for cache endpoint is removed in version 3.0.0.
Issues Resolved
None
Is this a backport? If so, please add backport PR # and/or commits #, and remove
backport-failed
label from the original PR.No
Do these changes introduce new permission(s) to be displayed in the static dropdown on the front-end? If so, please open a draft PR in the security dashboards plugin and link the draft PR here
No
Testing
None
Check List
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.