kibana/test
Alejandro Fernández Haro ea3af98e65
[7.x] [NP] Expose global config to the plugins (#51478) (#52263)
* [NP] Expose global config to the plugins (#51478)

* [NP] Expose global config to the plugins

* globalConfig in Plugin context: expose read-only methods only

* SharedGlobalConfig rework + Moving pkg, fromRoot & path utils from legacy to NP

* Updated API docs

* Fix test references to the moved utils

* Replace zip with combineLatest

* Change tests to describe/it + remove "(deprecated)" from the test description

* Moving path files to a folder + exposing the config path in the contract

* deepFreeze the globalConfig in the pluginContext

* Fix types in tests with new path.config

* Move fromRoot and package_json utils to core/server/utils

* Rename globalConfig to legacy.globalConfig$

* path.config renamed to path.configDir (not renaming path.data because it might be a breaking change)

* Change configDir in mocker as well

* Fix test after config renamed to configDir

* Fix API docs conflicts

* Rename the path properties when exposing them

* path.configDir removed from the path config-schema

* Remove path.configDir. It is already in env.configs

* Add Migration documentation and examples

* Fix 'kibana/server' imports in the MIGRATION docs

* Disable eslint complain for the legacy config/schema.js import
2019-12-05 14:04:47 +00:00
..
accessibility Upgrade EUI to 16.0.0 (#50779) (#51241) 2019-11-21 09:04:03 -06:00
api_integration Kibana app migration: Remove old apis (#50881) (#52064) 2019-12-03 18:12:54 +01:00
common [7.x] [FTR] expose new es client service (#51066) (#51173) 2019-11-20 19:12:19 -07:00
dev_certs
functional skip flaky suite (#40670) 2019-12-04 11:25:40 -07:00
interpreter_functional [Dependencies]: upgrade react to latest v16.12.0 (#51145) (#51868) 2019-11-28 12:25:09 +01:00
plugin_functional [Dependencies]: upgrade react to latest v16.12.0 (#51145) (#51868) 2019-11-28 12:25:09 +01:00
scripts [7.x] run mocha tests from x-pack with root mocha script (#513… (#51624) 2019-11-25 13:33:20 -07:00
server_integration [7.x] [FTR] expose new es client service (#51066) (#51173) 2019-11-20 19:12:19 -07:00
typings Add KQL functionality in the find function of the saved objects (#41136) (#47182) 2019-10-03 08:42:35 -04:00
ui_capabilities/newsfeed_err [7.x] [Newsfeed] UI plugin for Kibana (#49579) (#50503) 2019-11-13 14:36:23 -07:00
visual_regression [7.x] [NP] Expose global config to the plugins (#51478) (#52263) 2019-12-05 14:04:47 +00:00
mocha_decorations.d.ts [7.x] Re-split ciGroups after pipeline rollout (#46375) (#46643) 2019-09-25 17:21:47 -07:00
tsconfig.json Add KQL functionality in the find function of the saved objects (#41136) (#47182) 2019-10-03 08:42:35 -04:00