kibana/x-pack/test
Jen Huang d886979e3b
[Fleet] Remove upgradePackage and consolidate it with installPackage, optimize calls to create index patterns (#94490)
* Add data plugin to server app context

* First attempt at switching to indexPatternService for EPM index pattern creation & deletion, instead of interacting directly with index pattern SOs

* Simplify bulk install package, remove upgradePackage() method in favor of consolidating with installPackage(), use installPackage() for bulk install instead

* Update tests

* Change cache logging of objects to trace level

* Install index patterns as a post-package installation operation, for bulk package installation, install index pattern only if one or more packages are actually new installs, add debug logging

* Allow getAsSavedObjectBody to return non-scripted fields when allowNoIndex is true

* Allow `getFieldsForWildcard` to return fields saved on index pattern when allowNoIndices is true

* Bring back passing custom ID for index pattern SO

* Fix tests

* Revert "Merge branch 'index-pattern/allow-no-index' into epm/missing-index-patterns"

This reverts commit 8e712e9c00, reversing
changes made to af0fb0eaa8.

* Allow getAsSavedObjectBody to return non-scripted fields when allowNoIndex is true

(cherry picked from commit 69b93da180)

* Update API docs

* Run post-install ops for install by upload too

* Remove allowedInstallTypes param

* Adjust force install conditions

* Revert "Update API docs"

This reverts commit b9770fdc56.

* Revert "Allow getAsSavedObjectBody to return non-scripted fields when allowNoIndex is true"

This reverts commit afc91ce32f.

* Go back to using SO client for index patterns :(

* Stringify attributes again for SO client saving

* Fix condition for reinstall same pkg version

* Remove unused type

* Adjust comment

* Update snapshot

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 11:34:20 -07:00
..
accessibility [ML] Data Frame Analytics accessibility tests: fix flaky outlier creation test (#94735) 2021-03-16 17:49:24 -04:00
alerting_api_integration [Alerts] Replaces legacy es client with the ElasticsearchClient for alerts and triggers_actions_ui plugins. (#93364) 2021-03-16 12:03:24 -07:00
api_integration Only check required fields for the default space (#95147) 2021-03-23 10:45:59 -04:00
api_integration_basic
apm_api_integration [APM] Use top_hits instead of top_metrics (#94694) 2021-03-16 12:19:42 -04:00
case_api_integration [Security Solution] [Cases] rename case dir/plugin/context/i18n to cases (#94149) 2021-03-10 08:58:51 -07:00
common
detection_engine_api_integration [Security Solutions] Fixes and unskips tests (#94391) 2021-03-15 12:15:59 -06:00
encrypted_saved_objects_api_integration
endpoint_api_integration_no_ingest
examples [Search Sessions] Search session example app functional test (#92133) 2021-03-15 14:47:14 +01:00
fleet_api_integration [Fleet] Remove upgradePackage and consolidate it with installPackage, optimize calls to create index patterns (#94490) 2021-03-23 11:34:20 -07:00
fleet_functional
functional Remove duplicative RBAC tests (#95162) 2021-03-23 12:00:21 -04:00
functional_basic
functional_cors
functional_embedded
functional_enterprise_search [App Search] Add delete action to EnginesTable component (#92844) 2021-03-09 09:49:52 -05:00
functional_vis_wizard
functional_with_es_ssl [Connectors UI] Make UI use new connector APIs (#94180) 2021-03-16 12:59:46 -07:00
licensing_plugin
lists_api_integration
load
observability_api_integration Merge tsconfig and x-pack/tsconfig files (#94519) 2021-03-16 15:13:49 +01:00
plugin_api_integration
plugin_api_perf
plugin_functional [theme] default to v8 theme (#94370) 2021-03-17 09:49:39 -07:00
reporting_api_integration [Reporting-CSV Export] Re-write CSV Export using SearchSource (#88303) 2021-03-16 11:54:47 -07:00
saved_object_api_integration EsArchiver: support for injecting kibana version and use it for spaces tests (#94420) 2021-03-15 09:17:41 -07:00
saved_object_tagging
saved_objects_field_count
security_api_integration
security_functional
security_solution_cypress
security_solution_endpoint [FLEET][SECURITY_SOLUTION][ENDPOINT] Fleet Artifact client and refactoring of Endpoint to use it (#93776) 2021-03-11 12:17:18 -05:00
security_solution_endpoint_api_int [FLEET][SECURITY_SOLUTION][ENDPOINT] Fleet Artifact client and refactoring of Endpoint to use it (#93776) 2021-03-11 12:17:18 -05:00
send_search_to_background_integration [Search Session] Make session name editable (#94610) 2021-03-18 14:41:38 +01:00
spaces_api_integration EsArchiver: support for injecting kibana version and use it for spaces tests (#94420) 2021-03-15 09:17:41 -07:00
stack_functional_integration
ui_capabilities
upgrade
upgrade_assistant_integration
usage_collection
visual_regression
tsconfig.json Merge tsconfig and x-pack/tsconfig files (#94519) 2021-03-16 15:13:49 +01:00