Commit graph

10 commits

Author SHA1 Message Date
Tre
d4064c888a
[Archive Migrations] security_solution-timelines (#142363)
* [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>
2022-11-04 10:06:25 +00:00
Tre
3edba25c2d
[Archive Migration] x-pack-banners/multispace (#135783)
* [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>
2022-09-27 12:03:01 +01:00
Tre
e66bcf4a8e
[Archive Migration] xpack example pipelines (#140789)
Drop two fields from the orig archive.

Helps with: #102552
2022-09-19 21:10:12 +01:00
Tre
6add682702
[Archive Migrations] timelion-feature-controls (#140803)
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" {} \;"
2022-09-19 19:25:01 +01:00
Tre
114bc85ee2
[Archive Migrations] x-pack spaces-multi-space (#139552)
Replaces the old es archive with kbn archive.
Change test to use new archive.

Helps with: elastic#102552
2022-09-06 11:06:53 -05:00
John Dorlus
56cf191817
[Archive Migrations] Kbn archive migration security (#139388)
* Updated test to use uiSettings.

* Fixed merge conflict, made script executable, and added archives from migration.

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Added archives for testing.

* Removed exclusive suites.

* Debugging this dashboard test.

* Fixed broken tests.

* Removed exclusive suite.

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

* Fixed script.

* Removed old archive.

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-09-01 20:00:01 -04:00
Tre
677390d0a7
[Archive Migrations] dashboard/feature_controls/spaces (#139342)
* [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.
2022-09-01 20:31:10 +01:00
Tre
7b5819c940
[Archive Migrations] x-pack dashboard/session_in_spaces (#136531)
* [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>
2022-08-26 09:23:49 +01:00
Tre
9171417da3
[Archive Migrations] reporting-ecommerce_kibana_spaces - using an api in conjuction with migration (#136288)
* [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.
2022-07-29 11:58:17 +01:00
Tre
5e4d3c4c93
[Archive Migrations] Bash functions to facilitate es to kbn archive migrations (#135929) 2022-07-13 10:31:32 +01:00