mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
This PR moves the `streams` and `streams_app` plugins into platform so they can be used in other solutions in the future. This PR is not actually making it available in other solutions yet since we are still discussing the release plans. ## Inlined helpers As discussed before, this PR inlines a couple simple helper methods for query building, time zone normalization, a header portal helper and a data plugin timefilter state react integration hook as there is no good place for these outside of the observability solution. ## streams_app plugin The streams_app plugin is not actually registering anything, instead it simply exports a component that renders the app which needs to be consumed by another plugin to turn it into a registered app - for now, `observability_streams_wrapper` takes over this job. ## observability_streams_wrapper plugin While 99% of the streams logic is moved into the `platform/shared/streams_app`, two bits are left behind in `observability_streams_wrapper`: * The actual app registration * Integration with the observability_shared `PageTemplate` component Once we decide streams should be displayed outside of the observability solution, it's probably not necessary anymore to decouple app definition and registration like this because it will always be visible no matter the solution. Once this is the case, the navigation registration can be moved into the central `observability` plugin, like it's handled with other apps like infra. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
8 lines
286 B
TypeScript
8 lines
286 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
export const ASSET_VERSION = 1;
|