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

Fix TSVB rollup integration #56525

Merged
merged 3 commits into from
Feb 3, 2020
Merged

Conversation

flash1293
Copy link
Contributor

@flash1293 flash1293 commented Jan 31, 2020

Fixes #56147

This PR fixes the rollup TSVB integration in 7.6. TSVB requests are already handled by the new platform and create an incomplete request facade to appear like legacy requests to plugins. Rollup uses a property of the legacy request object that's not available on the facade.

By spreading in the NP request object into the facade and using the NP api to create the elasticsearch client in the rollup plugin, the rollup search strategy can make requests using =NP apis. The additional properties on the request facade are not used by the default strategy.

Requests passed in from the infra server do not include the requests and can't issue rollup requests, but AFAIK this isn't used at the moment.

Field requests don;'t have this problem because they are still completely handled by the legacy platform

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@flash1293 flash1293 marked this pull request as ready for review February 3, 2020 09:56
@flash1293 flash1293 added Feature:TSVB TSVB (Time Series Visual Builder) release_note:skip Skip the PR/issue when compiling release notes v7.6.0 Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Feb 3, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

Copy link
Contributor

@timroes timroes left a comment

Choose a reason for hiding this comment

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

Tested on Chrome Linux, that the issue is fixed. Code LGTM

@flash1293 flash1293 merged commit b566ba3 into elastic:7.6 Feb 3, 2020
@flash1293 flash1293 deleted the fix/tsvb-rollup branch February 3, 2020 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:TSVB TSVB (Time Series Visual Builder) release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants