-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ML] Using data views service for loading data views #113961
[ML] Using data views service for loading data views #113961
Conversation
@elasticmachine merge upstream |
Pinging @elastic/ml-ui (:ml) |
@elasticmachine merge upstream |
...ata_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx
Outdated
Show resolved
Hide resolved
...ta_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/ml/public/application/util/field_types_utils.test.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts
Outdated
Show resolved
Hide resolved
...ata_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx
Show resolved
Hide resolved
@elasticmachine merge upstream |
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.
Tested latest changes and LGTM
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
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 ⚡
* [ML] Using data views service for loading data views * removing more saved object client uses * removing IIndexPattern use * removing IndexPattern use * removing more depricated types * fixing teste * fixing index pattern loading * tiny refactor * fixing rollup index test * changes based on review * adding size to find calls Co-authored-by: Kibana Machine <[email protected]>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* [ML] Using data views service for loading data views * removing more saved object client uses * removing IIndexPattern use * removing IndexPattern use * removing more depricated types * fixing teste * fixing index pattern loading * tiny refactor * fixing rollup index test * changes based on review * adding size to find calls Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: James Gowdy <[email protected]>
Fixes #91822
Related to #91715
Changes all cases client and server side where we were using the saved object client to load index patterns.
Removes all uses of types
IIndexPattern
andIndexPattern
in favour ofDataView
Server side, a new function
getDataViewsService
has been added to the items available from the route guard for all routes and the shared services guard for all shared services.Unit or functional tests were updated or added to match the most common scenarios
This was checked for breaking API changes and was labeled appropriately