-
Notifications
You must be signed in to change notification settings - Fork 94
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
Handle Deprecations: Kibana Saved Objects APIs #637
Comments
cc @jloleysens |
IIUC the provider is only using the Is there something else here that I'm not aware of? |
Fantastic!
No, the @tobio please let the Kibana Core team know if your team objects to the non-public saved object's APIs being deprecated. Closing this issue as resolved with no action needed. |
Reopened to discuss the follow-up action to delete the deprecated saved objects APIs. If we plan to support We strongly suggest handling the necessary changes a.s.a.p. Current:
Needs to change to:
|
@TinaHeiligers , thank you for the details. Does it make sense to delete the deprecated API from the provider? What about old Kibana versions, e.g. if a consumer upgrades the provider to a version without the API, they won't be able to use it against Kibana 8.6. |
@dimuon A deprecation warning for versions < 9 will be needed. If the terraform provider is to support kibana v9, calling these APIs will throw because they won't exist. |
@Kushmaro , WDYT? E.g. we can just show a deprecation warning if the API is called and let it fail if it's used against Kibana v9. |
@dimuon in case it wasn't clear, the provider doesn't use any of the deprecated API's. It's just that the code exists in the local fork of the Kibana rest client. I imagine it would be just as much work to add the deprecation log (where? to stdout, that would be pretty annoying for someone importing this code) as it would be to remove the code. IMO this issue is a pretty low priority compared to actual customer requests in this repo:
|
@tobio , thanks for the clarification. Yeah, it makes sense to remove the API. |
+1 to @tobio here |
@tobio @Kushmaro what's the status of removing the API? #637 (comment) |
@TinaHeiligers I don't think there's any immediate plans to work on this issue. |
@TinaHeiligers we will continue supporting saved objects in the provider, at the very least, until the new kibana dashboard apis are out |
Most of the Kibana Saved Objects APIs were deprecated in 8.7 (released Mar 30, 2023).
The APIs that are to remain are:
/api/saved_objects/_import
/api/saved_objects/_export
/api/saved_objects/_resolve_import_errors
The provider will need to change the implementation before these APIs are removed.
The text was updated successfully, but these errors were encountered: