-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move KibanaMigrator into Server SavedObjectsService #43433
Merged
Merged
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
4b85ee9
Rename SavedObjectsService -> SavedObjectsLegacyService
rudolf 6263726
Expose legacy pluginSpecs from Core LegacyService
rudolf 13301e2
Expose legacy uiExports from Core LegacyService
rudolf 19c9806
Move kibana config to NP
rudolf 728e97d
Expose pluginExtendedConfig from LegacyService
rudolf b36daf3
Make KibanaMigrator NP compatible
rudolf 4458c26
KibanaMigrator -> NP SavedObjectsService
rudolf 6e1f026
SavedObjectsService never stop retrying ES connection error
rudolf 86b6c62
Move waiting for migrations to complete till after legacy service start
rudolf b2cfb14
Fix ESArchiver's KibanaMigrator
rudolf 6fea102
Fix reload logging config tests
rudolf ea6486a
Run migrations on savedobjects start
rudolf 4b2e03e
Fix env tests
rudolf 4c6f865
Fix and make legacy tests more robust/isolated
rudolf c06f07a
Cleanup code
rudolf 8c44805
Fix invalid config test
rudolf f41538c
Fix SavedObject Migrations logging test
rudolf 6b9f2c4
Merge branch 'master' into server-saved-objects-service
rudolf cec7235
SavedObjectsService tests
rudolf c0edd70
Lifecycle logging and improve getting kibanaConfig instance
rudolf ea77bd9
Fix awaitMigration bug and test
rudolf d27d816
Fix typing error
rudolf e8b0d12
Merge branch 'master' into server-saved-objects-service
rudolf 6e1a527
Review comments
rudolf 172209c
Remove unecessary KibanaConfig class
rudolf 8b7835b
Merge branch 'master' into server-saved-objects-service
rudolf da017f7
Move legacy plugin config extension, specs, uiExports entirely into Core
rudolf 0371aa3
Fix config deprecation test
rudolf 04bb2df
Merge branch 'master' into server-saved-objects-service
rudolf cd759ea
Use existing logger mock
rudolf c2b1fd0
Create SavedObjectsConfig for migration config
rudolf 03ce480
Define KibanaMigratorContract type
rudolf e14d0a4
Merge branch 'master' into server-saved-objects-service
rudolf d87836f
KibanaMigratorContract -> IKibanaMigrator + docs improvements
rudolf f7effb8
Fix esArchiver's KibanaMigrator
rudolf 98aec57
Fix plugin generator integration test
rudolf da6a902
Merge branch 'master' into server-saved-objects-service
rudolf f783d48
Merge branch 'master' into server-saved-objects-service
rudolf 14b16d4
Merge branch 'master' into server-saved-objects-service
rudolf 870447e
ConfigServiceContract -> IConfigService
rudolf 80b3ec8
Address review comments
rudolf 3cd4cd2
Review nits
rudolf a214e44
Document migrations.skip config
rudolf 38adb1a
Review comments continued...
rudolf 86c9eef
awaitMigrations -> runMigrations
rudolf 6e39936
Merge branch 'master' into server-saved-objects-service
rudolf 6980d6a
Type improvements
rudolf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with this approach
atPath
loses type safety.const configService = configServiceMock.create({ atPath: 1 });