## Summary
Resolves https://github.com/elastic/kibana/issues/136856
- Add async keyword where it should have been.
- Split archive into kbn and es archives...
instigated by Pierre's comment:
https://github.com/elastic/kibana/issues/136856#issuecomment-1253609280
- Note: Had to use both archive types as
one archive is "hidden", and cannot be accessed via the kbn client.
- Unload via Pierre's "new" clean method.
- Add shell fn to print out server's currently loaded so's, with user
and pass hardcoded for local dev.
* [Archive Migrations] security_solution-timelines
Add new kbn archive with an index pattern
taken from the es archive.
Change the test to use both es and kbn archives.
Since all these objects are loaded into a space,
just delete the space afterwards instead of
unloading with es archiver.
Helps with: #102552
* Drop exclusive
* Drop unneeded fn.
* Lint in my pocket.
* Thanks to J. Buttner, "re-drop" non needed objects from the
original archive.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Archive Migration] x-pack-banners/multispace
I've the before() fn loading the new kbn archive
containing one config, for the default space.
Then, the fn creates a new space and changes the ui settings of this new space,
w/o using an archive.
* Move to enabled per:
https://github.com/elastic/kibana/pull/135783#issuecomment-1237228021
* Just run my stuff this go-round.
* Fixup.
* Drop new archive,
re-enable all tests,
skip the last test,
and add the filed bugs.
* Whoops
* Drop redundant test.
* Not sure what's what yet,
but I think perhaps an override is occuring.
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
* Change value in test and config.
* Drop double quotes,
seems to have caused parsing issue.
* One more try before asking in kibana-core
* try snake case
* back to space case but
without quotes in the config
* Just to see what happens I guess.
* Merge fixups.
* Change refs of "global_banner_text" to
"global banner text"
* Stop the shell expansion
* Drop duplicate.
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Helps with: #102552
Drop archive as it's not used:
"$ find . -type f -exec grep -l "x-pack/test/functional/es_archives/timelion/feature_controls" {} \;"
* [Archive Migrations] dashboard/feature_controls/spaces
Replaces the old es archive with kbn archive.
Change test to use new archive.
Helps with: https://github.com/elastic/kibana/issues/102552
* Whoops, forgot to drop the archive.
* [Archive Migrations] x-pack dashboard/session_in_spaces
Replaces the old es archive with kbn archive.
Change test to use new archive.
Helps with: https://github.com/elastic/kibana/issues/102552
* fix deleting sessions
* improve
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
* [Archive Migrations] x-pack-reporting-ecommerce_kibana_spaces
Replaces the old es archive with kbn archive.
Change test to use new archive.
Helps with: https://github.com/elastic/kibana/issues/102552
* Drop original archive.
* fixup
* Increase timeout.
* Decrease timeout.
* drop only
* Increase timeout after chatting with Lee about
how these tests run on cloud and often take
longer.
* Drop non_timezone_space and related code after chatting
with T Sullivan and Lee.
* Add timestamp stuff from Lee.
* Drop unused.
* CR fixups.
* Shouldn't need this.