kibana/x-pack/test
Maja Grubic 9b22789c3c
[Discover] Use fields API to retrieve fields (#83891)
* Add search source to example plugin.

* Add uiSetting for fields API.

* Update SearchSource to support fields API.

* [PoC] reading from the fields API in Discover

* Add N fields as a default column

* Make fields column non-removeable

* Do not add 'fields' to state

* Remove fields from app state and read from source when needed

* Remove fields column if a new column is added

* Add search source to example plugin.

* Add uiSetting for fields API.

* Update SearchSource to support fields API.

* Improve error handling in search examples plugin.

* Add unit tests for legacy behavior.

* Remove uiSettings feature flag; add fieldsFromSource config.

* Rewrite flatten() based on final API design.

* Update example app based on final API design.

* Update maps app to use legacy fieldsFromSource.

* Update Discover to use legacy fieldsFromSource.

* Rename source filters to field filters.

* Address feedback.

* Update generated docs.

* Update maps functional test.

* Formatting fields column similar to _source

* Moving logic for using search API to updating search source

* Fix small merge error

* Move useSource switch to Discover section of advanced settings

* Do not use fields and source at the same time

* Remove unmapped fields switch

* Add basic support for grouping multifields

* Remove output.txt

* Fix some merge leftovers

* Fix some merge leftovers

* Fix merge errors

* Fix typescript errors and update nested fields logic

* Add a unit test

* Fixing field formats

* Fix multifield selection logic

* Request all fields from source

* Fix eslint

* Fix default columns when switching between _source and fields

* More unit tests

* Update API changes

* Add unit test for discover field details footer

* Remove unused file

* Remove fields formatting from index pattern

* Remove unnecessary check

* Addressing design comments

* Fixing fields column display and renaming it to Document

* Adding more unit tests

* Adding a missing check for useNewFieldsAPI; minor fixes

* Fixing typescript error

* Remove unnecessary console statement

* Add missing prop

* Fixing import order

* Adding functional test to test fields API

* [Functional test] Clean up in after

* Fixing context app

* Addressing PR comments

* Updating failed snapshot

* Addressing PR comments

* Fixing i18n translations, updating type

* Addressing PR comments

* Updating a functional test

* Add a separate functional test for fields API

* Read fields from source in a functional test

* Skip buggy test

* Use default behavior in functional tests

* Fixing remaining failing tests

* Fixing date-nanos test

* Updating FLS test

* Fixing yet another functional test

* Skipping non-relevant tests

* Fixing more tests

* Update stub import in test

* Fix import

* Fix invalid import

Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-15 14:47:35 +00:00
..
accessibility skip flaky suite (#82226) 2021-01-04 14:47:38 +00:00
alerting_api_integration Fix flaky test for legacy authorization (#87642) 2021-01-15 08:13:15 -05:00
api_integration [ML] Improving existing job check in anomaly detection wizard (#87674) 2021-01-15 12:57:41 +00:00
api_integration_basic Revert "chore(NA): rebalance x-pack cigroups (#85797)" 2020-12-16 15:28:53 -08:00
apm_api_integration [APM] Add license check for significant terms (#88209) 2021-01-15 09:48:57 +01:00
case_api_integration skipping flaky suite (#87988) 2021-01-13 08:51:30 -07:00
common [Fleet] Move ingestManager plugin to fleet (#82886) 2020-11-09 11:07:04 -05:00
detection_engine_api_integration skip suites failing es promotion (#88302) 2021-01-13 22:03:44 -07:00
encrypted_saved_objects_api_integration Revert "chore(NA): rebalance x-pack cigroups (#85797)" 2020-12-16 15:28:53 -08:00
endpoint_api_integration_no_ingest Skip failing endgame tests (#70548) 2020-07-01 23:01:21 -07:00
fleet_api_integration [EPM] Install Lens assets from packages if present. (#88189) 2021-01-14 18:01:00 +01:00
functional [Discover] Use fields API to retrieve fields (#83891) 2021-01-15 14:47:35 +00:00
functional_basic [ML] Redesign index-based Data Visualizer (#85726) 2020-12-15 15:19:47 -06:00
functional_cors [test/functional_cors] 9000 is sometimes in use, make getPort random (#87050) 2020-12-30 10:32:48 -07:00
functional_embedded [ci] run server integration tests (#81698) 2020-11-03 15:50:01 -07:00
functional_enterprise_search Fix dead links to functional testing docs (#85097) 2020-12-14 17:00:53 +01:00
functional_vis_wizard [Visualize] New visualization wizard (#79627) 2020-11-06 18:03:44 +02:00
functional_with_es_ssl skip flaky suite (#88177) 2021-01-13 08:38:41 -07:00
licensing_plugin Revert "chore(NA): rebalance x-pack cigroups (#85797)" 2020-12-16 15:28:53 -08:00
lists_api_integration skip suites failing es promotion (#88302) 2021-01-13 22:03:44 -07:00
observability_api_integration Move Elasticsearch type definitions out of APM (#83081) 2020-11-11 16:23:34 -06:00
plugin_api_integration [Alerting] Shift polling interval by random amount when Task Manager experiences consistent claim version conflicts (#88020) 2021-01-12 23:34:07 +00:00
plugin_api_perf Revert "chore(NA): rebalance x-pack cigroups (#85797)" 2020-12-16 15:28:53 -08:00
plugin_functional [Security Solution][Resolver] Updated baselines to account for re-centering (#87547) 2021-01-07 13:50:42 -05:00
reporting_api_integration Functional tests - stabilize reporting tests for cloud execution (#83787) 2020-11-20 05:47:25 +01:00
saved_object_api_integration Migrate privilege/role/user-related operations to a new Elasticsearch client. (#84641) 2020-12-04 14:24:30 +01:00
saved_object_tagging Add bulk assign action to tag management (#84177) 2020-12-07 11:18:43 +01:00
saved_objects_field_count [Ingest Manager] Move config from xpack.ingestManager to xpack.fleet (#79406) 2020-10-06 11:58:09 -04:00
security_api_integration Expose AnonymousAccess service through Security OSS plugin. (#87091) 2021-01-15 10:18:58 +01:00
security_functional Fix advanced settings API integration tests on cloud (#84110) 2020-11-24 13:46:51 +01:00
security_solution_cypress Removes archives (#86537) 2020-12-28 08:08:04 +01:00
security_solution_endpoint [Security Solution][Endpoint][Admin] malware custom notify user message tests (#87603) 2021-01-07 13:44:51 -05:00
security_solution_endpoint_api_int [Security Solution][Resolver] Remove deprecated resolver routes (#86475) 2021-01-04 13:14:40 -05:00
send_search_to_background_integration [Search Sessions] Replace search session constants with kibana.yml configs (#88023) 2021-01-15 01:14:02 +02:00
spaces_api_integration Migrate privilege/role/user-related operations to a new Elasticsearch client. (#84641) 2020-12-04 14:24:30 +01:00
stack_functional_integration dismiss telemetry banner for ems_test (#88096) 2021-01-13 10:29:16 +01:00
ui_capabilities Cleanup feature registration (#80909) 2020-10-20 12:53:43 -04:00
upgrade_assistant_integration [Upgrade Assistant] Fix potentially long URI (#74485) 2020-08-14 17:14:03 +02:00
visual_regression
tsconfig.json Move Spaces, Security and EncryptedSavedObjects plugins to separate TS projects (#88365) 2021-01-15 14:55:53 +01:00