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

Move ui/courier into data shim plugin #52359

Merged
merged 18 commits into from
Dec 21, 2019
Merged

Conversation

lukeelmers
Copy link
Member

@lukeelmers lukeelmers commented Dec 6, 2019

Part of #42639

This does the initial work of moving ui/courier into src/legacy/core_plugins/data. Contracts have been re-exported to preserve backwards compatibility for plugins that are still importing from ui/courier.

The only change made here was renaming SearchSourceContract to ISearchSource for consistency with some of our other interfaces. Otherwise no changes have been made; we are just re-locating everything in the legacy data plugin so that it is easier to refactor everything to be fully NP-ready.

For the time being I've just preserved the folder structure from ui/courier inside of core_plugins/data/public/search. It will probably make sense to rearrange the internal structure eventually, but for the sake of keeping this PR simple, I think it would be better to wait on that until some of the other refactoring has been done.

QA

This should introduce no functional changes: it is simply moving code around.

Detailed dev docs will be added to #43511 once changes are made to the interfaces exported from the ui/public/courier directory.

@lukeelmers lukeelmers added Feature:Search Querying infrastructure in Kibana WIP Work in progress Team:AppArch release_note:skip Skip the PR/issue when compiling release notes Feature:NP Migration labels Dec 6, 2019
@lukeelmers lukeelmers self-assigned this Dec 6, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@elasticmachine

This comment has been minimized.

Copy link
Member

@lukasolson lukasolson left a comment

Choose a reason for hiding this comment

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

Code is LGTM. I haven't tested it yet but I'll give it a spin when tests are passing and you're getting ready to merge it.

@lukeelmers lukeelmers force-pushed the courier/move branch 2 times, most recently from 8f86fef to ae7e2a1 Compare December 10, 2019 20:47
@lukeelmers lukeelmers changed the title [WIP] Move ui/courier into data shim plugin Move ui/courier into data shim plugin Dec 10, 2019
@lukeelmers lukeelmers added review and removed WIP Work in progress labels Dec 10, 2019
@lukeelmers lukeelmers marked this pull request as ready for review December 10, 2019 20:48
@lukeelmers lukeelmers requested a review from a team December 10, 2019 20:48
@lukeelmers lukeelmers requested review from a team as code owners December 10, 2019 20:48
@import '../../../core_plugins/data/public/search/fetch/components/shard_failure_modal';
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 So long as this path is correct

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.

I don't want this Lens change to get in your way, but I would like to understand.

@lukeelmers

This comment has been minimized.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@elastic elastic deleted a comment from elasticmachine Dec 21, 2019
@lukeelmers lukeelmers merged commit fc8bc82 into elastic:master Dec 21, 2019
@lukeelmers lukeelmers deleted the courier/move branch December 21, 2019 04:08
jloleysens added a commit to jloleysens/kibana that referenced this pull request Dec 30, 2019
…le-saved-objects

* 'master' of github.com:elastic/kibana: (250 commits)
  Allow chromeless applications to render via non-/app routes (elastic#51527)
  Add server rendering service to enable standalone route rendering (elastic#52161)
  Possibility to filter when testing scripted fields (elastic#35379) (elastic#44220)
  Update maps telemetry mappings to account for recent updates (elastic#53803)
  [Maps] Only show legend when layer is visible (elastic#53781)
  remove use of experimental fs.promises api (elastic#53346)
  [APM] Add log statements for flaky test (elastic#53775)
  [APM] Transaction page throws unhandled exception if transactions doesn't have  `http.request` (elastic#53760)
  Licensing plugin functional tests (elastic#53580)
  [Lens] Disable saving visualization until there are no changes to the document (elastic#52982)
  [Monitoring] Added safeguard for some EUI components (elastic#53318)
  [Vega] Shim new platform - cleanup vega_visualization dependencies (elastic#53605)
  Display changed field formats without requiring hard page refresh. (elastic#53746)
  Upgrade EUI to v17.3.1 (elastic#53655)
  [APM] Fix missing apm indicies (elastic#53541)
  Disable inspector for timelion (elastic#53747)
  Clean up search servie (elastic#53701)
  [Dashboard] Grid: removing double handler (elastic#53707)
  Remove SavedObjectRegistryProvider from codebase (elastic#53455)
  Move ui/courier into data shim plugin (elastic#52359)
  ...
jkelastic pushed a commit to jkelastic/kibana that referenced this pull request Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:NP Migration Feature:Search Querying infrastructure in Kibana release_note:skip Skip the PR/issue when compiling release notes review v7.6.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants