-
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
Throw error when migration not defined in same plugin as mappings #31739
Merged
mikecote
merged 4 commits into
elastic:master
from
mikecote:migrations/error-when-migration-in-wrong-plugin
Mar 4, 2019
Merged
Throw error when migration not defined in same plugin as mappings #31739
mikecote
merged 4 commits into
elastic:master
from
mikecote:migrations/error-when-migration-in-wrong-plugin
Mar 4, 2019
Conversation
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
Pinging @elastic/kibana-operations |
This comment has been minimized.
This comment has been minimized.
spalger
reviewed
Feb 26, 2019
…ror-when-migration-in-wrong-plugin
This comment has been minimized.
This comment has been minimized.
spalger
approved these changes
Feb 26, 2019
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
…ror-when-migration-in-wrong-plugin
💚 Build Succeeded |
tylersmalley
approved these changes
Mar 4, 2019
mikecote
added a commit
to mikecote/kibana
that referenced
this pull request
Mar 4, 2019
…astic#31739) * Throw error when migration not defined in same plugin as mappings * Apply PR feedback
@mikecote Please add some information about this change to the 7.2 breaking changes doc at https://www.elastic.co/guide/en/kibana/7.2/breaking-changes-7.2.html |
mikecote
added a commit
to mikecote/kibana
that referenced
this pull request
Jun 12, 2019
mikecote
added a commit
to mikecote/kibana
that referenced
this pull request
Jun 12, 2019
mikecote
added a commit
that referenced
this pull request
Jun 12, 2019
mikecote
added a commit
that referenced
this pull request
Jun 12, 2019
mikecote
added
release_note:plugin_api_changes
Contains a Plugin API changes section for the breaking plugin API changes section.
and removed
release_note:breaking
labels
Jun 12, 2019
💔 Build Failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
release_note:plugin_api_changes
Contains a Plugin API changes section for the breaking plugin API changes section.
review
Team:Operations
Team label for Operations Team
v7.2.0
v8.0.0
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.
Fixes #31694.
This PR makes the system throw an error when a plugin defines a migration but doesn't define/own the mappings. This is to enforce migrations to be defined in the same plugin that defines the mappings.
Dev Docs
Kibana will now throw an error on startup if a plugin has defined a saved object migration inside a plugin that doesn't define or own the mappings to.