-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[data views] moving more functionality server side #113440
Comments
@ppisljar I'm curious about your thoughts about this issue. Roughly speaking, I think there’s two ways to create APIs. There’s the current way data views is implemented - a thin layer abstracts the saved object layer - vs creating a RESTful api thats consumed by the client. This is probably a topic that can be worked through separate from any thing data view specific. Saved object layer wrapper
RESTful
|
I don't understand really how this is blocking the index patterns everywhere project. From my perspective:
I would like to better understand how needed this is ? |
+1, I like the plan. I cannot answer the "need" questions, but I could try explaining why it is a bad idea to use Saved Objects Service on the browser.
P.S. I understand that connecting directly to database could be a nice modern solution when done well, think Firebase. But in Kibana I think it would be better to keep Saved Objects Service only on the server. |
@vadimkibana At this point I put most of those benefits under 'marginal improvements' - they would be good to have but the current situation isn't blocking anything from happening. |
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner. |
Original issue - #90076
The
IndexPatternsService
is currently being called both client side and server side.IndexPatternsService
should not be called by the index pattern server routesIndexPatternsService
methods should be updated to be like thegetFieldsForWildcard
, which makes a server-side call to do the work. All the logic fromIndexPatternsService
should be moved to server-side fileIndexPatternsFetcher
.IndexPatternsService
should be changed to reference the new methods in server-sideIndexPatternsFetcher
our plan regarding server/client side index patterns goes mostly like this:
elasticsearch
should be made from server sideThe text was updated successfully, but these errors were encountered: