Commit graph

2 commits

Author SHA1 Message Date
Walter Rafelsberger
11acc025b5
[ML] Rename index pattern references to data view. (#171627)
Renames references to index pattern to data views.

- Updates references in `data-test-subj` attributes for data frame
analytics.
- Renames methods in the ` ml.testResources` service used in tests.
- `IndexPattern` references in testing code referring to single indices
were renamed to use `IndexName`. For variable names still using
`IndexPattern` they were prefixed with e.g. `esIndexPattern` to avoid
ambiguity with the legacy data view name.

Note there are still references in the state management code of the data
frame analytics creation wizard, this wasn't picked up in this PR since
it focuses mostly on test related code.
2023-11-23 08:17:26 +01:00
Ignacio Rivas
fd741b47e7
[Watcher] Prevent expensive queries on ES by using PointInTimeFinder to get indexPatterns (#119717)
* Use PointInTimeFinder to paginate through indexPatterns in a more performant way

* commit using @elastic.co

* Start working on tests

* Add tests

* Add missing types

* Fix tests

* Update tests responses

* Remove unnecessary mocks

* Fix type

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-03 12:01:37 +01:00