-
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
[NP] Migrate saved object mappings and migration scripts for Dashboard #63864
Conversation
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
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.
LGTM for platform changes.
Referencing #63943 as I will have to integrate these changes
@@ -230,6 +230,7 @@ export { | |||
SavedObjectsMigrationLogger, | |||
SavedObjectsRawDoc, | |||
SavedObjectSanitizedDoc, | |||
SavedObjectUnsanitizedDoc, |
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.
@rudolf I'm going to stop fighting against this export. It's a parameter type of a public core
API anyway.
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.
Tested and LGTM, dashboards still save and load. I exported a dashboard in 6.8 and imported it here to test the migration - this worked fine as well except for a thrown exception that also appears on master, I will create a separate issue for this.
#63864) (#64194) * Migrate saved objects * Move common used types and fucntions to dashboard/common * Fix unit tests * Update server.api.md * Fix TS * Update i18n IDs * Update TS Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
Pinging @elastic/kibana-app (Team:KibanaApp) |
Summary
Part of #61259.
Move the
dashboard
saved object type registration from the legacy world to Kibana platform.