change createIndexPattern to do what it takes to make the indexPatternName*#64646
Merged
LeeDr merged 6 commits intoelastic:masterfrom Apr 30, 2020
Merged
change createIndexPattern to do what it takes to make the indexPatternName*#64646LeeDr merged 6 commits intoelastic:masterfrom
LeeDr merged 6 commits intoelastic:masterfrom
Conversation
db8acb4 to
bbba03f
Compare
Author
|
I have fixes for 2 failures in previous run; I don't have a fix for this one in |
Author
|
There was one unrelated test failure. I'll run another pass. |
Author
|
@elasticmachine merge upstream |
LeeDr
commented
Apr 29, 2020
dmlemeshko
reviewed
Apr 29, 2020
Contributor
dmlemeshko
left a comment
There was a problem hiding this comment.
LGTM, I replied about possibility to use DELETE key.
Tested on MacOS 10.14.6 in both FF and Chrome
Contributor
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
dmlemeshko
approved these changes
Apr 29, 2020
Contributor
dmlemeshko
left a comment
There was a problem hiding this comment.
LGTM. Tested locally.
LeeDr
pushed a commit
to LeeDr/kibana
that referenced
this pull request
Apr 30, 2020
LeeDr
pushed a commit
that referenced
this pull request
Apr 30, 2020
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
I updated this PR so that we always pass the exact desired index pattern name in
settings_page.createIndexPattern(). Within that method, there are 3 cases;logstash-*and the method enterslogstash-and we get the correctlogstash-*because the UI appends a trailing*shakespeareand we getshakespeare(we remove the trailing*that the UI adds)*.*like a wildcarded cross cluster search index pattern*:makelogs-*.*which would need to be removed, but it doesn't. So case Change of links to styles and js #2 above handles that by only removing the trailing char if the length of the index pattern in the field is greater than the length of the indexPatternName passed in.A final check (which was already there) confirms that the final value matches what was passed in.
Checklist
Delete any items that are not applicable to this PR.
For maintainers