Skip to content
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

Add base path to rollup index pattern endpoint's request to internal endpoint #39745

Merged
merged 1 commit into from
Jun 27, 2019

Conversation

jen-huang
Copy link
Contributor

@jen-huang jen-huang commented Jun 26, 2019

Changes in #39047 affected this handler for the /api/index_patterns/rollup/_fields_for_wildcard route. This handler calls another internal route, /api/index_patterns/_fields_for_wildcard using server.inject. After the changes in that PR, the base path needs to be added to the internal route request URL.

In the UI, the effect of this breakage is that when creating a rollup index pattern, the type of fields in the rollup index cannot be identified, including the all-important date histogram field. Screenshot showing list of fields with undefined types:

image

This PR adds the base path so that types are correctly identified again.

@jen-huang jen-huang added bug Fixes for quality problems that affect the customer experience v8.0.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more Feature:Rollups v7.3.0 labels Jun 26, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui

@jen-huang jen-huang added the release_note:skip Skip the PR/issue when compiling release notes label Jun 26, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@wylieconlon wylieconlon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change LGTM, tested locally with and without a base path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Rollups release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.3.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants