From 77d2b197a1bbb0876daa8b9ba52648819a9cdb87 Mon Sep 17 00:00:00 2001 From: Anton Dosov Date: Fri, 3 Jan 2025 12:38:57 +0100 Subject: [PATCH 1/7] Sustainable Kibana Architecture: Move plugins owned by `@elastic/appex-sharedux` (#204959) ## Summary Part of https://github.com/elastic/kibana/pull/203163 Relocating only shared-ux-owned plugins for now (cherry picked from commit 9215df9200edac72f2225760043ac45c9e82cdf0) # Conflicts: # .github/CODEOWNERS # .i18nrc.json # docs/developer/plugin-list.asciidoc # package.json # src/platform/plugins/shared/saved_objects/tsconfig.json # x-pack/.gitignore # x-pack/.i18nrc.json # x-pack/platform/plugins/private/reporting/.gitignore # x-pack/platform/plugins/private/reporting/server/config/index.test.ts # x-pack/platform/plugins/private/reporting/server/deprecations/__snapshots__/reporting_role.test.ts.snap # x-pack/platform/plugins/private/reporting/server/deprecations/reporting_role.test.ts # x-pack/platform/plugins/private/reporting/server/deprecations/reporting_role.ts # x-pack/platform/plugins/private/reporting/server/routes/internal/generate/csv_searchsource_immediate.ts --- .../pipelines/pull_request/pipeline.ts | 6 +- .eslintignore | 4 +- .eslintrc.js | 6 +- .github/CODEOWNERS | 433 +++++++++++++++++- .i18nrc.json | 29 +- .../architecture/add-data-tutorials.asciidoc | 8 +- .../core/elasticsearch-service.asciidoc | 2 +- docs/developer/best-practices/index.asciidoc | 10 +- .../best-practices/navigation.asciidoc | 6 +- docs/developer/plugin-list.asciidoc | 54 +-- examples/guided_onboarding_example/README.md | 2 +- .../public/plugin.ts | 4 +- .../text/0006_management_section_service.md | 4 +- legacy_rfcs/text/0020_nodejs_clustering.md | 2 +- package.json | 54 +-- .../home/sample_data_card/src/constants.ts | 6 +- .../home/sample_data_tab/src/constants.ts | 2 +- packages/home/sample_data_types/index.d.ts | 8 +- packages/kbn-monaco/src/painless/README.md | 2 +- .../src/lib/run_storybook_cli.ts | 2 +- .../toolbar_button/toolbar_button.styles.ts | 2 +- .../application/browser/src/app_mount.ts | 2 +- .../__tests__/mocks/team_assign_mock.txt | 38 +- .../__tests__/transforms.test.js | 11 +- src/dev/storybook/aliases.ts | 6 +- .../private}/advanced_settings/README.md | 0 .../private}/advanced_settings/kibana.jsonc | 0 .../advanced_settings/public/index.ts | 0 .../advanced_settings/public/plugin.tsx | 0 .../advanced_settings/public/types.ts | 0 .../server/capabilities_provider.ts | 0 .../advanced_settings/server/config.ts | 0 .../advanced_settings/server/index.ts | 0 .../advanced_settings/server/plugin.ts | 0 .../private}/advanced_settings/tsconfig.json | 2 +- .../private}/files_management/README.md | 0 .../private}/files_management/common/index.ts | 0 .../private}/files_management/kibana.jsonc | 0 .../private}/files_management/public/app.tsx | 0 .../public/components/diagnostics_flyout.tsx | 0 .../public/components/empty_prompt.tsx | 0 .../public/components/file_flyout.tsx | 0 .../public/components/index.ts | 0 .../files_management/public/context.tsx | 0 .../files_management/public/i18n_texts.ts | 0 .../private}/files_management/public/index.ts | 0 .../public/mount_management_section.tsx | 0 .../files_management/public/plugin.ts | 0 .../private}/files_management/public/types.ts | 0 .../private}/files_management/tsconfig.json | 2 +- .../private}/image_embeddable/README.md | 0 .../private/image_embeddable/jest.config.js | 20 + .../private}/image_embeddable/kibana.jsonc | 0 .../public/actions/create_image_action.ts | 0 .../public/actions/image_click_trigger.ts | 0 .../image_embeddable/public/actions/index.ts | 0 .../image_editor/image_editor_flyout.test.tsx | 0 .../image_editor/image_editor_flyout.tsx | 0 .../public/components/image_editor/index.ts | 0 .../image_editor/open_image_editor.tsx | 0 .../public/components/image_embeddable.scss | 0 .../public/components/image_embeddable.tsx | 0 .../image_viewer/assets/not_found_light.png | Bin .../assets/not_found_light@2x.png | Bin .../image_viewer/image_viewer.test.tsx | 0 .../components/image_viewer/image_viewer.tsx | 0 .../image_viewer/image_viewer_context.tsx | 0 .../public/components/image_viewer/index.tsx | 0 .../public/image_embeddable/constants.ts | 0 .../get_image_embeddable_factory.tsx | 0 .../public/image_embeddable/types.ts | 0 .../image_embeddable/public/imports.ts | 0 .../private}/image_embeddable/public/index.ts | 0 .../image_embeddable/public/plugin.ts | 0 .../public/services/kibana_services.ts | 0 .../private}/image_embeddable/public/types.ts | 0 .../public/utils/validate_image_config.ts | 0 .../public/utils/validate_url.ts | 0 .../private}/image_embeddable/tsconfig.json | 2 +- .../private}/kibana_overview/README.md | 0 .../private}/kibana_overview/common/index.ts | 0 .../private/kibana_overview/jest.config.js | 20 + .../private}/kibana_overview/kibana.jsonc | 0 .../kibana_overview/public/application.tsx | 0 .../public/assets/kibana_canvas_dark.svg | 0 .../public/assets/kibana_canvas_light.svg | 0 .../public/assets/kibana_dashboards_dark.svg | 0 .../public/assets/kibana_dashboards_light.svg | 0 .../public/assets/kibana_discover_dark.svg | 0 .../public/assets/kibana_discover_light.svg | 0 .../public/assets/kibana_graph_dark.svg | 0 .../public/assets/kibana_graph_light.svg | 0 .../public/assets/kibana_maps_dark.svg | 0 .../public/assets/kibana_maps_light.svg | 0 .../public/assets/kibana_ml_dark.svg | 0 .../public/assets/kibana_ml_light.svg | 0 .../public/assets/kibana_montage_dark.svg | 0 .../public/assets/kibana_montage_light.svg | 0 .../__snapshots__/add_data.test.tsx.snap | 0 .../components/add_data/add_data.test.tsx | 0 .../public/components/add_data/add_data.tsx | 0 .../public}/components/add_data/index.ts | 0 .../kibana_overview/public/components/app.tsx | 0 .../__snapshots__/manage_data.test.tsx.snap | 0 .../public}/components/manage_data/index.tsx | 0 .../manage_data/manage_data.test.tsx | 0 .../components/manage_data/manage_data.tsx | 0 .../__snapshots__/news_feed.test.tsx.snap | 0 .../public/components/news_feed/index.ts | 0 .../components/news_feed/news_feed.test.tsx | 0 .../public/components/news_feed/news_feed.tsx | 0 .../__snapshots__/overview.test.tsx.snap | 0 .../public/components/overview/index.ts | 0 .../public/components/overview/overview.scss | 0 .../overview/overview.test.mocks.ts | 0 .../components/overview/overview.test.tsx | 0 .../public/components/overview/overview.tsx | 0 .../__snapshots__/synopsis.test.js.snap | 0 .../public/components/synopsis/index.js | 0 .../public/components/synopsis/synopsis.js | 0 .../components/synopsis}/synopsis.test.js | 0 .../private}/kibana_overview/public/index.ts | 0 .../kibana_overview/public/lib/ui_metric.ts | 0 .../private}/kibana_overview/public/plugin.ts | 0 .../private}/kibana_overview/public/types.ts | 0 .../private}/kibana_overview/tsconfig.json | 2 +- .../plugins/private}/no_data_page/README.md | 0 .../private/no_data_page}/jest.config.js | 9 +- .../private}/no_data_page/kibana.jsonc | 0 .../private}/no_data_page/public/index.ts | 0 .../no_data_page/public/mocks/index.ts | 0 .../private}/no_data_page/public/plugin.ts | 0 .../private}/no_data_page/public/types.ts | 0 .../private}/no_data_page/server/config.ts | 0 .../private}/no_data_page/server/index.ts | 0 .../private}/no_data_page/tsconfig.json | 2 +- .../shared}/content_management/README.md | 2 +- .../content_management/common/constants.ts | 0 .../content_management/common/index.ts | 0 .../content_management/common/rpc/bulk_get.ts | 0 .../content_management/common/rpc/common.ts | 0 .../common/rpc/constants.ts | 0 .../content_management/common/rpc/create.ts | 0 .../content_management/common/rpc/delete.ts | 0 .../content_management/common/rpc/get.ts | 0 .../content_management/common/rpc/index.ts | 0 .../content_management/common/rpc/msearch.ts | 0 .../content_management/common/rpc/rpc.ts | 0 .../content_management/common/rpc/search.ts | 0 .../content_management/common/rpc/types.ts | 0 .../content_management/common/rpc/update.ts | 0 .../content_management/common/schemas.ts | 0 .../docs/conent_management_landing.mdx | 0 .../docs/content_onboarding.mdx | 4 +- .../shared/content_management/jest.config.js | 20 + .../jest.integration.config.js | 4 +- .../shared}/content_management/kibana.jsonc | 0 .../content_client/content_client.test.ts | 0 .../public/content_client/content_client.tsx | 0 .../content_client/content_client_context.tsx | 0 .../content_client_mutation_hooks.test.tsx | 0 .../content_client_mutation_hooks.tsx | 0 .../content_client_query_hooks.test.tsx | 0 .../content_client_query_hooks.tsx | 0 .../public/content_client/index.ts | 0 .../public/content_client/query_observable.ts | 0 .../public/crud_client/crud_client.mock.ts | 0 .../public/crud_client/crud_client.ts | 0 .../public/crud_client/index.ts | 0 .../content_management/public/index.ts | 0 .../content_management/public/mocks.ts | 0 .../content_management/public/plugin.ts | 0 .../public/registry/content_type.test.ts | 0 .../public/registry/content_type.ts | 0 .../registry/content_type_definition.ts | 0 .../public/registry/index.ts | 0 .../public/registry/registry.test.ts | 0 .../public/registry/registry.ts | 0 .../public/rpc_client/index.ts | 0 .../public/rpc_client/rpc_client.test.ts | 0 .../public/rpc_client/rpc_client.ts | 0 .../content_management/public/types.ts | 0 .../content_client/content_client.test.ts | 0 .../server/content_client/content_client.ts | 0 .../content_client/content_client_factory.ts | 0 .../server/content_client/index.ts | 0 .../server/content_client/types.ts | 0 .../server/core/content_type.ts | 0 .../server/core/core.test.ts | 0 .../content_management/server/core/core.ts | 0 .../content_management/server/core/crud.ts | 0 .../server/core/event_bus.ts | 0 .../server/core/event_types.ts | 0 .../content_management/server/core/index.ts | 0 .../server/core/mocks/in_memory_storage.ts | 0 .../server/core/mocks/index.ts | 0 .../server/core/msearch.test.ts | 0 .../content_management/server/core/msearch.ts | 0 .../server/core/registry.ts | 0 .../content_management/server/core/types.ts | 0 .../server/event_stream/README.md | 0 .../event_stream/es/es_event_stream_client.ts | 0 .../es/es_event_stream_client_factory.ts | 0 .../event_stream/es/es_event_stream_names.ts | 0 .../server/event_stream/es/index.ts | 0 .../es/init/es_event_stream_initializer.ts | 0 .../event_stream/es/init/index_template.ts | 0 .../server/event_stream/es/init/mappings.ts | 0 .../es_event_stream_client.test.ts | 0 .../server/event_stream/es/types.ts | 0 .../server/event_stream/es/util.ts | 0 .../event_stream/event_stream_service.test.ts | 0 .../event_stream/event_stream_service.ts | 0 .../server/event_stream/index.ts | 0 .../server/event_stream/memory/index.ts | 0 .../memory/memory_event_stream_client.test.ts | 0 .../memory/memory_event_stream_client.ts | 0 .../memory_event_stream_client_factory.ts | 0 .../server/event_stream/memory/util.ts | 0 .../tests/event_stream_logger_mock.ts | 0 .../tests/setup_event_stream_service.ts | 0 .../tests/test_event_stream_client.ts | 0 .../server/event_stream/tests/util.ts | 0 .../server/event_stream/types.ts | 0 .../server/event_stream/validation.ts | 0 .../content_management/server/index.ts | 0 .../content_management/server/plugin.test.ts | 0 .../content_management/server/plugin.ts | 0 .../content_management/server/rpc/index.ts | 0 .../server/rpc/procedures/all_procedures.ts | 0 .../server/rpc/procedures/bulk_get.test.ts | 0 .../server/rpc/procedures/bulk_get.ts | 0 .../server/rpc/procedures/create.test.ts | 0 .../server/rpc/procedures/create.ts | 0 .../server/rpc/procedures/delete.test.ts | 0 .../server/rpc/procedures/delete.ts | 0 .../server/rpc/procedures/get.test.ts | 0 .../server/rpc/procedures/get.ts | 0 .../server/rpc/procedures/index.ts | 0 .../server/rpc/procedures/msearch.test.ts | 0 .../server/rpc/procedures/msearch.ts | 0 .../server/rpc/procedures/search.test.ts | 0 .../server/rpc/procedures/search.ts | 0 .../server/rpc/procedures/update.test.ts | 0 .../server/rpc/procedures/update.ts | 0 .../server/rpc/routes/error_wrapper.ts | 0 .../server/rpc/routes/index.ts | 0 .../server/rpc/routes/routes.ts | 0 .../server/rpc/rpc_service.test.ts | 0 .../server/rpc/rpc_service.ts | 0 .../content_management/server/rpc/types.ts | 0 .../content_management/server/types.ts | 0 .../content_management/server/utils/index.ts | 0 .../utils/services_transforms_factory.ts | 0 .../content_management/server/utils/utils.ts | 0 .../shared}/content_management/tsconfig.json | 2 +- .../plugins/shared}/files/README.md | 0 .../shared}/files/common/api_routes.ts | 0 .../plugins/shared}/files/common/constants.ts | 0 .../files/common/default_image_file_kind.ts | 0 .../files/common/file_kinds_registry/index.ts | 0 .../shared}/files/common/files_client.ts | 0 .../plugins/shared}/files/common/index.ts | 0 .../plugins/shared}/files/common/types.ts | 0 .../plugins/shared}/files/docs/tutorial.mdx | 0 .../plugins/shared/files}/jest.config.js | 8 +- .../shared}/files/jest.integration.config.js | 4 +- .../plugins/shared}/files/kibana.jsonc | 0 .../public/files_client/files_client.test.ts | 0 .../files/public/files_client/files_client.ts | 0 .../files/public/files_client/index.ts | 0 .../plugins/shared}/files/public/index.ts | 0 .../plugins/shared}/files/public/mocks.ts | 0 .../plugins/shared}/files/public/plugin.ts | 0 .../plugins/shared}/files/public/types.ts | 0 .../shared}/files/server/audit_events.ts | 0 .../blob_storage_service/adapters/README.md | 0 .../es/content_stream/content_stream.test.ts | 0 .../es/content_stream/content_stream.ts | 0 .../adapters/es/content_stream/index.ts | 0 .../adapters/es/es.test.ts | 0 .../blob_storage_service/adapters/es/es.ts | 0 .../blob_storage_service/adapters/es/index.ts | 0 .../adapters/es/integration_tests/es.test.ts | 0 .../adapters/es/mappings.ts | 0 .../blob_storage_service/adapters/index.ts | 0 .../blob_storage_service.ts | 0 .../server/blob_storage_service/index.ts | 0 .../server/blob_storage_service/types.ts | 0 .../plugins/shared}/files/server/feature.ts | 0 .../shared}/files/server/file/errors.ts | 0 .../shared}/files/server/file/file.test.ts | 0 .../plugins/shared}/files/server/file/file.ts | 0 .../server/file/file_attributes_reducer.ts | 0 .../shared}/files/server/file/index.ts | 0 .../shared}/files/server/file/to_json.ts | 0 .../file_client/create_es_file_client.test.ts | 0 .../file_client/create_es_file_client.ts | 0 .../files/server/file_client/file_client.ts | 0 .../adapters/es_index.test.ts | 0 .../file_metadata_client/adapters/es_index.ts | 0 .../file_metadata_client/adapters/index.ts | 0 .../adapters/query_filters.ts | 0 .../adapters/saved_objects.ts | 0 .../file_metadata_client.ts | 0 .../file_client/file_metadata_client/index.ts | 0 .../shared}/files/server/file_client/index.ts | 0 .../integration_tests/es_file_client.test.ts | 0 .../file_hash_transform.test.ts | 0 .../file_hash_transform.ts | 0 .../file_hash_transform/index.ts | 0 .../file_client/stream_transforms/index.ts | 0 .../max_byte_size_transform/errors.ts | 0 .../max_byte_size_transform/index.ts | 0 .../max_byte_size_transform.test.ts | 0 .../max_byte_size_transform.ts | 0 .../shared}/files/server/file_client/types.ts | 0 .../shared}/files/server/file_client/utils.ts | 0 .../files/server/file_service/errors.ts | 0 .../server/file_service/file_action_types.ts | 0 .../files/server/file_service/file_service.ts | 0 .../file_service/file_service_factory.ts | 0 .../files/server/file_service/index.ts | 0 .../file_service/internal_file_service.ts | 0 .../files/server/file_share_service/errors.ts | 0 .../generate_share_token.test.ts | 0 .../generate_share_token.ts | 0 .../files/server/file_share_service/index.ts | 0 .../internal_file_share_service.ts | 0 .../files/server/file_share_service/types.ts | 0 .../plugins/shared}/files/server/index.ts | 0 .../files/server/integration_tests/README.md | 0 .../integration_tests/file_service.test.ts | 0 .../plugins/shared}/files/server/mocks.ts | 0 .../files/server/performance/event_names.ts | 0 .../shared}/files/server/performance/index.ts | 0 .../server/performance/report_performance.ts | 0 .../plugins/shared}/files/server/plugin.ts | 0 .../shared}/files/server/routes/api_routes.ts | 0 .../files/server/routes/bulk_delete.ts | 0 .../files/server/routes/common.test.ts | 0 .../shared}/files/server/routes/common.ts | 0 .../files/server/routes/common_schemas.ts | 0 .../files/server/routes/file_kind/create.ts | 0 .../files/server/routes/file_kind/delete.ts | 0 .../files/server/routes/file_kind/download.ts | 0 .../server/routes/file_kind/enhance_router.ts | 0 .../server/routes/file_kind/get_by_id.ts | 0 .../files/server/routes/file_kind/helpers.ts | 0 .../files/server/routes/file_kind/index.ts | 0 .../integration_tests/file_kind_http.test.ts | 0 .../files/server/routes/file_kind/list.ts | 0 .../server/routes/file_kind/share/get.ts | 0 .../server/routes/file_kind/share/list.ts | 0 .../server/routes/file_kind/share/share.ts | 0 .../server/routes/file_kind/share/unshare.ts | 0 .../files/server/routes/file_kind/types.ts | 0 .../files/server/routes/file_kind/update.ts | 0 .../server/routes/file_kind/upload.test.ts | 0 .../files/server/routes/file_kind/upload.ts | 0 .../shared}/files/server/routes/find.ts | 0 .../shared}/files/server/routes/index.ts | 0 .../routes/integration_tests/routes.test.ts | 0 .../shared}/files/server/routes/metrics.ts | 0 .../server/routes/public_facing/download.ts | 0 .../shared}/files/server/routes/test_utils.ts | 0 .../shared}/files/server/routes/types.ts | 0 .../files/server/saved_objects/file.ts | 0 .../files/server/saved_objects/file_share.ts | 0 .../files/server/saved_objects/index.ts | 0 .../shared}/files/server/test_utils/index.ts | 0 .../setup_integration_environment.ts | 0 .../plugins/shared}/files/server/types.ts | 0 .../shared}/files/server/usage/counters.ts | 0 .../shared}/files/server/usage/index.ts | 0 .../usage/integration_tests/usage.test.ts | 0 .../server/usage/register_usage_collector.ts | 0 .../shared}/files/server/usage/schema.ts | 0 .../plugins/shared}/files/tsconfig.json | 2 +- .../shared}/guided_onboarding/.i18nrc.json | 0 .../shared}/guided_onboarding/README.md | 6 +- .../assets/panel_bg_bottom.svg | 0 .../assets/panel_bg_bottom_dark.svg | 0 .../guided_onboarding/assets/panel_bg_top.svg | 0 .../assets/panel_bg_top_dark.svg | 0 .../assets/well_done_animated.gif | Bin .../assets/well_done_animated_dark.gif | Bin .../guided_onboarding/common/constants.ts | 0 .../shared}/guided_onboarding/common/index.ts | 0 .../shared}/guided_onboarding/common/types.ts | 0 .../shared/guided_onboarding/jest.config.js | 20 + .../shared}/guided_onboarding/kibana.jsonc | 0 .../components/get_step_location.test.ts | 0 .../public/components/get_step_location.ts | 0 .../public/components/guide_button.tsx | 0 .../components/guide_button_popover.tsx | 0 .../public/components/guide_panel.styles.ts | 0 .../public/components/guide_panel.test.tsx | 0 .../public/components/guide_panel.tsx | 0 .../guide_panel_flyout_body.tsx | 0 .../guide_panel_flyout_footer.tsx | 0 .../guide_panel_flyout_header.tsx | 0 .../guide_panel_flyout/guide_progress.tsx | 0 .../components/guide_panel_flyout/index.tsx | 0 .../components/guide_panel_step.styles.ts | 0 .../public/components/guide_panel_step.tsx | 0 .../public/components/index.ts | 0 .../public/components/quit_guide_modal.tsx | 0 .../shared}/guided_onboarding/public/index.ts | 0 .../shared}/guided_onboarding/public/mocks.ts | 0 .../guided_onboarding/public/plugin.tsx | 0 .../public/services/api.mocks.ts | 0 .../public/services/api.service.test.ts | 0 .../public/services/api.service.ts | 0 .../public/services/config.service.test.ts | 0 .../public/services/config.service.ts | 0 .../public/services/helpers.test.ts | 0 .../public/services/helpers.ts | 0 .../shared}/guided_onboarding/public/types.ts | 0 .../guided_onboarding/server/config.ts | 0 .../guided_onboarding/server/feature.ts | 0 .../server/helpers/guide_state_utils.ts | 0 .../guided_onboarding/server/helpers/index.ts | 0 .../server/helpers/plugin_state_utils.test.ts | 0 .../server/helpers/plugin_state_utils.ts | 0 .../shared}/guided_onboarding/server/index.ts | 0 .../guided_onboarding/server/plugin.ts | 0 .../server/routes/config_routes.ts | 0 .../server/routes/guide_state_routes.ts | 0 .../guided_onboarding/server/routes/index.ts | 0 .../server/routes/plugin_state_routes.ts | 0 .../server/saved_objects/guided_setup.ts | 0 .../server/saved_objects/index.ts | 0 .../shared}/guided_onboarding/server/types.ts | 0 .../shared}/guided_onboarding/tsconfig.json | 2 +- .../plugins/shared}/home/.storybook/main.ts | 5 +- .../shared}/home/.storybook/manager.ts | 2 +- .../plugins/shared}/home/README.md | 6 +- .../plugins/shared}/home/common/constants.ts | 0 .../home/common/instruction_variant.ts | 0 .../plugins/shared/home}/jest.config.js | 8 +- .../plugins/shared}/home/kibana.jsonc | 0 .../home/public/application/application.tsx | 0 .../__snapshots__/home.test.tsx.snap | 0 .../recently_accessed.test.js.snap | 0 .../__snapshots__/synopsis.test.js.snap | 0 .../__snapshots__/welcome.test.tsx.snap | 0 .../application/components/_add_data.scss | 0 .../public/application/components/_index.scss | 0 .../application/components/_manage_data.scss | 0 .../components/_solutions_section.scss | 0 .../application/components/_welcome.scss | 0 .../__snapshots__/add_data.test.tsx.snap | 0 .../components/add_data/add_data.test.tsx | 0 .../components/add_data/add_data.tsx | 0 .../application}/components/add_data/index.ts | 0 .../components/app_navigation_handler.ts | 0 .../getting_started.test.tsx | 0 .../guided_onboarding/getting_started.tsx | 0 .../components/guided_onboarding/index.ts | 0 .../application/components/home.test.tsx | 0 .../public/application/components/home.tsx | 0 .../public/application/components/home_app.js | 0 .../__snapshots__/manage_data.test.tsx.snap | 0 .../components/manage_data/index.tsx | 0 .../manage_data/manage_data.test.tsx | 0 .../components/manage_data/manage_data.tsx | 0 .../components/move_data/index.tsx | 0 .../components/move_data/move_data.test.tsx | 0 .../components/move_data/move_data.tsx | 0 .../components/recently_accessed.js | 0 .../components/recently_accessed.test.js | 0 .../components/sample_data/index.tsx | 0 .../solution_panel.test.tsx.snap | 0 .../solutions_section.test.tsx.snap | 0 .../components/solutions_section/index.ts | 0 .../solutions_section/solution_panel.test.tsx | 0 .../solutions_section/solution_panel.tsx | 0 .../solutions_section.test.tsx | 0 .../solutions_section/solutions_section.tsx | 0 .../public/application/components/synopsis.js | 0 .../application/components}/synopsis.test.js | 0 .../__snapshots__/content.test.js.snap | 0 .../__snapshots__/footer.test.js.snap | 0 .../instruction_set.test.js.snap | 0 .../__snapshots__/introduction.test.js.snap | 0 .../saved_objects_installer.test.js.snap | 0 .../__snapshots__/tutorial.test.js.snap | 0 .../components/tutorial/_tutorial.scss | 0 .../components/tutorial/content.js | 0 .../components/tutorial/content.test.js | 0 .../application/components/tutorial/footer.js | 0 .../components/tutorial/footer.test.js | 0 .../components/tutorial/instruction.js | 0 .../components/tutorial/instruction_set.js | 0 .../tutorial/instruction_set.test.js | 0 .../components/tutorial/introduction.js | 0 .../components/tutorial/introduction.test.js | 0 .../components/tutorial/number_parameter.js | 0 .../components/tutorial/parameter_form.js | 0 .../tutorial/replace_template_strings.js | 0 .../tutorial/saved_objects_installer.js | 0 .../tutorial/saved_objects_installer.test.js | 0 .../tutorial/status_check_states.js | 0 .../components/tutorial/string_parameter.js | 0 .../components/tutorial/tutorial.js | 0 .../components/tutorial/tutorial.test.js | 0 .../components/tutorial_directory.js | 0 .../components/welcome.test.mocks.ts | 0 .../application/components/welcome.test.tsx | 0 .../public/application/components/welcome.tsx | 0 .../home/public/application/index.scss | 0 .../shared}/home/public/application/index.ts | 0 .../public/application/kibana_services.ts | 0 .../home/public/application/load_tutorials.js | 0 .../public/application/sample_data_client.ts | 0 .../assets/activemq_logs/screenshot.webp | Bin .../public/assets/apache_logs/screenshot.webp | Bin .../assets/apache_metrics/screenshot.webp | Bin .../public/assets/auditbeat/screenshot.webp | Bin .../public/assets/auditd_logs/screenshot.webp | Bin .../public/assets/aws_logs/screenshot.webp | Bin .../public/assets/aws_metrics/screenshot.webp | Bin .../public/assets/azure_logs/screenshot.webp | Bin .../assets/azure_metrics/screenshot.webp | Bin .../public/assets/cisco_logs/screenshot.webp | Bin .../cockroachdb_metrics/screenshot.webp | Bin .../illustration_integrations_darkmode.png | Bin .../illustration_integrations_lightmode.png | Bin .../assets/consul_metrics/screenshot.webp | Bin .../assets/coredns_logs/screenshot.webp | Bin .../assets/coredns_metrics/screenshot.webp | Bin .../assets/couchdb_metrics/screenshot.webp | Bin .../assets/crowdstrike_logs/screenshot.webp | Bin .../assets/docker_metrics/screenshot.webp | Bin .../assets/envoyproxy_logs/screenshot.webp | Bin .../assets/googlecloud_logs/screenshot.webp | Bin .../googlecloud_metrics/screenshot.webp | Bin .../assets/haproxy_logs/screenshot.webp | Bin .../public/assets/ibmmq_logs/screenshot.webp | Bin .../assets/ibmmq_metrics/screenshot.webp | Bin .../public/assets/icinga_logs/screenshot.webp | Bin .../public/assets/iis_logs/screenshot.webp | Bin .../public/assets/iis_metrics/screenshot.webp | Bin .../assets/iptables_logs/screenshot.webp | Bin .../public/assets/kafka_logs/screenshot.webp | Bin .../assets/kubernetes_metrics/screenshot.webp | Bin .../home/public/assets/logos/activemq.svg | 0 .../home/public/assets/logos/barracuda.svg | 0 .../home/public/assets/logos/checkpoint.svg | 0 .../home/public/assets/logos/cisco.svg | 0 .../home/public/assets/logos/cockroachdb.svg | 0 .../home/public/assets/logos/consul.svg | 0 .../home/public/assets/logos/coredns.svg | 0 .../home/public/assets/logos/couchdb.svg | 0 .../home/public/assets/logos/crowdstrike.svg | 0 .../home/public/assets/logos/cylance.svg | 0 .../home/public/assets/logos/envoyproxy.svg | 0 .../shared}/home/public/assets/logos/f5.svg | 0 .../home/public/assets/logos/fortinet.svg | 0 .../home/public/assets/logos/ibmmq.svg | 0 .../home/public/assets/logos/icinga.svg | 0 .../shared}/home/public/assets/logos/iis.svg | 0 .../home/public/assets/logos/infoblox.svg | 0 .../home/public/assets/logos/juniper.svg | 0 .../home/public/assets/logos/linux.svg | 0 .../home/public/assets/logos/microsoft.svg | 0 .../shared}/home/public/assets/logos/misp.svg | 0 .../home/public/assets/logos/mssql.svg | 0 .../home/public/assets/logos/munin.svg | 0 .../shared}/home/public/assets/logos/nats.svg | 0 .../home/public/assets/logos/netscout.svg | 0 .../shared}/home/public/assets/logos/o365.svg | 0 .../shared}/home/public/assets/logos/okta.svg | 0 .../home/public/assets/logos/openmetrics.svg | 0 .../home/public/assets/logos/oracle.svg | 0 .../home/public/assets/logos/osquery.svg | 0 .../home/public/assets/logos/paloalto.svg | 0 .../home/public/assets/logos/rabbitmq.svg | 0 .../home/public/assets/logos/radware.svg | 0 .../home/public/assets/logos/sonicwall.svg | 0 .../home/public/assets/logos/sophos.svg | 0 .../shared}/home/public/assets/logos/stan.svg | 0 .../home/public/assets/logos/statsd.svg | 0 .../home/public/assets/logos/suricata.svg | 0 .../home/public/assets/logos/system.svg | 0 .../home/public/assets/logos/tomcat.svg | 0 .../home/public/assets/logos/traefik.svg | 0 .../home/public/assets/logos/ubiquiti.svg | 0 .../home/public/assets/logos/uwsgi.svg | 0 .../home/public/assets/logos/vsphere.svg | 0 .../shared}/home/public/assets/logos/zeek.svg | 0 .../home/public/assets/logos/zookeeper.svg | 0 .../home/public/assets/logos/zscaler.svg | 0 .../assets/logstash_logs/screenshot.webp | Bin .../assets/microsoft_logs/screenshot.webp | Bin .../public/assets/misp_logs/screenshot.webp | Bin .../assets/mongodb_logs/screenshot.webp | Bin .../assets/mongodb_metrics/screenshot.webp | Bin .../assets/mssql_metrics/screenshot.webp | Bin .../public/assets/mysql_logs/screenshot.webp | Bin .../assets/mysql_metrics/screenshot.webp | Bin .../public/assets/nats_logs/screenshot.webp | Bin .../assets/nats_metrics/screenshot.webp | Bin .../public/assets/nginx_logs/screenshot.webp | Bin .../assets/nginx_metrics/screenshot.webp | Bin .../public/assets/o365_logs/screenshot.webp | Bin .../public/assets/okta_logs/screenshot.webp | Bin .../assets/osquery_logs/screenshot.webp | Bin .../public/assets/panw_logs/screenshot.webp | Bin .../assets/postgresql_logs/screenshot.webp | Bin .../assets/rabbitmq_metrics/screenshot.webp | Bin .../public/assets/redis_logs/screenshot.webp | Bin .../assets/redis_metrics/screenshot.webp | Bin .../redisenterprise_metrics/screenshot.webp | Bin .../ecommerce/dashboard.webp | Bin .../ecommerce/dashboard_dark.webp | Bin .../sample_data_resources/ecommerce/icon.svg | 0 .../flights/dashboard.webp | Bin .../flights/dashboard_dark.webp | Bin .../sample_data_resources/flights/icon.svg | 0 .../sample_data_resources/logs/dashboard.webp | Bin .../logs/dashboard_dark.webp | Bin .../sample_data_resources/logs/icon.svg | 0 .../public/assets/santa_logs/screenshot.webp | Bin .../assets/solution_logos/kubernetes.png | Bin .../assets/solution_logos/kubernetes_dark.png | Bin .../assets/solution_logos/observability.png | Bin .../solution_logos/observability_dark.png | Bin .../public/assets/solution_logos/search.png | Bin .../assets/solution_logos/search_dark.png | Bin .../public/assets/solution_logos/security.png | Bin .../assets/solution_logos/security_dark.png | Bin .../assets/stan_metrics/screenshot.webp | Bin .../assets/suricata_logs/screenshot.webp | Bin .../public/assets/system_logs/screenshot.webp | Bin .../assets/system_metrics/screenshot.webp | Bin .../assets/traefik_logs/screenshot.webp | Bin .../assets/uptime_monitors/screenshot.webp | Bin .../assets/uwsgi_metrics/screenshot.webp | Bin .../public/assets/welcome_graphic_dark_2x.png | Bin .../assets/welcome_graphic_light_2x.png | Bin .../public/assets/zeek_logs/screenshot.webp | Bin .../plugins/shared}/home/public/index.ts | 0 .../plugins/shared}/home/public/mocks.ts | 0 .../shared}/home/public/plugin.test.mocks.ts | 0 .../shared}/home/public/plugin.test.ts | 0 .../plugins/shared}/home/public/plugin.ts | 0 .../add_data/add_data_service.mock.ts | 0 .../add_data/add_data_service.test.tsx | 0 .../services/add_data/add_data_service.ts | 0 .../home/public/services/add_data/index.ts | 0 .../services/environment/environment.mock.ts | 0 .../services/environment/environment.test.ts | 0 .../services/environment/environment.ts | 0 .../home/public/services/environment/index.ts | 0 .../feature_catalogue_registry.mock.ts | 0 .../feature_catalogue_registry.test.ts | 0 .../feature_catalogue_registry.ts | 0 .../services/feature_catalogue/index.ts | 0 .../shared}/home/public/services/index.ts | 0 .../home/public/services/tutorials/index.ts | 0 .../tutorials/tutorial_service.mock.ts | 0 .../tutorials/tutorial_service.test.tsx | 0 .../services/tutorials/tutorial_service.ts | 0 .../home/public/services/welcome/index.ts | 0 .../services/welcome/welcome_service.mocks.ts | 0 .../services/welcome/welcome_service.test.ts | 0 .../services/welcome/welcome_service.ts | 0 .../home/server/capabilities_provider.ts | 0 .../plugins/shared}/home/server/config.ts | 0 .../plugins/shared}/home/server/index.ts | 0 .../shared}/home/server/plugin.test.mocks.ts | 0 .../shared}/home/server/plugin.test.ts | 0 .../plugins/shared}/home/server/plugin.ts | 0 .../server/routes/fetch_es_hits_status.ts | 0 .../shared}/home/server/routes/index.ts | 0 .../home/server/saved_objects/index.ts | 0 .../saved_objects/sample_data_telemetry.ts | 0 .../shared}/home/server/services/index.ts | 0 .../data_sets/ecommerce/ecommerce.json.gz | Bin .../data_sets/ecommerce/field_mappings.ts | 0 .../sample_data/data_sets/ecommerce/index.ts | 0 .../data_sets/ecommerce/saved_objects.ts | 0 .../data_sets/flights/field_mappings.ts | 0 .../data_sets/flights/flights.json.gz | Bin .../sample_data/data_sets/flights/index.ts | 0 .../data_sets/flights/saved_objects.ts | 0 .../services/sample_data/data_sets/index.ts | 0 .../data_sets/logs/field_mappings.ts | 0 .../sample_data/data_sets/logs/index.ts | 3 +- .../sample_data/data_sets/logs/logs.json.gz | Bin .../data_sets/logs/saved_objects.ts | 0 .../data_sets/logs_tsdb/field_mappings.ts | 0 .../sample_data/data_sets/logs_tsdb/index.ts | 3 +- .../data_sets/logs_tsdb/logs.json.gz | Bin .../data_sets/logs_tsdb/saved_objects.ts | 0 .../server/services/sample_data/errors.ts | 0 .../home/server/services/sample_data/index.ts | 0 .../sample_data/lib/create_index_name.ts | 0 .../lib/find_sample_objects.test.mock.ts | 0 .../lib/find_sample_objects.test.ts | 0 .../sample_data/lib/find_sample_objects.ts | 0 .../sample_data/lib/insert_data_into_index.ts | 0 .../services/sample_data/lib/load_data.ts | 0 .../lib/register_with_integrations.ts | 0 .../lib/sample_dataset_registry_types.ts | 0 .../sample_data/lib/sample_dataset_schema.ts | 0 .../lib/translate_timestamp.test.ts | 0 .../sample_data/lib/translate_timestamp.ts | 0 .../server/services/sample_data/lib/utils.ts | 0 .../services/sample_data/routes/index.ts | 0 .../services/sample_data/routes/install.ts | 0 .../services/sample_data/routes/list.ts | 0 .../services/sample_data/routes/uninstall.ts | 0 .../services/sample_data/routes/utils.ts | 0 .../sample_data_installer.test.mocks.ts | 0 .../sample_data/sample_data_installer.test.ts | 0 .../sample_data/sample_data_installer.ts | 0 .../sample_data/sample_data_registry.mock.ts | 0 .../sample_data/sample_data_registry.test.ts | 0 .../sample_data/sample_data_registry.ts | 0 .../services/sample_data/usage/collector.ts | 0 .../sample_data/usage/collector_fetch.test.ts | 0 .../sample_data/usage/collector_fetch.ts | 0 .../services/sample_data/usage/index.ts | 0 .../services/sample_data/usage/usage.ts | 0 .../home/server/services/tutorials/index.ts | 0 .../services/tutorials/lib/tutorial_schema.ts | 0 .../tutorials/lib/tutorials_registry_types.ts | 0 .../tutorials/tutorials_registry.mock.ts | 0 .../tutorials/tutorials_registry.test.ts | 0 .../services/tutorials/tutorials_registry.ts | 0 .../server/tutorials/activemq_logs/index.ts | 0 .../tutorials/activemq_metrics/index.ts | 0 .../tutorials/aerospike_metrics/index.ts | 0 .../server/tutorials/apache_logs/index.ts | 0 .../server/tutorials/apache_metrics/index.ts | 0 .../home/server/tutorials/auditbeat/index.ts | 0 .../server/tutorials/auditd_logs/index.ts | 0 .../home/server/tutorials/aws_logs/index.ts | 0 .../server/tutorials/aws_metrics/index.ts | 0 .../home/server/tutorials/azure_logs/index.ts | 0 .../server/tutorials/azure_metrics/index.ts | 0 .../server/tutorials/barracuda_logs/index.ts | 0 .../server/tutorials/bluecoat_logs/index.ts | 0 .../home/server/tutorials/cef_logs/index.ts | 0 .../server/tutorials/ceph_metrics/index.ts | 0 .../server/tutorials/checkpoint_logs/index.ts | 0 .../home/server/tutorials/cisco_logs/index.ts | 0 .../tutorials/cockroachdb_metrics/index.ts | 0 .../server/tutorials/consul_metrics/index.ts | 0 .../server/tutorials/coredns_logs/index.ts | 0 .../server/tutorials/coredns_metrics/index.ts | 0 .../tutorials/couchbase_metrics/index.ts | 0 .../server/tutorials/couchdb_metrics/index.ts | 0 .../tutorials/crowdstrike_logs/index.ts | 0 .../server/tutorials/cylance_logs/index.ts | 0 .../server/tutorials/docker_metrics/index.ts | 0 .../tutorials/dropwizard_metrics/index.ts | 0 .../tutorials/elasticsearch_logs/index.ts | 0 .../tutorials/elasticsearch_metrics/index.ts | 0 .../server/tutorials/envoyproxy_logs/index.ts | 0 .../tutorials/envoyproxy_metrics/index.ts | 0 .../server/tutorials/etcd_metrics/index.ts | 0 .../home/server/tutorials/f5_logs/index.ts | 0 .../server/tutorials/fortinet_logs/index.ts | 0 .../home/server/tutorials/gcp_logs/index.ts | 0 .../server/tutorials/gcp_metrics/index.ts | 0 .../server/tutorials/golang_metrics/index.ts | 0 .../server/tutorials/gsuite_logs/index.ts | 0 .../server/tutorials/haproxy_logs/index.ts | 0 .../server/tutorials/haproxy_metrics/index.ts | 0 .../home/server/tutorials/ibmmq_logs/index.ts | 0 .../server/tutorials/ibmmq_metrics/index.ts | 0 .../server/tutorials/icinga_logs/index.ts | 0 .../home/server/tutorials/iis_logs/index.ts | 0 .../server/tutorials/iis_metrics/index.ts | 0 .../server/tutorials/imperva_logs/index.ts | 0 .../server/tutorials/infoblox_logs/index.ts | 0 .../instructions/auditbeat_instructions.ts | 0 .../instructions/cloud_instructions.ts | 0 .../instructions/filebeat_instructions.ts | 0 .../get_space_id_for_beats_tutorial.ts | 0 .../instructions/heartbeat_instructions.ts | 0 .../instructions/logstash_instructions.ts | 0 .../instructions/metricbeat_instructions.ts | 0 .../instructions/onprem_cloud_instructions.ts | 0 .../tutorials/instructions/param_types.ts | 0 .../instructions/winlogbeat_instructions.ts | 0 .../server/tutorials/iptables_logs/index.ts | 0 .../server/tutorials/juniper_logs/index.ts | 0 .../home/server/tutorials/kafka_logs/index.ts | 0 .../server/tutorials/kafka_metrics/index.ts | 0 .../server/tutorials/kibana_logs/index.ts | 0 .../server/tutorials/kibana_metrics/index.ts | 0 .../tutorials/kubernetes_metrics/index.ts | 0 .../server/tutorials/logstash_logs/index.ts | 0 .../tutorials/logstash_metrics/index.ts | 0 .../tutorials/memcached_metrics/index.ts | 0 .../server/tutorials/microsoft_logs/index.ts | 0 .../home/server/tutorials/misp_logs/index.ts | 0 .../server/tutorials/mongodb_logs/index.ts | 0 .../server/tutorials/mongodb_metrics/index.ts | 0 .../home/server/tutorials/mssql_logs/index.ts | 0 .../server/tutorials/mssql_metrics/index.ts | 0 .../server/tutorials/munin_metrics/index.ts | 0 .../home/server/tutorials/mysql_logs/index.ts | 0 .../server/tutorials/mysql_metrics/index.ts | 0 .../home/server/tutorials/nats_logs/index.ts | 0 .../server/tutorials/nats_metrics/index.ts | 0 .../server/tutorials/netflow_logs/index.ts | 0 .../server/tutorials/netscout_logs/index.ts | 0 .../home/server/tutorials/nginx_logs/index.ts | 0 .../server/tutorials/nginx_metrics/index.ts | 0 .../home/server/tutorials/o365_logs/index.ts | 0 .../home/server/tutorials/okta_logs/index.ts | 0 .../tutorials/openmetrics_metrics/index.ts | 0 .../server/tutorials/oracle_metrics/index.ts | 0 .../server/tutorials/osquery_logs/index.ts | 0 .../home/server/tutorials/panw_logs/index.ts | 0 .../server/tutorials/php_fpm_metrics/index.ts | 0 .../server/tutorials/postgresql_logs/index.ts | 0 .../tutorials/postgresql_metrics/index.ts | 0 .../tutorials/prometheus_metrics/index.ts | 0 .../server/tutorials/rabbitmq_logs/index.ts | 0 .../tutorials/rabbitmq_metrics/index.ts | 0 .../server/tutorials/radware_logs/index.ts | 0 .../home/server/tutorials/redis_logs/index.ts | 0 .../server/tutorials/redis_metrics/index.ts | 0 .../redisenterprise_metrics/index.ts | 0 .../shared}/home/server/tutorials/register.ts | 0 .../home/server/tutorials/santa_logs/index.ts | 0 .../server/tutorials/sonicwall_logs/index.ts | 0 .../server/tutorials/sophos_logs/index.ts | 0 .../server/tutorials/stan_metrics/index.ts | 0 .../server/tutorials/statsd_metrics/index.ts | 0 .../server/tutorials/suricata_logs/index.ts | 0 .../server/tutorials/system_logs/index.ts | 0 .../server/tutorials/system_metrics/index.ts | 0 .../server/tutorials/tomcat_logs/index.ts | 0 .../server/tutorials/traefik_logs/index.ts | 0 .../server/tutorials/traefik_metrics/index.ts | 0 .../server/tutorials/uptime_monitors/index.ts | 0 .../server/tutorials/uwsgi_metrics/index.ts | 0 .../server/tutorials/vsphere_metrics/index.ts | 0 .../tutorials/windows_event_logs/index.ts | 0 .../server/tutorials/windows_metrics/index.ts | 0 .../home/server/tutorials/zeek_logs/index.ts | 0 .../tutorials/zookeeper_metrics/index.ts | 0 .../server/tutorials/zscaler_logs/index.ts | 0 .../plugins/shared}/home/tsconfig.json | 2 +- .../shared}/kibana_react/.storybook/main.ts | 0 .../kibana_react/.storybook/manager.ts | 3 +- .../plugins/shared}/kibana_react/README.md | 0 .../common/eui_styled_components.tsx | 0 .../shared}/kibana_react/common/index.ts | 0 .../shared/kibana_react}/jest.config.js | 9 +- .../plugins/shared}/kibana_react/kibana.jsonc | 0 .../public/assets/elastic_agent_card.svg | 0 .../assets/illustration_cloud_migration.png | Bin .../illustration_integrations_darkmode.svg | 0 .../illustration_integrations_lightmode.svg | 0 .../assets/solutions_enterprise_search.svg | 0 .../public/assets/solutions_kibana.svg | 0 .../public/assets/solutions_observability.svg | 0 .../assets/solutions_security_solution.svg | 0 .../kibana_react/public/assets/texture.svg | 0 .../public/context/context.test.tsx | 0 .../kibana_react/public/context/context.tsx | 0 .../kibana_react/public/context/index.ts | 0 .../kibana_react/public/context/types.ts | 0 .../kibana_react/public/dark_mode/index.ts | 0 .../public/dark_mode/use_dark_mode.test.tsx | 0 .../public/dark_mode/use_dark_mode.ts | 0 .../shared}/kibana_react/public/index.ts | 0 .../__snapshots__/markdown.test.tsx.snap | 0 .../public/markdown/_markdown.scss | 0 .../kibana_react/public/markdown/index.scss | 0 .../kibana_react/public/markdown/index.tsx | 0 .../public/markdown/markdown.test.tsx | 0 .../kibana_react/public/markdown/markdown.tsx | 0 .../public/markdown/markdown_simple.tsx | 0 .../create_notifications.test.tsx | 0 .../notifications/create_notifications.tsx | 0 .../public/notifications/index.tsx | 0 .../public/notifications/types.ts | 0 .../overlays/create_react_overlays.test.tsx | 0 .../public/overlays/create_react_overlays.tsx | 0 .../kibana_react/public/overlays/index.tsx | 0 .../kibana_react/public/overlays/types.ts | 0 .../public/overview_page/index.ts | 0 .../overview_page_actions.test.tsx.snap | 0 .../overview_page_actions/index.ts | 0 .../overview_page_actions.test.tsx | 0 .../overview_page_actions.tsx | 0 .../overview_page_footer.test.tsx.snap | 0 .../overview_page_footer/index.ts | 0 .../overview_page_footer.test.tsx | 0 .../overview_page_footer.tsx | 0 .../public/page_template/index.ts | 0 .../__snapshots__/no_data_page.test.tsx.snap | 0 .../action_cards/action_cards.scss | 0 .../action_cards/action_cards.test.tsx | 0 .../action_cards/action_cards.tsx | 0 .../no_data_page/action_cards/index.tsx | 0 .../page_template/no_data_page/index.ts | 0 .../elastic_agent_card.test.tsx.snap | 0 .../__snapshots__/no_data_card.test.tsx.snap | 0 .../no_data_card/elastic_agent_card.test.tsx | 0 .../no_data_card/elastic_agent_card.tsx | 0 .../no_data_page/no_data_card/index.ts | 0 .../no_data_card/no_data_card.test.tsx | 0 .../no_data_card/no_data_card.tsx | 0 .../no_data_page/no_data_page.test.tsx | 0 .../no_data_page/no_data_page.tsx | 0 .../no_data_page_body.test.tsx.snap | 0 .../no_data_page/no_data_page_body/index.tsx | 0 .../no_data_page_body.test.tsx | 0 .../no_data_page_body/no_data_page_body.tsx | 0 .../__snapshots__/solution_nav.test.tsx.snap | 0 .../solution_nav_avatar.test.tsx.snap | 0 .../page_template/solution_nav/index.ts | 0 .../solution_nav/solution_nav.scss | 0 .../solution_nav/solution_nav.test.tsx | 0 .../solution_nav/solution_nav.tsx | 0 .../solution_nav/solution_nav_avatar.scss | 0 .../solution_nav/solution_nav_avatar.test.tsx | 0 .../solution_nav/solution_nav_avatar.tsx | 0 .../solution_nav_collapse_button.scss | 0 .../solution_nav_collapse_button.tsx | 0 .../public/page_template/util/index.ts | 0 .../public/page_template/util/presentation.ts | 0 .../public/react_router_navigate/index.ts | 0 .../react_router_navigate.tsx | 0 .../shared}/kibana_react/public/theme.tsx | 0 .../kibana_react/public/ui_settings/index.ts | 0 .../ui_settings/use_ui_setting.test.tsx | 0 .../public/ui_settings/use_ui_setting.ts | 0 .../public/url_template_editor/index.ts | 0 .../public/url_template_editor/styles.scss | 0 .../url_template_editor.stories.tsx | 0 .../url_template_editor.tsx | 0 .../public/use_execution_context/index.ts | 0 .../use_execution_context.ts | 0 .../kibana_react/public/util/index.tsx | 0 .../public/validated_range/index.ts | 0 .../validated_range/is_range_valid.test.ts | 0 .../public/validated_range/is_range_valid.ts | 0 .../validated_range/validated_dual_range.tsx | 0 .../shared}/kibana_react/tsconfig.json | 4 +- .../shared}/kibana_utils/.eslintrc.json | 0 .../plugins/shared}/kibana_utils/README.md | 0 .../kibana_utils/common/abort_utils.test.ts | 0 .../kibana_utils/common/abort_utils.ts | 0 .../common/calculate_object_hash.test.ts | 0 .../common/calculate_object_hash.ts | 0 .../common/create_getter_setter.test.ts | 0 .../common/create_getter_setter.ts | 0 .../shared}/kibana_utils/common/defer.test.ts | 0 .../shared}/kibana_utils/common/defer.ts | 0 ...t_until_changed_with_initial_value.test.ts | 0 ...stinct_until_changed_with_initial_value.ts | 0 .../kibana_utils/common/errors/errors.test.ts | 0 .../kibana_utils/common/errors/errors.ts | 0 .../kibana_utils/common/errors/index.ts | 0 .../kibana_utils/common/errors/types.ts | 0 .../common/field_wildcard.test.ts | 0 .../kibana_utils/common/field_wildcard.ts | 0 .../shared}/kibana_utils/common/index.ts | 0 .../shared}/kibana_utils/common/now.ts | 0 .../shared}/kibana_utils/common/of.test.ts | 0 .../plugins/shared}/kibana_utils/common/of.ts | 0 .../common/persistable_state/index.ts | 0 .../merge_migration_function_map.test.ts | 0 .../merge_migration_function_map.ts | 0 .../migrate_to_latest.test.ts | 0 .../persistable_state/migrate_to_latest.ts | 0 .../common/persistable_state/types.ts | 0 .../common/state_containers/README.md | 2 +- .../create_state_container.test.ts | 0 .../create_state_container.ts | 0 ...ate_state_container_react_helpers.test.tsx | 0 .../create_state_container_react_helpers.ts | 2 +- .../common/state_containers/index.ts | 2 +- .../common/state_containers/types.ts | 0 .../common/state_management/encode_state.ts | 0 .../common/state_management/format.test.ts | 0 .../common/state_management/format.ts | 0 .../common/state_management/parse.test.ts | 0 .../common/state_management/parse.ts | 0 .../set_state_to_kbn_url.test.ts | 0 .../state_management/set_state_to_kbn_url.ts | 0 .../state_management/state_hash.test.ts | 0 .../common/state_management/state_hash.ts | 0 .../common/url/encode_uri_query.test.ts | 0 .../common/url/encode_uri_query.ts | 0 .../shared}/kibana_utils/common/url/index.ts | 0 .../shared}/kibana_utils/demos/demos.test.ts | 0 .../demos/state_containers/counter.ts | 0 .../demos/state_containers/todomvc.ts | 0 .../kibana_utils/demos/state_sync/url.ts | 0 .../docs/state_containers/README.md | 6 +- .../docs/state_containers/creation.md | 2 +- .../docs/state_containers/no_react.md | 0 .../docs/state_containers/react.md | 2 +- .../docs/state_containers/react/connect.md | 0 .../docs/state_containers/react/context.md | 0 .../state_containers/react/use_container.md | 0 .../state_containers/react/use_selector.md | 0 .../docs/state_containers/react/use_state.md | 0 .../state_containers/react/use_transitions.md | 0 .../docs/state_containers/redux.md | 0 .../docs/state_containers/transitions.md | 2 +- .../kibana_utils/docs/state_sync/README.md | 4 +- .../docs/state_sync/data_plugin_helpers.md | 0 .../empty_or_incomplete_incoming_state.md | 0 .../docs/state_sync/error_handling.md | 0 .../docs/state_sync/initial_state.md | 0 .../docs/state_sync/no_state_containers.md | 2 +- .../state_sync/on_fly_state_migrations.md | 0 .../docs/state_sync/storages/README.md | 0 .../state_sync/storages/kbn_url_storage.md | 2 +- .../state_sync/storages/session_storage.md | 2 +- .../docs/state_sync/sync_states.md | 2 +- .../shared/kibana_utils/jest.config.js | 20 + .../plugins/shared}/kibana_utils/kibana.jsonc | 0 .../core/create_start_service_getter.test.ts | 0 .../core/create_start_service_getter.ts | 0 .../shared}/kibana_utils/public/core/index.ts | 0 .../public/history/get_query_params.test.ts | 0 .../public/history/get_query_params.ts | 0 .../public/history/history_observable.test.ts | 0 .../public/history/history_observable.ts | 0 .../kibana_utils/public/history/index.ts | 0 .../public/history/redirect_when_missing.tsx | 0 .../public/history/remove_query_param.test.ts | 0 .../public/history/remove_query_param.ts | 0 .../shared}/kibana_utils/public/index.test.ts | 0 .../shared}/kibana_utils/public/index.ts | 0 .../shared}/kibana_utils/public/mocks.ts | 0 .../shared}/kibana_utils/public/plugin.ts | 0 .../public/render_complete/index.ts | 0 .../render_complete_dispatcher.ts | 0 .../render_complete_listener.ts | 0 .../public/resize_checker/index.ts | 0 .../resize_checker/resize_checker.test.ts | 0 .../public/resize_checker/resize_checker.ts | 0 .../state_encoder/encode_decode_state.ts | 0 .../state_management/state_encoder/index.ts | 0 .../state_management/state_hash/index.ts | 0 .../state_management/state_hash/state_hash.ts | 0 .../state_management/url/errors.test.ts | 0 .../public/state_management/url/errors.ts | 0 .../url/hash_unhash_url.test.ts | 0 .../state_management/url/hash_unhash_url.ts | 0 .../public/state_management/url/index.ts | 0 .../url/kbn_url_storage.test.ts | 0 .../state_management/url/kbn_url_storage.ts | 0 .../url/kbn_url_tracker.test.ts | 0 .../state_management/url/kbn_url_tracker.ts | 0 .../state_management/url/url_tracker.test.ts | 0 .../state_management/url/url_tracker.ts | 0 .../utils/diff_object.test.ts | 0 .../state_management/utils/diff_object.ts | 0 .../kibana_utils/public/state_sync/README.md | 3 + .../kibana_utils/public/state_sync/index.ts | 4 +- .../public/state_sync/state_sync.test.ts | 0 .../public/state_sync/state_sync.ts | 2 +- .../create_kbn_url_state_storage.test.ts | 0 .../create_kbn_url_state_storage.ts | 2 +- ...eate_session_storage_state_storage.test.ts | 0 .../create_session_storage_state_storage.ts | 4 +- .../state_sync_state_storage/index.ts | 0 .../state_sync_state_storage/types.ts | 0 .../kibana_utils/public/state_sync/types.ts | 0 .../hashed_item_store.test.ts | 0 .../hashed_item_store/hashed_item_store.ts | 0 .../public/storage/hashed_item_store/index.ts | 0 .../public/storage/hashed_item_store/mock.ts | 0 .../kibana_utils/public/storage/index.ts | 0 .../public/storage/storage.test.ts | 0 .../kibana_utils/public/storage/storage.ts | 0 .../kibana_utils/public/storage/types.ts | 0 .../kibana_utils/public/theme/index.ts | 0 .../theme/kibana_theme_provider.test.tsx | 0 .../public/theme/kibana_theme_provider.tsx | 0 .../kibana_utils/public/ui/configurable.ts | 0 .../shared}/kibana_utils/public/ui/index.ts | 0 .../shared}/kibana_utils/server/index.ts | 0 .../server/report_server_error.ts | 0 .../shared}/kibana_utils/tsconfig.json | 4 +- .../plugins/shared}/navigation/README.md | 0 .../shared}/navigation/common/constants.ts | 0 .../shared}/navigation/common/index.ts | 0 .../plugins/shared/navigation}/jest.config.js | 8 +- .../plugins/shared}/navigation/kibana.jsonc | 0 .../navigation/public/analytics/index.ts | 0 .../public/analytics/register_event_types.ts | 0 .../shared}/navigation/public/index.scss | 0 .../shared}/navigation/public/index.ts | 0 .../shared}/navigation/public/mocks.tsx | 0 .../shared}/navigation/public/plugin.test.ts | 0 .../shared}/navigation/public/plugin.tsx | 0 .../public/side_navigation/index.tsx | 0 .../side_navigation/side_navigation.tsx | 0 .../__snapshots__/top_nav_menu.test.tsx.snap | 0 .../top_nav_menu_item.test.tsx.snap | 0 .../public/top_nav_menu/_index.scss | 0 .../top_nav_menu/create_top_nav_menu.tsx | 0 .../navigation/public/top_nav_menu/index.ts | 0 .../public/top_nav_menu/top_nav_menu.test.tsx | 0 .../public/top_nav_menu/top_nav_menu.tsx | 0 .../top_nav_menu/top_nav_menu_badges.tsx | 0 .../public/top_nav_menu/top_nav_menu_data.tsx | 0 .../top_nav_menu_extensions_registry.ts | 0 .../top_nav_menu/top_nav_menu_item.test.tsx | 0 .../public/top_nav_menu/top_nav_menu_item.tsx | 0 .../top_nav_menu/top_nav_menu_items.tsx | 0 .../shared}/navigation/public/types.ts | 0 .../shared}/navigation/server/index.ts | 0 .../shared}/navigation/server/plugin.ts | 0 .../shared}/navigation/server/types.ts | 0 .../navigation/server/ui_settings.test.ts | 0 .../shared}/navigation/server/ui_settings.ts | 0 .../plugins/shared}/navigation/tsconfig.json | 2 +- .../plugins/shared}/saved_objects/README.md | 0 .../shared/saved_objects/jest.config.js | 20 + .../shared}/saved_objects/kibana.jsonc | 0 .../shared}/saved_objects/public/constants.ts | 0 .../shared}/saved_objects/public/index.scss | 0 .../shared}/saved_objects/public/index.ts | 0 .../saved_objects/public/kibana_services.ts | 0 .../shared}/saved_objects/public/mocks.ts | 0 .../shared}/saved_objects/public/plugin.ts | 0 .../saved_object_save_modal.test.tsx.snap | 0 .../public/save_modal/_index.scss | 0 .../saved_objects/public/save_modal/index.ts | 0 .../save_modal/saved_object_save_modal.scss | 0 .../saved_object_save_modal.test.tsx | 0 .../save_modal/saved_object_save_modal.tsx | 0 .../saved_object_save_modal_origin.tsx | 0 .../show_saved_object_save_modal.tsx | 0 .../saved_object/helpers/save_saved_object.ts | 0 .../public/saved_object/index.ts | 0 .../shared}/saved_objects/public/types.ts | 0 .../shared/saved_objects/tsconfig.json | 25 + .../saved_objects_tagging_oss/README.md | 0 .../saved_objects_tagging_oss/common/index.ts | 0 .../saved_objects_tagging_oss/common/types.ts | 0 .../saved_objects_tagging_oss/jest.config.js | 20 + .../saved_objects_tagging_oss/kibana.jsonc | 0 .../public/api.mock.ts | 0 .../saved_objects_tagging_oss/public/api.ts | 0 .../saved_objects_tagging_oss/public/index.ts | 0 .../saved_objects_tagging_oss/public/mocks.ts | 0 .../public/plugin.test.ts | 0 .../public/plugin.ts | 0 .../saved_objects_tagging_oss/public/types.ts | 0 .../saved_objects_tagging_oss/tsconfig.json | 2 +- .../plugins/shared}/screenshot_mode/README.md | 0 .../screenshot_mode/common/constants.ts | 0 .../screenshot_mode/common/context.test.ts | 0 .../shared}/screenshot_mode/common/context.ts | 0 .../shared}/screenshot_mode/common/index.ts | 0 .../shared}/screenshot_mode/common/mode.ts | 0 .../shared/screenshot_mode/jest.config.js | 20 + .../shared}/screenshot_mode/kibana.jsonc | 0 .../shared}/screenshot_mode/public/index.ts | 0 .../shared}/screenshot_mode/public/mocks.ts | 0 .../screenshot_mode/public/plugin.test.ts | 0 .../shared}/screenshot_mode/public/plugin.ts | 0 .../shared}/screenshot_mode/public/types.ts | 0 .../shared}/screenshot_mode/server/index.ts | 0 .../server/is_screenshot_mode.test.ts | 0 .../server/is_screenshot_mode.ts | 0 .../shared}/screenshot_mode/server/plugin.ts | 0 .../shared}/screenshot_mode/server/types.ts | 0 .../shared}/screenshot_mode/tsconfig.json | 2 +- .../plugins/shared}/share/README.mdx | 0 .../common/anonymous_access/index.mock.ts | 0 .../share/common/anonymous_access/index.ts | 0 .../share/common/anonymous_access/types.ts | 0 .../plugins/shared}/share/common/constants.ts | 0 .../plugins/shared}/share/common/index.ts | 0 .../plugins/shared}/share/common/mocks.ts | 0 .../shared}/share/common/short_url_routes.ts | 0 .../url_service/__tests__/locators.test.ts | 0 .../common/url_service/__tests__/setup.ts | 0 .../shared}/share/common/url_service/index.ts | 0 .../common/url_service/locators/README.md | 0 .../common/url_service/locators/index.ts | 0 .../locators/legacy_short_url_locator.ts | 0 .../url_service/locators/locator.test.ts | 0 .../common/url_service/locators/locator.ts | 0 .../url_service/locators/locator_client.ts | 0 .../redirect/format_search_params.test.ts | 0 .../locators/redirect/format_search_params.ts | 0 .../url_service/locators/redirect/index.ts | 0 .../redirect/parse_search_params.test.ts | 0 .../locators/redirect/parse_search_params.ts | 0 .../redirect/space_url_parser.test.ts | 0 .../locators/redirect/space_url_parser.ts | 0 .../url_service/locators/redirect/types.ts | 0 .../locators/short_url_assert_valid.test.ts | 0 .../locators/short_url_assert_valid.ts | 0 .../locators/short_url_redirect_locator.ts | 0 .../common/url_service/locators/types.ts | 0 .../url_service/locators/use_locator_url.ts | 0 .../shared}/share/common/url_service/mocks.ts | 0 .../common/url_service/short_urls/index.ts | 0 .../common/url_service/short_urls/types.ts | 0 .../share/common/url_service/url_service.ts | 0 .../plugins/shared/share}/jest.config.js | 8 +- .../plugins/shared}/share/kibana.jsonc | 0 .../share_context_menu.test.tsx.snap | 0 .../share/public/components/_index.scss | 0 .../components/_share_context_menu.scss | 0 .../public/components/context/index.test.tsx | 0 .../share/public/components/context/index.tsx | 0 .../components/share_context_menu.test.tsx | 0 .../public/components/share_context_menu.tsx | 0 .../public/components/share_tabs.test.tsx | 0 .../share/public/components/share_tabs.tsx | 0 .../tabs/embed/embed_content.test.tsx | 0 .../components/tabs/embed/embed_content.tsx | 0 .../public/components/tabs/embed/index.tsx | 0 .../components/tabs/export/export_content.tsx | 0 .../public/components/tabs/export/index.tsx | 0 .../share/public/components/tabs/index.ts | 0 .../public/components/tabs/link/index.tsx | 0 .../tabs/link/link_content.test.tsx | 0 .../components/tabs/link/link_content.tsx | 0 .../public/components/url_panel_content.tsx | 0 .../plugins/shared}/share/public/index.scss | 0 .../plugins/shared}/share/public/index.ts | 0 .../shared}/share/public/kibana_url.ts | 0 .../shared}/share/public/lib/download_as.ts | 0 .../shared}/share/public/lib/get_home_href.ts | 0 .../shared}/share/public/lib/registrations.ts | 0 .../plugins/shared}/share/public/mocks.ts | 0 .../shared}/share/public/plugin.test.mocks.ts | 0 .../shared}/share/public/plugin.test.ts | 0 .../plugins/shared}/share/public/plugin.ts | 0 .../shared}/share/public/services/index.ts | 0 .../services/share_menu_manager.mock.ts | 0 .../public/services/share_menu_manager.tsx | 0 .../services/share_menu_registry.mock.ts | 0 .../services/share_menu_registry.test.ts | 0 .../public/services/share_menu_registry.ts | 0 .../plugins/shared}/share/public/types.ts | 0 .../shared}/share/public/url_service/index.ts | 0 .../public/url_service/redirect/README.md | 0 .../redirect/components/empty_prompt.tsx | 0 .../url_service/redirect/components/page.tsx | 0 .../redirect/components/spinner.tsx | 0 .../public/url_service/redirect/index.ts | 0 .../redirect/redirect_manager.test.ts | 0 .../url_service/redirect/redirect_manager.ts | 0 .../public/url_service/redirect/render.ts | 0 .../short_urls/short_url_client.test.ts | 0 .../short_urls/short_url_client.ts | 0 .../short_urls/short_url_client_factory.ts | 0 .../plugins/shared}/share/server/config.ts | 0 .../plugins/shared}/share/server/index.ts | 0 .../plugins/shared}/share/server/plugin.ts | 0 .../shared}/share/server/url_service/error.ts | 0 .../http/register_url_service_routes.ts | 0 .../http/short_urls/register_create_route.ts | 0 .../http/short_urls/register_delete_route.ts | 0 .../http/short_urls/register_get_route.ts | 0 .../http/short_urls/register_goto_route.ts | 0 .../http/short_urls/register_resolve_route.ts | 0 .../shared}/share/server/url_service/index.ts | 0 ...ster_url_service_saved_object_type.test.ts | 0 .../register_url_service_saved_object_type.ts | 0 .../server/url_service/short_urls/index.ts | 0 .../short_urls/short_url_client.test.ts | 0 .../short_urls/short_url_client.ts | 0 .../short_urls/short_url_client_factory.ts | 0 .../storage/memory_short_url_storage.test.ts | 0 .../storage/memory_short_url_storage.ts | 0 .../storage/saved_object_short_url_storage.ts | 0 .../server/url_service/short_urls/types.ts | 0 .../url_service/short_urls/util.test.ts | 0 .../server/url_service/short_urls/util.ts | 0 .../shared}/share/server/url_service/types.ts | 0 .../plugins/shared}/share/tsconfig.json | 2 +- .../shared}/ui_actions/README.asciidoc | 0 .../plugins/shared/ui_actions}/jest.config.js | 8 +- .../plugins/shared}/ui_actions/kibana.jsonc | 0 .../ui_actions/public/actions/action.test.ts | 0 .../ui_actions/public/actions/action.ts | 0 .../public/actions/action_internal.test.ts | 0 .../public/actions/action_internal.ts | 0 .../public/actions/create_action.ts | 0 .../actions/incompatible_action_error.ts | 0 .../ui_actions/public/actions/index.ts | 0 .../build_eui_context_menu_panels.test.ts | 0 .../build_eui_context_menu_panels.tsx | 0 .../ui_actions/public/context_menu/index.ts | 0 .../context_menu/open_context_menu.test.ts | 0 .../public/context_menu/open_context_menu.tsx | 0 .../shared}/ui_actions/public/index.ts | 0 .../shared}/ui_actions/public/mocks.ts | 0 .../shared}/ui_actions/public/plugin.ts | 0 .../ui_actions/public/service/index.ts | 0 .../service/ui_actions_execution_service.ts | 0 .../public/service/ui_actions_service.test.ts | 0 .../public/service/ui_actions_service.ts | 0 .../shared}/ui_actions/public/services.ts | 0 .../shared}/ui_actions/public/tests/README.md | 0 .../tests/execute_trigger_actions.test.ts | 0 .../public/tests/get_trigger_actions.test.ts | 0 .../get_trigger_compatible_actions.test.ts | 0 .../shared}/ui_actions/public/tests/index.ts | 0 .../tests/test_samples/hello_world_action.tsx | 0 .../public/tests/test_samples/index.ts | 0 .../ui_actions/public/triggers/index.ts | 0 .../public/triggers/trigger_contract.ts | 0 .../public/triggers/trigger_internal.ts | 0 .../shared}/ui_actions/public/types.ts | 0 .../plugins/shared}/ui_actions/tsconfig.json | 2 +- .../ui_actions_enhanced/.storybook/main.js | 0 .../shared}/ui_actions_enhanced/README.md | 0 .../ui_actions_enhanced/common/index.ts | 0 .../ui_actions_enhanced/common/types.ts | 0 .../shared/ui_actions_enhanced/jest.config.js | 20 + .../shared}/ui_actions_enhanced/kibana.jsonc | 0 .../action_factory_picker.tsx | 0 .../components/action_factory_picker/index.ts | 0 .../action_wizard/action_wizard.scss | 0 .../action_wizard/action_wizard.stories.tsx | 0 .../action_wizard/action_wizard.test.tsx | 0 .../action_wizard/action_wizard.tsx | 0 .../public/components/action_wizard/i18n.ts | 0 .../public/components/action_wizard/index.ts | 0 .../components/action_wizard/test_data.tsx | 0 .../public/components/index.ts | 0 .../components/presentable_picker/i18n.ts | 0 .../components/presentable_picker/index.ts | 0 .../presentable_picker.stories.tsx | 0 .../presentable_picker/presentable_picker.tsx | 0 .../presentable_picker_item.tsx | 0 .../components/presentable_picker/styles.scss | 0 .../public/drilldowns/drilldown_definition.ts | 2 +- .../drilldowns/drilldown_manager/README.md | 0 .../action_factory/action_factory.tsx | 0 .../components/action_factory/index.ts | 0 .../button_submit/button_submit.tsx | 0 .../components/button_submit/index.ts | 0 .../drilldown_form/drilldown_form.stories.tsx | 0 .../drilldown_form/drilldown_form.tsx | 0 .../components/drilldown_form/index.tsx | 0 .../drilldown_hello_bar.stories.tsx | 0 .../drilldown_hello_bar.tsx | 0 .../components/drilldown_hello_bar/i18n.ts | 0 .../components/drilldown_hello_bar/index.tsx | 0 .../drilldown_table.stories.tsx | 0 .../drilldown_table/drilldown_table.test.tsx | 0 .../drilldown_table/drilldown_table.tsx | 0 .../components/drilldown_table/i18n.ts | 0 .../components/drilldown_table/index.tsx | 0 .../drilldown_template_table.tsx | 0 .../drilldown_template_table/i18n.ts | 0 .../drilldown_template_table/index.tsx | 0 .../flyout_frame/flyout_frame.stories.tsx | 0 .../flyout_frame/flyout_frame.test.tsx | 0 .../components/flyout_frame/flyout_frame.tsx | 0 .../components/flyout_frame/i18n.ts | 0 .../components/flyout_frame/index.tsx | 0 .../components/text_with_icon/index.tsx | 0 .../text_with_icon/text_with_icon.tsx | 0 .../components/trigger_line_item/index.tsx | 0 .../trigger_line_item/trigger_line_item.tsx | 0 .../components/trigger_picker/index.ts | 0 .../trigger_picker/trigger_picker.stories.tsx | 0 .../trigger_picker/trigger_picker.tsx | 0 .../trigger_picker/trigger_picker_item.tsx | 0 .../drilldown_manager/components/types.ts | 0 .../action_factory_picker.tsx | 0 .../containers/action_factory_picker/index.ts | 0 .../action_factory_view.tsx | 0 .../containers/action_factory_view/index.ts | 0 .../containers/context/context.tsx | 0 .../containers/context/index.ts | 0 .../create_drilldown_form.tsx | 0 .../containers/create_drilldown_form/index.ts | 0 .../drilldown_list/cloning_notification.tsx | 0 .../drilldown_list/drilldown_list.tsx | 0 .../containers/drilldown_list/index.ts | 0 .../create_public_drilldown_manager.tsx | 0 .../drilldown_manager/drilldown_manager.tsx | 0 .../drilldown_manager_content.tsx | 0 .../drilldown_manager_with_provider.tsx | 0 .../containers/drilldown_manager/index.ts | 0 .../drilldown_manager_footer.tsx | 0 .../drilldown_manager_footer/index.ts | 0 .../drilldown_manager_title.tsx | 0 .../drilldown_manager_title/index.ts | 0 .../drilldown_state_form.tsx | 0 .../containers/drilldown_state_form/index.ts | 0 .../edit_drilldown_form.tsx | 0 .../containers/edit_drilldown_form/index.ts | 0 .../create_drilldown_form.tsx | 0 .../edit_drilldown_form.tsx | 0 .../form_drilldown_wizard.tsx | 0 .../containers/form_drilldown_wizard/i18n.ts | 0 .../containers/form_drilldown_wizard/index.ts | 0 .../containers/hello_bar/hello_bar.tsx | 0 .../containers/hello_bar/index.ts | 0 .../drilldown_manager/containers/index.ts | 0 .../containers/tabs/index.ts | 0 .../containers/tabs/tabs.tsx | 0 .../containers/template_picker/i18n.ts | 0 .../containers/template_picker/index.ts | 0 .../template_picker/template_list.tsx | 0 .../template_picker/template_picker.tsx | 0 .../hooks/use_sync_observable.ts | 0 .../drilldowns/drilldown_manager/index.ts | 0 .../state/drilldown_manager_state.test.tsx | 0 .../state/drilldown_manager_state.ts | 0 .../state/drilldown_state.ts | 0 .../drilldown_manager/state/i18n.ts | 0 .../drilldown_manager/state/index.ts | 0 .../drilldowns/drilldown_manager/types.ts | 0 .../public/drilldowns/index.ts | 0 .../public/drilldowns/url_drilldown/README.md | 0 .../url_drilldown/components/index.ts | 0 .../url_drilldown_collect_config/i18n.ts | 0 .../url_drilldown_collect_config/index.scss | 0 .../url_drilldown_collect_config/index.ts | 0 .../url_drilldown_collect_config/lazy.tsx | 0 .../test_samples/demo.tsx | 0 .../url_drilldown_collect_config.story.tsx | 0 .../url_drilldown_collect_config.tsx | 0 .../url_drilldown_options.tsx | 0 .../components/variable_popover/i18n.ts | 0 .../components/variable_popover/index.tsx | 0 .../drilldowns/url_drilldown/constants.ts | 0 .../drilldowns/url_drilldown/handlebars.ts | 0 .../public/drilldowns/url_drilldown/index.ts | 0 .../public/drilldowns/url_drilldown/types.ts | 0 .../url_drilldown_global_scope.ts | 0 .../url_drilldown/url_template.test.ts | 0 .../drilldowns/url_drilldown/url_template.ts | 0 .../url_drilldown/url_validation.test.ts | 0 .../url_drilldown/url_validation.ts | 0 .../dynamic_actions/action_factory.test.ts | 0 .../public/dynamic_actions/action_factory.ts | 0 .../action_factory_definition.ts | 0 .../dynamic_action_enhancement.ts | 0 .../dynamic_action_grouping.ts | 0 .../dynamic_action_manager.test.ts | 0 .../dynamic_actions/dynamic_action_manager.ts | 0 .../dynamic_action_manager_state.ts | 0 .../dynamic_actions/dynamic_action_storage.ts | 0 .../public/dynamic_actions/index.ts | 0 .../public/dynamic_actions/types.ts | 0 .../ui_actions_enhanced/public/index.ts | 0 .../ui_actions_enhanced/public/mocks.ts | 0 .../ui_actions_enhanced/public/plugin.ts | 0 .../public/services/index.ts | 0 .../ui_actions_service_enhancements.test.ts | 0 .../ui_actions_service_enhancements.ts | 0 .../ui_actions_enhanced/public/types.ts | 0 .../server/dynamic_action_enhancement.ts | 0 .../ui_actions_enhanced/server/index.ts | 0 .../ui_actions_enhanced/server/plugin.ts | 0 ...dynamic_action_factories_collector.test.ts | 0 .../dynamic_action_factories_collector.ts | 0 .../dynamic_actions_collector.test.ts | 0 .../telemetry/dynamic_actions_collector.ts | 0 .../server/telemetry/get_metric_key.ts | 0 .../ui_actions_enhanced/server/types.ts | 0 .../shared}/ui_actions_enhanced/tsconfig.json | 4 +- src/plugins/kibana_overview/jest.config.js | 17 - src/plugins/kibana_react/jest.config.js | 17 - .../kibana_utils/public/state_sync/README.md | 3 - src/plugins/navigation/jest.config.js | 17 - src/plugins/no_data_page/jest.config.js | 17 - src/plugins/saved_objects/jest.config.js | 17 - src/plugins/saved_objects/tsconfig.json | 20 - src/plugins/screenshot_mode/jest.config.js | 19 - src/plugins/share/jest.config.js | 17 - .../telemetry/schema/oss_platform.json | 105 +++++ src/plugins/telemetry/schema/oss_plugins.json | 105 ----- src/plugins/ui_actions/jest.config.js | 17 - .../ui_actions_enhanced/jest.config.js | 19 - test/api_integration/apis/home/sample_data.ts | 4 +- tsconfig.base.json | 108 ++--- x-pack/.gitignore | 10 +- x-pack/.i18nrc.json | 29 +- x-pack/build_chromium/README.md | 4 +- .../plugins/private}/banners/README.md | 0 .../plugins/private}/banners/common/index.ts | 0 .../plugins/private}/banners/common/types.ts | 0 .../plugins/private/banners}/jest.config.js | 9 +- .../plugins/private}/banners/kibana.jsonc | 0 .../banners/public/components/banner.scss | 0 .../banners/public/components/banner.tsx | 0 .../banners/public/components/index.ts | 0 .../banners/public/get_banner_info.test.ts | 0 .../banners/public/get_banner_info.ts | 0 .../plugins/private}/banners/public/index.ts | 0 .../banners/public/plugin.test.mocks.ts | 0 .../private}/banners/public/plugin.test.tsx | 0 .../private}/banners/public/plugin.tsx | 0 .../plugins/private}/banners/public/types.ts | 0 .../plugins/private}/banners/server/config.ts | 0 .../plugins/private}/banners/server/index.ts | 0 .../banners/server/plugin.test.mocks.ts | 0 .../private}/banners/server/plugin.test.ts | 0 .../plugins/private}/banners/server/plugin.ts | 0 .../private}/banners/server/routes/index.ts | 0 .../private}/banners/server/routes/info.ts | 0 .../plugins/private}/banners/server/types.ts | 0 .../banners/server/ui_settings.test.ts | 0 .../private}/banners/server/ui_settings.ts | 0 .../private}/banners/server/utils.test.ts | 0 .../plugins/private}/banners/server/utils.ts | 0 .../plugins/private}/banners/tsconfig.json | 4 +- .../canvas/storybook/canvas_webpack.ts | 2 +- .../private}/custom_branding/README.md | 0 .../custom_branding/architecture_diagram.png | Bin .../custom_branding/common/constants.ts | 0 .../private}/custom_branding/common/types.ts | 0 .../private}/custom_branding/kibana.jsonc | 0 .../private}/custom_branding/public/index.ts | 0 .../private}/custom_branding/public/plugin.ts | 0 .../private}/custom_branding/public/types.ts | 0 .../private}/custom_branding/server/index.ts | 0 .../private}/custom_branding/server/plugin.ts | 0 .../custom_branding/server/routes/index.ts | 0 .../custom_branding/server/routes/info.ts | 0 .../private}/custom_branding/server/types.ts | 0 .../custom_branding/server/ui_settings.ts | 0 .../private}/custom_branding/tsconfig.json | 2 +- .../private}/global_search_bar/README.md | 0 .../private/global_search_bar}/jest.config.js | 9 +- .../private}/global_search_bar/kibana.jsonc | 0 ...tration_product_no_search_results_dark.svg | 0 ...ration_product_no_search_results_light.svg | 0 .../public/components/index.ts | 0 .../public/components/popover_footer.tsx | 0 .../public/components/popover_placeholder.tsx | 0 .../public/components/result_tag_list.tsx | 0 .../public/components/search_bar.scss | 0 .../public/components/search_bar.test.tsx | 0 .../public/components/search_bar.tsx | 0 .../public/components/types.ts | 0 .../global_search_bar/public/index.ts | 0 .../global_search_bar/public/lib/index.ts | 0 .../public/lib/result_to_option.test.ts | 0 .../public/lib/result_to_option.tsx | 0 .../public/lib/suggestion_to_option.ts | 0 .../global_search_bar/public/plugin.test.ts | 0 .../global_search_bar/public/plugin.tsx | 0 .../public/search_syntax/index.ts | 0 .../search_syntax/parse_search_params.test.ts | 0 .../search_syntax/parse_search_params.ts | 0 .../public/search_syntax/query_utils.test.ts | 0 .../public/search_syntax/query_utils.ts | 0 .../public/search_syntax/types.ts | 0 .../global_search_bar/public/strings.ts | 0 .../suggestions/get_suggestions.test.ts | 0 .../public/suggestions/get_suggestions.ts | 0 .../public/suggestions/index.ts | 0 .../public/telemetry/event_reporter.ts | 0 .../public/telemetry/event_types.ts | 0 .../public/telemetry/index.ts | 0 .../public/telemetry/telemetry.test.tsx | 0 .../global_search_bar/public/types.ts | 0 .../global_search_bar/server/config.ts | 0 .../global_search_bar/server/index.ts | 0 .../global_search_bar/server/plugin.ts | 0 .../private}/global_search_bar/tsconfig.json | 2 +- .../global_search_providers/README.md | 0 .../global_search_providers/jest.config.js | 18 + .../global_search_providers/kibana.jsonc | 0 .../global_search_providers/public/index.ts | 0 .../public/plugin.test.ts | 0 .../global_search_providers/public/plugin.ts | 0 .../providers/application.test.mocks.ts | 0 .../public/providers/application.test.ts | 0 .../public/providers/application.ts | 0 .../public/providers/get_app_results.test.ts | 0 .../public/providers/get_app_results.ts | 0 .../public/providers/index.ts | 0 .../global_search_providers/server/index.ts | 0 .../server/plugin.test.ts | 0 .../global_search_providers/server/plugin.ts | 0 .../server/providers/index.ts | 0 .../get_searchable_types.test.ts | 0 .../saved_objects/get_searchable_types.ts | 0 .../server/providers/saved_objects/index.ts | 0 .../map_object_to_result.test.ts | 0 .../saved_objects/map_object_to_result.ts | 0 .../providers/saved_objects/provider.test.ts | 0 .../providers/saved_objects/provider.ts | 0 .../global_search_providers/tsconfig.json | 4 +- .../plugins/private/reporting/.gitignore | 3 + .../plugins/private}/reporting/README.md | 0 .../private}/reporting/common/constants.ts | 0 .../errors/map_to_reporting_error.test.ts | 0 .../common/errors/map_to_reporting_error.ts | 2 +- .../private}/reporting/common/job_utils.ts | 0 .../private}/reporting/common/poller.ts | 0 .../reporting/common/test/fixtures.ts | 0 .../private}/reporting/common/test/index.ts | 0 .../private}/reporting/common/test/types.ts | 0 .../private}/reporting/common/types.ts | 0 .../plugins/private}/reporting/jest.config.js | 9 +- .../reporting/jest.integration.config.js | 4 +- .../plugins/private}/reporting/kibana.jsonc | 0 .../private}/reporting/public/index.ts | 0 .../__snapshots__/stream_handler.test.ts.snap | 0 .../public/lib/default_status_context.tsx | 0 .../public/lib/ilm_policy_status_context.tsx | 0 .../private}/reporting/public/lib/job.test.ts | 0 .../public/lib/job_queue_client.test.mocks.ts | 0 .../public/lib/stream_handler.test.ts | 0 .../reporting/public/lib/stream_handler.ts | 0 .../public/management/__test__/index.ts | 0 .../__test__/report_listing.test.helpers.tsx | 0 .../management/components/ilm_policy_link.tsx | 0 .../public/management/components/index.ts | 0 .../get_console_text_pit.ts | 0 .../get_console_text_scroll.ts | 0 .../inspect_in_console_button.tsx | 0 .../ilm_policy_migration_needed_callout.tsx | 0 .../migrate_ilm_policy_callout/index.tsx | 0 .../components/report_delete_button.test.tsx | 0 .../components/report_delete_button.tsx | 0 .../components/report_diagnostic.test.tsx | 0 .../components/report_diagnostic.tsx | 0 .../components/report_info_button.tsx | 0 .../components/report_info_flyout.tsx | 0 .../components/report_info_flyout_content.tsx | 0 .../components/report_status_indicator.tsx | 0 .../default/report_listing_default.tsx | 0 .../reporting/public/management/index.ts | 0 .../management/mount_management_section.tsx | 0 .../public/management/report_listing.scss | 0 .../public/management/report_listing.test.ts | 0 .../public/management/report_listing.tsx | 0 .../management/report_listing_table.tsx | 0 .../stateful/report_listing_stateful.tsx | 0 .../reporting/public/management/utils.ts | 0 .../private}/reporting/public/mocks.ts | 0 .../public/notifier/general_error.tsx | 0 .../reporting/public/notifier/index.ts | 0 .../public/notifier/job_download_button.tsx | 0 .../reporting/public/notifier/job_failure.tsx | 0 .../reporting/public/notifier/job_success.tsx | 0 .../reporting/public/notifier/job_warning.tsx | 0 .../public/notifier/job_warning_formulas.tsx | 0 .../public/notifier/job_warning_max_size.tsx | 0 .../reporting/public/notifier/report_link.tsx | 0 .../private}/reporting/public/plugin.ts | 0 .../reporting/public/redirect/index.ts | 0 .../public/redirect/mount_redirect_app.tsx | 0 .../public/redirect/redirect_app.scss | 0 .../public/redirect/redirect_app.tsx | 0 .../reporting/public/shared_i18n_texts.tsx | 0 .../reporting/public/shared_imports.ts | 0 .../private}/reporting/public/types.ts | 0 .../server/config/create_config.test.ts | 0 .../reporting/server/config/create_config.ts | 0 .../private}/reporting/server/config/index.ts | 0 .../server/config/ui_settings.test.ts | 0 .../reporting/server/config/ui_settings.ts | 0 .../plugins/private}/reporting/server/core.ts | 0 .../reporting/server/deprecations/index.ts | 0 ...igrate_existing_indices_ilm_policy.test.ts | 0 .../migrate_existing_indices_ilm_policy.ts | 0 .../private}/reporting/server/features.ts | 0 .../private}/reporting/server/index.ts | 0 .../server/lib/check_params_version.ts | 0 .../server/lib/content_stream.test.ts | 0 .../reporting/server/lib/content_stream.ts | 0 .../server/lib/deprecations/index.ts | 0 .../server/lib/deprecations/types.ts | 0 .../server/lib/event_logger/adapter.test.ts | 0 .../server/lib/event_logger/adapter.ts | 0 .../server/lib/event_logger/index.ts | 0 .../server/lib/event_logger/logger.test.ts | 0 .../server/lib/event_logger/logger.ts | 0 .../server/lib/event_logger/types.ts | 0 .../server/lib/export_types_registry.test.js | 0 .../private}/reporting/server/lib/index.ts | 0 .../server/lib/passthrough_stream.test.ts | 0 .../server/lib/passthrough_stream.ts | 0 .../ilm_policy_manager/ilm_policy_manager.ts | 0 .../lib/store/ilm_policy_manager/index.ts | 0 .../reporting/server/lib/store/index.ts | 0 .../reporting/server/lib/store/report.test.ts | 0 .../reporting/server/lib/store/report.ts | 0 .../server/lib/store/runtime_fields.ts | 0 .../server/lib/store/saved_report.test.ts | 0 .../server/lib/store/saved_report.ts | 0 .../reporting/server/lib/store/store.test.ts | 0 .../reporting/server/lib/store/store.ts | 0 .../server/lib/tasks/error_logger.test.ts | 0 .../server/lib/tasks/error_logger.ts | 0 .../server/lib/tasks/execute_report.test.ts | 0 .../server/lib/tasks/execute_report.ts | 0 .../reporting/server/lib/tasks/index.ts | 0 .../private}/reporting/server/lib/trace.ts | 0 .../private}/reporting/server/mocks/index.ts | 0 .../private}/reporting/server/plugin.test.ts | 0 .../private}/reporting/server/plugin.ts | 0 .../authorized_user_pre_routing.test.ts | 0 .../common/authorized_user_pre_routing.ts | 0 .../server/routes/common/generate/index.ts | 0 .../common/generate/request_handler.test.ts | 0 .../routes/common/generate/request_handler.ts | 0 .../server/routes/common/get_counter.ts | 0 .../server/routes/common/get_user.ts | 0 .../reporting/server/routes/common/index.ts | 0 .../server/routes/common/jobs/constants.ts | 0 .../common/jobs/get_document_payload.test.ts | 0 .../common/jobs/get_document_payload.ts | 0 .../routes/common/jobs/get_job_routes.ts | 0 .../server/routes/common/jobs/index.ts | 0 .../jobs/job_management_pre_routing.test.ts | 0 .../common/jobs/job_management_pre_routing.ts | 0 .../routes/common/jobs/jobs_query.test.ts | 0 .../server/routes/common/jobs/jobs_query.ts | 0 .../private}/reporting/server/routes/index.ts | 0 .../internal/deprecations/deprecations.ts | 0 .../integration_tests/deprecations.test.ts | 0 .../routes/internal/diagnostic/browser.ts | 0 .../routes/internal/diagnostic/index.ts | 0 .../integration_tests/browser.test.ts | 0 .../generate/generate_from_jobparams.ts | 0 .../generation_from_jobparams.test.ts | 0 .../management/integration_tests/jobs.test.ts | 0 .../server/routes/internal/management/jobs.ts | 0 .../routes/public/generate_from_jobparams.ts | 0 .../generation_from_jobparams.test.ts | 0 .../public/integration_tests/jobs.test.ts | 0 .../reporting/server/routes/public/jobs.ts | 0 .../create_mock_reportingplugin.ts | 0 .../reporting/server/test_helpers/index.ts | 0 .../private}/reporting/server/types.ts | 0 .../server/usage/collection_schema.test.ts | 0 .../server/usage/collection_schema.ts | 0 .../reporting/server/usage/event_tracker.ts | 0 .../private}/reporting/server/usage/index.ts | 0 .../server/usage/register_event_types.ts | 0 .../usage/reporting_usage_collector.test.ts | 0 .../server/usage/reporting_usage_collector.ts | 0 .../plugins/private}/reporting/tsconfig.json | 4 +- .../plugins/private/runtime_fields/README.md | 2 +- .../private}/saved_objects_tagging/README.md | 4 +- .../common/assignments.ts | 0 .../common/capabilities.test.ts | 0 .../common/capabilities.ts | 0 .../saved_objects_tagging/common/constants.ts | 0 .../common/http_api_types.ts | 0 .../saved_objects_tagging/common/index.ts | 0 .../common/references.test.ts | 0 .../common/references.ts | 0 .../common/test_utils/index.ts | 0 .../saved_objects_tagging/common/types.ts | 0 .../common/validation.test.ts | 0 .../common/validation.ts | 0 .../saved_objects_tagging/jest.config.js | 18 + .../saved_objects_tagging/kibana.jsonc | 0 .../assign_flyout/assign_flyout.scss | 0 .../assign_flyout/assign_flyout.tsx | 0 .../assign_flyout/components/action_bar.tsx | 0 .../assign_flyout/components/footer.tsx | 0 .../assign_flyout/components/header.tsx | 0 .../assign_flyout/components/index.ts | 0 .../assign_flyout/components/result_list.tsx | 0 .../assign_flyout/components/search_bar.tsx | 0 .../public/components/assign_flyout/index.ts | 0 .../assign_flyout/lib/compute_changes.test.ts | 0 .../assign_flyout/lib/compute_changes.ts | 0 .../components/assign_flyout/lib/index.ts | 0 .../assign_flyout/lib/parse_query.test.ts | 0 .../assign_flyout/lib/parse_query.ts | 0 .../assign_flyout/open_assign_flyout.tsx | 0 .../public/components/assign_flyout/types.ts | 0 .../components/assign_flyout/utils.test.ts | 0 .../public/components/assign_flyout/utils.ts | 0 .../public/components/base/index.ts | 0 .../public/components/base/tag_badge.tsx | 0 .../public/components/base/tag_list.tsx | 0 .../components/base/tag_searchbar_option.tsx | 0 .../components/base/tag_selector.test.tsx | 0 .../public/components/base/tag_selector.tsx | 0 .../public/components/connected/index.ts | 0 .../saved_object_save_modal_tag_selector.tsx | 0 .../public/components/connected/tag_list.tsx | 0 .../components/connected/tag_selector.tsx | 0 .../edition_modal/create_modal.test.tsx | 0 .../components/edition_modal/create_modal.tsx | 0 .../edition_modal/create_or_edit_modal.tsx | 0 .../components/edition_modal/edit_modal.tsx | 0 .../public/components/edition_modal/index.ts | 0 .../components/edition_modal/open_modal.tsx | 0 .../edition_modal/use_validation.ts | 0 .../public/components/edition_modal/utils.ts | 0 .../public/components/index.ts | 0 .../saved_objects_tagging/public/config.ts | 0 .../saved_objects_tagging/public/index.ts | 0 .../public/management/actions/assign.ts | 0 .../public/management/actions/delete.ts | 0 .../public/management/actions/edit.ts | 0 .../public/management/actions/index.test.ts | 0 .../public/management/actions/index.ts | 0 .../public/management/actions/types.ts | 0 .../management/bulk_actions/bulk_assign.ts | 0 .../bulk_actions/bulk_delete.test.ts | 0 .../management/bulk_actions/bulk_delete.ts | 0 .../bulk_actions/clear_selection.ts | 0 .../management/bulk_actions/index.test.ts | 0 .../public/management/bulk_actions/index.ts | 0 .../management/components/_action_bar.scss | 0 .../management/components/action_bar.tsx | 0 .../public/management/components/header.tsx | 0 .../public/management/components/index.ts | 0 .../public/management/components/table.tsx | 0 .../public/management/index.ts | 0 .../public/management/mount_section.tsx | 0 .../public/management/tag_management_page.tsx | 0 .../public/management/types.ts | 0 .../utils/get_tag_connections_url.test.ts | 0 .../utils/get_tag_connections_url.ts | 0 .../public/management/utils/index.ts | 0 .../saved_objects_tagging/public/mocks.ts | 0 .../public/plugin.test.ts | 0 .../saved_objects_tagging/public/plugin.ts | 0 .../assignments/assignment_service.mock.ts | 0 .../assignments/assignment_service.test.ts | 0 .../assignments/assignment_service.ts | 0 .../public/services/assignments/index.ts | 0 .../public/services/index.ts | 0 .../public/services/tags/errors.ts | 0 .../public/services/tags/index.ts | 0 .../public/services/tags/tags_cache.mock.ts | 0 .../public/services/tags/tags_cache.test.ts | 0 .../public/services/tags/tags_cache.ts | 0 .../public/services/tags/tags_client.mock.ts | 0 .../public/services/tags/tags_client.test.ts | 0 .../public/services/tags/tags_client.ts | 0 .../saved_objects_tagging/public/types.ts | 0 .../public/ui_api/components.ts | 0 .../ui_api/convert_name_to_reference.ts | 0 .../ui_api/get_search_bar_filter.test.ts | 0 .../public/ui_api/get_search_bar_filter.tsx | 0 .../get_table_column_definition.test.ts | 0 .../ui_api/get_table_column_definition.tsx | 0 .../public/ui_api/get_tag_list.test.ts | 0 .../public/ui_api/get_tag_list.ts | 0 .../public/ui_api/index.ts | 0 .../public/ui_api/parse_search_query.test.ts | 0 .../public/ui_api/parse_search_query.ts | 0 .../public/utils.test.ts | 0 .../saved_objects_tagging/public/utils.ts | 0 .../saved_objects_tagging/server/config.ts | 0 .../saved_objects_tagging/server/features.ts | 0 .../saved_objects_tagging/server/index.ts | 0 .../saved_objects_tagging/server/mocks.ts | 0 .../server/plugin.test.mocks.ts | 0 .../server/plugin.test.ts | 0 .../saved_objects_tagging/server/plugin.ts | 0 .../server/request_handler_context.ts | 0 .../assignments/find_assignable_objects.ts | 0 .../assignments/get_assignable_types.ts | 0 .../server/routes/assignments/index.ts | 0 .../assignments/update_tags_assignments.ts | 0 .../server/routes/index.ts | 0 .../server/routes/internal/bulk_delete.ts | 0 .../server/routes/internal/find_tags.ts | 0 .../server/routes/internal/index.ts | 0 .../server/routes/lib/get_connection_count.ts | 0 .../server/routes/lib/index.ts | 0 .../server/routes/tags/create_tag.ts | 0 .../server/routes/tags/delete_tag.ts | 0 .../server/routes/tags/get_all_tags.ts | 0 .../server/routes/tags/get_tag.ts | 0 .../server/routes/tags/index.ts | 0 .../server/routes/tags/update_tag.ts | 0 .../server/saved_objects/index.ts | 0 .../server/saved_objects/tag.ts | 0 .../assignments/assignment_service.mock.ts | 0 .../assignment_service.test.mocks.ts | 0 .../assignments/assignment_service.test.ts | 0 .../assignments/assignment_service.ts | 0 .../services/assignments/errors.test.ts | 0 .../server/services/assignments/errors.ts | 0 .../assignments/get_updatable_types.ts | 0 .../server/services/assignments/index.ts | 0 .../server/services/assignments/utils.test.ts | 0 .../server/services/assignments/utils.ts | 0 .../server/services/index.ts | 0 .../server/services/tags/errors.test.ts | 0 .../server/services/tags/errors.ts | 0 .../server/services/tags/index.ts | 0 .../server/services/tags/tags_client.mock.ts | 0 .../services/tags/tags_client.test.mocks.ts | 0 .../server/services/tags/tags_client.test.ts | 0 .../server/services/tags/tags_client.ts | 0 .../server/services/tags/utils.ts | 0 .../services/tags/validate_tag.test.mocks.ts | 0 .../server/services/tags/validate_tag.test.ts | 0 .../server/services/tags/validate_tag.ts | 0 .../saved_objects_tagging/server/types.ts | 0 .../server/usage/fetch_tag_usage_data.ts | 0 .../server/usage/index.ts | 0 .../server/usage/schema.test.ts | 0 .../server/usage/schema.ts | 0 .../server/usage/tag_usage_collector.ts | 0 .../server/usage/types.ts | 0 .../saved_objects_tagging/tsconfig.json | 2 +- .../plugins/shared}/global_search/README.md | 2 +- .../shared}/global_search/common/constants.ts | 0 .../global_search/common/errors.test.ts | 0 .../shared}/global_search/common/errors.ts | 0 .../common/license_checker.mock.ts | 0 .../common/license_checker.test.ts | 0 .../global_search/common/license_checker.ts | 0 .../global_search/common/operators/index.ts | 0 .../common/operators/take_in_array.test.ts | 0 .../common/operators/take_in_array.ts | 0 .../common/process_result.test.mocks.ts | 0 .../common/process_result.test.ts | 0 .../global_search/common/process_result.ts | 0 .../shared}/global_search/common/types.ts | 0 .../global_search/common/utils.test.ts | 0 .../shared}/global_search/common/utils.ts | 0 .../shared/global_search/jest.config.js | 18 + .../global_search/jest.integration.config.js | 4 +- .../shared}/global_search/kibana.jsonc | 0 .../shared}/global_search/public/config.ts | 0 .../shared}/global_search/public/index.ts | 0 .../shared}/global_search/public/mocks.ts | 0 .../shared}/global_search/public/plugin.ts | 0 .../services/fetch_server_results.test.ts | 0 .../public/services/fetch_server_results.ts | 0 .../fetch_server_searchable_types.test.ts | 0 .../services/fetch_server_searchable_types.ts | 0 .../global_search/public/services/index.ts | 0 .../public/services/search_service.mock.ts | 0 .../services/search_service.test.mocks.ts | 0 .../public/services/search_service.test.ts | 0 .../public/services/search_service.ts | 0 .../global_search/public/services/types.ts | 0 .../public/services/utils.test.ts | 0 .../global_search/public/services/utils.ts | 0 .../shared}/global_search/public/types.ts | 0 .../shared}/global_search/server/config.ts | 0 .../shared}/global_search/server/index.ts | 0 .../shared}/global_search/server/mocks.ts | 0 .../global_search/server/plugin.test.mocks.ts | 0 .../global_search/server/plugin.test.ts | 0 .../shared}/global_search/server/plugin.ts | 0 .../global_search/server/routes/find.ts | 0 .../server/routes/get_searchable_types.ts | 0 .../global_search/server/routes/index.test.ts | 0 .../global_search/server/routes/index.ts | 0 .../routes/integration_tests/find.test.ts | 0 .../get_searchable_types.test.ts | 0 .../server/services/context.mock.ts | 0 .../server/services/context.test.ts | 0 .../global_search/server/services/context.ts | 0 .../global_search/server/services/index.ts | 0 .../server/services/search_service.mock.ts | 0 .../server/services/search_service.test.ts | 0 .../server/services/search_service.ts | 0 .../server/services/utils.test.ts | 0 .../global_search/server/services/utils.ts | 0 .../shared}/global_search/server/types.ts | 0 .../shared}/global_search/tsconfig.json | 4 +- .../plugins/shared}/notifications/README.mdx | 0 .../shared}/notifications/common/index.ts | 0 .../shared}/notifications/jest.config.js | 11 +- .../shared}/notifications/kibana.jsonc | 0 .../notifications/server/config/config.ts | 0 .../notifications/server/config/index.ts | 0 .../shared}/notifications/server/index.ts | 0 .../shared}/notifications/server/mocks.ts | 0 .../notifications/server/plugin.test.ts | 0 .../shared}/notifications/server/plugin.ts | 0 .../services/connectors_email_service.test.ts | 0 .../services/connectors_email_service.ts | 0 .../connectors_email_service_provider.test.ts | 0 .../connectors_email_service_provider.ts | 0 .../notifications/server/services/index.ts | 0 .../services/licensed_email_service.test.ts | 0 .../server/services/licensed_email_service.ts | 0 .../notifications/server/services/types.ts | 0 .../shared}/notifications/server/types.ts | 0 .../shared}/notifications/tsconfig.json | 2 +- .../plugins/shared}/serverless/README.mdx | 0 .../shared}/serverless/assets/diagram.png | Bin .../shared}/serverless/common/index.ts | 0 .../plugins/shared/serverless}/jest.config.js | 9 +- .../plugins/shared}/serverless/kibana.jsonc | 0 .../plugins/shared}/serverless/package.json | 4 +- .../shared}/serverless/public/config.ts | 0 .../shared}/serverless/public/index.ts | 0 .../shared}/serverless/public/mocks.ts | 0 .../serverless/public/navigation/index.tsx | 0 .../serverless/public/navigation/nav_cards.ts | 0 .../public/navigation/navigation.tsx | 0 .../shared}/serverless/public/plugin.tsx | 0 .../shared}/serverless/public/types.ts | 0 .../shared}/serverless/server/config.ts | 0 .../shared}/serverless/server/index.ts | 0 .../shared}/serverless/server/mocks.ts | 0 .../shared}/serverless/server/plugin.test.ts | 0 .../shared}/serverless/server/plugin.ts | 0 .../shared}/serverless/server/types.ts | 0 .../plugins/shared}/serverless/tsconfig.json | 2 +- x-pack/plugins/banners/jest.config.js | 15 - .../plugins/global_search_bar/jest.config.js | 15 - .../reporting/server/config/index.test.ts | 74 --- .../__snapshots__/reporting_role.test.ts.snap | 119 ----- .../deprecations/reporting_role.test.ts | 177 ------- .../server/deprecations/reporting_role.ts | 239 ---------- .../generate/csv_searchsource_immediate.ts | 137 ------ x-pack/plugins/serverless/jest.config.js | 15 - .../schema/xpack_platform.json | 104 +++++ .../schema/xpack_plugins.json | 104 ----- .../endpoint/common/response_actions.ts | 2 +- .../mocks/mock_kibana_ui_settings_service.ts | 2 +- yarn.lock | 54 +-- 2032 files changed, 1304 insertions(+), 1547 deletions(-) rename src/{plugins => platform/plugins/private}/advanced_settings/README.md (100%) rename src/{plugins => platform/plugins/private}/advanced_settings/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/advanced_settings/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/advanced_settings/public/plugin.tsx (100%) rename src/{plugins => platform/plugins/private}/advanced_settings/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/advanced_settings/server/capabilities_provider.ts (100%) rename src/{plugins => platform/plugins/private}/advanced_settings/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/advanced_settings/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/advanced_settings/server/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/advanced_settings/tsconfig.json (91%) rename src/{plugins => platform/plugins/private}/files_management/README.md (100%) rename src/{plugins => platform/plugins/private}/files_management/common/index.ts (100%) rename src/{plugins => platform/plugins/private}/files_management/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/files_management/public/app.tsx (100%) rename src/{plugins => platform/plugins/private}/files_management/public/components/diagnostics_flyout.tsx (100%) rename src/{plugins => platform/plugins/private}/files_management/public/components/empty_prompt.tsx (100%) rename src/{plugins => platform/plugins/private}/files_management/public/components/file_flyout.tsx (100%) rename src/{plugins => platform/plugins/private}/files_management/public/components/index.ts (100%) rename src/{plugins => platform/plugins/private}/files_management/public/context.tsx (100%) rename src/{plugins => platform/plugins/private}/files_management/public/i18n_texts.ts (100%) rename src/{plugins => platform/plugins/private}/files_management/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/files_management/public/mount_management_section.tsx (100%) rename src/{plugins => platform/plugins/private}/files_management/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/files_management/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/files_management/tsconfig.json (91%) rename src/{plugins => platform/plugins/private}/image_embeddable/README.md (100%) create mode 100644 src/platform/plugins/private/image_embeddable/jest.config.js rename src/{plugins => platform/plugins/private}/image_embeddable/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/actions/create_image_action.ts (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/actions/image_click_trigger.ts (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/actions/index.ts (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/components/image_editor/image_editor_flyout.test.tsx (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/components/image_editor/image_editor_flyout.tsx (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/components/image_editor/index.ts (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/components/image_editor/open_image_editor.tsx (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/components/image_embeddable.scss (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/components/image_embeddable.tsx (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/components/image_viewer/assets/not_found_light.png (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/components/image_viewer/assets/not_found_light@2x.png (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/components/image_viewer/image_viewer.test.tsx (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/components/image_viewer/image_viewer.tsx (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/components/image_viewer/image_viewer_context.tsx (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/components/image_viewer/index.tsx (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/image_embeddable/constants.ts (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/image_embeddable/get_image_embeddable_factory.tsx (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/image_embeddable/types.ts (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/imports.ts (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/services/kibana_services.ts (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/utils/validate_image_config.ts (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/public/utils/validate_url.ts (100%) rename src/{plugins => platform/plugins/private}/image_embeddable/tsconfig.json (93%) rename src/{plugins => platform/plugins/private}/kibana_overview/README.md (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/common/index.ts (100%) create mode 100644 src/platform/plugins/private/kibana_overview/jest.config.js rename src/{plugins => platform/plugins/private}/kibana_overview/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/application.tsx (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/assets/kibana_canvas_dark.svg (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/assets/kibana_canvas_light.svg (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/assets/kibana_dashboards_dark.svg (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/assets/kibana_dashboards_light.svg (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/assets/kibana_discover_dark.svg (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/assets/kibana_discover_light.svg (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/assets/kibana_graph_dark.svg (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/assets/kibana_graph_light.svg (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/assets/kibana_maps_dark.svg (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/assets/kibana_maps_light.svg (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/assets/kibana_ml_dark.svg (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/assets/kibana_ml_light.svg (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/assets/kibana_montage_dark.svg (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/assets/kibana_montage_light.svg (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/add_data/__snapshots__/add_data.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/add_data/add_data.test.tsx (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/add_data/add_data.tsx (100%) rename src/{plugins/home/public/application => platform/plugins/private/kibana_overview/public}/components/add_data/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/app.tsx (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/manage_data/__snapshots__/manage_data.test.tsx.snap (100%) rename src/{plugins/home/public/application => platform/plugins/private/kibana_overview/public}/components/manage_data/index.tsx (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/manage_data/manage_data.test.tsx (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/manage_data/manage_data.tsx (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/news_feed/__snapshots__/news_feed.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/news_feed/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/news_feed/news_feed.test.tsx (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/news_feed/news_feed.tsx (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/overview/__snapshots__/overview.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/overview/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/overview/overview.scss (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/overview/overview.test.mocks.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/overview/overview.test.tsx (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/overview/overview.tsx (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/synopsis/__snapshots__/synopsis.test.js.snap (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/synopsis/index.js (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/components/synopsis/synopsis.js (100%) rename src/{plugins/home/public/application/components => platform/plugins/private/kibana_overview/public/components/synopsis}/synopsis.test.js (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/lib/ui_metric.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_overview/tsconfig.json (94%) rename src/{plugins => platform/plugins/private}/no_data_page/README.md (100%) rename src/{plugins/kibana_utils => platform/plugins/private/no_data_page}/jest.config.js (66%) rename src/{plugins => platform/plugins/private}/no_data_page/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/no_data_page/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/no_data_page/public/mocks/index.ts (100%) rename src/{plugins => platform/plugins/private}/no_data_page/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/no_data_page/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/no_data_page/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/no_data_page/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/no_data_page/tsconfig.json (85%) rename src/{plugins => platform/plugins/shared}/content_management/README.md (87%) rename src/{plugins => platform/plugins/shared}/content_management/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/common/rpc/bulk_get.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/common/rpc/common.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/common/rpc/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/common/rpc/create.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/common/rpc/delete.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/common/rpc/get.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/common/rpc/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/common/rpc/msearch.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/common/rpc/rpc.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/common/rpc/search.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/common/rpc/types.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/common/rpc/update.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/common/schemas.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/docs/conent_management_landing.mdx (100%) rename src/{plugins => platform/plugins/shared}/content_management/docs/content_onboarding.mdx (99%) create mode 100644 src/platform/plugins/shared/content_management/jest.config.js rename src/{plugins => platform/plugins/shared}/content_management/jest.integration.config.js (84%) rename src/{plugins => platform/plugins/shared}/content_management/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/content_client/content_client.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/content_client/content_client.tsx (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/content_client/content_client_context.tsx (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/content_client/content_client_mutation_hooks.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/content_client/content_client_mutation_hooks.tsx (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/content_client/content_client_query_hooks.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/content_client/content_client_query_hooks.tsx (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/content_client/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/content_client/query_observable.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/crud_client/crud_client.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/crud_client/crud_client.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/crud_client/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/registry/content_type.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/registry/content_type.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/registry/content_type_definition.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/registry/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/registry/registry.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/registry/registry.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/rpc_client/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/rpc_client/rpc_client.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/rpc_client/rpc_client.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/content_client/content_client.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/content_client/content_client.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/content_client/content_client_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/content_client/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/content_client/types.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/core/content_type.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/core/core.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/core/core.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/core/crud.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/core/event_bus.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/core/event_types.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/core/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/core/mocks/in_memory_storage.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/core/mocks/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/core/msearch.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/core/msearch.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/core/registry.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/core/types.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/README.md (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/es/es_event_stream_client.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/es/es_event_stream_client_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/es/es_event_stream_names.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/es/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/es/init/es_event_stream_initializer.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/es/init/index_template.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/es/init/mappings.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/es/integration_tests/es_event_stream_client.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/es/types.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/es/util.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/event_stream_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/event_stream_service.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/memory/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/memory/memory_event_stream_client.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/memory/memory_event_stream_client.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/memory/memory_event_stream_client_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/memory/util.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/tests/event_stream_logger_mock.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/tests/setup_event_stream_service.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/tests/test_event_stream_client.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/tests/util.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/types.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/event_stream/validation.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/all_procedures.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/bulk_get.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/bulk_get.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/create.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/create.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/delete.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/delete.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/get.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/get.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/msearch.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/msearch.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/search.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/search.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/update.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/procedures/update.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/routes/error_wrapper.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/routes/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/routes/routes.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/rpc_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/rpc_service.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/rpc/types.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/types.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/utils/services_transforms_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/server/utils/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/content_management/tsconfig.json (93%) rename src/{plugins => platform/plugins/shared}/files/README.md (100%) rename src/{plugins => platform/plugins/shared}/files/common/api_routes.ts (100%) rename src/{plugins => platform/plugins/shared}/files/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/files/common/default_image_file_kind.ts (100%) rename src/{plugins => platform/plugins/shared}/files/common/file_kinds_registry/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/common/files_client.ts (100%) rename src/{plugins => platform/plugins/shared}/files/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/common/types.ts (100%) rename src/{plugins => platform/plugins/shared}/files/docs/tutorial.mdx (100%) rename src/{plugins/content_management => platform/plugins/shared/files}/jest.config.js (75%) rename src/{plugins => platform/plugins/shared}/files/jest.integration.config.js (85%) rename src/{plugins => platform/plugins/shared}/files/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/files/public/files_client/files_client.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/public/files_client/files_client.ts (100%) rename src/{plugins => platform/plugins/shared}/files/public/files_client/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/files/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/files/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/audit_events.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/blob_storage_service/adapters/README.md (100%) rename src/{plugins => platform/plugins/shared}/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/blob_storage_service/adapters/es/content_stream/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/blob_storage_service/adapters/es/es.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/blob_storage_service/adapters/es/es.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/blob_storage_service/adapters/es/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/blob_storage_service/adapters/es/integration_tests/es.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/blob_storage_service/adapters/es/mappings.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/blob_storage_service/adapters/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/blob_storage_service/blob_storage_service.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/blob_storage_service/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/blob_storage_service/types.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/feature.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file/errors.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file/file.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file/file.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file/file_attributes_reducer.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file/to_json.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/create_es_file_client.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/create_es_file_client.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/file_client.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/file_metadata_client/adapters/es_index.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/file_metadata_client/adapters/es_index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/file_metadata_client/adapters/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/file_metadata_client/adapters/query_filters.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/file_metadata_client/adapters/saved_objects.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/file_metadata_client/file_metadata_client.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/file_metadata_client/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/integration_tests/es_file_client.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/stream_transforms/file_hash_transform/file_hash_transform.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/stream_transforms/file_hash_transform/file_hash_transform.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/stream_transforms/file_hash_transform/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/stream_transforms/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/stream_transforms/max_byte_size_transform/errors.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/stream_transforms/max_byte_size_transform/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/types.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_client/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_service/errors.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_service/file_action_types.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_service/file_service.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_service/file_service_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_service/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_service/internal_file_service.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_share_service/errors.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_share_service/generate_share_token.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_share_service/generate_share_token.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_share_service/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_share_service/internal_file_share_service.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/file_share_service/types.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/integration_tests/README.md (100%) rename src/{plugins => platform/plugins/shared}/files/server/integration_tests/file_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/performance/event_names.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/performance/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/performance/report_performance.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/api_routes.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/bulk_delete.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/common.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/common.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/common_schemas.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/create.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/delete.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/download.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/enhance_router.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/get_by_id.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/helpers.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/integration_tests/file_kind_http.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/list.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/share/get.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/share/list.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/share/share.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/share/unshare.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/types.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/update.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/upload.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/file_kind/upload.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/find.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/integration_tests/routes.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/metrics.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/public_facing/download.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/test_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/routes/types.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/saved_objects/file.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/saved_objects/file_share.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/saved_objects/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/test_utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/test_utils/setup_integration_environment.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/types.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/usage/counters.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/usage/index.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/usage/integration_tests/usage.test.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/usage/register_usage_collector.ts (100%) rename src/{plugins => platform/plugins/shared}/files/server/usage/schema.ts (100%) rename src/{plugins => platform/plugins/shared}/files/tsconfig.json (95%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/.i18nrc.json (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/README.md (89%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/assets/panel_bg_bottom.svg (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/assets/panel_bg_bottom_dark.svg (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/assets/panel_bg_top.svg (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/assets/panel_bg_top_dark.svg (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/assets/well_done_animated.gif (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/assets/well_done_animated_dark.gif (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/common/types.ts (100%) create mode 100644 src/platform/plugins/shared/guided_onboarding/jest.config.js rename src/{plugins => platform/plugins/shared}/guided_onboarding/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/get_step_location.test.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/get_step_location.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/guide_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/guide_button_popover.tsx (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/guide_panel.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/guide_panel.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/guide_panel.tsx (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_body.tsx (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_footer.tsx (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_header.tsx (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/guide_panel_flyout/guide_progress.tsx (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/guide_panel_flyout/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/guide_panel_step.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/guide_panel_step.tsx (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/components/quit_guide_modal.tsx (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/plugin.tsx (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/services/api.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/services/api.service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/services/api.service.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/services/config.service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/services/config.service.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/services/helpers.test.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/services/helpers.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/config.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/feature.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/helpers/guide_state_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/helpers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/helpers/plugin_state_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/helpers/plugin_state_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/routes/config_routes.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/routes/guide_state_routes.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/routes/index.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/routes/plugin_state_routes.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/saved_objects/guided_setup.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/saved_objects/index.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/server/types.ts (100%) rename src/{plugins => platform/plugins/shared}/guided_onboarding/tsconfig.json (92%) rename src/{plugins => platform/plugins/shared}/home/.storybook/main.ts (84%) rename src/{plugins => platform/plugins/shared}/home/.storybook/manager.ts (96%) rename src/{plugins => platform/plugins/shared}/home/README.md (90%) rename src/{plugins => platform/plugins/shared}/home/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/home/common/instruction_variant.ts (100%) rename src/{plugins/saved_objects_tagging_oss => platform/plugins/shared/home}/jest.config.js (75%) rename src/{plugins => platform/plugins/shared}/home/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/application.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/__snapshots__/home.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/__snapshots__/recently_accessed.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/__snapshots__/synopsis.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/__snapshots__/welcome.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/_add_data.scss (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/_index.scss (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/_manage_data.scss (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/_solutions_section.scss (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/_welcome.scss (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/add_data/__snapshots__/add_data.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/add_data/add_data.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/add_data/add_data.tsx (100%) rename src/{plugins/kibana_overview/public => platform/plugins/shared/home/public/application}/components/add_data/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/app_navigation_handler.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/guided_onboarding/getting_started.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/guided_onboarding/getting_started.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/guided_onboarding/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/home.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/home.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/home_app.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/manage_data/__snapshots__/manage_data.test.tsx.snap (100%) rename src/{plugins/kibana_overview/public => platform/plugins/shared/home/public/application}/components/manage_data/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/manage_data/manage_data.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/manage_data/manage_data.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/move_data/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/move_data/move_data.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/move_data/move_data.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/recently_accessed.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/recently_accessed.test.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/sample_data/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/solutions_section/__snapshots__/solution_panel.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/solutions_section/__snapshots__/solutions_section.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/solutions_section/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/solutions_section/solution_panel.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/solutions_section/solution_panel.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/solutions_section/solutions_section.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/solutions_section/solutions_section.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/synopsis.js (100%) rename src/{plugins/kibana_overview/public/components/synopsis => platform/plugins/shared/home/public/application/components}/synopsis.test.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/__snapshots__/content.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/__snapshots__/footer.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/__snapshots__/instruction_set.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/__snapshots__/introduction.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/__snapshots__/tutorial.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/_tutorial.scss (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/content.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/content.test.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/footer.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/footer.test.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/instruction.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/instruction_set.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/instruction_set.test.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/introduction.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/introduction.test.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/number_parameter.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/parameter_form.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/replace_template_strings.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/saved_objects_installer.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/saved_objects_installer.test.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/status_check_states.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/string_parameter.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/tutorial.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial/tutorial.test.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/tutorial_directory.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/welcome.test.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/welcome.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/components/welcome.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/index.scss (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/kibana_services.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/load_tutorials.js (100%) rename src/{plugins => platform/plugins/shared}/home/public/application/sample_data_client.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/activemq_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/apache_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/apache_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/auditbeat/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/auditd_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/aws_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/aws_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/azure_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/azure_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/cisco_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/cockroachdb_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/common/illustration_integrations_darkmode.png (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/common/illustration_integrations_lightmode.png (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/consul_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/coredns_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/coredns_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/couchdb_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/crowdstrike_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/docker_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/envoyproxy_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/googlecloud_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/googlecloud_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/haproxy_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/ibmmq_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/ibmmq_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/icinga_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/iis_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/iis_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/iptables_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/kafka_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/kubernetes_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/activemq.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/barracuda.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/checkpoint.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/cisco.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/cockroachdb.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/consul.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/coredns.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/couchdb.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/crowdstrike.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/cylance.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/envoyproxy.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/f5.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/fortinet.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/ibmmq.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/icinga.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/iis.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/infoblox.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/juniper.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/linux.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/microsoft.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/misp.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/mssql.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/munin.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/nats.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/netscout.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/o365.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/okta.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/openmetrics.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/oracle.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/osquery.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/paloalto.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/rabbitmq.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/radware.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/sonicwall.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/sophos.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/stan.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/statsd.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/suricata.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/system.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/tomcat.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/traefik.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/ubiquiti.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/uwsgi.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/vsphere.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/zeek.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/zookeeper.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logos/zscaler.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/logstash_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/microsoft_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/misp_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/mongodb_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/mongodb_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/mssql_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/mysql_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/mysql_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/nats_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/nats_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/nginx_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/nginx_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/o365_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/okta_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/osquery_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/panw_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/postgresql_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/rabbitmq_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/redis_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/redis_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/redisenterprise_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/sample_data_resources/ecommerce/dashboard.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/sample_data_resources/ecommerce/dashboard_dark.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/sample_data_resources/ecommerce/icon.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/sample_data_resources/flights/dashboard.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/sample_data_resources/flights/dashboard_dark.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/sample_data_resources/flights/icon.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/sample_data_resources/logs/dashboard.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/sample_data_resources/logs/dashboard_dark.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/sample_data_resources/logs/icon.svg (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/santa_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/solution_logos/kubernetes.png (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/solution_logos/kubernetes_dark.png (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/solution_logos/observability.png (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/solution_logos/observability_dark.png (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/solution_logos/search.png (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/solution_logos/search_dark.png (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/solution_logos/security.png (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/solution_logos/security_dark.png (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/stan_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/suricata_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/system_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/system_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/traefik_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/uptime_monitors/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/uwsgi_metrics/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/welcome_graphic_dark_2x.png (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/welcome_graphic_light_2x.png (100%) rename src/{plugins => platform/plugins/shared}/home/public/assets/zeek_logs/screenshot.webp (100%) rename src/{plugins => platform/plugins/shared}/home/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/plugin.test.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/add_data/add_data_service.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/add_data/add_data_service.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/add_data/add_data_service.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/add_data/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/environment/environment.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/environment/environment.test.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/environment/environment.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/environment/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/feature_catalogue/feature_catalogue_registry.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/feature_catalogue/feature_catalogue_registry.test.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/feature_catalogue/feature_catalogue_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/feature_catalogue/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/tutorials/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/tutorials/tutorial_service.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/tutorials/tutorial_service.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/tutorials/tutorial_service.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/welcome/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/welcome/welcome_service.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/welcome/welcome_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/home/public/services/welcome/welcome_service.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/capabilities_provider.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/config.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/plugin.test.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/routes/fetch_es_hits_status.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/routes/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/saved_objects/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/saved_objects/sample_data_telemetry.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/ecommerce/ecommerce.json.gz (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/ecommerce/field_mappings.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/ecommerce/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/flights/field_mappings.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/flights/flights.json.gz (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/flights/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/flights/saved_objects.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/logs/field_mappings.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/logs/index.ts (94%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/logs/logs.json.gz (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/logs/saved_objects.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/logs_tsdb/field_mappings.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/logs_tsdb/index.ts (95%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/logs_tsdb/logs.json.gz (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/data_sets/logs_tsdb/saved_objects.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/errors.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/lib/create_index_name.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/lib/find_sample_objects.test.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/lib/find_sample_objects.test.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/lib/find_sample_objects.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/lib/insert_data_into_index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/lib/load_data.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/lib/register_with_integrations.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/lib/sample_dataset_registry_types.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/lib/sample_dataset_schema.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/lib/translate_timestamp.test.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/lib/translate_timestamp.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/lib/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/routes/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/routes/install.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/routes/list.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/routes/uninstall.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/routes/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/sample_data_installer.test.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/sample_data_installer.test.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/sample_data_installer.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/sample_data_registry.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/sample_data_registry.test.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/sample_data_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/usage/collector.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/usage/collector_fetch.test.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/usage/collector_fetch.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/usage/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/sample_data/usage/usage.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/tutorials/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/tutorials/lib/tutorial_schema.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/tutorials/lib/tutorials_registry_types.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/tutorials/tutorials_registry.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/tutorials/tutorials_registry.test.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/services/tutorials/tutorials_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/activemq_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/activemq_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/aerospike_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/apache_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/apache_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/auditbeat/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/auditd_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/aws_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/aws_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/azure_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/azure_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/barracuda_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/bluecoat_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/cef_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/ceph_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/checkpoint_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/cisco_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/cockroachdb_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/consul_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/coredns_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/coredns_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/couchbase_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/couchdb_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/crowdstrike_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/cylance_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/docker_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/dropwizard_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/elasticsearch_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/elasticsearch_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/envoyproxy_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/envoyproxy_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/etcd_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/f5_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/fortinet_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/gcp_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/gcp_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/golang_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/gsuite_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/haproxy_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/haproxy_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/ibmmq_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/ibmmq_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/icinga_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/iis_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/iis_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/imperva_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/infoblox_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/instructions/auditbeat_instructions.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/instructions/cloud_instructions.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/instructions/filebeat_instructions.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/instructions/get_space_id_for_beats_tutorial.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/instructions/heartbeat_instructions.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/instructions/logstash_instructions.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/instructions/metricbeat_instructions.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/instructions/onprem_cloud_instructions.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/instructions/param_types.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/instructions/winlogbeat_instructions.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/iptables_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/juniper_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/kafka_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/kafka_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/kibana_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/kibana_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/kubernetes_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/logstash_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/logstash_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/memcached_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/microsoft_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/misp_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/mongodb_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/mongodb_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/mssql_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/mssql_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/munin_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/mysql_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/mysql_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/nats_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/nats_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/netflow_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/netscout_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/nginx_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/nginx_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/o365_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/okta_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/openmetrics_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/oracle_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/osquery_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/panw_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/php_fpm_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/postgresql_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/postgresql_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/prometheus_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/rabbitmq_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/rabbitmq_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/radware_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/redis_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/redis_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/redisenterprise_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/register.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/santa_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/sonicwall_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/sophos_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/stan_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/statsd_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/suricata_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/system_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/system_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/tomcat_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/traefik_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/traefik_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/uptime_monitors/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/uwsgi_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/vsphere_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/windows_event_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/windows_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/zeek_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/zookeeper_metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/server/tutorials/zscaler_logs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/home/tsconfig.json (95%) rename src/{plugins => platform/plugins/shared}/kibana_react/.storybook/main.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/.storybook/manager.ts (87%) rename src/{plugins => platform/plugins/shared}/kibana_react/README.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/common/eui_styled_components.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/common/index.ts (100%) rename src/{plugins/image_embeddable => platform/plugins/shared/kibana_react}/jest.config.js (66%) rename src/{plugins => platform/plugins/shared}/kibana_react/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/assets/elastic_agent_card.svg (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/assets/illustration_cloud_migration.png (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/assets/illustration_integrations_darkmode.svg (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/assets/illustration_integrations_lightmode.svg (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/assets/solutions_enterprise_search.svg (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/assets/solutions_kibana.svg (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/assets/solutions_observability.svg (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/assets/solutions_security_solution.svg (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/assets/texture.svg (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/context/context.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/context/context.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/context/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/context/types.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/dark_mode/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/dark_mode/use_dark_mode.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/dark_mode/use_dark_mode.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/markdown/__snapshots__/markdown.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/markdown/_markdown.scss (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/markdown/index.scss (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/markdown/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/markdown/markdown.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/markdown/markdown.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/markdown/markdown_simple.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/notifications/create_notifications.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/notifications/create_notifications.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/notifications/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/notifications/types.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/overlays/create_react_overlays.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/overlays/create_react_overlays.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/overlays/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/overlays/types.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/overview_page/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/overview_page/overview_page_actions/__snapshots__/overview_page_actions.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/overview_page/overview_page_actions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/overview_page/overview_page_actions/overview_page_actions.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/overview_page/overview_page_actions/overview_page_actions.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/overview_page/overview_page_footer/__snapshots__/overview_page_footer.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/overview_page/overview_page_footer/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/overview_page/overview_page_footer/overview_page_footer.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/overview_page/overview_page_footer/overview_page_footer.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/__snapshots__/no_data_page.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/action_cards/action_cards.scss (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/action_cards/action_cards.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/action_cards/action_cards.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/action_cards/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/no_data_card/__snapshots__/elastic_agent_card.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/no_data_card/__snapshots__/no_data_card.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/no_data_card/elastic_agent_card.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/no_data_card/elastic_agent_card.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/no_data_card/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/no_data_card/no_data_card.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/no_data_card/no_data_card.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/no_data_page.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/no_data_page.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/no_data_page_body/__snapshots__/no_data_page_body.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/no_data_page_body/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/no_data_page_body/no_data_page_body.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/no_data_page/no_data_page_body/no_data_page_body.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/solution_nav/__snapshots__/solution_nav.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/solution_nav/__snapshots__/solution_nav_avatar.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/solution_nav/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/solution_nav/solution_nav.scss (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/solution_nav/solution_nav.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/solution_nav/solution_nav.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/solution_nav/solution_nav_avatar.scss (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/solution_nav/solution_nav_avatar.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/solution_nav/solution_nav_avatar.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/solution_nav/solution_nav_collapse_button.scss (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/solution_nav/solution_nav_collapse_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/util/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/page_template/util/presentation.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/react_router_navigate/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/react_router_navigate/react_router_navigate.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/theme.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/ui_settings/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/ui_settings/use_ui_setting.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/ui_settings/use_ui_setting.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/url_template_editor/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/url_template_editor/styles.scss (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/url_template_editor/url_template_editor.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/url_template_editor/url_template_editor.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/use_execution_context/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/use_execution_context/use_execution_context.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/util/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/validated_range/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/validated_range/is_range_valid.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/validated_range/is_range_valid.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/public/validated_range/validated_dual_range.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_react/tsconfig.json (89%) rename src/{plugins => platform/plugins/shared}/kibana_utils/.eslintrc.json (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/README.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/abort_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/abort_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/calculate_object_hash.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/calculate_object_hash.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/create_getter_setter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/create_getter_setter.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/defer.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/defer.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/distinct_until_changed_with_initial_value.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/distinct_until_changed_with_initial_value.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/errors/errors.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/errors/errors.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/errors/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/errors/types.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/field_wildcard.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/field_wildcard.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/now.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/of.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/of.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/persistable_state/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/persistable_state/merge_migration_function_map.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/persistable_state/merge_migration_function_map.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/persistable_state/migrate_to_latest.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/persistable_state/migrate_to_latest.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/persistable_state/types.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_containers/README.md (62%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_containers/create_state_container.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_containers/create_state_container.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_containers/create_state_container_react_helpers.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_containers/create_state_container_react_helpers.ts (97%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_containers/index.ts (93%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_containers/types.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_management/encode_state.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_management/format.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_management/format.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_management/parse.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_management/parse.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_management/set_state_to_kbn_url.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_management/set_state_to_kbn_url.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_management/state_hash.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/state_management/state_hash.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/url/encode_uri_query.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/url/encode_uri_query.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/common/url/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/demos/demos.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/demos/state_containers/counter.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/demos/state_containers/todomvc.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/demos/state_sync/url.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_containers/README.md (85%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_containers/creation.md (87%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_containers/no_react.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_containers/react.md (93%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_containers/react/connect.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_containers/react/context.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_containers/react/use_container.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_containers/react/use_selector.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_containers/react/use_state.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_containers/react/use_transitions.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_containers/redux.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_containers/transitions.md (95%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_sync/README.md (95%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_sync/data_plugin_helpers.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_sync/empty_or_incomplete_incoming_state.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_sync/error_handling.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_sync/initial_state.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_sync/no_state_containers.md (92%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_sync/on_fly_state_migrations.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_sync/storages/README.md (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_sync/storages/kbn_url_storage.md (99%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_sync/storages/session_storage.md (94%) rename src/{plugins => platform/plugins/shared}/kibana_utils/docs/state_sync/sync_states.md (93%) create mode 100644 src/platform/plugins/shared/kibana_utils/jest.config.js rename src/{plugins => platform/plugins/shared}/kibana_utils/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/core/create_start_service_getter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/core/create_start_service_getter.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/core/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/history/get_query_params.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/history/get_query_params.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/history/history_observable.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/history/history_observable.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/history/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/history/redirect_when_missing.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/history/remove_query_param.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/history/remove_query_param.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/index.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/render_complete/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/render_complete/render_complete_dispatcher.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/render_complete/render_complete_listener.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/resize_checker/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/resize_checker/resize_checker.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/resize_checker/resize_checker.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/state_encoder/encode_decode_state.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/state_encoder/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/state_hash/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/state_hash/state_hash.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/url/errors.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/url/errors.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/url/hash_unhash_url.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/url/hash_unhash_url.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/url/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/url/kbn_url_storage.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/url/kbn_url_storage.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/url/kbn_url_tracker.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/url/kbn_url_tracker.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/url/url_tracker.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/url/url_tracker.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/utils/diff_object.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_management/utils/diff_object.ts (100%) create mode 100644 src/platform/plugins/shared/kibana_utils/public/state_sync/README.md rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_sync/index.ts (87%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_sync/state_sync.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_sync/state_sync.ts (97%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_sync/state_sync_state_storage/create_kbn_url_state_storage.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_sync/state_sync_state_storage/create_kbn_url_state_storage.ts (95%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_sync/state_sync_state_storage/create_session_storage_state_storage.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_sync/state_sync_state_storage/create_session_storage_state_storage.ts (81%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_sync/state_sync_state_storage/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_sync/state_sync_state_storage/types.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/state_sync/types.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/storage/hashed_item_store/hashed_item_store.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/storage/hashed_item_store/hashed_item_store.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/storage/hashed_item_store/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/storage/hashed_item_store/mock.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/storage/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/storage/storage.test.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/storage/storage.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/storage/types.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/theme/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/theme/kibana_theme_provider.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/theme/kibana_theme_provider.tsx (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/ui/configurable.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/public/ui/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/server/report_server_error.ts (100%) rename src/{plugins => platform/plugins/shared}/kibana_utils/tsconfig.json (88%) rename src/{plugins => platform/plugins/shared}/navigation/README.md (100%) rename src/{plugins => platform/plugins/shared}/navigation/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/navigation/common/index.ts (100%) rename src/{plugins/files => platform/plugins/shared/navigation}/jest.config.js (73%) rename src/{plugins => platform/plugins/shared}/navigation/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/analytics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/analytics/register_event_types.ts (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/index.scss (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/mocks.tsx (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/plugin.tsx (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/side_navigation/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/side_navigation/side_navigation.tsx (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/top_nav_menu/__snapshots__/top_nav_menu.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/top_nav_menu/__snapshots__/top_nav_menu_item.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/top_nav_menu/_index.scss (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/top_nav_menu/create_top_nav_menu.tsx (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/top_nav_menu/index.ts (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/top_nav_menu/top_nav_menu.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/top_nav_menu/top_nav_menu.tsx (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/top_nav_menu/top_nav_menu_badges.tsx (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/top_nav_menu/top_nav_menu_data.tsx (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/top_nav_menu/top_nav_menu_extensions_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/top_nav_menu/top_nav_menu_item.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/top_nav_menu/top_nav_menu_item.tsx (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/top_nav_menu/top_nav_menu_items.tsx (100%) rename src/{plugins => platform/plugins/shared}/navigation/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/navigation/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/navigation/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/navigation/server/types.ts (100%) rename src/{plugins => platform/plugins/shared}/navigation/server/ui_settings.test.ts (100%) rename src/{plugins => platform/plugins/shared}/navigation/server/ui_settings.ts (100%) rename src/{plugins => platform/plugins/shared}/navigation/tsconfig.json (93%) rename src/{plugins => platform/plugins/shared}/saved_objects/README.md (100%) create mode 100644 src/platform/plugins/shared/saved_objects/jest.config.js rename src/{plugins => platform/plugins/shared}/saved_objects/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/index.scss (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/kibana_services.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/save_modal/__snapshots__/saved_object_save_modal.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/save_modal/_index.scss (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/save_modal/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/save_modal/saved_object_save_modal.scss (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/save_modal/saved_object_save_modal.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/save_modal/saved_object_save_modal.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/save_modal/show_saved_object_save_modal.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/saved_object/helpers/save_saved_object.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/saved_object/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects/public/types.ts (100%) create mode 100644 src/platform/plugins/shared/saved_objects/tsconfig.json rename src/{plugins => platform/plugins/shared}/saved_objects_tagging_oss/README.md (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_tagging_oss/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_tagging_oss/common/types.ts (100%) create mode 100644 src/platform/plugins/shared/saved_objects_tagging_oss/jest.config.js rename src/{plugins => platform/plugins/shared}/saved_objects_tagging_oss/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_tagging_oss/public/api.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_tagging_oss/public/api.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_tagging_oss/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_tagging_oss/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_tagging_oss/public/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_tagging_oss/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_tagging_oss/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_tagging_oss/tsconfig.json (80%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/README.md (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/common/context.test.ts (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/common/context.ts (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/common/mode.ts (100%) create mode 100644 src/platform/plugins/shared/screenshot_mode/jest.config.js rename src/{plugins => platform/plugins/shared}/screenshot_mode/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/public/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/server/is_screenshot_mode.test.ts (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/server/is_screenshot_mode.ts (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/server/types.ts (100%) rename src/{plugins => platform/plugins/shared}/screenshot_mode/tsconfig.json (83%) rename src/{plugins => platform/plugins/shared}/share/README.mdx (100%) rename src/{plugins => platform/plugins/shared}/share/common/anonymous_access/index.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/anonymous_access/index.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/anonymous_access/types.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/short_url_routes.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/__tests__/locators.test.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/__tests__/setup.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/index.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/README.md (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/index.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/legacy_short_url_locator.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/locator.test.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/locator.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/locator_client.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/redirect/format_search_params.test.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/redirect/format_search_params.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/redirect/index.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/redirect/parse_search_params.test.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/redirect/parse_search_params.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/redirect/space_url_parser.test.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/redirect/space_url_parser.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/redirect/types.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/short_url_assert_valid.test.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/short_url_assert_valid.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/short_url_redirect_locator.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/types.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/locators/use_locator_url.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/short_urls/index.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/short_urls/types.ts (100%) rename src/{plugins => platform/plugins/shared}/share/common/url_service/url_service.ts (100%) rename src/{plugins/guided_onboarding => platform/plugins/shared/share}/jest.config.js (75%) rename src/{plugins => platform/plugins/shared}/share/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/__snapshots__/share_context_menu.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/_index.scss (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/_share_context_menu.scss (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/context/index.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/context/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/share_context_menu.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/share_context_menu.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/share_tabs.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/share_tabs.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/tabs/embed/embed_content.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/tabs/embed/embed_content.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/tabs/embed/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/tabs/export/export_content.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/tabs/export/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/tabs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/tabs/link/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/tabs/link/link_content.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/tabs/link/link_content.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/components/url_panel_content.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/index.scss (100%) rename src/{plugins => platform/plugins/shared}/share/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/kibana_url.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/lib/download_as.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/lib/get_home_href.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/lib/registrations.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/plugin.test.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/services/share_menu_manager.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/services/share_menu_manager.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/services/share_menu_registry.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/services/share_menu_registry.test.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/services/share_menu_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/url_service/index.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/url_service/redirect/README.md (100%) rename src/{plugins => platform/plugins/shared}/share/public/url_service/redirect/components/empty_prompt.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/url_service/redirect/components/page.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/url_service/redirect/components/spinner.tsx (100%) rename src/{plugins => platform/plugins/shared}/share/public/url_service/redirect/index.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/url_service/redirect/redirect_manager.test.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/url_service/redirect/redirect_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/url_service/redirect/render.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/url_service/short_urls/short_url_client.test.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/url_service/short_urls/short_url_client.ts (100%) rename src/{plugins => platform/plugins/shared}/share/public/url_service/short_urls/short_url_client_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/config.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/error.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/http/register_url_service_routes.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/http/short_urls/register_create_route.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/http/short_urls/register_delete_route.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/http/short_urls/register_get_route.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/http/short_urls/register_goto_route.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/http/short_urls/register_resolve_route.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/index.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/saved_objects/register_url_service_saved_object_type.test.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/short_urls/index.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/short_urls/short_url_client.test.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/short_urls/short_url_client.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/short_urls/short_url_client_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/short_urls/storage/memory_short_url_storage.test.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/short_urls/storage/memory_short_url_storage.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/short_urls/storage/saved_object_short_url_storage.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/short_urls/types.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/short_urls/util.test.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/short_urls/util.ts (100%) rename src/{plugins => platform/plugins/shared}/share/server/url_service/types.ts (100%) rename src/{plugins => platform/plugins/shared}/share/tsconfig.json (94%) rename src/{plugins => platform/plugins/shared}/ui_actions/README.asciidoc (100%) rename src/{plugins/home => platform/plugins/shared/ui_actions}/jest.config.js (73%) rename src/{plugins => platform/plugins/shared}/ui_actions/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/actions/action.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/actions/action.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/actions/action_internal.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/actions/action_internal.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/actions/create_action.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/actions/incompatible_action_error.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/actions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/context_menu/build_eui_context_menu_panels.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/context_menu/build_eui_context_menu_panels.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/context_menu/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/context_menu/open_context_menu.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/context_menu/open_context_menu.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/service/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/service/ui_actions_execution_service.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/service/ui_actions_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/service/ui_actions_service.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/services.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/tests/README.md (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/tests/execute_trigger_actions.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/tests/get_trigger_actions.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/tests/get_trigger_compatible_actions.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/tests/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/tests/test_samples/hello_world_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/tests/test_samples/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/triggers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/triggers/trigger_contract.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/triggers/trigger_internal.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions/tsconfig.json (89%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/.storybook/main.js (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/README.md (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/common/types.ts (100%) create mode 100644 src/platform/plugins/shared/ui_actions_enhanced/jest.config.js rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/action_factory_picker/action_factory_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/action_factory_picker/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/action_wizard/action_wizard.scss (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/action_wizard/action_wizard.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/action_wizard/action_wizard.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/action_wizard/action_wizard.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/action_wizard/i18n.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/action_wizard/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/action_wizard/test_data.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/presentable_picker/i18n.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/presentable_picker/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/presentable_picker/presentable_picker_item.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/components/presentable_picker/styles.scss (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_definition.ts (98%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/README.md (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/action_factory.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/button_submit.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/i18n.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/i18n.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/drilldown_template_table.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/i18n.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/i18n.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/text_with_icon.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/trigger_line_item.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker_item.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/types.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/action_factory_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/action_factory_view.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/context.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/create_drilldown_form.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/cloning_notification.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/drilldown_list.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/create_public_drilldown_manager.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_content.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_with_provider.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/drilldown_manager_footer.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/drilldown_manager_title.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/drilldown_state_form.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/edit_drilldown_form.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/create_drilldown_form.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/edit_drilldown_form.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/form_drilldown_wizard.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/i18n.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/hello_bar.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/tabs.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/i18n.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_list.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/hooks/use_sync_observable.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_state.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/i18n.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/drilldown_manager/types.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/README.md (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/i18n.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.scss (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/lazy.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.story.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_options.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/i18n.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/handlebars.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/url_drilldown_global_scope.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/dynamic_actions/action_factory.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/dynamic_actions/action_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/dynamic_actions/action_factory_definition.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/dynamic_actions/dynamic_action_enhancement.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/dynamic_actions/dynamic_action_grouping.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager_state.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/dynamic_actions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/dynamic_actions/types.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/services/ui_actions_service_enhancements.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/server/dynamic_action_enhancement.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.test.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/server/telemetry/get_metric_key.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/server/types.ts (100%) rename src/{plugins => platform/plugins/shared}/ui_actions_enhanced/tsconfig.json (87%) delete mode 100644 src/plugins/kibana_overview/jest.config.js delete mode 100644 src/plugins/kibana_react/jest.config.js delete mode 100644 src/plugins/kibana_utils/public/state_sync/README.md delete mode 100644 src/plugins/navigation/jest.config.js delete mode 100644 src/plugins/no_data_page/jest.config.js delete mode 100644 src/plugins/saved_objects/jest.config.js delete mode 100644 src/plugins/saved_objects/tsconfig.json delete mode 100644 src/plugins/screenshot_mode/jest.config.js delete mode 100644 src/plugins/share/jest.config.js delete mode 100644 src/plugins/ui_actions/jest.config.js delete mode 100644 src/plugins/ui_actions_enhanced/jest.config.js rename x-pack/{plugins => platform/plugins/private}/banners/README.md (100%) rename x-pack/{plugins => platform/plugins/private}/banners/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/common/types.ts (100%) rename x-pack/{plugins/global_search => platform/plugins/private/banners}/jest.config.js (55%) rename x-pack/{plugins => platform/plugins/private}/banners/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/banners/public/components/banner.scss (100%) rename x-pack/{plugins => platform/plugins/private}/banners/public/components/banner.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/banners/public/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/public/get_banner_info.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/public/get_banner_info.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/public/plugin.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/public/plugin.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/banners/public/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/banners/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/server/plugin.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/server/routes/info.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/server/ui_settings.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/server/ui_settings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/server/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/server/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/banners/tsconfig.json (83%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/README.md (100%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/architecture_diagram.png (100%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/server/routes/info.ts (100%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/server/ui_settings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/custom_branding/tsconfig.json (91%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/README.md (100%) rename x-pack/{plugins/saved_objects_tagging => platform/plugins/private/global_search_bar}/jest.config.js (54%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/assets/illustration_product_no_search_results_dark.svg (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/assets/illustration_product_no_search_results_light.svg (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/components/popover_footer.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/components/popover_placeholder.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/components/result_tag_list.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/components/search_bar.scss (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/components/search_bar.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/components/search_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/components/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/lib/result_to_option.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/lib/result_to_option.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/lib/suggestion_to_option.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/search_syntax/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/search_syntax/parse_search_params.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/search_syntax/parse_search_params.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/search_syntax/query_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/search_syntax/query_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/search_syntax/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/strings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/suggestions/get_suggestions.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/suggestions/get_suggestions.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/suggestions/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/telemetry/event_reporter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/telemetry/event_types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/telemetry/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/telemetry/telemetry.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_bar/tsconfig.json (91%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/README.md (100%) create mode 100644 x-pack/platform/plugins/private/global_search_providers/jest.config.js rename x-pack/{plugins => platform/plugins/private}/global_search_providers/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/public/providers/application.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/public/providers/application.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/public/providers/application.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/public/providers/get_app_results.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/public/providers/get_app_results.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/public/providers/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/server/providers/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/server/providers/saved_objects/get_searchable_types.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/server/providers/saved_objects/get_searchable_types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/server/providers/saved_objects/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/server/providers/saved_objects/map_object_to_result.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/server/providers/saved_objects/map_object_to_result.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/server/providers/saved_objects/provider.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/server/providers/saved_objects/provider.ts (100%) rename x-pack/{plugins => platform/plugins/private}/global_search_providers/tsconfig.json (73%) create mode 100644 x-pack/platform/plugins/private/reporting/.gitignore rename x-pack/{plugins => platform/plugins/private}/reporting/README.md (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/common/errors/map_to_reporting_error.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/common/errors/map_to_reporting_error.ts (97%) rename x-pack/{plugins => platform/plugins/private}/reporting/common/job_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/common/poller.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/common/test/fixtures.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/common/test/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/common/test/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/jest.config.js (54%) rename x-pack/{plugins => platform/plugins/private}/reporting/jest.integration.config.js (76%) rename x-pack/{plugins => platform/plugins/private}/reporting/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/lib/__snapshots__/stream_handler.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/lib/default_status_context.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/lib/ilm_policy_status_context.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/lib/job.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/lib/job_queue_client.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/lib/stream_handler.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/lib/stream_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/__test__/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/__test__/report_listing.test.helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/ilm_policy_link.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/inspect_in_console_button/get_console_text_pit.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/inspect_in_console_button/get_console_text_scroll.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/inspect_in_console_button/inspect_in_console_button.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/migrate_ilm_policy_callout/ilm_policy_migration_needed_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/migrate_ilm_policy_callout/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/report_delete_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/report_delete_button.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/report_diagnostic.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/report_diagnostic.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/report_info_button.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/report_info_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/report_info_flyout_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/components/report_status_indicator.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/default/report_listing_default.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/mount_management_section.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/report_listing.scss (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/report_listing.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/report_listing.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/report_listing_table.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/stateful/report_listing_stateful.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/management/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/notifier/general_error.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/notifier/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/notifier/job_download_button.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/notifier/job_failure.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/notifier/job_success.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/notifier/job_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/notifier/job_warning_formulas.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/notifier/job_warning_max_size.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/notifier/report_link.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/redirect/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/redirect/mount_redirect_app.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/redirect/redirect_app.scss (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/redirect/redirect_app.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/shared_i18n_texts.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/shared_imports.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/config/create_config.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/config/create_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/config/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/config/ui_settings.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/config/ui_settings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/core.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/deprecations/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/deprecations/migrate_existing_indices_ilm_policy.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/deprecations/migrate_existing_indices_ilm_policy.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/features.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/check_params_version.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/content_stream.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/content_stream.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/deprecations/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/deprecations/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/event_logger/adapter.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/event_logger/adapter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/event_logger/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/event_logger/logger.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/event_logger/logger.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/event_logger/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/export_types_registry.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/passthrough_stream.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/passthrough_stream.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/store/ilm_policy_manager/ilm_policy_manager.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/store/ilm_policy_manager/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/store/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/store/report.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/store/report.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/store/runtime_fields.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/store/saved_report.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/store/saved_report.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/store/store.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/store/store.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/tasks/error_logger.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/tasks/error_logger.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/tasks/execute_report.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/tasks/execute_report.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/tasks/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/lib/trace.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/mocks/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/authorized_user_pre_routing.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/authorized_user_pre_routing.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/generate/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/generate/request_handler.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/generate/request_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/get_counter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/get_user.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/jobs/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/jobs/get_document_payload.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/jobs/get_document_payload.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/jobs/get_job_routes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/jobs/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/jobs/job_management_pre_routing.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/jobs/job_management_pre_routing.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/jobs/jobs_query.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/common/jobs/jobs_query.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/internal/deprecations/deprecations.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/internal/deprecations/integration_tests/deprecations.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/internal/diagnostic/browser.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/internal/diagnostic/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/internal/diagnostic/integration_tests/browser.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/internal/generate/generate_from_jobparams.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/internal/generate/integration_tests/generation_from_jobparams.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/internal/management/integration_tests/jobs.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/internal/management/jobs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/public/generate_from_jobparams.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/public/integration_tests/generation_from_jobparams.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/public/integration_tests/jobs.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/routes/public/jobs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/test_helpers/create_mock_reportingplugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/test_helpers/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/usage/collection_schema.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/usage/collection_schema.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/usage/event_tracker.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/usage/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/usage/register_event_types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/usage/reporting_usage_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/server/usage/reporting_usage_collector.ts (100%) rename x-pack/{plugins => platform/plugins/private}/reporting/tsconfig.json (95%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/README.md (85%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/common/assignments.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/common/capabilities.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/common/capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/common/http_api_types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/common/references.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/common/references.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/common/test_utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/common/validation.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/common/validation.ts (100%) create mode 100644 x-pack/platform/plugins/private/saved_objects_tagging/jest.config.js rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/assign_flyout.scss (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/assign_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/components/action_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/components/footer.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/components/header.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/components/result_list.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/components/search_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/open_assign_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/assign_flyout/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/base/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/base/tag_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/base/tag_list.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/base/tag_searchbar_option.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/base/tag_selector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/base/tag_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/connected/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/connected/saved_object_save_modal_tag_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/connected/tag_list.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/connected/tag_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/edition_modal/create_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/edition_modal/create_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/edition_modal/create_or_edit_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/edition_modal/edit_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/edition_modal/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/edition_modal/open_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/edition_modal/use_validation.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/edition_modal/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/actions/assign.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/actions/delete.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/actions/edit.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/actions/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/actions/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/bulk_actions/bulk_assign.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/bulk_actions/bulk_delete.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/bulk_actions/bulk_delete.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/bulk_actions/clear_selection.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/bulk_actions/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/bulk_actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/components/_action_bar.scss (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/components/action_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/components/header.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/components/table.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/mount_section.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/tag_management_page.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/utils/get_tag_connections_url.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/utils/get_tag_connections_url.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/management/utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/services/assignments/assignment_service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/services/assignments/assignment_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/services/assignments/assignment_service.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/services/assignments/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/services/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/services/tags/errors.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/services/tags/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/services/tags/tags_cache.mock.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/services/tags/tags_cache.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/services/tags/tags_cache.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/services/tags/tags_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/services/tags/tags_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/services/tags/tags_client.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/ui_api/components.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/ui_api/convert_name_to_reference.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/ui_api/get_search_bar_filter.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/ui_api/get_search_bar_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/ui_api/get_table_column_definition.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/ui_api/get_table_column_definition.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/ui_api/get_tag_list.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/ui_api/get_tag_list.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/ui_api/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/ui_api/parse_search_query.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/ui_api/parse_search_query.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/public/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/features.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/plugin.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/request_handler_context.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/assignments/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/internal/bulk_delete.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/internal/find_tags.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/internal/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/lib/get_connection_count.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/tags/create_tag.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/tags/delete_tag.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/tags/get_all_tags.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/tags/get_tag.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/tags/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/routes/tags/update_tag.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/saved_objects/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/saved_objects/tag.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/assignments/assignment_service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/assignments/assignment_service.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/assignments/assignment_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/assignments/assignment_service.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/assignments/errors.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/assignments/errors.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/assignments/get_updatable_types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/assignments/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/assignments/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/assignments/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/tags/errors.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/tags/errors.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/tags/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/tags/tags_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/tags/tags_client.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/tags/tags_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/tags/tags_client.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/tags/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/tags/validate_tag.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/tags/validate_tag.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/services/tags/validate_tag.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/usage/fetch_tag_usage_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/usage/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/usage/schema.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/usage/schema.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/usage/tag_usage_collector.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/server/usage/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/saved_objects_tagging/tsconfig.json (93%) rename x-pack/{plugins => platform/plugins/shared}/global_search/README.md (93%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/errors.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/license_checker.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/license_checker.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/license_checker.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/operators/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/operators/take_in_array.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/operators/take_in_array.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/process_result.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/process_result.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/process_result.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/common/utils.ts (100%) create mode 100644 x-pack/platform/plugins/shared/global_search/jest.config.js rename x-pack/{plugins => platform/plugins/shared}/global_search/jest.integration.config.js (76%) rename x-pack/{plugins => platform/plugins/shared}/global_search/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/services/fetch_server_results.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/services/fetch_server_results.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/services/fetch_server_searchable_types.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/services/fetch_server_searchable_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/services/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/services/search_service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/services/search_service.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/services/search_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/services/search_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/services/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/services/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/services/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/plugin.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/routes/find.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/routes/get_searchable_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/routes/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/routes/integration_tests/find.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/routes/integration_tests/get_searchable_types.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/services/context.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/services/context.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/services/context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/services/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/services/search_service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/services/search_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/services/search_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/services/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/services/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/global_search/tsconfig.json (82%) rename x-pack/{plugins => platform/plugins/shared}/notifications/README.mdx (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/jest.config.js (51%) rename x-pack/{plugins => platform/plugins/shared}/notifications/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/config/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/config/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/services/connectors_email_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/services/connectors_email_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/services/connectors_email_service_provider.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/services/connectors_email_service_provider.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/services/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/services/licensed_email_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/services/licensed_email_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/services/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/notifications/tsconfig.json (90%) rename x-pack/{plugins => platform/plugins/shared}/serverless/README.mdx (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/assets/diagram.png (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/common/index.ts (100%) rename x-pack/{plugins/global_search_providers => platform/plugins/shared/serverless}/jest.config.js (55%) rename x-pack/{plugins => platform/plugins/shared}/serverless/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/package.json (61%) rename x-pack/{plugins => platform/plugins/shared}/serverless/public/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/public/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/public/navigation/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/public/navigation/nav_cards.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/public/navigation/navigation.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/public/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/serverless/tsconfig.json (93%) delete mode 100644 x-pack/plugins/banners/jest.config.js delete mode 100644 x-pack/plugins/global_search_bar/jest.config.js delete mode 100644 x-pack/plugins/reporting/server/config/index.test.ts delete mode 100644 x-pack/plugins/reporting/server/deprecations/__snapshots__/reporting_role.test.ts.snap delete mode 100644 x-pack/plugins/reporting/server/deprecations/reporting_role.test.ts delete mode 100644 x-pack/plugins/reporting/server/deprecations/reporting_role.ts delete mode 100644 x-pack/plugins/reporting/server/routes/internal/generate/csv_searchsource_immediate.ts delete mode 100644 x-pack/plugins/serverless/jest.config.js diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 13d08e3db8b9c..414e4665cd56c 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -326,10 +326,10 @@ const getPipeline = (filename: string, removeSteps = true) => { /^src\/platform\/plugins\/shared\/discover/, /^src\/platform\/plugins\/shared\/field_formats/, /^src\/platform\/plugins\/shared\/inspector/, - /^src\/plugins\/kibana_react/, - /^src\/plugins\/kibana_utils/, + /^src\/platform\/plugins\/shared\/kibana_react/, + /^src\/platform\/plugins\/shared\/kibana_utils/, /^src\/platform\/plugins\/shared\/saved_search/, - /^src\/plugins\/ui_actions/, + /^src\/platform\/plugins\/shared\/ui_actions/, /^src\/platform\/plugins\/shared\/unified_histogram/, /^src\/plugins\/unified_search/, /^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant/, diff --git a/.eslintignore b/.eslintignore index 6a11ccb600e93..fab79102ef935 100644 --- a/.eslintignore +++ b/.eslintignore @@ -25,8 +25,8 @@ snapshots.js /x-pack/platform/plugins/private/canvas/canvas_plugin /x-pack/platform/plugins/private/canvas/shareable_runtime/build /x-pack/platform/plugins/private/canvas/storybook/build -/x-pack/plugins/reporting/server/export_types/printable_pdf/server/lib/pdf/assets/** -/x-pack/plugins/reporting/server/export_types/printable_pdf_v2/server/lib/pdf/assets/** +/x-pack/platform/plugins/private/reporting/server/export_types/printable_pdf/server/lib/pdf/assets/** +/x-pack/platform/plugins/private/reporting/server/export_types/printable_pdf_v2/server/lib/pdf/assets/** /x-pack/plugins/cloud_integrations/cloud_full_story/server/assets/** # package overrides diff --git a/.eslintrc.js b/.eslintrc.js index 1a86c39e44c88..262179be1ba25 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -283,14 +283,14 @@ module.exports = { * Temporarily disable some react rules for specific plugins, remove in separate PRs */ { - files: ['src/plugins/kibana_react/**/*.{js,mjs,ts,tsx}'], + files: ['src/platform/plugins/shared/kibana_react/**/*.{js,mjs,ts,tsx}'], rules: { 'react-hooks/rules-of-hooks': 'off', 'react-hooks/exhaustive-deps': 'off', }, }, { - files: ['src/plugins/kibana_utils/**/*.{js,mjs,ts,tsx}'], + files: ['src/platform/plugins/shared/kibana_utils/**/*.{js,mjs,ts,tsx}'], rules: { 'react-hooks/exhaustive-deps': 'off', }, @@ -1926,7 +1926,7 @@ module.exports = { 'src/core/**', 'x-pack/plugins/features/**', 'x-pack/plugins/licensing/**', - 'x-pack/plugins/global_search/**', + 'x-pack/platform/plugins/shared/global_search/**', 'x-pack/plugins/cloud/**', 'packages/kbn-config-schema', 'src/plugins/status_page/**', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e8a72269aa04a..ae2cf896c7a63 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -995,11 +995,93 @@ src/platform/packages/private/kbn-ui-shared-deps-src @elastic/kibana-operations src/platform/packages/shared/kbn-ui-theme @elastic/kibana-operations src/platform/packages/shared/kbn-unified-data-table @elastic/kibana-data-discovery @elastic/security-threat-hunting-investigations src/platform/packages/shared/kbn-unified-doc-viewer @elastic/kibana-data-discovery -examples/unified_doc_viewer @elastic/kibana-core +src/platform/packages/shared/kbn-unified-field-list @elastic/kibana-data-discovery +src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management +src/platform/packages/shared/kbn-utility-types-jest @elastic/kibana-operations +src/platform/packages/shared/kbn-utils @elastic/kibana-operations +src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team +src/platform/packages/shared/kbn-zod-helpers @elastic/security-detection-rule-management +src/platform/packages/shared/presentation/presentation_containers @elastic/kibana-presentation +src/platform/packages/shared/presentation/presentation_publishing @elastic/kibana-presentation +src/platform/packages/shared/response-ops/rule_params @elastic/response-ops +src/platform/packages/shared/serverless/settings/search_project @elastic/search-kibana @elastic/kibana-management +src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management +src/platform/plugins/private/advanced_settings @elastic/appex-sharedux @elastic/kibana-management +src/platform/plugins/private/files_management @elastic/appex-sharedux +src/platform/plugins/private/image_embeddable @elastic/appex-sharedux +src/platform/plugins/private/input_control_vis @elastic/kibana-presentation +src/platform/plugins/private/kibana_overview @elastic/appex-sharedux +src/platform/plugins/private/links @elastic/kibana-presentation +src/platform/plugins/private/maps_ems @elastic/kibana-presentation +src/platform/plugins/private/no_data_page @elastic/appex-sharedux +src/platform/plugins/private/presentation_panel @elastic/kibana-presentation +src/platform/plugins/private/vis_type_markdown @elastic/kibana-presentation +src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant +src/platform/plugins/shared/console @elastic/kibana-management +src/platform/plugins/shared/content_management @elastic/appex-sharedux +src/platform/plugins/shared/controls @elastic/kibana-presentation +src/platform/plugins/shared/custom_integrations @elastic/fleet +src/platform/plugins/shared/dashboard @elastic/kibana-presentation +src/platform/plugins/shared/data_view_editor @elastic/kibana-data-discovery +src/platform/plugins/shared/data_view_field_editor @elastic/kibana-data-discovery +src/platform/plugins/shared/data_view_management @elastic/kibana-data-discovery +src/platform/plugins/shared/data_views @elastic/kibana-data-discovery +src/platform/plugins/shared/dev_tools @elastic/kibana-management +src/platform/plugins/shared/discover @elastic/kibana-data-discovery +src/platform/plugins/shared/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team +src/platform/plugins/shared/embeddable @elastic/kibana-presentation +src/platform/plugins/shared/es_ui_shared @elastic/kibana-management +src/platform/plugins/shared/esql @elastic/kibana-esql +src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql +src/platform/plugins/shared/expression_error @elastic/kibana-presentation +src/platform/plugins/shared/expression_image @elastic/kibana-presentation +src/platform/plugins/shared/expression_metric @elastic/kibana-presentation +src/platform/plugins/shared/expression_repeat_image @elastic/kibana-presentation +src/platform/plugins/shared/expression_reveal_image @elastic/kibana-presentation +src/platform/plugins/shared/expression_shape @elastic/kibana-presentation +src/platform/plugins/shared/field_formats @elastic/kibana-data-discovery +src/platform/plugins/shared/files @elastic/appex-sharedux +src/platform/plugins/shared/guided_onboarding @elastic/appex-sharedux +src/platform/plugins/shared/home @elastic/appex-sharedux +src/platform/plugins/shared/inspector @elastic/kibana-presentation +src/platform/plugins/shared/kibana_react @elastic/appex-sharedux +src/platform/plugins/shared/kibana_utils @elastic/appex-sharedux +src/platform/plugins/shared/management @elastic/kibana-management +src/platform/plugins/shared/navigation @elastic/appex-sharedux +src/platform/plugins/shared/presentation_util @elastic/kibana-presentation +src/platform/plugins/shared/saved_objects @elastic/appex-sharedux +src/platform/plugins/shared/saved_objects_finder @elastic/kibana-data-discovery +src/platform/plugins/shared/saved_objects_tagging_oss @elastic/appex-sharedux +src/platform/plugins/shared/saved_search @elastic/kibana-data-discovery +src/platform/plugins/shared/screenshot_mode @elastic/appex-sharedux +src/platform/plugins/shared/share @elastic/appex-sharedux +src/platform/plugins/shared/ui_actions @elastic/appex-sharedux +src/platform/plugins/shared/ui_actions_enhanced @elastic/appex-sharedux src/platform/plugins/shared/unified_doc_viewer @elastic/kibana-data-discovery src/platform/packages/shared/kbn-unified-field-list @elastic/kibana-data-discovery examples/unified_field_list_examples @elastic/kibana-data-discovery src/platform/plugins/shared/unified_histogram @elastic/kibana-data-discovery +src/plugins/chart_expressions/common @elastic/kibana-visualizations +src/plugins/chart_expressions/expression_gauge @elastic/kibana-visualizations +src/plugins/chart_expressions/expression_heatmap @elastic/kibana-visualizations +src/plugins/chart_expressions/expression_legacy_metric @elastic/kibana-visualizations +src/plugins/chart_expressions/expression_metric @elastic/kibana-visualizations +src/plugins/chart_expressions/expression_partition_vis @elastic/kibana-visualizations +src/plugins/chart_expressions/expression_tagcloud @elastic/kibana-visualizations +src/plugins/chart_expressions/expression_xy @elastic/kibana-visualizations +src/plugins/charts @elastic/kibana-visualizations +src/plugins/data @elastic/kibana-visualizations @elastic/kibana-data-discovery +src/plugins/event_annotation @elastic/kibana-visualizations +src/plugins/event_annotation_listing @elastic/kibana-visualizations +src/plugins/expressions @elastic/kibana-visualizations +src/plugins/ftr_apis @elastic/kibana-core +src/plugins/interactive_setup @elastic/kibana-security +src/plugins/kibana_usage_collection @elastic/kibana-core +src/plugins/newsfeed @elastic/kibana-core +src/plugins/saved_objects_management @elastic/kibana-core +src/plugins/telemetry @elastic/kibana-core +src/plugins/telemetry_collection_manager @elastic/kibana-core +src/plugins/telemetry_management_section @elastic/kibana-core src/plugins/unified_search @elastic/kibana-visualizations src/platform/packages/private/kbn-unsaved-changes-badge @elastic/kibana-data-discovery src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management @@ -1035,7 +1117,356 @@ src/plugins/vis_types/xy @elastic/kibana-visualizations packages/kbn-visualization-ui-components @elastic/kibana-visualizations packages/kbn-visualization-utils @elastic/kibana-visualizations src/plugins/visualizations @elastic/kibana-visualizations +test +test/analytics/plugins/analytics_ftr_helpers @elastic/kibana-core +test/analytics/plugins/analytics_plugin_a @elastic/kibana-core +test/common/plugins/newsfeed @elastic/kibana-core +test/common/plugins/otel_metrics @elastic/obs-ux-infra_services-team +test/health_gateway/plugins/status @elastic/kibana-core +test/interactive_setup_api_integration/plugins/test_endpoints @elastic/kibana-security +test/interpreter_functional/plugins/kbn_tp_run_pipeline @elastic/kibana-core +test/node_roles_functional/plugins/core_plugin_initializer_context @elastic/kibana-core +test/plugin_functional/plugins/app_link_test @elastic/kibana-core +test/plugin_functional/plugins/core_app_status @elastic/kibana-core +test/plugin_functional/plugins/core_dynamic_resolving_a @elastic/kibana-core +test/plugin_functional/plugins/core_dynamic_resolving_b @elastic/kibana-core +test/plugin_functional/plugins/core_history_block @elastic/kibana-core +test/plugin_functional/plugins/core_http @elastic/kibana-core +test/plugin_functional/plugins/core_plugin_a @elastic/kibana-core +test/plugin_functional/plugins/core_plugin_appleave @elastic/kibana-core +test/plugin_functional/plugins/core_plugin_b @elastic/kibana-core +test/plugin_functional/plugins/core_plugin_chromeless @elastic/kibana-core +test/plugin_functional/plugins/core_plugin_deep_links @elastic/kibana-core +test/plugin_functional/plugins/core_plugin_deprecations @elastic/kibana-core +test/plugin_functional/plugins/core_plugin_execution_context @elastic/kibana-core +test/plugin_functional/plugins/core_plugin_helpmenu @elastic/kibana-core +test/plugin_functional/plugins/core_plugin_route_timeouts @elastic/kibana-core +test/plugin_functional/plugins/core_plugin_static_assets @elastic/kibana-core +test/plugin_functional/plugins/core_provider_plugin @elastic/kibana-core +test/plugin_functional/plugins/data_search @elastic/kibana-data-discovery +test/plugin_functional/plugins/elasticsearch_client_plugin @elastic/kibana-core +test/plugin_functional/plugins/eui_provider_dev_warning @elastic/appex-sharedux +test/plugin_functional/plugins/hardening @elastic/kibana-security +test/plugin_functional/plugins/index_patterns @elastic/kibana-data-discovery +test/plugin_functional/plugins/kbn_sample_panel_action @elastic/appex-sharedux +test/plugin_functional/plugins/kbn_top_nav @elastic/kibana-core +test/plugin_functional/plugins/kbn_tp_custom_visualizations @elastic/kibana-visualizations +test/plugin_functional/plugins/management_test_plugin @elastic/kibana-management +test/plugin_functional/plugins/rendering_plugin @elastic/kibana-core +test/plugin_functional/plugins/saved_object_export_transforms @elastic/kibana-core +test/plugin_functional/plugins/saved_object_import_warnings @elastic/kibana-core +test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type @elastic/kibana-core +test/plugin_functional/plugins/saved_objects_hidden_type @elastic/kibana-core +test/plugin_functional/plugins/session_notifications @elastic/kibana-core +test/plugin_functional/plugins/telemetry @elastic/kibana-core +test/plugin_functional/plugins/ui_settings_plugin @elastic/kibana-core +test/plugin_functional/plugins/usage_collection @elastic/kibana-core +test/server_integration/plugins/status_plugin_a @elastic/kibana-core +test/server_integration/plugins/status_plugin_b @elastic/kibana-core +x-pack/examples/alerting_example @elastic/response-ops +x-pack/examples/embedded_lens_example @elastic/kibana-visualizations +x-pack/examples/exploratory_view_example @elastic/obs-ux-infra_services-team +x-pack/examples/gen_ai_streaming_response_example @elastic/response-ops +x-pack/examples/lens_config_builder_example @elastic/kibana-visualizations +x-pack/examples/lens_embeddable_inline_editing_example @elastic/kibana-visualizations +x-pack/examples/screenshotting_example @elastic/appex-sharedux +x-pack/examples/testing_embedded_lens @elastic/kibana-visualizations +x-pack/examples/third_party_lens_navigation_prompt @elastic/kibana-visualizations +x-pack/examples/third_party_maps_source_example @elastic/kibana-presentation +x-pack/examples/third_party_vis_lens_example @elastic/kibana-visualizations +x-pack/examples/triggers_actions_ui_example @elastic/response-ops +x-pack/examples/ui_actions_enhanced_examples @elastic/appex-sharedux +x-pack/packages/ai-infra/product-doc-artifact-builder @elastic/appex-ai-infra +x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations +x-pack/packages/kbn-streams-schema @elastic/streams-program-team +x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team +x-pack/packages/security/api_key_management @elastic/kibana-security +x-pack/packages/security/authorization_core @elastic/kibana-security +x-pack/packages/security/authorization_core_common @elastic/kibana-security +x-pack/packages/security/form_components @elastic/kibana-security +x-pack/packages/security/plugin_types_common @elastic/kibana-security +x-pack/packages/security/plugin_types_public @elastic/kibana-security +x-pack/packages/security/plugin_types_server @elastic/kibana-security +x-pack/packages/security/role_management_model @elastic/kibana-security +x-pack/packages/security/ui_components @elastic/kibana-security +x-pack/performance @elastic/appex-qa +x-pack/platform/packages/private/kbn-alerting-state-types @elastic/response-ops +x-pack/platform/packages/private/kbn-infra-forge @elastic/obs-ux-management-team +x-pack/platform/packages/private/maps/vector_tile_utils @elastic/kibana-presentation +x-pack/platform/packages/private/ml/agg_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/aiops_change_point_detection @elastic/ml-ui +x-pack/platform/packages/private/ml/aiops_components @elastic/ml-ui +x-pack/platform/packages/private/ml/aiops_test_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/cancellable_search @elastic/ml-ui +x-pack/platform/packages/private/ml/category_validator @elastic/ml-ui +x-pack/platform/packages/private/ml/creation_wizard_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/data_frame_analytics_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/data_grid @elastic/ml-ui +x-pack/platform/packages/private/ml/data_view_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/date_picker @elastic/ml-ui +x-pack/platform/packages/private/ml/date_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/field_stats_flyout @elastic/ml-ui +x-pack/platform/packages/private/ml/in_memory_table @elastic/ml-ui +x-pack/platform/packages/private/ml/inference_integration_flyout @elastic/ml-ui +x-pack/platform/packages/private/ml/is_defined @elastic/ml-ui +x-pack/platform/packages/private/ml/is_populated_object @elastic/ml-ui +x-pack/platform/packages/private/ml/json_schemas @elastic/ml-ui +x-pack/platform/packages/private/ml/kibana_theme @elastic/ml-ui +x-pack/platform/packages/private/ml/local_storage @elastic/ml-ui +x-pack/platform/packages/private/ml/nested_property @elastic/ml-ui +x-pack/platform/packages/private/ml/number_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/parse_interval @elastic/ml-ui +x-pack/platform/packages/private/ml/query_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/route_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/string_hash @elastic/ml-ui +x-pack/platform/packages/private/ml/time_buckets @elastic/ml-ui +x-pack/platform/packages/private/ml/ui_actions @elastic/ml-ui +x-pack/platform/packages/private/ml/url_state @elastic/ml-ui +x-pack/platform/packages/private/ml/validators @elastic/ml-ui +x-pack/platform/packages/private/rollup @elastic/kibana-management +x-pack/platform/packages/shared/ai-assistant/common @elastic/search-kibana +x-pack/platform/packages/shared/ai-assistant/icon @elastic/appex-sharedux +x-pack/platform/packages/shared/ai-infra/inference-common @elastic/appex-ai-infra +x-pack/platform/packages/shared/ai-infra/product-doc-common @elastic/appex-ai-infra +x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared @elastic/kibana-management +x-pack/platform/packages/shared/index-management/index_management_shared_types @elastic/kibana-management +x-pack/platform/packages/shared/kbn-ai-assistant @elastic/search-kibana +x-pack/platform/packages/shared/kbn-alerting-comparators @elastic/response-ops +x-pack/platform/packages/shared/kbn-cloud-security-posture/common @elastic/kibana-cloud-security-posture +x-pack/platform/packages/shared/kbn-data-forge @elastic/obs-ux-management-team +x-pack/platform/packages/shared/kbn-elastic-assistant @elastic/security-generative-ai +x-pack/platform/packages/shared/kbn-elastic-assistant-common @elastic/security-generative-ai +x-pack/platform/packages/shared/kbn-entities-schema @elastic/obs-entities +x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common @elastic/response-ops @elastic/appex-ai-infra @elastic/obs-ai-assistant @elastic/security-generative-ai +x-pack/platform/packages/shared/kbn-langchain @elastic/security-generative-ai +x-pack/platform/packages/shared/kbn-slo-schema @elastic/obs-ux-management-team +x-pack/platform/packages/shared/ml/aiops_common @elastic/ml-ui +x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis @elastic/ml-ui +x-pack/platform/packages/shared/ml/aiops_log_rate_analysis @elastic/ml-ui +x-pack/platform/packages/shared/ml/anomaly_utils @elastic/ml-ui +x-pack/platform/packages/shared/ml/chi2test @elastic/ml-ui +x-pack/platform/packages/shared/ml/error_utils @elastic/ml-ui +x-pack/platform/packages/shared/ml/random_sampler_utils @elastic/ml-ui +x-pack/platform/packages/shared/ml/response_stream @elastic/ml-ui +x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui +x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui +x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team +x-pack/platform/packages/shared/observability/logs_overview @elastic/obs-ux-logs-team +x-pack/platform/plugins/private/banners @elastic/appex-sharedux +x-pack/platform/plugins/private/canvas @elastic/kibana-presentation +x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration @elastic/kibana-management +x-pack/platform/plugins/private/cross_cluster_replication @elastic/kibana-management +x-pack/platform/plugins/private/custom_branding @elastic/appex-sharedux +x-pack/platform/plugins/private/data_usage @elastic/obs-ai-assistant @elastic/security-solution +x-pack/platform/plugins/private/data_visualizer @elastic/ml-ui +x-pack/platform/plugins/private/discover_enhanced @elastic/kibana-data-discovery +x-pack/platform/plugins/private/file_upload @elastic/kibana-presentation @elastic/ml-ui +x-pack/platform/plugins/private/global_search_bar @elastic/appex-sharedux +x-pack/platform/plugins/private/global_search_providers @elastic/appex-sharedux +x-pack/platform/plugins/private/grokdebugger @elastic/kibana-management +x-pack/platform/plugins/private/index_lifecycle_management @elastic/kibana-management +x-pack/platform/plugins/private/license_api_guard @elastic/kibana-management +x-pack/platform/plugins/private/logstash @elastic/logstash +x-pack/platform/plugins/private/monitoring @elastic/stack-monitoring +x-pack/platform/plugins/private/monitoring_collection @elastic/stack-monitoring +x-pack/platform/plugins/private/painless_lab @elastic/kibana-management +x-pack/platform/plugins/private/remote_clusters @elastic/kibana-management +x-pack/platform/plugins/private/reporting @elastic/appex-sharedux +x-pack/platform/plugins/private/rollup @elastic/kibana-management +x-pack/platform/plugins/private/runtime_fields @elastic/kibana-management +x-pack/platform/plugins/private/saved_objects_tagging @elastic/appex-sharedux +x-pack/platform/plugins/private/snapshot_restore @elastic/kibana-management +x-pack/platform/plugins/private/transform @elastic/ml-ui +x-pack/platform/plugins/private/translations @elastic/kibana-localization x-pack/platform/plugins/private/watcher @elastic/kibana-management +x-pack/platform/plugins/shared/actions @elastic/response-ops +x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra +x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra +x-pack/platform/plugins/shared/aiops @elastic/ml-ui +x-pack/platform/plugins/shared/alerting @elastic/response-ops +x-pack/platform/plugins/shared/cases @elastic/response-ops +x-pack/platform/plugins/shared/dashboard_enhanced @elastic/kibana-presentation +x-pack/platform/plugins/shared/data_quality @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/dataset_quality @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/embeddable_enhanced @elastic/kibana-presentation +x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities +x-pack/platform/plugins/shared/event_log @elastic/response-ops +x-pack/platform/plugins/shared/fields_metadata @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/fleet @elastic/fleet +x-pack/platform/plugins/shared/global_search @elastic/appex-sharedux +x-pack/platform/plugins/shared/index_management @elastic/kibana-management +x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra +x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management +x-pack/platform/plugins/shared/integration_assistant @elastic/security-scalability +x-pack/platform/plugins/shared/license_management @elastic/kibana-management +x-pack/platform/plugins/shared/logs_data_access @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/logs_shared @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/maps @elastic/kibana-presentation +x-pack/platform/plugins/shared/ml @elastic/ml-ui +x-pack/platform/plugins/shared/notifications @elastic/appex-sharedux +x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant @elastic/obs-ai-assistant +x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows +x-pack/platform/plugins/shared/rule_registry @elastic/response-ops @elastic/obs-ux-management-team +x-pack/platform/plugins/shared/screenshotting @elastic/kibana-reporting-services +x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management +x-pack/platform/plugins/shared/serverless @elastic/appex-sharedux +x-pack/platform/plugins/shared/stack_alerts @elastic/response-ops +x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops +x-pack/platform/plugins/shared/task_manager @elastic/response-ops +x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops +x-pack/plugins/cloud @elastic/kibana-core +x-pack/plugins/cloud_integrations/cloud_chat @elastic/kibana-core +x-pack/plugins/cloud_integrations/cloud_experiments @elastic/kibana-core +x-pack/plugins/cloud_integrations/cloud_full_story @elastic/kibana-core +x-pack/plugins/cloud_integrations/cloud_links @elastic/kibana-core +x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux +x-pack/plugins/encrypted_saved_objects @elastic/kibana-security +x-pack/plugins/features @elastic/kibana-core +x-pack/plugins/graph @elastic/kibana-visualizations +x-pack/plugins/lens @elastic/kibana-visualizations +x-pack/plugins/licensing @elastic/kibana-core +x-pack/plugins/security @elastic/kibana-security +x-pack/plugins/spaces @elastic/kibana-security +x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core +x-pack/plugins/upgrade_assistant @elastic/kibana-core +x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops +x-pack/solutions/observability/packages/kbn-apm-types @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team +x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/observability_ai/observability_ai_common @elastic/obs-ai-assistant +x-pack/solutions/observability/packages/observability_ai/observability_ai_server @elastic/obs-ai-assistant +x-pack/solutions/observability/packages/synthetics_test_data @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/utils_browser @elastic/observability-ui +x-pack/solutions/observability/packages/utils_common @elastic/observability-ui +x-pack/solutions/observability/packages/utils_server @elastic/observability-ui +x-pack/solutions/observability/plugins/apm @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/apm_data_access @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/apm/ftr_e2e @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/exploratory_view @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/inventory @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/inventory/e2e @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/investigate @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/investigate_app @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/logs_explorer @elastic/obs-ux-logs-team +x-pack/solutions/observability/plugins/metrics_data_access @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/observability @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/observability_ai_assistant_app @elastic/obs-ai-assistant +x-pack/solutions/observability/plugins/observability_ai_assistant_management @elastic/obs-ai-assistant +x-pack/solutions/observability/plugins/observability_logs_explorer @elastic/obs-ux-logs-team +x-pack/solutions/observability/plugins/observability_onboarding @elastic/obs-ux-logs-team +x-pack/solutions/observability/plugins/observability_onboarding/e2e @elastic/obs-ux-logs-team +x-pack/solutions/observability/plugins/observability_shared @elastic/observability-ui +x-pack/solutions/observability/plugins/observability_solution/entities_data_access @elastic/obs-entities +x-pack/solutions/observability/plugins/observability_solution/entity_manager_app @elastic/obs-entities +x-pack/solutions/observability/plugins/profiling @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/profiling_data_access @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/serverless_observability @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/slo @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/streams @elastic/streams-program-team +x-pack/solutions/observability/plugins/streams_app @elastic/streams-program-team +x-pack/solutions/observability/plugins/synthetics @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/synthetics/e2e @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/uptime @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/ux @elastic/obs-ux-management-team +x-pack/solutions/search/packages/kbn-ipynb @elastic/search-kibana +x-pack/solutions/search/packages/kbn-search-api-keys-components @elastic/search-kibana +x-pack/solutions/search/packages/kbn-search-api-keys-server @elastic/search-kibana +x-pack/solutions/search/packages/kbn-search-index-documents @elastic/search-kibana +x-pack/solutions/search/packages/search/shared_ui @elastic/search-kibana +x-pack/solutions/search/plugins/enterprise_search @elastic/search-kibana +x-pack/solutions/search/plugins/search_assistant @elastic/search-kibana +x-pack/solutions/search/plugins/search_connectors @elastic/search-kibana +x-pack/solutions/search/plugins/search_homepage @elastic/search-kibana +x-pack/solutions/search/plugins/search_indices @elastic/search-kibana +x-pack/solutions/search/plugins/search_inference_endpoints @elastic/search-kibana +x-pack/solutions/search/plugins/search_notebooks @elastic/search-kibana +x-pack/solutions/search/plugins/search_playground @elastic/search-kibana +x-pack/solutions/search/plugins/search_solution/search_navigation @elastic/search-kibana +x-pack/solutions/search/plugins/serverless_search @elastic/search-kibana +x-pack/solutions/security/packages/data_table @elastic/security-threat-hunting-investigations +x-pack/solutions/security/packages/data-stream-adapter @elastic/security-threat-hunting +x-pack/solutions/security/packages/distribution_bar @elastic/kibana-cloud-security-posture +x-pack/solutions/security/packages/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore +x-pack/solutions/security/packages/expandable-flyout @elastic/security-threat-hunting-investigations +x-pack/solutions/security/packages/features @elastic/security-threat-hunting-explore +x-pack/solutions/security/packages/index-adapter @elastic/security-threat-hunting +x-pack/solutions/security/packages/kbn-cloud-security-posture/graph @elastic/kibana-cloud-security-posture +x-pack/solutions/security/packages/kbn-cloud-security-posture/public @elastic/kibana-cloud-security-posture +x-pack/solutions/security/packages/kbn-securitysolution-autocomplete @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-hook-utils @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-list-api @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-list-constants @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-list-hooks @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-list-utils @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-lists-common @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-t-grid @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-utils @elastic/security-detection-engine +x-pack/solutions/security/packages/navigation @elastic/security-threat-hunting-explore +x-pack/solutions/security/packages/side_nav @elastic/security-threat-hunting-explore +x-pack/solutions/security/packages/storybook/config @elastic/security-threat-hunting-explore +x-pack/solutions/security/packages/upselling @elastic/security-threat-hunting-explore +x-pack/solutions/security/plugins/asset_inventory @elastic/kibana-cloud-security-posture +x-pack/solutions/security/plugins/cloud_defend @elastic/kibana-cloud-security-posture +x-pack/solutions/security/plugins/cloud_security_posture @elastic/kibana-cloud-security-posture +x-pack/solutions/security/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore +x-pack/solutions/security/plugins/elastic_assistant @elastic/security-generative-ai +x-pack/solutions/security/plugins/kubernetes_security @elastic/kibana-cloud-security-posture +x-pack/solutions/security/plugins/lists @elastic/security-detection-engine +x-pack/solutions/security/plugins/security_solution @elastic/security-solution +x-pack/solutions/security/plugins/security_solution_ess @elastic/security-solution +x-pack/solutions/security/plugins/security_solution_serverless @elastic/security-solution +x-pack/solutions/security/plugins/session_view @elastic/kibana-cloud-security-posture +x-pack/solutions/security/plugins/threat_intelligence @elastic/security-threat-hunting-investigations +x-pack/solutions/security/plugins/timelines @elastic/security-threat-hunting-investigations +x-pack/test +x-pack/test_serverless +x-pack/test/alerting_api_integration/common/plugins/aad @elastic/response-ops +x-pack/test/alerting_api_integration/common/plugins/actions_simulators @elastic/response-ops +x-pack/test/alerting_api_integration/common/plugins/alerts @elastic/response-ops +x-pack/test/alerting_api_integration/common/plugins/alerts_restricted @elastic/response-ops +x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture @elastic/response-ops +x-pack/test/alerting_api_integration/packages/helpers @elastic/response-ops +x-pack/test/api_integration/apis/entity_manager/fixture_plugin @elastic/obs-entities +x-pack/test/cases_api_integration/common/plugins/cases @elastic/response-ops +x-pack/test/cases_api_integration/common/plugins/observability @elastic/response-ops +x-pack/test/cases_api_integration/common/plugins/security_solution @elastic/response-ops +x-pack/test/cloud_integration/plugins/saml_provider @elastic/kibana-core +x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin @elastic/kibana-security +x-pack/test/functional_cors/plugins/kibana_cors_test @elastic/kibana-security +x-pack/test/functional_embedded/plugins/iframe_embedded @elastic/kibana-core +x-pack/test/functional_execution_context/plugins/alerts @elastic/kibana-core +x-pack/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops +x-pack/test/functional_with_es_ssl/plugins/cases @elastic/response-ops +x-pack/test/licensing_plugin/plugins/test_feature_usage @elastic/kibana-security +x-pack/test/plugin_api_integration/plugins/elasticsearch_client @elastic/kibana-core +x-pack/test/plugin_api_integration/plugins/event_log @elastic/response-ops +x-pack/test/plugin_api_integration/plugins/feature_usage_test @elastic/kibana-security +x-pack/test/plugin_api_integration/plugins/sample_task_plugin @elastic/response-ops +x-pack/test/plugin_api_perf/plugins/task_manager_performance @elastic/response-ops +x-pack/test/plugin_functional/plugins/global_search_test @elastic/kibana-core +x-pack/test/plugin_functional/plugins/resolver_test @elastic/security-solution +x-pack/test/saved_object_api_integration/common/plugins/saved_object_test_plugin @elastic/kibana-security +x-pack/test/security_api_integration/packages/helpers @elastic/kibana-security +x-pack/test/security_api_integration/plugins/audit_log @elastic/kibana-security +x-pack/test/security_api_integration/plugins/features_provider @elastic/kibana-security +x-pack/test/security_api_integration/plugins/oidc_provider @elastic/kibana-security +x-pack/test/security_api_integration/plugins/saml_provider @elastic/kibana-security +x-pack/test/security_api_integration/plugins/user_profiles_consumer @elastic/kibana-security +x-pack/test/security_functional/plugins/test_endpoints @elastic/kibana-security +x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin @elastic/kibana-security +x-pack/test/task_manager_claimer_update_by_query/plugins/sample_task_plugin_mget @elastic/response-ops +x-pack/test/ui_capabilities/common/plugins/foo_plugin @elastic/kibana-security +x-pack/test/usage_collection/plugins/application_usage_test @elastic/kibana-core +x-pack/test/usage_collection/plugins/stack_management_usage_test @elastic/kibana-management packages/kbn-web-worker-stub @elastic/kibana-operations packages/kbn-whereis-pkg-cli @elastic/kibana-operations src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team diff --git a/.i18nrc.json b/.i18nrc.json index e18e83dd98f6d..fc7982015573a 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -1,6 +1,6 @@ { "paths": { - "advancedSettings": "src/plugins/advanced_settings", + "advancedSettings": "src/platform/plugins/private/advanced_settings", "aiAssistantManagementSelection": "src/platform/plugins/shared/ai_assistant_management/selection", "alerts": "packages/kbn-alerts/src", "alertsUIShared": "src/platform/packages/shared/kbn-alerts-ui-shared/src", @@ -60,15 +60,15 @@ "eventAnnotationComponents": "packages/kbn-event-annotation-components", "fieldUtils": "src/platform/packages/shared/kbn-field-utils", "fieldFormats": "src/platform/plugins/shared/field_formats", - "files": "src/plugins/files", - "filesManagement": "src/plugins/files_management", + "files": "src/platform/plugins/shared/files", + "filesManagement": "src/platform/plugins/private/files_management", "flot": "packages/kbn-flot-charts/lib", "generateCsv": "packages/kbn-generate-csv", "grouping": "src/platform/packages/shared/kbn-grouping/src", "alertsGrouping": "x-pack/solutions/observability/packages/kbn-alerts-grouping", - "guidedOnboarding": "src/plugins/guided_onboarding", + "guidedOnboarding": "src/platform/plugins/shared/guided_onboarding", "guidedOnboardingPackage": "packages/kbn-guided-onboarding", - "home": "src/plugins/home", + "home": "src/platform/plugins/shared/home", "homePackages": "packages/home", "indexPatternEditor": "src/platform/plugins/shared/data_view_editor", "indexPatternFieldEditor": "src/platform/plugins/shared/data_view_field_editor", @@ -78,15 +78,14 @@ "inspectorViews": "src/legacy/core_plugins/inspector_views", "interactiveSetup": "src/plugins/interactive_setup", "interpreter": "src/legacy/core_plugins/interpreter", - "imageEmbeddable": "src/plugins/image_embeddable", + "imageEmbeddable": "src/platform/plugins/private/image_embeddable", "kbn": "src/legacy/core_plugins/kibana", "kbn-esql-validation-autocomplete": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src", "kbnConfig": "packages/kbn-config/src", "kbnDocViews": "src/legacy/core_plugins/kbn_doc_views", - "kibana_react": "src/legacy/core_plugins/kibana_react", - "kibana_utils": "src/plugins/kibana_utils", - "kibana-react": "src/plugins/kibana_react", - "kibanaOverview": "src/plugins/kibana_overview", + "kibana_utils": "src/platform/plugins/shared/kibana_utils", + "kibana-react": "src/platform/plugins/shared/kibana_react", + "kibanaOverview": "src/platform/plugins/private/kibana_overview", "lensFormulaDocs": "packages/kbn-lens-formula-docs", "lists": "x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src", "exceptionList-components": "x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/src", @@ -97,7 +96,7 @@ "packages/kbn-management" ], "monaco": "packages/kbn-monaco/src", - "navigation": ["src/plugins/navigation", "packages/solution-nav"], + "navigation": ["src/platform/plugins/shared/navigation", "packages/solution-nav"], "links": "src/platform/plugins/private/links", "newsfeed": "src/plugins/newsfeed", "presentationUtil": "src/platform/plugins/shared/presentation_util", @@ -106,13 +105,13 @@ "esqlEditor": "src/platform/packages/private/kbn-esql-editor", "esqlUtils": "src/platform/packages/shared/kbn-esql-utils", "reporting": "packages/kbn-reporting", - "savedObjects": "src/plugins/saved_objects", + "savedObjects": "src/platform/plugins/shared/saved_objects", "savedObjectsFinder": "src/platform/plugins/shared/saved_objects_finder", "savedObjectsManagement": "src/plugins/saved_objects_management", "searchConnectors": "src/platform/packages/shared/kbn-search-connectors", "searchConnectorsPlugin": "x-pack/solutions/search/plugins/search_connectors", "server": "src/legacy/server", - "share": ["src/plugins/share", "packages/kbn-reporting-share"], + "share": ["src/platform/plugins/shared/share", "packages/kbn-reporting-share"], "sharedUXPackages": "packages/shared-ux", "searchApiKeysComponents": "x-pack/solutions/search/packages/kbn-search-api-keys-components", "searchApiPanels": "src/platform/packages/shared/kbn-search-api-panels/", @@ -140,8 +139,8 @@ "telemetry": ["src/plugins/telemetry", "src/plugins/telemetry_management_section"], "timelion": ["src/plugins/vis_types/timelion"], "tryInConsole": "src/platform/packages/shared/kbn-try-in-console/", - "uiActions": ["src/plugins/ui_actions", "packages/kbn-ui-actions-browser"], - "uiActionsEnhanced": "src/plugins/ui_actions_enhanced", + "uiActions": ["src/platform/plugins/shared/ui_actions", "packages/kbn-ui-actions-browser"], + "uiActionsEnhanced": "src/platform/plugins/shared/ui_actions_enhanced", "uiActionsExamples": "examples/ui_action_examples", "usageCollection": "src/plugins/usage_collection", "userProfileComponents": "packages/kbn-user-profile-components", diff --git a/docs/developer/architecture/add-data-tutorials.asciidoc b/docs/developer/architecture/add-data-tutorials.asciidoc index 7a756dd61b18f..256143a900300 100644 --- a/docs/developer/architecture/add-data-tutorials.asciidoc +++ b/docs/developer/architecture/add-data-tutorials.asciidoc @@ -11,10 +11,10 @@ Each tutorial contains three sets of instructions: [discrete] === Creating a new tutorial -1. Create a new directory in the link:https://github.com/elastic/kibana/tree/main/src/plugins/home/server/tutorials[tutorials directory]. +1. Create a new directory in the link:https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/home/server/tutorials[tutorials directory]. 2. In the new directory, create a file called `index.ts` that exports a function. -The function must return a function object that conforms to the `TutorialSchema` interface link:{kib-repo}tree/{branch}/src/plugins/home/server/services/tutorials/lib/tutorial_schema.ts[tutorial schema]. -3. Register the tutorial in link:{kib-repo}tree/{branch}/src/plugins/home/server/tutorials/register.ts[register.ts] by adding it to the `builtInTutorials`. +The function must return a function object that conforms to the `TutorialSchema` interface link:{kib-repo}tree/{branch}/src/platform/plugins/shared/home/server/services/tutorials/lib/tutorial_schema.ts[tutorial schema]. +3. Register the tutorial in link:{kib-repo}tree/{branch}/src/platform/plugins/shared/home/server/tutorials/register.ts[register.ts] by adding it to the `builtInTutorials`. // TODO update path once assets are migrated 4. Add image assets to the `tutorial_resources` directory. 5. Run {kib} locally to preview the tutorial. @@ -28,7 +28,7 @@ Then register the tutorial object by calling `home.tutorials.registerTutorial(tu String values can contain variables that are substituted when rendered. Variables are specified by `{}`. For example: `{config.docs.version}` is rendered as `6.2` when running the tutorial in {kib} 6.2. -link:{kib-repo}tree/{branch}/src/plugins/home/public/application/components/tutorial/replace_template_strings.js[Provided variables] +link:{kib-repo}tree/{branch}/src/platform/plugins/shared/home/public/application/components/tutorial/replace_template_strings.js[Provided variables] [discrete] ==== Markdown diff --git a/docs/developer/architecture/core/elasticsearch-service.asciidoc b/docs/developer/architecture/core/elasticsearch-service.asciidoc index 83a35f30c9b16..0ad4226a1d7aa 100644 --- a/docs/developer/architecture/core/elasticsearch-service.asciidoc +++ b/docs/developer/architecture/core/elasticsearch-service.asciidoc @@ -24,5 +24,5 @@ export class MyPlugin implements Plugin { } ---- -For advanced use-cases, such as a search for specific objects, use the {kib-repo}blob/{branch}/x-pack/plugins/global_search/README.md[Global search plugin]. +For advanced use-cases, such as a search for specific objects, use the {kib-repo}blob/{branch}/x-pack/platform/plugins/shared/global_search/README.md[Global search plugin]. diff --git a/docs/developer/best-practices/index.asciidoc b/docs/developer/best-practices/index.asciidoc index f4c6baab43281..757c7068e0ad6 100644 --- a/docs/developer/best-practices/index.asciidoc +++ b/docs/developer/best-practices/index.asciidoc @@ -82,17 +82,17 @@ right advanced settings like whether to include frozen indices or not. ** Rendering maps, visualizations, dashboards in your application ** Register new widgets that will can be added to a dashboard or Canvas workpad, or rendered in another plugin. -* {kib-repo}tree/{branch}/src/plugins/ui_actions/README.asciidoc[UiActions] +* {kib-repo}tree/{branch}/src/platform/plugins/shared/ui_actions/README.asciidoc[UiActions] ** Let other plugins inject functionality into your application ** Inject custom functionality into other plugins * Stateless helper utilities -* {kib-repo}tree/{branch}/src/plugins/kibana_utils/docs/state_sync/README.md[state +* {kib-repo}tree/{branch}/src/platform/plugins/shared/kibana_utils/docs/state_sync/README.md[state syncing] and -* {kib-repo}tree/{branch}/src/plugins/kibana_utils/docs/state_containers/README.md[state +* {kib-repo}tree/{branch}/src/platform/plugins/shared/kibana_utils/docs/state_containers/README.md[state container] utilities provided by -* {kib-repo}tree/{branch}/src/plugins/kibana_utils/README.md[kibana_utils] +* {kib-repo}tree/{branch}/src/platform/plugins/shared/kibana_utils/README.md[kibana_utils] if you want to sync your application state to the URL? -** {kib-repo}tree/{branch}/src/plugins/kibana_react/README.md[kibana_react] +** {kib-repo}tree/{branch}/src/platform/plugins/shared/kibana_react/README.md[kibana_react] for react specific helpers Re-using these services will help create a consistent experience across diff --git a/docs/developer/best-practices/navigation.asciidoc b/docs/developer/best-practices/navigation.asciidoc index 222a99770bbeb..afb68638524f6 100644 --- a/docs/developer/best-practices/navigation.asciidoc +++ b/docs/developer/best-practices/navigation.asciidoc @@ -47,7 +47,7 @@ console.log(discoverUrl); // http://localhost:5601/bpr/s/space/app/discover const discoverUrlWithSomeState = core.http.basePath.prepend(`/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:'2020-09-10T11:39:50.203Z',to:'2020-09-10T11:40:20.249Z'))&_a=(columns:!(_source),filters:!(),index:'90943e30-9a47-11e8-b64d-95841ca0b247',interval:auto,query:(language:kuery,query:''),sort:!())`); ---- -Instead, each app should expose {kib-repo}tree/{branch}/src/plugins/share/common/url_service/locators/README.md[a locator]. +Instead, each app should expose {kib-repo}tree/{branch}/src/platform/plugins/shared/share/common/url_service/locators/README.md[a locator]. Other apps should use those locators for navigation or URL creation. [source,typescript jsx] @@ -222,7 +222,7 @@ There are utils to help you to implement such kind of state syncing. * Adding a query param flag or simple key/value to the URL. -Follow {kib-repo}tree/{branch}/src/plugins/kibana_utils/docs/state_sync#state-syncing-utilities[these] docs to learn more. +Follow {kib-repo}tree/{branch}/src/platform/plugins/shared/kibana_utils/docs/state_sync#state-syncing-utilities[these] docs to learn more. [[preserve-state]] @@ -246,7 +246,7 @@ you'd notice that state is stored inside that link, and it also gets updated whe image:images/state_inside_the_link.png[State is stored inside the navigation link] This is where <> into `_a` and `_g` query params comes into play. What is considered a *global* state gets constantly updated in those navigation links. In the example above it was a time filter. -This is backed by {kib-repo}tree/{branch}/src/plugins/kibana_utils/public/state_management/url/kbn_url_tracker.ts#L57[KbnUrlTracker] util. You can use it to achieve similar behavior. +This is backed by {kib-repo}tree/{branch}/src/platform/plugins/shared/kibana_utils/public/state_management/url/kbn_url_tracker.ts#L57[KbnUrlTracker] util. You can use it to achieve similar behavior. NOTE: After migrating to KP navigation works without page reloads and all plugins are loaded simultaneously. Hence, likely there are simpler ways to preserve state of your application, unless you want to do it through URL. diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 0877e17e97676..0737e6357002c 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -22,7 +22,7 @@ NOTE: |Description -|{kib-repo}blob/{branch}/src/plugins/advanced_settings/README.md[advancedSettings] +|{kib-repo}blob/{branch}/src/platform/plugins/private/advanced_settings/README.md[advancedSettings] |This plugin registers the management settings application allowing users to configure their advanced settings, also known as uiSettings within the code. @@ -44,7 +44,7 @@ as uiSettings within the code. |Console provides the user with tools for storing and executing requests against Elasticsearch. -|{kib-repo}blob/{branch}/src/plugins/content_management/README.md[contentManagement] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/content_management/README.md[contentManagement] |The content management plugin provides functionality to manage content in Kibana. @@ -200,11 +200,11 @@ for use in their own application. |Index pattern fields formatters -|{kib-repo}blob/{branch}/src/plugins/files/README.md[files] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/files/README.md[files] |The files service provides functionality to manage, retrieve, share files in Kibana. -|{kib-repo}blob/{branch}/src/plugins/files_management/README.md[filesManagement] +|{kib-repo}blob/{branch}/src/platform/plugins/private/files_management/README.md[filesManagement] |Minimal interface for admins to manage files in Kibana. @@ -212,15 +212,15 @@ for use in their own application. |This plugin exposes a set of APIs used internally during functional tests by the FTR. -|{kib-repo}blob/{branch}/src/plugins/guided_onboarding/README.md[guidedOnboarding] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/guided_onboarding/README.md[guidedOnboarding] |This plugin contains the code for the Guided Onboarding project. Guided onboarding consists of guides for Solutions (Enterprise Search, Observability, Security) that can be completed as a checklist of steps. The guides help users to ingest their data and to navigate to the correct Solutions pages. -|{kib-repo}blob/{branch}/src/plugins/home/README.md[home] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/home/README.md[home] |Moves the legacy ui/registry/feature_catalogue module for registering "features" that should be shown in the home page's feature catalogue to a service within a "home" plugin. The feature catalogue refered to here should not be confused with the "feature" plugin for registering features used to derive UI capabilities for feature controls. -|{kib-repo}blob/{branch}/src/plugins/image_embeddable/README.md[imageEmbeddable] +|{kib-repo}blob/{branch}/src/platform/plugins/private/image_embeddable/README.md[imageEmbeddable] |This plugin contains image embeddable. Image embeddable allows to embed images into the dashboard. Images can be added either by URL or by uploading the image file via file service. @@ -238,11 +238,11 @@ in Kibana, e.g. visualizations. It has the form of a flyout panel. |This plugin provides UI and APIs for interactive setup mode a.k.a "enrollment flow". -|{kib-repo}blob/{branch}/src/plugins/kibana_overview/README.md[kibanaOverview] +|{kib-repo}blob/{branch}/src/platform/plugins/private/kibana_overview/README.md[kibanaOverview] |An overview page highlighting Kibana apps -|{kib-repo}blob/{branch}/src/plugins/kibana_react/README.md[kibanaReact] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/kibana_react/README.md[kibanaReact] |Tools for building React applications in Kibana. @@ -250,7 +250,7 @@ in Kibana, e.g. visualizations. It has the form of a flyout panel. |This plugin registers the Platform Usage Collectors in Kibana. -|{kib-repo}blob/{branch}/src/plugins/kibana_utils/README.md[kibanaUtils] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/kibana_utils/README.md[kibanaUtils] |Utilities for building Kibana plugins. @@ -268,7 +268,7 @@ management section itself. |Utility plugin: -|{kib-repo}blob/{branch}/src/plugins/navigation/README.md[navigation] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/navigation/README.md[navigation] |The navigation plugins exports the TopNavMenu component. It also provides a stateful version of it on the start contract. @@ -278,7 +278,7 @@ It also provides a stateful version of it on the start contract. Content is fetched from the remote (https://feeds.elastic.co) once a day, with periodic checks if the content needs to be refreshed. All newsfeed content is hosted remotely. -|{kib-repo}blob/{branch}/src/plugins/no_data_page/README.md[noDataPage] +|{kib-repo}blob/{branch}/src/platform/plugins/private/no_data_page/README.md[noDataPage] |Helps to globally configure the no data page components @@ -290,7 +290,7 @@ Content is fetched from the remote (https://feeds.elastic.co) once a day, with p |The Presentation Utility Plugin is a set of common, shared components and toolkits for solutions within the Presentation space, (e.g. Dashboards, Canvas). -|{kib-repo}blob/{branch}/src/plugins/saved_objects/README.md[savedObjects] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/saved_objects/README.md[savedObjects] |NOTE: This plugin is deprecated and will be removed in 8.0. See https://github.com/elastic/kibana/issues/46435 for more information. @@ -302,7 +302,7 @@ Content is fetched from the remote (https://feeds.elastic.co) once a day, with p |The savedObjectsManagement plugin manages the Saved Objects management section. -|{kib-repo}blob/{branch}/src/plugins/saved_objects_tagging_oss/README.md[savedObjectsTaggingOss] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/saved_objects_tagging_oss/README.md[savedObjectsTaggingOss] |Bridge plugin for consumption of the saved object tagging feature from oss plugins. @@ -312,11 +312,11 @@ oss plugins. This object is created when a user saves their current session in the Discover app. -|{kib-repo}blob/{branch}/src/plugins/screenshot_mode/README.md[screenshotMode] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/screenshot_mode/README.md[screenshotMode] |The service exposed by this plugin informs consumers whether they should optimize for non-interactivity. In this way plugins can avoid loading unnecessary code, data or other services. -|{kib-repo}blob/{branch}/src/plugins/share/README.mdx[share] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/share/README.mdx[share] |The share plugin contains various utilities for displaying sharing context menu, generating deep links to other apps using locators, and creating short URLs. @@ -357,7 +357,7 @@ In general this plugin provides: - Exposing a context menu for the user to choose the appropriate action when there are multiple actions attached to a single trigger. -|{kib-repo}blob/{branch}/src/plugins/ui_actions_enhanced/README.md[uiActionsEnhanced] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/ui_actions_enhanced/README.md[uiActionsEnhanced] |Registers commercially licensed generic actions like per panel time range and contains some code that supports drilldown work. @@ -471,7 +471,7 @@ The plugin exposes the static DefaultEditorController class to consume. |WARNING: Missing README. -|{kib-repo}blob/{branch}/x-pack/plugins/banners/README.md[banners] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/banners/README.md[banners] |Allow to add a header banner that will be displayed on every page of the Kibana application @@ -521,7 +521,7 @@ This plugin no-longer exposes any evaluation APIs. Refer to = { configDir, diff --git a/packages/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.styles.ts b/packages/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.styles.ts index a5bb105424351..8f80d7c7cdf8c 100644 --- a/packages/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.styles.ts +++ b/packages/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.styles.ts @@ -17,7 +17,7 @@ export const fontWeightDefinitions = (euiTheme: UseEuiTheme['euiTheme']) => ({ export const ToolbarButtonStyles = ({ euiTheme }: UseEuiTheme) => { return { default: { - // style declaration carried over from https://github.com/elastic/kibana/blob/v8.10.4/src/plugins/kibana_react/public/toolbar_button/toolbar_button.scss + // style declaration carried over from https://github.com/elastic/kibana/blob/v8.10.4/src/platform/plugins/shared/kibana_react/public/toolbar_button/toolbar_button.scss // informed by issue https://github.com/elastic/eui/issues/4730 borderStyle: 'solid', border: euiTheme.border.thin, diff --git a/src/core/packages/application/browser/src/app_mount.ts b/src/core/packages/application/browser/src/app_mount.ts index 4fb38b10a3704..5db2e3a5bc45a 100644 --- a/src/core/packages/application/browser/src/app_mount.ts +++ b/src/core/packages/application/browser/src/app_mount.ts @@ -217,7 +217,7 @@ export interface AppMountParameters { * import ReactDOM from 'react-dom'; * * import { AppMountParameters } from 'src/core/public'; - * import { wrapWithTheme } from 'src/plugins/kibana_react'; + * import { wrapWithTheme } from 'src/platform/plugins/shared/kibana_react'; * import { MyApp } from './app'; * * export renderApp = ({ element, theme$ }: AppMountParameters) => { diff --git a/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt b/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt index e0ac92a856d05..21bfdc054d654 100644 --- a/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt +++ b/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt @@ -139,25 +139,25 @@ x-pack/plugins/lens/public/indexpattern_datasource/indexpattern.tsx kibana-app x-pack/plugins/lens/public/indexpattern_datasource/indexpattern_suggestions.test.tsx kibana-app x-pack/plugins/lens/public/indexpattern_datasource/indexpattern_suggestions.ts kibana-app x-pack/plugins/lens/public/indexpattern_datasource/layerpanel.test.tsx kibana-app -x-pack/plugins/reporting/server/browsers/download/clean.ts kibana-reporting -x-pack/plugins/reporting/server/browsers/download/download.test.ts kibana-reporting -x-pack/plugins/reporting/server/browsers/download/download.ts kibana-reporting -x-pack/plugins/reporting/server/browsers/download/ensure_downloaded.ts kibana-reporting -x-pack/plugins/reporting/server/browsers/download/index.ts kibana-reporting -x-pack/plugins/reporting/server/browsers/download/util.ts kibana-reporting -x-pack/plugins/reporting/server/browsers/extract/extract.ts kibana-reporting -x-pack/plugins/reporting/server/browsers/extract/extract_error.ts kibana-reporting -x-pack/plugins/reporting/server/browsers/extract/index.ts kibana-reporting -x-pack/plugins/reporting/server/browsers/extract/unzip.ts kibana-reporting -x-pack/plugins/reporting/server/browsers/index.ts kibana-reporting -x-pack/plugins/reporting/server/browsers/install.ts kibana-reporting -x-pack/plugins/reporting/server/browsers/network_policy.test.ts kibana-reporting -x-pack/plugins/reporting/server/browsers/network_policy.ts kibana-reporting -x-pack/plugins/reporting/server/browsers/safe_child_process.ts kibana-reporting -x-pack/plugins/reporting/server/config/config.ts kibana-reporting -x-pack/plugins/reporting/server/config/create_config.test.ts kibana-reporting -x-pack/plugins/reporting/server/config/create_config.ts kibana-reporting -x-pack/plugins/reporting/server/config/default_chromium_sandbox_disabled.test.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/download/clean.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/download/download.test.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/download/download.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/download/ensure_downloaded.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/download/index.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/download/util.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/extract/extract.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/extract/extract_error.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/extract/index.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/extract/unzip.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/index.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/install.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/network_policy.test.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/network_policy.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/browsers/safe_child_process.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/config/config.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/config/create_config.test.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/config/create_config.ts kibana-reporting +x-pack/platform/plugins/private/reporting/server/config/default_chromium_sandbox_disabled.test.ts kibana-reporting x-pack/plugins/lens/public/indexpattern_datasource/layerpanel.tsx kibana-app x-pack/plugins/lens/public/indexpattern_datasource/lens_field_icon.test.tsx kibana-app x-pack/plugins/lens/public/indexpattern_datasource/lens_field_icon.tsx kibana-app diff --git a/src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js b/src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js index 7035b8bad93fd..4838717b1c5b1 100644 --- a/src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js +++ b/src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js @@ -33,13 +33,13 @@ describe(`Transform fns`, () => { it(`should remove the jenkins workspace path`, () => { const obj = { staticSiteUrl: - '/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/x-pack/plugins/reporting/server/browsers/extract/unzip.ts', + '/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/x-pack/platform/plugins/private/reporting/server/browsers/extract/unzip.ts', COVERAGE_INGESTION_KIBANA_ROOT: '/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana', }; expect(coveredFilePath(obj)).toHaveProperty( 'coveredFilePath', - 'x-pack/plugins/reporting/server/browsers/extract/unzip.ts' + 'x-pack/platform/plugins/private/reporting/server/browsers/extract/unzip.ts' ); }); }); @@ -47,13 +47,13 @@ describe(`Transform fns`, () => { it(`should remove the jenkins workspace path`, () => { const obj = { staticSiteUrl: - '/var/lib/jenkins/workspace/elastic+kibana+qa-research/kibana/x-pack/plugins/reporting/server/browsers/extract/unzip.ts', + '/var/lib/jenkins/workspace/elastic+kibana+qa-research/kibana/x-pack/platform/plugins/private/reporting/server/browsers/extract/unzip.ts', COVERAGE_INGESTION_KIBANA_ROOT: '/var/lib/jenkins/workspace/elastic+kibana+qa-research/kibana', }; expect(coveredFilePath(obj)).toHaveProperty( 'coveredFilePath', - 'x-pack/plugins/reporting/server/browsers/extract/unzip.ts' + 'x-pack/platform/plugins/private/reporting/server/browsers/extract/unzip.ts' ); }); }); @@ -83,7 +83,8 @@ describe(`Transform fns`, () => { describe(`teamAssignment`, () => { const teamAssignmentsPathMOCK = 'src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt'; - const coveredFilePath = 'x-pack/plugins/reporting/server/browsers/extract/unzip.ts'; + const coveredFilePath = + 'x-pack/platform/plugins/private/reporting/server/browsers/extract/unzip.ts'; const obj = { coveredFilePath }; const log = new ToolingLog({ level: 'info', diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 973020ef679c7..c03fde3bc7125 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -45,11 +45,11 @@ export const storybookAliases = { expression_tagcloud: 'src/plugins/chart_expressions/expression_tagcloud/.storybook', fleet: 'x-pack/platform/plugins/shared/fleet/.storybook', grouping: 'src/platform/packages/shared/kbn-grouping/.storybook', - home: 'src/plugins/home/.storybook', + home: 'src/platform/plugins/shared/home/.storybook', infra: 'x-pack/solutions/observability/plugins/infra/.storybook', inventory: 'x-pack/solutions/observability/plugins/inventory/.storybook', investigate: 'x-pack/solutions/observability/plugins/investigate_app/.storybook', - kibana_react: 'src/plugins/kibana_react/.storybook', + kibana_react: 'src/platform/plugins/shared/kibana_react/.storybook', lists: 'x-pack/solutions/security/plugins/lists/.storybook', logs_explorer: 'x-pack/solutions/observability/plugins/logs_explorer/.storybook', management: 'packages/kbn-management/storybook/config', @@ -70,7 +70,7 @@ export const storybookAliases = { shared_ux: 'packages/shared-ux/storybook/config', threat_intelligence: 'x-pack/solutions/security/plugins/threat_intelligence/.storybook', triggers_actions_ui: 'x-pack/platform/plugins/shared/triggers_actions_ui/.storybook', - ui_actions_enhanced: 'src/plugins/ui_actions_enhanced/.storybook', + ui_actions_enhanced: 'src/platform/plugins/shared/ui_actions_enhanced/.storybook', unified_search: 'src/plugins/unified_search/.storybook', profiling: 'x-pack/solutions/observability/plugins/profiling/.storybook', }; diff --git a/src/plugins/advanced_settings/README.md b/src/platform/plugins/private/advanced_settings/README.md similarity index 100% rename from src/plugins/advanced_settings/README.md rename to src/platform/plugins/private/advanced_settings/README.md diff --git a/src/plugins/advanced_settings/kibana.jsonc b/src/platform/plugins/private/advanced_settings/kibana.jsonc similarity index 100% rename from src/plugins/advanced_settings/kibana.jsonc rename to src/platform/plugins/private/advanced_settings/kibana.jsonc diff --git a/src/plugins/advanced_settings/public/index.ts b/src/platform/plugins/private/advanced_settings/public/index.ts similarity index 100% rename from src/plugins/advanced_settings/public/index.ts rename to src/platform/plugins/private/advanced_settings/public/index.ts diff --git a/src/plugins/advanced_settings/public/plugin.tsx b/src/platform/plugins/private/advanced_settings/public/plugin.tsx similarity index 100% rename from src/plugins/advanced_settings/public/plugin.tsx rename to src/platform/plugins/private/advanced_settings/public/plugin.tsx diff --git a/src/plugins/advanced_settings/public/types.ts b/src/platform/plugins/private/advanced_settings/public/types.ts similarity index 100% rename from src/plugins/advanced_settings/public/types.ts rename to src/platform/plugins/private/advanced_settings/public/types.ts diff --git a/src/plugins/advanced_settings/server/capabilities_provider.ts b/src/platform/plugins/private/advanced_settings/server/capabilities_provider.ts similarity index 100% rename from src/plugins/advanced_settings/server/capabilities_provider.ts rename to src/platform/plugins/private/advanced_settings/server/capabilities_provider.ts diff --git a/src/plugins/advanced_settings/server/config.ts b/src/platform/plugins/private/advanced_settings/server/config.ts similarity index 100% rename from src/plugins/advanced_settings/server/config.ts rename to src/platform/plugins/private/advanced_settings/server/config.ts diff --git a/src/plugins/advanced_settings/server/index.ts b/src/platform/plugins/private/advanced_settings/server/index.ts similarity index 100% rename from src/plugins/advanced_settings/server/index.ts rename to src/platform/plugins/private/advanced_settings/server/index.ts diff --git a/src/plugins/advanced_settings/server/plugin.ts b/src/platform/plugins/private/advanced_settings/server/plugin.ts similarity index 100% rename from src/plugins/advanced_settings/server/plugin.ts rename to src/platform/plugins/private/advanced_settings/server/plugin.ts diff --git a/src/plugins/advanced_settings/tsconfig.json b/src/platform/plugins/private/advanced_settings/tsconfig.json similarity index 91% rename from src/plugins/advanced_settings/tsconfig.json rename to src/platform/plugins/private/advanced_settings/tsconfig.json index 547e82d64c73c..514bb73f8d384 100644 --- a/src/plugins/advanced_settings/tsconfig.json +++ b/src/platform/plugins/private/advanced_settings/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/files_management/README.md b/src/platform/plugins/private/files_management/README.md similarity index 100% rename from src/plugins/files_management/README.md rename to src/platform/plugins/private/files_management/README.md diff --git a/src/plugins/files_management/common/index.ts b/src/platform/plugins/private/files_management/common/index.ts similarity index 100% rename from src/plugins/files_management/common/index.ts rename to src/platform/plugins/private/files_management/common/index.ts diff --git a/src/plugins/files_management/kibana.jsonc b/src/platform/plugins/private/files_management/kibana.jsonc similarity index 100% rename from src/plugins/files_management/kibana.jsonc rename to src/platform/plugins/private/files_management/kibana.jsonc diff --git a/src/plugins/files_management/public/app.tsx b/src/platform/plugins/private/files_management/public/app.tsx similarity index 100% rename from src/plugins/files_management/public/app.tsx rename to src/platform/plugins/private/files_management/public/app.tsx diff --git a/src/plugins/files_management/public/components/diagnostics_flyout.tsx b/src/platform/plugins/private/files_management/public/components/diagnostics_flyout.tsx similarity index 100% rename from src/plugins/files_management/public/components/diagnostics_flyout.tsx rename to src/platform/plugins/private/files_management/public/components/diagnostics_flyout.tsx diff --git a/src/plugins/files_management/public/components/empty_prompt.tsx b/src/platform/plugins/private/files_management/public/components/empty_prompt.tsx similarity index 100% rename from src/plugins/files_management/public/components/empty_prompt.tsx rename to src/platform/plugins/private/files_management/public/components/empty_prompt.tsx diff --git a/src/plugins/files_management/public/components/file_flyout.tsx b/src/platform/plugins/private/files_management/public/components/file_flyout.tsx similarity index 100% rename from src/plugins/files_management/public/components/file_flyout.tsx rename to src/platform/plugins/private/files_management/public/components/file_flyout.tsx diff --git a/src/plugins/files_management/public/components/index.ts b/src/platform/plugins/private/files_management/public/components/index.ts similarity index 100% rename from src/plugins/files_management/public/components/index.ts rename to src/platform/plugins/private/files_management/public/components/index.ts diff --git a/src/plugins/files_management/public/context.tsx b/src/platform/plugins/private/files_management/public/context.tsx similarity index 100% rename from src/plugins/files_management/public/context.tsx rename to src/platform/plugins/private/files_management/public/context.tsx diff --git a/src/plugins/files_management/public/i18n_texts.ts b/src/platform/plugins/private/files_management/public/i18n_texts.ts similarity index 100% rename from src/plugins/files_management/public/i18n_texts.ts rename to src/platform/plugins/private/files_management/public/i18n_texts.ts diff --git a/src/plugins/files_management/public/index.ts b/src/platform/plugins/private/files_management/public/index.ts similarity index 100% rename from src/plugins/files_management/public/index.ts rename to src/platform/plugins/private/files_management/public/index.ts diff --git a/src/plugins/files_management/public/mount_management_section.tsx b/src/platform/plugins/private/files_management/public/mount_management_section.tsx similarity index 100% rename from src/plugins/files_management/public/mount_management_section.tsx rename to src/platform/plugins/private/files_management/public/mount_management_section.tsx diff --git a/src/plugins/files_management/public/plugin.ts b/src/platform/plugins/private/files_management/public/plugin.ts similarity index 100% rename from src/plugins/files_management/public/plugin.ts rename to src/platform/plugins/private/files_management/public/plugin.ts diff --git a/src/plugins/files_management/public/types.ts b/src/platform/plugins/private/files_management/public/types.ts similarity index 100% rename from src/plugins/files_management/public/types.ts rename to src/platform/plugins/private/files_management/public/types.ts diff --git a/src/plugins/files_management/tsconfig.json b/src/platform/plugins/private/files_management/tsconfig.json similarity index 91% rename from src/plugins/files_management/tsconfig.json rename to src/platform/plugins/private/files_management/tsconfig.json index ef899289bc42b..04419bce06e79 100644 --- a/src/plugins/files_management/tsconfig.json +++ b/src/platform/plugins/private/files_management/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/image_embeddable/README.md b/src/platform/plugins/private/image_embeddable/README.md similarity index 100% rename from src/plugins/image_embeddable/README.md rename to src/platform/plugins/private/image_embeddable/README.md diff --git a/src/platform/plugins/private/image_embeddable/jest.config.js b/src/platform/plugins/private/image_embeddable/jest.config.js new file mode 100644 index 0000000000000..1cf85166b27b7 --- /dev/null +++ b/src/platform/plugins/private/image_embeddable/jest.config.js @@ -0,0 +1,20 @@ +/* + * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/image_embeddable'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/image_embeddable', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/image_embeddable/{__packages_do_not_import__,common,public,server,static}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/image_embeddable/kibana.jsonc b/src/platform/plugins/private/image_embeddable/kibana.jsonc similarity index 100% rename from src/plugins/image_embeddable/kibana.jsonc rename to src/platform/plugins/private/image_embeddable/kibana.jsonc diff --git a/src/plugins/image_embeddable/public/actions/create_image_action.ts b/src/platform/plugins/private/image_embeddable/public/actions/create_image_action.ts similarity index 100% rename from src/plugins/image_embeddable/public/actions/create_image_action.ts rename to src/platform/plugins/private/image_embeddable/public/actions/create_image_action.ts diff --git a/src/plugins/image_embeddable/public/actions/image_click_trigger.ts b/src/platform/plugins/private/image_embeddable/public/actions/image_click_trigger.ts similarity index 100% rename from src/plugins/image_embeddable/public/actions/image_click_trigger.ts rename to src/platform/plugins/private/image_embeddable/public/actions/image_click_trigger.ts diff --git a/src/plugins/image_embeddable/public/actions/index.ts b/src/platform/plugins/private/image_embeddable/public/actions/index.ts similarity index 100% rename from src/plugins/image_embeddable/public/actions/index.ts rename to src/platform/plugins/private/image_embeddable/public/actions/index.ts diff --git a/src/plugins/image_embeddable/public/components/image_editor/image_editor_flyout.test.tsx b/src/platform/plugins/private/image_embeddable/public/components/image_editor/image_editor_flyout.test.tsx similarity index 100% rename from src/plugins/image_embeddable/public/components/image_editor/image_editor_flyout.test.tsx rename to src/platform/plugins/private/image_embeddable/public/components/image_editor/image_editor_flyout.test.tsx diff --git a/src/plugins/image_embeddable/public/components/image_editor/image_editor_flyout.tsx b/src/platform/plugins/private/image_embeddable/public/components/image_editor/image_editor_flyout.tsx similarity index 100% rename from src/plugins/image_embeddable/public/components/image_editor/image_editor_flyout.tsx rename to src/platform/plugins/private/image_embeddable/public/components/image_editor/image_editor_flyout.tsx diff --git a/src/plugins/image_embeddable/public/components/image_editor/index.ts b/src/platform/plugins/private/image_embeddable/public/components/image_editor/index.ts similarity index 100% rename from src/plugins/image_embeddable/public/components/image_editor/index.ts rename to src/platform/plugins/private/image_embeddable/public/components/image_editor/index.ts diff --git a/src/plugins/image_embeddable/public/components/image_editor/open_image_editor.tsx b/src/platform/plugins/private/image_embeddable/public/components/image_editor/open_image_editor.tsx similarity index 100% rename from src/plugins/image_embeddable/public/components/image_editor/open_image_editor.tsx rename to src/platform/plugins/private/image_embeddable/public/components/image_editor/open_image_editor.tsx diff --git a/src/plugins/image_embeddable/public/components/image_embeddable.scss b/src/platform/plugins/private/image_embeddable/public/components/image_embeddable.scss similarity index 100% rename from src/plugins/image_embeddable/public/components/image_embeddable.scss rename to src/platform/plugins/private/image_embeddable/public/components/image_embeddable.scss diff --git a/src/plugins/image_embeddable/public/components/image_embeddable.tsx b/src/platform/plugins/private/image_embeddable/public/components/image_embeddable.tsx similarity index 100% rename from src/plugins/image_embeddable/public/components/image_embeddable.tsx rename to src/platform/plugins/private/image_embeddable/public/components/image_embeddable.tsx diff --git a/src/plugins/image_embeddable/public/components/image_viewer/assets/not_found_light.png b/src/platform/plugins/private/image_embeddable/public/components/image_viewer/assets/not_found_light.png similarity index 100% rename from src/plugins/image_embeddable/public/components/image_viewer/assets/not_found_light.png rename to src/platform/plugins/private/image_embeddable/public/components/image_viewer/assets/not_found_light.png diff --git a/src/plugins/image_embeddable/public/components/image_viewer/assets/not_found_light@2x.png b/src/platform/plugins/private/image_embeddable/public/components/image_viewer/assets/not_found_light@2x.png similarity index 100% rename from src/plugins/image_embeddable/public/components/image_viewer/assets/not_found_light@2x.png rename to src/platform/plugins/private/image_embeddable/public/components/image_viewer/assets/not_found_light@2x.png diff --git a/src/plugins/image_embeddable/public/components/image_viewer/image_viewer.test.tsx b/src/platform/plugins/private/image_embeddable/public/components/image_viewer/image_viewer.test.tsx similarity index 100% rename from src/plugins/image_embeddable/public/components/image_viewer/image_viewer.test.tsx rename to src/platform/plugins/private/image_embeddable/public/components/image_viewer/image_viewer.test.tsx diff --git a/src/plugins/image_embeddable/public/components/image_viewer/image_viewer.tsx b/src/platform/plugins/private/image_embeddable/public/components/image_viewer/image_viewer.tsx similarity index 100% rename from src/plugins/image_embeddable/public/components/image_viewer/image_viewer.tsx rename to src/platform/plugins/private/image_embeddable/public/components/image_viewer/image_viewer.tsx diff --git a/src/plugins/image_embeddable/public/components/image_viewer/image_viewer_context.tsx b/src/platform/plugins/private/image_embeddable/public/components/image_viewer/image_viewer_context.tsx similarity index 100% rename from src/plugins/image_embeddable/public/components/image_viewer/image_viewer_context.tsx rename to src/platform/plugins/private/image_embeddable/public/components/image_viewer/image_viewer_context.tsx diff --git a/src/plugins/image_embeddable/public/components/image_viewer/index.tsx b/src/platform/plugins/private/image_embeddable/public/components/image_viewer/index.tsx similarity index 100% rename from src/plugins/image_embeddable/public/components/image_viewer/index.tsx rename to src/platform/plugins/private/image_embeddable/public/components/image_viewer/index.tsx diff --git a/src/plugins/image_embeddable/public/image_embeddable/constants.ts b/src/platform/plugins/private/image_embeddable/public/image_embeddable/constants.ts similarity index 100% rename from src/plugins/image_embeddable/public/image_embeddable/constants.ts rename to src/platform/plugins/private/image_embeddable/public/image_embeddable/constants.ts diff --git a/src/plugins/image_embeddable/public/image_embeddable/get_image_embeddable_factory.tsx b/src/platform/plugins/private/image_embeddable/public/image_embeddable/get_image_embeddable_factory.tsx similarity index 100% rename from src/plugins/image_embeddable/public/image_embeddable/get_image_embeddable_factory.tsx rename to src/platform/plugins/private/image_embeddable/public/image_embeddable/get_image_embeddable_factory.tsx diff --git a/src/plugins/image_embeddable/public/image_embeddable/types.ts b/src/platform/plugins/private/image_embeddable/public/image_embeddable/types.ts similarity index 100% rename from src/plugins/image_embeddable/public/image_embeddable/types.ts rename to src/platform/plugins/private/image_embeddable/public/image_embeddable/types.ts diff --git a/src/plugins/image_embeddable/public/imports.ts b/src/platform/plugins/private/image_embeddable/public/imports.ts similarity index 100% rename from src/plugins/image_embeddable/public/imports.ts rename to src/platform/plugins/private/image_embeddable/public/imports.ts diff --git a/src/plugins/image_embeddable/public/index.ts b/src/platform/plugins/private/image_embeddable/public/index.ts similarity index 100% rename from src/plugins/image_embeddable/public/index.ts rename to src/platform/plugins/private/image_embeddable/public/index.ts diff --git a/src/plugins/image_embeddable/public/plugin.ts b/src/platform/plugins/private/image_embeddable/public/plugin.ts similarity index 100% rename from src/plugins/image_embeddable/public/plugin.ts rename to src/platform/plugins/private/image_embeddable/public/plugin.ts diff --git a/src/plugins/image_embeddable/public/services/kibana_services.ts b/src/platform/plugins/private/image_embeddable/public/services/kibana_services.ts similarity index 100% rename from src/plugins/image_embeddable/public/services/kibana_services.ts rename to src/platform/plugins/private/image_embeddable/public/services/kibana_services.ts diff --git a/src/plugins/image_embeddable/public/types.ts b/src/platform/plugins/private/image_embeddable/public/types.ts similarity index 100% rename from src/plugins/image_embeddable/public/types.ts rename to src/platform/plugins/private/image_embeddable/public/types.ts diff --git a/src/plugins/image_embeddable/public/utils/validate_image_config.ts b/src/platform/plugins/private/image_embeddable/public/utils/validate_image_config.ts similarity index 100% rename from src/plugins/image_embeddable/public/utils/validate_image_config.ts rename to src/platform/plugins/private/image_embeddable/public/utils/validate_image_config.ts diff --git a/src/plugins/image_embeddable/public/utils/validate_url.ts b/src/platform/plugins/private/image_embeddable/public/utils/validate_url.ts similarity index 100% rename from src/plugins/image_embeddable/public/utils/validate_url.ts rename to src/platform/plugins/private/image_embeddable/public/utils/validate_url.ts diff --git a/src/plugins/image_embeddable/tsconfig.json b/src/platform/plugins/private/image_embeddable/tsconfig.json similarity index 93% rename from src/plugins/image_embeddable/tsconfig.json rename to src/platform/plugins/private/image_embeddable/tsconfig.json index d9863cf7fd6ac..1d434d082392d 100644 --- a/src/plugins/image_embeddable/tsconfig.json +++ b/src/platform/plugins/private/image_embeddable/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/src/plugins/kibana_overview/README.md b/src/platform/plugins/private/kibana_overview/README.md similarity index 100% rename from src/plugins/kibana_overview/README.md rename to src/platform/plugins/private/kibana_overview/README.md diff --git a/src/plugins/kibana_overview/common/index.ts b/src/platform/plugins/private/kibana_overview/common/index.ts similarity index 100% rename from src/plugins/kibana_overview/common/index.ts rename to src/platform/plugins/private/kibana_overview/common/index.ts diff --git a/src/platform/plugins/private/kibana_overview/jest.config.js b/src/platform/plugins/private/kibana_overview/jest.config.js new file mode 100644 index 0000000000000..ce45e6134eecc --- /dev/null +++ b/src/platform/plugins/private/kibana_overview/jest.config.js @@ -0,0 +1,20 @@ +/* + * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/kibana_overview'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/kibana_overview', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/kibana_overview/{common,public}/**/*.{js,ts,tsx}', + ], +}; diff --git a/src/plugins/kibana_overview/kibana.jsonc b/src/platform/plugins/private/kibana_overview/kibana.jsonc similarity index 100% rename from src/plugins/kibana_overview/kibana.jsonc rename to src/platform/plugins/private/kibana_overview/kibana.jsonc diff --git a/src/plugins/kibana_overview/public/application.tsx b/src/platform/plugins/private/kibana_overview/public/application.tsx similarity index 100% rename from src/plugins/kibana_overview/public/application.tsx rename to src/platform/plugins/private/kibana_overview/public/application.tsx diff --git a/src/plugins/kibana_overview/public/assets/kibana_canvas_dark.svg b/src/platform/plugins/private/kibana_overview/public/assets/kibana_canvas_dark.svg similarity index 100% rename from src/plugins/kibana_overview/public/assets/kibana_canvas_dark.svg rename to src/platform/plugins/private/kibana_overview/public/assets/kibana_canvas_dark.svg diff --git a/src/plugins/kibana_overview/public/assets/kibana_canvas_light.svg b/src/platform/plugins/private/kibana_overview/public/assets/kibana_canvas_light.svg similarity index 100% rename from src/plugins/kibana_overview/public/assets/kibana_canvas_light.svg rename to src/platform/plugins/private/kibana_overview/public/assets/kibana_canvas_light.svg diff --git a/src/plugins/kibana_overview/public/assets/kibana_dashboards_dark.svg b/src/platform/plugins/private/kibana_overview/public/assets/kibana_dashboards_dark.svg similarity index 100% rename from src/plugins/kibana_overview/public/assets/kibana_dashboards_dark.svg rename to src/platform/plugins/private/kibana_overview/public/assets/kibana_dashboards_dark.svg diff --git a/src/plugins/kibana_overview/public/assets/kibana_dashboards_light.svg b/src/platform/plugins/private/kibana_overview/public/assets/kibana_dashboards_light.svg similarity index 100% rename from src/plugins/kibana_overview/public/assets/kibana_dashboards_light.svg rename to src/platform/plugins/private/kibana_overview/public/assets/kibana_dashboards_light.svg diff --git a/src/plugins/kibana_overview/public/assets/kibana_discover_dark.svg b/src/platform/plugins/private/kibana_overview/public/assets/kibana_discover_dark.svg similarity index 100% rename from src/plugins/kibana_overview/public/assets/kibana_discover_dark.svg rename to src/platform/plugins/private/kibana_overview/public/assets/kibana_discover_dark.svg diff --git a/src/plugins/kibana_overview/public/assets/kibana_discover_light.svg b/src/platform/plugins/private/kibana_overview/public/assets/kibana_discover_light.svg similarity index 100% rename from src/plugins/kibana_overview/public/assets/kibana_discover_light.svg rename to src/platform/plugins/private/kibana_overview/public/assets/kibana_discover_light.svg diff --git a/src/plugins/kibana_overview/public/assets/kibana_graph_dark.svg b/src/platform/plugins/private/kibana_overview/public/assets/kibana_graph_dark.svg similarity index 100% rename from src/plugins/kibana_overview/public/assets/kibana_graph_dark.svg rename to src/platform/plugins/private/kibana_overview/public/assets/kibana_graph_dark.svg diff --git a/src/plugins/kibana_overview/public/assets/kibana_graph_light.svg b/src/platform/plugins/private/kibana_overview/public/assets/kibana_graph_light.svg similarity index 100% rename from src/plugins/kibana_overview/public/assets/kibana_graph_light.svg rename to src/platform/plugins/private/kibana_overview/public/assets/kibana_graph_light.svg diff --git a/src/plugins/kibana_overview/public/assets/kibana_maps_dark.svg b/src/platform/plugins/private/kibana_overview/public/assets/kibana_maps_dark.svg similarity index 100% rename from src/plugins/kibana_overview/public/assets/kibana_maps_dark.svg rename to src/platform/plugins/private/kibana_overview/public/assets/kibana_maps_dark.svg diff --git a/src/plugins/kibana_overview/public/assets/kibana_maps_light.svg b/src/platform/plugins/private/kibana_overview/public/assets/kibana_maps_light.svg similarity index 100% rename from src/plugins/kibana_overview/public/assets/kibana_maps_light.svg rename to src/platform/plugins/private/kibana_overview/public/assets/kibana_maps_light.svg diff --git a/src/plugins/kibana_overview/public/assets/kibana_ml_dark.svg b/src/platform/plugins/private/kibana_overview/public/assets/kibana_ml_dark.svg similarity index 100% rename from src/plugins/kibana_overview/public/assets/kibana_ml_dark.svg rename to src/platform/plugins/private/kibana_overview/public/assets/kibana_ml_dark.svg diff --git a/src/plugins/kibana_overview/public/assets/kibana_ml_light.svg b/src/platform/plugins/private/kibana_overview/public/assets/kibana_ml_light.svg similarity index 100% rename from src/plugins/kibana_overview/public/assets/kibana_ml_light.svg rename to src/platform/plugins/private/kibana_overview/public/assets/kibana_ml_light.svg diff --git a/src/plugins/kibana_overview/public/assets/kibana_montage_dark.svg b/src/platform/plugins/private/kibana_overview/public/assets/kibana_montage_dark.svg similarity index 100% rename from src/plugins/kibana_overview/public/assets/kibana_montage_dark.svg rename to src/platform/plugins/private/kibana_overview/public/assets/kibana_montage_dark.svg diff --git a/src/plugins/kibana_overview/public/assets/kibana_montage_light.svg b/src/platform/plugins/private/kibana_overview/public/assets/kibana_montage_light.svg similarity index 100% rename from src/plugins/kibana_overview/public/assets/kibana_montage_light.svg rename to src/platform/plugins/private/kibana_overview/public/assets/kibana_montage_light.svg diff --git a/src/plugins/kibana_overview/public/components/add_data/__snapshots__/add_data.test.tsx.snap b/src/platform/plugins/private/kibana_overview/public/components/add_data/__snapshots__/add_data.test.tsx.snap similarity index 100% rename from src/plugins/kibana_overview/public/components/add_data/__snapshots__/add_data.test.tsx.snap rename to src/platform/plugins/private/kibana_overview/public/components/add_data/__snapshots__/add_data.test.tsx.snap diff --git a/src/plugins/kibana_overview/public/components/add_data/add_data.test.tsx b/src/platform/plugins/private/kibana_overview/public/components/add_data/add_data.test.tsx similarity index 100% rename from src/plugins/kibana_overview/public/components/add_data/add_data.test.tsx rename to src/platform/plugins/private/kibana_overview/public/components/add_data/add_data.test.tsx diff --git a/src/plugins/kibana_overview/public/components/add_data/add_data.tsx b/src/platform/plugins/private/kibana_overview/public/components/add_data/add_data.tsx similarity index 100% rename from src/plugins/kibana_overview/public/components/add_data/add_data.tsx rename to src/platform/plugins/private/kibana_overview/public/components/add_data/add_data.tsx diff --git a/src/plugins/home/public/application/components/add_data/index.ts b/src/platform/plugins/private/kibana_overview/public/components/add_data/index.ts similarity index 100% rename from src/plugins/home/public/application/components/add_data/index.ts rename to src/platform/plugins/private/kibana_overview/public/components/add_data/index.ts diff --git a/src/plugins/kibana_overview/public/components/app.tsx b/src/platform/plugins/private/kibana_overview/public/components/app.tsx similarity index 100% rename from src/plugins/kibana_overview/public/components/app.tsx rename to src/platform/plugins/private/kibana_overview/public/components/app.tsx diff --git a/src/plugins/kibana_overview/public/components/manage_data/__snapshots__/manage_data.test.tsx.snap b/src/platform/plugins/private/kibana_overview/public/components/manage_data/__snapshots__/manage_data.test.tsx.snap similarity index 100% rename from src/plugins/kibana_overview/public/components/manage_data/__snapshots__/manage_data.test.tsx.snap rename to src/platform/plugins/private/kibana_overview/public/components/manage_data/__snapshots__/manage_data.test.tsx.snap diff --git a/src/plugins/home/public/application/components/manage_data/index.tsx b/src/platform/plugins/private/kibana_overview/public/components/manage_data/index.tsx similarity index 100% rename from src/plugins/home/public/application/components/manage_data/index.tsx rename to src/platform/plugins/private/kibana_overview/public/components/manage_data/index.tsx diff --git a/src/plugins/kibana_overview/public/components/manage_data/manage_data.test.tsx b/src/platform/plugins/private/kibana_overview/public/components/manage_data/manage_data.test.tsx similarity index 100% rename from src/plugins/kibana_overview/public/components/manage_data/manage_data.test.tsx rename to src/platform/plugins/private/kibana_overview/public/components/manage_data/manage_data.test.tsx diff --git a/src/plugins/kibana_overview/public/components/manage_data/manage_data.tsx b/src/platform/plugins/private/kibana_overview/public/components/manage_data/manage_data.tsx similarity index 100% rename from src/plugins/kibana_overview/public/components/manage_data/manage_data.tsx rename to src/platform/plugins/private/kibana_overview/public/components/manage_data/manage_data.tsx diff --git a/src/plugins/kibana_overview/public/components/news_feed/__snapshots__/news_feed.test.tsx.snap b/src/platform/plugins/private/kibana_overview/public/components/news_feed/__snapshots__/news_feed.test.tsx.snap similarity index 100% rename from src/plugins/kibana_overview/public/components/news_feed/__snapshots__/news_feed.test.tsx.snap rename to src/platform/plugins/private/kibana_overview/public/components/news_feed/__snapshots__/news_feed.test.tsx.snap diff --git a/src/plugins/kibana_overview/public/components/news_feed/index.ts b/src/platform/plugins/private/kibana_overview/public/components/news_feed/index.ts similarity index 100% rename from src/plugins/kibana_overview/public/components/news_feed/index.ts rename to src/platform/plugins/private/kibana_overview/public/components/news_feed/index.ts diff --git a/src/plugins/kibana_overview/public/components/news_feed/news_feed.test.tsx b/src/platform/plugins/private/kibana_overview/public/components/news_feed/news_feed.test.tsx similarity index 100% rename from src/plugins/kibana_overview/public/components/news_feed/news_feed.test.tsx rename to src/platform/plugins/private/kibana_overview/public/components/news_feed/news_feed.test.tsx diff --git a/src/plugins/kibana_overview/public/components/news_feed/news_feed.tsx b/src/platform/plugins/private/kibana_overview/public/components/news_feed/news_feed.tsx similarity index 100% rename from src/plugins/kibana_overview/public/components/news_feed/news_feed.tsx rename to src/platform/plugins/private/kibana_overview/public/components/news_feed/news_feed.tsx diff --git a/src/plugins/kibana_overview/public/components/overview/__snapshots__/overview.test.tsx.snap b/src/platform/plugins/private/kibana_overview/public/components/overview/__snapshots__/overview.test.tsx.snap similarity index 100% rename from src/plugins/kibana_overview/public/components/overview/__snapshots__/overview.test.tsx.snap rename to src/platform/plugins/private/kibana_overview/public/components/overview/__snapshots__/overview.test.tsx.snap diff --git a/src/plugins/kibana_overview/public/components/overview/index.ts b/src/platform/plugins/private/kibana_overview/public/components/overview/index.ts similarity index 100% rename from src/plugins/kibana_overview/public/components/overview/index.ts rename to src/platform/plugins/private/kibana_overview/public/components/overview/index.ts diff --git a/src/plugins/kibana_overview/public/components/overview/overview.scss b/src/platform/plugins/private/kibana_overview/public/components/overview/overview.scss similarity index 100% rename from src/plugins/kibana_overview/public/components/overview/overview.scss rename to src/platform/plugins/private/kibana_overview/public/components/overview/overview.scss diff --git a/src/plugins/kibana_overview/public/components/overview/overview.test.mocks.ts b/src/platform/plugins/private/kibana_overview/public/components/overview/overview.test.mocks.ts similarity index 100% rename from src/plugins/kibana_overview/public/components/overview/overview.test.mocks.ts rename to src/platform/plugins/private/kibana_overview/public/components/overview/overview.test.mocks.ts diff --git a/src/plugins/kibana_overview/public/components/overview/overview.test.tsx b/src/platform/plugins/private/kibana_overview/public/components/overview/overview.test.tsx similarity index 100% rename from src/plugins/kibana_overview/public/components/overview/overview.test.tsx rename to src/platform/plugins/private/kibana_overview/public/components/overview/overview.test.tsx diff --git a/src/plugins/kibana_overview/public/components/overview/overview.tsx b/src/platform/plugins/private/kibana_overview/public/components/overview/overview.tsx similarity index 100% rename from src/plugins/kibana_overview/public/components/overview/overview.tsx rename to src/platform/plugins/private/kibana_overview/public/components/overview/overview.tsx diff --git a/src/plugins/kibana_overview/public/components/synopsis/__snapshots__/synopsis.test.js.snap b/src/platform/plugins/private/kibana_overview/public/components/synopsis/__snapshots__/synopsis.test.js.snap similarity index 100% rename from src/plugins/kibana_overview/public/components/synopsis/__snapshots__/synopsis.test.js.snap rename to src/platform/plugins/private/kibana_overview/public/components/synopsis/__snapshots__/synopsis.test.js.snap diff --git a/src/plugins/kibana_overview/public/components/synopsis/index.js b/src/platform/plugins/private/kibana_overview/public/components/synopsis/index.js similarity index 100% rename from src/plugins/kibana_overview/public/components/synopsis/index.js rename to src/platform/plugins/private/kibana_overview/public/components/synopsis/index.js diff --git a/src/plugins/kibana_overview/public/components/synopsis/synopsis.js b/src/platform/plugins/private/kibana_overview/public/components/synopsis/synopsis.js similarity index 100% rename from src/plugins/kibana_overview/public/components/synopsis/synopsis.js rename to src/platform/plugins/private/kibana_overview/public/components/synopsis/synopsis.js diff --git a/src/plugins/home/public/application/components/synopsis.test.js b/src/platform/plugins/private/kibana_overview/public/components/synopsis/synopsis.test.js similarity index 100% rename from src/plugins/home/public/application/components/synopsis.test.js rename to src/platform/plugins/private/kibana_overview/public/components/synopsis/synopsis.test.js diff --git a/src/plugins/kibana_overview/public/index.ts b/src/platform/plugins/private/kibana_overview/public/index.ts similarity index 100% rename from src/plugins/kibana_overview/public/index.ts rename to src/platform/plugins/private/kibana_overview/public/index.ts diff --git a/src/plugins/kibana_overview/public/lib/ui_metric.ts b/src/platform/plugins/private/kibana_overview/public/lib/ui_metric.ts similarity index 100% rename from src/plugins/kibana_overview/public/lib/ui_metric.ts rename to src/platform/plugins/private/kibana_overview/public/lib/ui_metric.ts diff --git a/src/plugins/kibana_overview/public/plugin.ts b/src/platform/plugins/private/kibana_overview/public/plugin.ts similarity index 100% rename from src/plugins/kibana_overview/public/plugin.ts rename to src/platform/plugins/private/kibana_overview/public/plugin.ts diff --git a/src/plugins/kibana_overview/public/types.ts b/src/platform/plugins/private/kibana_overview/public/types.ts similarity index 100% rename from src/plugins/kibana_overview/public/types.ts rename to src/platform/plugins/private/kibana_overview/public/types.ts diff --git a/src/plugins/kibana_overview/tsconfig.json b/src/platform/plugins/private/kibana_overview/tsconfig.json similarity index 94% rename from src/plugins/kibana_overview/tsconfig.json rename to src/platform/plugins/private/kibana_overview/tsconfig.json index ad6a946b432b5..f2fd70144e928 100644 --- a/src/plugins/kibana_overview/tsconfig.json +++ b/src/platform/plugins/private/kibana_overview/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/no_data_page/README.md b/src/platform/plugins/private/no_data_page/README.md similarity index 100% rename from src/plugins/no_data_page/README.md rename to src/platform/plugins/private/no_data_page/README.md diff --git a/src/plugins/kibana_utils/jest.config.js b/src/platform/plugins/private/no_data_page/jest.config.js similarity index 66% rename from src/plugins/kibana_utils/jest.config.js rename to src/platform/plugins/private/no_data_page/jest.config.js index fffb016524fd6..01fcc03c29276 100644 --- a/src/plugins/kibana_utils/jest.config.js +++ b/src/platform/plugins/private/no_data_page/jest.config.js @@ -9,11 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/kibana_utils'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/kibana_utils', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/no_data_page'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/no_data_page', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/kibana_utils/{common,demos,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/private/no_data_page/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/no_data_page/kibana.jsonc b/src/platform/plugins/private/no_data_page/kibana.jsonc similarity index 100% rename from src/plugins/no_data_page/kibana.jsonc rename to src/platform/plugins/private/no_data_page/kibana.jsonc diff --git a/src/plugins/no_data_page/public/index.ts b/src/platform/plugins/private/no_data_page/public/index.ts similarity index 100% rename from src/plugins/no_data_page/public/index.ts rename to src/platform/plugins/private/no_data_page/public/index.ts diff --git a/src/plugins/no_data_page/public/mocks/index.ts b/src/platform/plugins/private/no_data_page/public/mocks/index.ts similarity index 100% rename from src/plugins/no_data_page/public/mocks/index.ts rename to src/platform/plugins/private/no_data_page/public/mocks/index.ts diff --git a/src/plugins/no_data_page/public/plugin.ts b/src/platform/plugins/private/no_data_page/public/plugin.ts similarity index 100% rename from src/plugins/no_data_page/public/plugin.ts rename to src/platform/plugins/private/no_data_page/public/plugin.ts diff --git a/src/plugins/no_data_page/public/types.ts b/src/platform/plugins/private/no_data_page/public/types.ts similarity index 100% rename from src/plugins/no_data_page/public/types.ts rename to src/platform/plugins/private/no_data_page/public/types.ts diff --git a/src/plugins/no_data_page/server/config.ts b/src/platform/plugins/private/no_data_page/server/config.ts similarity index 100% rename from src/plugins/no_data_page/server/config.ts rename to src/platform/plugins/private/no_data_page/server/config.ts diff --git a/src/plugins/no_data_page/server/index.ts b/src/platform/plugins/private/no_data_page/server/index.ts similarity index 100% rename from src/plugins/no_data_page/server/index.ts rename to src/platform/plugins/private/no_data_page/server/index.ts diff --git a/src/plugins/no_data_page/tsconfig.json b/src/platform/plugins/private/no_data_page/tsconfig.json similarity index 85% rename from src/plugins/no_data_page/tsconfig.json rename to src/platform/plugins/private/no_data_page/tsconfig.json index e92a0c1560380..ff20b7aa0ed9b 100644 --- a/src/plugins/no_data_page/tsconfig.json +++ b/src/platform/plugins/private/no_data_page/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/src/plugins/content_management/README.md b/src/platform/plugins/shared/content_management/README.md similarity index 87% rename from src/plugins/content_management/README.md rename to src/platform/plugins/shared/content_management/README.md index 94eeb23a50d8f..1715865a54b7b 100644 --- a/src/plugins/content_management/README.md +++ b/src/platform/plugins/shared/content_management/README.md @@ -18,5 +18,5 @@ Integration Tests*, which execute tests against a real Elasticsearch instance. Run integrations tests with: ``` -yarn test:jest_integration src/plugins/content_management +yarn test:jest_integration src/platform/plugins/shared/content_management ``` diff --git a/src/plugins/content_management/common/constants.ts b/src/platform/plugins/shared/content_management/common/constants.ts similarity index 100% rename from src/plugins/content_management/common/constants.ts rename to src/platform/plugins/shared/content_management/common/constants.ts diff --git a/src/plugins/content_management/common/index.ts b/src/platform/plugins/shared/content_management/common/index.ts similarity index 100% rename from src/plugins/content_management/common/index.ts rename to src/platform/plugins/shared/content_management/common/index.ts diff --git a/src/plugins/content_management/common/rpc/bulk_get.ts b/src/platform/plugins/shared/content_management/common/rpc/bulk_get.ts similarity index 100% rename from src/plugins/content_management/common/rpc/bulk_get.ts rename to src/platform/plugins/shared/content_management/common/rpc/bulk_get.ts diff --git a/src/plugins/content_management/common/rpc/common.ts b/src/platform/plugins/shared/content_management/common/rpc/common.ts similarity index 100% rename from src/plugins/content_management/common/rpc/common.ts rename to src/platform/plugins/shared/content_management/common/rpc/common.ts diff --git a/src/plugins/content_management/common/rpc/constants.ts b/src/platform/plugins/shared/content_management/common/rpc/constants.ts similarity index 100% rename from src/plugins/content_management/common/rpc/constants.ts rename to src/platform/plugins/shared/content_management/common/rpc/constants.ts diff --git a/src/plugins/content_management/common/rpc/create.ts b/src/platform/plugins/shared/content_management/common/rpc/create.ts similarity index 100% rename from src/plugins/content_management/common/rpc/create.ts rename to src/platform/plugins/shared/content_management/common/rpc/create.ts diff --git a/src/plugins/content_management/common/rpc/delete.ts b/src/platform/plugins/shared/content_management/common/rpc/delete.ts similarity index 100% rename from src/plugins/content_management/common/rpc/delete.ts rename to src/platform/plugins/shared/content_management/common/rpc/delete.ts diff --git a/src/plugins/content_management/common/rpc/get.ts b/src/platform/plugins/shared/content_management/common/rpc/get.ts similarity index 100% rename from src/plugins/content_management/common/rpc/get.ts rename to src/platform/plugins/shared/content_management/common/rpc/get.ts diff --git a/src/plugins/content_management/common/rpc/index.ts b/src/platform/plugins/shared/content_management/common/rpc/index.ts similarity index 100% rename from src/plugins/content_management/common/rpc/index.ts rename to src/platform/plugins/shared/content_management/common/rpc/index.ts diff --git a/src/plugins/content_management/common/rpc/msearch.ts b/src/platform/plugins/shared/content_management/common/rpc/msearch.ts similarity index 100% rename from src/plugins/content_management/common/rpc/msearch.ts rename to src/platform/plugins/shared/content_management/common/rpc/msearch.ts diff --git a/src/plugins/content_management/common/rpc/rpc.ts b/src/platform/plugins/shared/content_management/common/rpc/rpc.ts similarity index 100% rename from src/plugins/content_management/common/rpc/rpc.ts rename to src/platform/plugins/shared/content_management/common/rpc/rpc.ts diff --git a/src/plugins/content_management/common/rpc/search.ts b/src/platform/plugins/shared/content_management/common/rpc/search.ts similarity index 100% rename from src/plugins/content_management/common/rpc/search.ts rename to src/platform/plugins/shared/content_management/common/rpc/search.ts diff --git a/src/plugins/content_management/common/rpc/types.ts b/src/platform/plugins/shared/content_management/common/rpc/types.ts similarity index 100% rename from src/plugins/content_management/common/rpc/types.ts rename to src/platform/plugins/shared/content_management/common/rpc/types.ts diff --git a/src/plugins/content_management/common/rpc/update.ts b/src/platform/plugins/shared/content_management/common/rpc/update.ts similarity index 100% rename from src/plugins/content_management/common/rpc/update.ts rename to src/platform/plugins/shared/content_management/common/rpc/update.ts diff --git a/src/plugins/content_management/common/schemas.ts b/src/platform/plugins/shared/content_management/common/schemas.ts similarity index 100% rename from src/plugins/content_management/common/schemas.ts rename to src/platform/plugins/shared/content_management/common/schemas.ts diff --git a/src/plugins/content_management/docs/conent_management_landing.mdx b/src/platform/plugins/shared/content_management/docs/conent_management_landing.mdx similarity index 100% rename from src/plugins/content_management/docs/conent_management_landing.mdx rename to src/platform/plugins/shared/content_management/docs/conent_management_landing.mdx diff --git a/src/plugins/content_management/docs/content_onboarding.mdx b/src/platform/plugins/shared/content_management/docs/content_onboarding.mdx similarity index 99% rename from src/plugins/content_management/docs/content_onboarding.mdx rename to src/platform/plugins/shared/content_management/docs/content_onboarding.mdx index f198a720b9878..4a1c065423595 100644 --- a/src/plugins/content_management/docs/content_onboarding.mdx +++ b/src/platform/plugins/shared/content_management/docs/content_onboarding.mdx @@ -236,7 +236,7 @@ Once we have all our TS types defined and our CM ServicesDefinition map, we can /** * Import the map of CM services definitions that we created earlier. */ -import { cmServicesDefinition } from '../../common/content_management/cm_services'; +import { cmServicesDefinition } from '../../../../common/content_management/cm_services'; /** * It is a good practice to not directly exposes the SO document fields, specially the "attributes" object. @@ -465,7 +465,7 @@ This step is optional but it is recommended. Indeed, we could access the CM publ import type { SearchQuery } from '@kbn/content-management-plugin/common'; -import type { MapGetIn, MapGetOut, MapCreateIn, MapCreateOut, ... } from '../../common/content_management'; +import type { MapGetIn, MapGetOut, MapCreateIn, MapCreateOut, ... } from '../../../../common/content_management'; import { getContentManagement } from '../kibana_services'; const get = async (id: string) => { diff --git a/src/platform/plugins/shared/content_management/jest.config.js b/src/platform/plugins/shared/content_management/jest.config.js new file mode 100644 index 0000000000000..6e2d77aea5bef --- /dev/null +++ b/src/platform/plugins/shared/content_management/jest.config.js @@ -0,0 +1,20 @@ +/* + * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/content_management'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/content_management', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/content_management/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/src/plugins/content_management/jest.integration.config.js b/src/platform/plugins/shared/content_management/jest.integration.config.js similarity index 84% rename from src/plugins/content_management/jest.integration.config.js rename to src/platform/plugins/shared/content_management/jest.integration.config.js index e06daebd07142..3a762e67d26ab 100644 --- a/src/plugins/content_management/jest.integration.config.js +++ b/src/platform/plugins/shared/content_management/jest.integration.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/src/plugins/content_management'], + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/content_management'], }; diff --git a/src/plugins/content_management/kibana.jsonc b/src/platform/plugins/shared/content_management/kibana.jsonc similarity index 100% rename from src/plugins/content_management/kibana.jsonc rename to src/platform/plugins/shared/content_management/kibana.jsonc diff --git a/src/plugins/content_management/public/content_client/content_client.test.ts b/src/platform/plugins/shared/content_management/public/content_client/content_client.test.ts similarity index 100% rename from src/plugins/content_management/public/content_client/content_client.test.ts rename to src/platform/plugins/shared/content_management/public/content_client/content_client.test.ts diff --git a/src/plugins/content_management/public/content_client/content_client.tsx b/src/platform/plugins/shared/content_management/public/content_client/content_client.tsx similarity index 100% rename from src/plugins/content_management/public/content_client/content_client.tsx rename to src/platform/plugins/shared/content_management/public/content_client/content_client.tsx diff --git a/src/plugins/content_management/public/content_client/content_client_context.tsx b/src/platform/plugins/shared/content_management/public/content_client/content_client_context.tsx similarity index 100% rename from src/plugins/content_management/public/content_client/content_client_context.tsx rename to src/platform/plugins/shared/content_management/public/content_client/content_client_context.tsx diff --git a/src/plugins/content_management/public/content_client/content_client_mutation_hooks.test.tsx b/src/platform/plugins/shared/content_management/public/content_client/content_client_mutation_hooks.test.tsx similarity index 100% rename from src/plugins/content_management/public/content_client/content_client_mutation_hooks.test.tsx rename to src/platform/plugins/shared/content_management/public/content_client/content_client_mutation_hooks.test.tsx diff --git a/src/plugins/content_management/public/content_client/content_client_mutation_hooks.tsx b/src/platform/plugins/shared/content_management/public/content_client/content_client_mutation_hooks.tsx similarity index 100% rename from src/plugins/content_management/public/content_client/content_client_mutation_hooks.tsx rename to src/platform/plugins/shared/content_management/public/content_client/content_client_mutation_hooks.tsx diff --git a/src/plugins/content_management/public/content_client/content_client_query_hooks.test.tsx b/src/platform/plugins/shared/content_management/public/content_client/content_client_query_hooks.test.tsx similarity index 100% rename from src/plugins/content_management/public/content_client/content_client_query_hooks.test.tsx rename to src/platform/plugins/shared/content_management/public/content_client/content_client_query_hooks.test.tsx diff --git a/src/plugins/content_management/public/content_client/content_client_query_hooks.tsx b/src/platform/plugins/shared/content_management/public/content_client/content_client_query_hooks.tsx similarity index 100% rename from src/plugins/content_management/public/content_client/content_client_query_hooks.tsx rename to src/platform/plugins/shared/content_management/public/content_client/content_client_query_hooks.tsx diff --git a/src/plugins/content_management/public/content_client/index.ts b/src/platform/plugins/shared/content_management/public/content_client/index.ts similarity index 100% rename from src/plugins/content_management/public/content_client/index.ts rename to src/platform/plugins/shared/content_management/public/content_client/index.ts diff --git a/src/plugins/content_management/public/content_client/query_observable.ts b/src/platform/plugins/shared/content_management/public/content_client/query_observable.ts similarity index 100% rename from src/plugins/content_management/public/content_client/query_observable.ts rename to src/platform/plugins/shared/content_management/public/content_client/query_observable.ts diff --git a/src/plugins/content_management/public/crud_client/crud_client.mock.ts b/src/platform/plugins/shared/content_management/public/crud_client/crud_client.mock.ts similarity index 100% rename from src/plugins/content_management/public/crud_client/crud_client.mock.ts rename to src/platform/plugins/shared/content_management/public/crud_client/crud_client.mock.ts diff --git a/src/plugins/content_management/public/crud_client/crud_client.ts b/src/platform/plugins/shared/content_management/public/crud_client/crud_client.ts similarity index 100% rename from src/plugins/content_management/public/crud_client/crud_client.ts rename to src/platform/plugins/shared/content_management/public/crud_client/crud_client.ts diff --git a/src/plugins/content_management/public/crud_client/index.ts b/src/platform/plugins/shared/content_management/public/crud_client/index.ts similarity index 100% rename from src/plugins/content_management/public/crud_client/index.ts rename to src/platform/plugins/shared/content_management/public/crud_client/index.ts diff --git a/src/plugins/content_management/public/index.ts b/src/platform/plugins/shared/content_management/public/index.ts similarity index 100% rename from src/plugins/content_management/public/index.ts rename to src/platform/plugins/shared/content_management/public/index.ts diff --git a/src/plugins/content_management/public/mocks.ts b/src/platform/plugins/shared/content_management/public/mocks.ts similarity index 100% rename from src/plugins/content_management/public/mocks.ts rename to src/platform/plugins/shared/content_management/public/mocks.ts diff --git a/src/plugins/content_management/public/plugin.ts b/src/platform/plugins/shared/content_management/public/plugin.ts similarity index 100% rename from src/plugins/content_management/public/plugin.ts rename to src/platform/plugins/shared/content_management/public/plugin.ts diff --git a/src/plugins/content_management/public/registry/content_type.test.ts b/src/platform/plugins/shared/content_management/public/registry/content_type.test.ts similarity index 100% rename from src/plugins/content_management/public/registry/content_type.test.ts rename to src/platform/plugins/shared/content_management/public/registry/content_type.test.ts diff --git a/src/plugins/content_management/public/registry/content_type.ts b/src/platform/plugins/shared/content_management/public/registry/content_type.ts similarity index 100% rename from src/plugins/content_management/public/registry/content_type.ts rename to src/platform/plugins/shared/content_management/public/registry/content_type.ts diff --git a/src/plugins/content_management/public/registry/content_type_definition.ts b/src/platform/plugins/shared/content_management/public/registry/content_type_definition.ts similarity index 100% rename from src/plugins/content_management/public/registry/content_type_definition.ts rename to src/platform/plugins/shared/content_management/public/registry/content_type_definition.ts diff --git a/src/plugins/content_management/public/registry/index.ts b/src/platform/plugins/shared/content_management/public/registry/index.ts similarity index 100% rename from src/plugins/content_management/public/registry/index.ts rename to src/platform/plugins/shared/content_management/public/registry/index.ts diff --git a/src/plugins/content_management/public/registry/registry.test.ts b/src/platform/plugins/shared/content_management/public/registry/registry.test.ts similarity index 100% rename from src/plugins/content_management/public/registry/registry.test.ts rename to src/platform/plugins/shared/content_management/public/registry/registry.test.ts diff --git a/src/plugins/content_management/public/registry/registry.ts b/src/platform/plugins/shared/content_management/public/registry/registry.ts similarity index 100% rename from src/plugins/content_management/public/registry/registry.ts rename to src/platform/plugins/shared/content_management/public/registry/registry.ts diff --git a/src/plugins/content_management/public/rpc_client/index.ts b/src/platform/plugins/shared/content_management/public/rpc_client/index.ts similarity index 100% rename from src/plugins/content_management/public/rpc_client/index.ts rename to src/platform/plugins/shared/content_management/public/rpc_client/index.ts diff --git a/src/plugins/content_management/public/rpc_client/rpc_client.test.ts b/src/platform/plugins/shared/content_management/public/rpc_client/rpc_client.test.ts similarity index 100% rename from src/plugins/content_management/public/rpc_client/rpc_client.test.ts rename to src/platform/plugins/shared/content_management/public/rpc_client/rpc_client.test.ts diff --git a/src/plugins/content_management/public/rpc_client/rpc_client.ts b/src/platform/plugins/shared/content_management/public/rpc_client/rpc_client.ts similarity index 100% rename from src/plugins/content_management/public/rpc_client/rpc_client.ts rename to src/platform/plugins/shared/content_management/public/rpc_client/rpc_client.ts diff --git a/src/plugins/content_management/public/types.ts b/src/platform/plugins/shared/content_management/public/types.ts similarity index 100% rename from src/plugins/content_management/public/types.ts rename to src/platform/plugins/shared/content_management/public/types.ts diff --git a/src/plugins/content_management/server/content_client/content_client.test.ts b/src/platform/plugins/shared/content_management/server/content_client/content_client.test.ts similarity index 100% rename from src/plugins/content_management/server/content_client/content_client.test.ts rename to src/platform/plugins/shared/content_management/server/content_client/content_client.test.ts diff --git a/src/plugins/content_management/server/content_client/content_client.ts b/src/platform/plugins/shared/content_management/server/content_client/content_client.ts similarity index 100% rename from src/plugins/content_management/server/content_client/content_client.ts rename to src/platform/plugins/shared/content_management/server/content_client/content_client.ts diff --git a/src/plugins/content_management/server/content_client/content_client_factory.ts b/src/platform/plugins/shared/content_management/server/content_client/content_client_factory.ts similarity index 100% rename from src/plugins/content_management/server/content_client/content_client_factory.ts rename to src/platform/plugins/shared/content_management/server/content_client/content_client_factory.ts diff --git a/src/plugins/content_management/server/content_client/index.ts b/src/platform/plugins/shared/content_management/server/content_client/index.ts similarity index 100% rename from src/plugins/content_management/server/content_client/index.ts rename to src/platform/plugins/shared/content_management/server/content_client/index.ts diff --git a/src/plugins/content_management/server/content_client/types.ts b/src/platform/plugins/shared/content_management/server/content_client/types.ts similarity index 100% rename from src/plugins/content_management/server/content_client/types.ts rename to src/platform/plugins/shared/content_management/server/content_client/types.ts diff --git a/src/plugins/content_management/server/core/content_type.ts b/src/platform/plugins/shared/content_management/server/core/content_type.ts similarity index 100% rename from src/plugins/content_management/server/core/content_type.ts rename to src/platform/plugins/shared/content_management/server/core/content_type.ts diff --git a/src/plugins/content_management/server/core/core.test.ts b/src/platform/plugins/shared/content_management/server/core/core.test.ts similarity index 100% rename from src/plugins/content_management/server/core/core.test.ts rename to src/platform/plugins/shared/content_management/server/core/core.test.ts diff --git a/src/plugins/content_management/server/core/core.ts b/src/platform/plugins/shared/content_management/server/core/core.ts similarity index 100% rename from src/plugins/content_management/server/core/core.ts rename to src/platform/plugins/shared/content_management/server/core/core.ts diff --git a/src/plugins/content_management/server/core/crud.ts b/src/platform/plugins/shared/content_management/server/core/crud.ts similarity index 100% rename from src/plugins/content_management/server/core/crud.ts rename to src/platform/plugins/shared/content_management/server/core/crud.ts diff --git a/src/plugins/content_management/server/core/event_bus.ts b/src/platform/plugins/shared/content_management/server/core/event_bus.ts similarity index 100% rename from src/plugins/content_management/server/core/event_bus.ts rename to src/platform/plugins/shared/content_management/server/core/event_bus.ts diff --git a/src/plugins/content_management/server/core/event_types.ts b/src/platform/plugins/shared/content_management/server/core/event_types.ts similarity index 100% rename from src/plugins/content_management/server/core/event_types.ts rename to src/platform/plugins/shared/content_management/server/core/event_types.ts diff --git a/src/plugins/content_management/server/core/index.ts b/src/platform/plugins/shared/content_management/server/core/index.ts similarity index 100% rename from src/plugins/content_management/server/core/index.ts rename to src/platform/plugins/shared/content_management/server/core/index.ts diff --git a/src/plugins/content_management/server/core/mocks/in_memory_storage.ts b/src/platform/plugins/shared/content_management/server/core/mocks/in_memory_storage.ts similarity index 100% rename from src/plugins/content_management/server/core/mocks/in_memory_storage.ts rename to src/platform/plugins/shared/content_management/server/core/mocks/in_memory_storage.ts diff --git a/src/plugins/content_management/server/core/mocks/index.ts b/src/platform/plugins/shared/content_management/server/core/mocks/index.ts similarity index 100% rename from src/plugins/content_management/server/core/mocks/index.ts rename to src/platform/plugins/shared/content_management/server/core/mocks/index.ts diff --git a/src/plugins/content_management/server/core/msearch.test.ts b/src/platform/plugins/shared/content_management/server/core/msearch.test.ts similarity index 100% rename from src/plugins/content_management/server/core/msearch.test.ts rename to src/platform/plugins/shared/content_management/server/core/msearch.test.ts diff --git a/src/plugins/content_management/server/core/msearch.ts b/src/platform/plugins/shared/content_management/server/core/msearch.ts similarity index 100% rename from src/plugins/content_management/server/core/msearch.ts rename to src/platform/plugins/shared/content_management/server/core/msearch.ts diff --git a/src/plugins/content_management/server/core/registry.ts b/src/platform/plugins/shared/content_management/server/core/registry.ts similarity index 100% rename from src/plugins/content_management/server/core/registry.ts rename to src/platform/plugins/shared/content_management/server/core/registry.ts diff --git a/src/plugins/content_management/server/core/types.ts b/src/platform/plugins/shared/content_management/server/core/types.ts similarity index 100% rename from src/plugins/content_management/server/core/types.ts rename to src/platform/plugins/shared/content_management/server/core/types.ts diff --git a/src/plugins/content_management/server/event_stream/README.md b/src/platform/plugins/shared/content_management/server/event_stream/README.md similarity index 100% rename from src/plugins/content_management/server/event_stream/README.md rename to src/platform/plugins/shared/content_management/server/event_stream/README.md diff --git a/src/plugins/content_management/server/event_stream/es/es_event_stream_client.ts b/src/platform/plugins/shared/content_management/server/event_stream/es/es_event_stream_client.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/es/es_event_stream_client.ts rename to src/platform/plugins/shared/content_management/server/event_stream/es/es_event_stream_client.ts diff --git a/src/plugins/content_management/server/event_stream/es/es_event_stream_client_factory.ts b/src/platform/plugins/shared/content_management/server/event_stream/es/es_event_stream_client_factory.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/es/es_event_stream_client_factory.ts rename to src/platform/plugins/shared/content_management/server/event_stream/es/es_event_stream_client_factory.ts diff --git a/src/plugins/content_management/server/event_stream/es/es_event_stream_names.ts b/src/platform/plugins/shared/content_management/server/event_stream/es/es_event_stream_names.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/es/es_event_stream_names.ts rename to src/platform/plugins/shared/content_management/server/event_stream/es/es_event_stream_names.ts diff --git a/src/plugins/content_management/server/event_stream/es/index.ts b/src/platform/plugins/shared/content_management/server/event_stream/es/index.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/es/index.ts rename to src/platform/plugins/shared/content_management/server/event_stream/es/index.ts diff --git a/src/plugins/content_management/server/event_stream/es/init/es_event_stream_initializer.ts b/src/platform/plugins/shared/content_management/server/event_stream/es/init/es_event_stream_initializer.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/es/init/es_event_stream_initializer.ts rename to src/platform/plugins/shared/content_management/server/event_stream/es/init/es_event_stream_initializer.ts diff --git a/src/plugins/content_management/server/event_stream/es/init/index_template.ts b/src/platform/plugins/shared/content_management/server/event_stream/es/init/index_template.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/es/init/index_template.ts rename to src/platform/plugins/shared/content_management/server/event_stream/es/init/index_template.ts diff --git a/src/plugins/content_management/server/event_stream/es/init/mappings.ts b/src/platform/plugins/shared/content_management/server/event_stream/es/init/mappings.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/es/init/mappings.ts rename to src/platform/plugins/shared/content_management/server/event_stream/es/init/mappings.ts diff --git a/src/plugins/content_management/server/event_stream/es/integration_tests/es_event_stream_client.test.ts b/src/platform/plugins/shared/content_management/server/event_stream/es/integration_tests/es_event_stream_client.test.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/es/integration_tests/es_event_stream_client.test.ts rename to src/platform/plugins/shared/content_management/server/event_stream/es/integration_tests/es_event_stream_client.test.ts diff --git a/src/plugins/content_management/server/event_stream/es/types.ts b/src/platform/plugins/shared/content_management/server/event_stream/es/types.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/es/types.ts rename to src/platform/plugins/shared/content_management/server/event_stream/es/types.ts diff --git a/src/plugins/content_management/server/event_stream/es/util.ts b/src/platform/plugins/shared/content_management/server/event_stream/es/util.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/es/util.ts rename to src/platform/plugins/shared/content_management/server/event_stream/es/util.ts diff --git a/src/plugins/content_management/server/event_stream/event_stream_service.test.ts b/src/platform/plugins/shared/content_management/server/event_stream/event_stream_service.test.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/event_stream_service.test.ts rename to src/platform/plugins/shared/content_management/server/event_stream/event_stream_service.test.ts diff --git a/src/plugins/content_management/server/event_stream/event_stream_service.ts b/src/platform/plugins/shared/content_management/server/event_stream/event_stream_service.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/event_stream_service.ts rename to src/platform/plugins/shared/content_management/server/event_stream/event_stream_service.ts diff --git a/src/plugins/content_management/server/event_stream/index.ts b/src/platform/plugins/shared/content_management/server/event_stream/index.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/index.ts rename to src/platform/plugins/shared/content_management/server/event_stream/index.ts diff --git a/src/plugins/content_management/server/event_stream/memory/index.ts b/src/platform/plugins/shared/content_management/server/event_stream/memory/index.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/memory/index.ts rename to src/platform/plugins/shared/content_management/server/event_stream/memory/index.ts diff --git a/src/plugins/content_management/server/event_stream/memory/memory_event_stream_client.test.ts b/src/platform/plugins/shared/content_management/server/event_stream/memory/memory_event_stream_client.test.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/memory/memory_event_stream_client.test.ts rename to src/platform/plugins/shared/content_management/server/event_stream/memory/memory_event_stream_client.test.ts diff --git a/src/plugins/content_management/server/event_stream/memory/memory_event_stream_client.ts b/src/platform/plugins/shared/content_management/server/event_stream/memory/memory_event_stream_client.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/memory/memory_event_stream_client.ts rename to src/platform/plugins/shared/content_management/server/event_stream/memory/memory_event_stream_client.ts diff --git a/src/plugins/content_management/server/event_stream/memory/memory_event_stream_client_factory.ts b/src/platform/plugins/shared/content_management/server/event_stream/memory/memory_event_stream_client_factory.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/memory/memory_event_stream_client_factory.ts rename to src/platform/plugins/shared/content_management/server/event_stream/memory/memory_event_stream_client_factory.ts diff --git a/src/plugins/content_management/server/event_stream/memory/util.ts b/src/platform/plugins/shared/content_management/server/event_stream/memory/util.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/memory/util.ts rename to src/platform/plugins/shared/content_management/server/event_stream/memory/util.ts diff --git a/src/plugins/content_management/server/event_stream/tests/event_stream_logger_mock.ts b/src/platform/plugins/shared/content_management/server/event_stream/tests/event_stream_logger_mock.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/tests/event_stream_logger_mock.ts rename to src/platform/plugins/shared/content_management/server/event_stream/tests/event_stream_logger_mock.ts diff --git a/src/plugins/content_management/server/event_stream/tests/setup_event_stream_service.ts b/src/platform/plugins/shared/content_management/server/event_stream/tests/setup_event_stream_service.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/tests/setup_event_stream_service.ts rename to src/platform/plugins/shared/content_management/server/event_stream/tests/setup_event_stream_service.ts diff --git a/src/plugins/content_management/server/event_stream/tests/test_event_stream_client.ts b/src/platform/plugins/shared/content_management/server/event_stream/tests/test_event_stream_client.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/tests/test_event_stream_client.ts rename to src/platform/plugins/shared/content_management/server/event_stream/tests/test_event_stream_client.ts diff --git a/src/plugins/content_management/server/event_stream/tests/util.ts b/src/platform/plugins/shared/content_management/server/event_stream/tests/util.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/tests/util.ts rename to src/platform/plugins/shared/content_management/server/event_stream/tests/util.ts diff --git a/src/plugins/content_management/server/event_stream/types.ts b/src/platform/plugins/shared/content_management/server/event_stream/types.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/types.ts rename to src/platform/plugins/shared/content_management/server/event_stream/types.ts diff --git a/src/plugins/content_management/server/event_stream/validation.ts b/src/platform/plugins/shared/content_management/server/event_stream/validation.ts similarity index 100% rename from src/plugins/content_management/server/event_stream/validation.ts rename to src/platform/plugins/shared/content_management/server/event_stream/validation.ts diff --git a/src/plugins/content_management/server/index.ts b/src/platform/plugins/shared/content_management/server/index.ts similarity index 100% rename from src/plugins/content_management/server/index.ts rename to src/platform/plugins/shared/content_management/server/index.ts diff --git a/src/plugins/content_management/server/plugin.test.ts b/src/platform/plugins/shared/content_management/server/plugin.test.ts similarity index 100% rename from src/plugins/content_management/server/plugin.test.ts rename to src/platform/plugins/shared/content_management/server/plugin.test.ts diff --git a/src/plugins/content_management/server/plugin.ts b/src/platform/plugins/shared/content_management/server/plugin.ts similarity index 100% rename from src/plugins/content_management/server/plugin.ts rename to src/platform/plugins/shared/content_management/server/plugin.ts diff --git a/src/plugins/content_management/server/rpc/index.ts b/src/platform/plugins/shared/content_management/server/rpc/index.ts similarity index 100% rename from src/plugins/content_management/server/rpc/index.ts rename to src/platform/plugins/shared/content_management/server/rpc/index.ts diff --git a/src/plugins/content_management/server/rpc/procedures/all_procedures.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/all_procedures.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/all_procedures.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/all_procedures.ts diff --git a/src/plugins/content_management/server/rpc/procedures/bulk_get.test.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/bulk_get.test.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/bulk_get.test.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/bulk_get.test.ts diff --git a/src/plugins/content_management/server/rpc/procedures/bulk_get.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/bulk_get.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/bulk_get.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/bulk_get.ts diff --git a/src/plugins/content_management/server/rpc/procedures/create.test.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/create.test.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/create.test.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/create.test.ts diff --git a/src/plugins/content_management/server/rpc/procedures/create.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/create.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/create.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/create.ts diff --git a/src/plugins/content_management/server/rpc/procedures/delete.test.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/delete.test.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/delete.test.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/delete.test.ts diff --git a/src/plugins/content_management/server/rpc/procedures/delete.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/delete.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/delete.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/delete.ts diff --git a/src/plugins/content_management/server/rpc/procedures/get.test.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/get.test.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/get.test.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/get.test.ts diff --git a/src/plugins/content_management/server/rpc/procedures/get.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/get.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/get.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/get.ts diff --git a/src/plugins/content_management/server/rpc/procedures/index.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/index.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/index.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/index.ts diff --git a/src/plugins/content_management/server/rpc/procedures/msearch.test.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/msearch.test.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/msearch.test.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/msearch.test.ts diff --git a/src/plugins/content_management/server/rpc/procedures/msearch.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/msearch.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/msearch.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/msearch.ts diff --git a/src/plugins/content_management/server/rpc/procedures/search.test.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/search.test.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/search.test.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/search.test.ts diff --git a/src/plugins/content_management/server/rpc/procedures/search.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/search.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/search.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/search.ts diff --git a/src/plugins/content_management/server/rpc/procedures/update.test.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/update.test.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/update.test.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/update.test.ts diff --git a/src/plugins/content_management/server/rpc/procedures/update.ts b/src/platform/plugins/shared/content_management/server/rpc/procedures/update.ts similarity index 100% rename from src/plugins/content_management/server/rpc/procedures/update.ts rename to src/platform/plugins/shared/content_management/server/rpc/procedures/update.ts diff --git a/src/plugins/content_management/server/rpc/routes/error_wrapper.ts b/src/platform/plugins/shared/content_management/server/rpc/routes/error_wrapper.ts similarity index 100% rename from src/plugins/content_management/server/rpc/routes/error_wrapper.ts rename to src/platform/plugins/shared/content_management/server/rpc/routes/error_wrapper.ts diff --git a/src/plugins/content_management/server/rpc/routes/index.ts b/src/platform/plugins/shared/content_management/server/rpc/routes/index.ts similarity index 100% rename from src/plugins/content_management/server/rpc/routes/index.ts rename to src/platform/plugins/shared/content_management/server/rpc/routes/index.ts diff --git a/src/plugins/content_management/server/rpc/routes/routes.ts b/src/platform/plugins/shared/content_management/server/rpc/routes/routes.ts similarity index 100% rename from src/plugins/content_management/server/rpc/routes/routes.ts rename to src/platform/plugins/shared/content_management/server/rpc/routes/routes.ts diff --git a/src/plugins/content_management/server/rpc/rpc_service.test.ts b/src/platform/plugins/shared/content_management/server/rpc/rpc_service.test.ts similarity index 100% rename from src/plugins/content_management/server/rpc/rpc_service.test.ts rename to src/platform/plugins/shared/content_management/server/rpc/rpc_service.test.ts diff --git a/src/plugins/content_management/server/rpc/rpc_service.ts b/src/platform/plugins/shared/content_management/server/rpc/rpc_service.ts similarity index 100% rename from src/plugins/content_management/server/rpc/rpc_service.ts rename to src/platform/plugins/shared/content_management/server/rpc/rpc_service.ts diff --git a/src/plugins/content_management/server/rpc/types.ts b/src/platform/plugins/shared/content_management/server/rpc/types.ts similarity index 100% rename from src/plugins/content_management/server/rpc/types.ts rename to src/platform/plugins/shared/content_management/server/rpc/types.ts diff --git a/src/plugins/content_management/server/types.ts b/src/platform/plugins/shared/content_management/server/types.ts similarity index 100% rename from src/plugins/content_management/server/types.ts rename to src/platform/plugins/shared/content_management/server/types.ts diff --git a/src/plugins/content_management/server/utils/index.ts b/src/platform/plugins/shared/content_management/server/utils/index.ts similarity index 100% rename from src/plugins/content_management/server/utils/index.ts rename to src/platform/plugins/shared/content_management/server/utils/index.ts diff --git a/src/plugins/content_management/server/utils/services_transforms_factory.ts b/src/platform/plugins/shared/content_management/server/utils/services_transforms_factory.ts similarity index 100% rename from src/plugins/content_management/server/utils/services_transforms_factory.ts rename to src/platform/plugins/shared/content_management/server/utils/services_transforms_factory.ts diff --git a/src/plugins/content_management/server/utils/utils.ts b/src/platform/plugins/shared/content_management/server/utils/utils.ts similarity index 100% rename from src/plugins/content_management/server/utils/utils.ts rename to src/platform/plugins/shared/content_management/server/utils/utils.ts diff --git a/src/plugins/content_management/tsconfig.json b/src/platform/plugins/shared/content_management/tsconfig.json similarity index 93% rename from src/plugins/content_management/tsconfig.json rename to src/platform/plugins/shared/content_management/tsconfig.json index bba887cd887b1..eff7e0bcb900a 100644 --- a/src/plugins/content_management/tsconfig.json +++ b/src/platform/plugins/shared/content_management/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/files/README.md b/src/platform/plugins/shared/files/README.md similarity index 100% rename from src/plugins/files/README.md rename to src/platform/plugins/shared/files/README.md diff --git a/src/plugins/files/common/api_routes.ts b/src/platform/plugins/shared/files/common/api_routes.ts similarity index 100% rename from src/plugins/files/common/api_routes.ts rename to src/platform/plugins/shared/files/common/api_routes.ts diff --git a/src/plugins/files/common/constants.ts b/src/platform/plugins/shared/files/common/constants.ts similarity index 100% rename from src/plugins/files/common/constants.ts rename to src/platform/plugins/shared/files/common/constants.ts diff --git a/src/plugins/files/common/default_image_file_kind.ts b/src/platform/plugins/shared/files/common/default_image_file_kind.ts similarity index 100% rename from src/plugins/files/common/default_image_file_kind.ts rename to src/platform/plugins/shared/files/common/default_image_file_kind.ts diff --git a/src/plugins/files/common/file_kinds_registry/index.ts b/src/platform/plugins/shared/files/common/file_kinds_registry/index.ts similarity index 100% rename from src/plugins/files/common/file_kinds_registry/index.ts rename to src/platform/plugins/shared/files/common/file_kinds_registry/index.ts diff --git a/src/plugins/files/common/files_client.ts b/src/platform/plugins/shared/files/common/files_client.ts similarity index 100% rename from src/plugins/files/common/files_client.ts rename to src/platform/plugins/shared/files/common/files_client.ts diff --git a/src/plugins/files/common/index.ts b/src/platform/plugins/shared/files/common/index.ts similarity index 100% rename from src/plugins/files/common/index.ts rename to src/platform/plugins/shared/files/common/index.ts diff --git a/src/plugins/files/common/types.ts b/src/platform/plugins/shared/files/common/types.ts similarity index 100% rename from src/plugins/files/common/types.ts rename to src/platform/plugins/shared/files/common/types.ts diff --git a/src/plugins/files/docs/tutorial.mdx b/src/platform/plugins/shared/files/docs/tutorial.mdx similarity index 100% rename from src/plugins/files/docs/tutorial.mdx rename to src/platform/plugins/shared/files/docs/tutorial.mdx diff --git a/src/plugins/content_management/jest.config.js b/src/platform/plugins/shared/files/jest.config.js similarity index 75% rename from src/plugins/content_management/jest.config.js rename to src/platform/plugins/shared/files/jest.config.js index b29fe2d56135f..c6fc47eddfe5e 100644 --- a/src/plugins/content_management/jest.config.js +++ b/src/platform/plugins/shared/files/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/content_management'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/content_management', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/files'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/files', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/content_management/{common,public,server}/**/*.{js,ts,tsx}', + '/src/platform/plugins/shared/files/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/src/plugins/files/jest.integration.config.js b/src/platform/plugins/shared/files/jest.integration.config.js similarity index 85% rename from src/plugins/files/jest.integration.config.js rename to src/platform/plugins/shared/files/jest.integration.config.js index b1d616c2ee850..2d9b1564bf4e5 100644 --- a/src/plugins/files/jest.integration.config.js +++ b/src/platform/plugins/shared/files/jest.integration.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/src/plugins/files'], + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/files'], }; diff --git a/src/plugins/files/kibana.jsonc b/src/platform/plugins/shared/files/kibana.jsonc similarity index 100% rename from src/plugins/files/kibana.jsonc rename to src/platform/plugins/shared/files/kibana.jsonc diff --git a/src/plugins/files/public/files_client/files_client.test.ts b/src/platform/plugins/shared/files/public/files_client/files_client.test.ts similarity index 100% rename from src/plugins/files/public/files_client/files_client.test.ts rename to src/platform/plugins/shared/files/public/files_client/files_client.test.ts diff --git a/src/plugins/files/public/files_client/files_client.ts b/src/platform/plugins/shared/files/public/files_client/files_client.ts similarity index 100% rename from src/plugins/files/public/files_client/files_client.ts rename to src/platform/plugins/shared/files/public/files_client/files_client.ts diff --git a/src/plugins/files/public/files_client/index.ts b/src/platform/plugins/shared/files/public/files_client/index.ts similarity index 100% rename from src/plugins/files/public/files_client/index.ts rename to src/platform/plugins/shared/files/public/files_client/index.ts diff --git a/src/plugins/files/public/index.ts b/src/platform/plugins/shared/files/public/index.ts similarity index 100% rename from src/plugins/files/public/index.ts rename to src/platform/plugins/shared/files/public/index.ts diff --git a/src/plugins/files/public/mocks.ts b/src/platform/plugins/shared/files/public/mocks.ts similarity index 100% rename from src/plugins/files/public/mocks.ts rename to src/platform/plugins/shared/files/public/mocks.ts diff --git a/src/plugins/files/public/plugin.ts b/src/platform/plugins/shared/files/public/plugin.ts similarity index 100% rename from src/plugins/files/public/plugin.ts rename to src/platform/plugins/shared/files/public/plugin.ts diff --git a/src/plugins/files/public/types.ts b/src/platform/plugins/shared/files/public/types.ts similarity index 100% rename from src/plugins/files/public/types.ts rename to src/platform/plugins/shared/files/public/types.ts diff --git a/src/plugins/files/server/audit_events.ts b/src/platform/plugins/shared/files/server/audit_events.ts similarity index 100% rename from src/plugins/files/server/audit_events.ts rename to src/platform/plugins/shared/files/server/audit_events.ts diff --git a/src/plugins/files/server/blob_storage_service/adapters/README.md b/src/platform/plugins/shared/files/server/blob_storage_service/adapters/README.md similarity index 100% rename from src/plugins/files/server/blob_storage_service/adapters/README.md rename to src/platform/plugins/shared/files/server/blob_storage_service/adapters/README.md diff --git a/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts b/src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts similarity index 100% rename from src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts rename to src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts diff --git a/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts b/src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts similarity index 100% rename from src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts rename to src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts diff --git a/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/index.ts b/src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/content_stream/index.ts similarity index 100% rename from src/plugins/files/server/blob_storage_service/adapters/es/content_stream/index.ts rename to src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/content_stream/index.ts diff --git a/src/plugins/files/server/blob_storage_service/adapters/es/es.test.ts b/src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/es.test.ts similarity index 100% rename from src/plugins/files/server/blob_storage_service/adapters/es/es.test.ts rename to src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/es.test.ts diff --git a/src/plugins/files/server/blob_storage_service/adapters/es/es.ts b/src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/es.ts similarity index 100% rename from src/plugins/files/server/blob_storage_service/adapters/es/es.ts rename to src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/es.ts diff --git a/src/plugins/files/server/blob_storage_service/adapters/es/index.ts b/src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/index.ts similarity index 100% rename from src/plugins/files/server/blob_storage_service/adapters/es/index.ts rename to src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/index.ts diff --git a/src/plugins/files/server/blob_storage_service/adapters/es/integration_tests/es.test.ts b/src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/integration_tests/es.test.ts similarity index 100% rename from src/plugins/files/server/blob_storage_service/adapters/es/integration_tests/es.test.ts rename to src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/integration_tests/es.test.ts diff --git a/src/plugins/files/server/blob_storage_service/adapters/es/mappings.ts b/src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/mappings.ts similarity index 100% rename from src/plugins/files/server/blob_storage_service/adapters/es/mappings.ts rename to src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/mappings.ts diff --git a/src/plugins/files/server/blob_storage_service/adapters/index.ts b/src/platform/plugins/shared/files/server/blob_storage_service/adapters/index.ts similarity index 100% rename from src/plugins/files/server/blob_storage_service/adapters/index.ts rename to src/platform/plugins/shared/files/server/blob_storage_service/adapters/index.ts diff --git a/src/plugins/files/server/blob_storage_service/blob_storage_service.ts b/src/platform/plugins/shared/files/server/blob_storage_service/blob_storage_service.ts similarity index 100% rename from src/plugins/files/server/blob_storage_service/blob_storage_service.ts rename to src/platform/plugins/shared/files/server/blob_storage_service/blob_storage_service.ts diff --git a/src/plugins/files/server/blob_storage_service/index.ts b/src/platform/plugins/shared/files/server/blob_storage_service/index.ts similarity index 100% rename from src/plugins/files/server/blob_storage_service/index.ts rename to src/platform/plugins/shared/files/server/blob_storage_service/index.ts diff --git a/src/plugins/files/server/blob_storage_service/types.ts b/src/platform/plugins/shared/files/server/blob_storage_service/types.ts similarity index 100% rename from src/plugins/files/server/blob_storage_service/types.ts rename to src/platform/plugins/shared/files/server/blob_storage_service/types.ts diff --git a/src/plugins/files/server/feature.ts b/src/platform/plugins/shared/files/server/feature.ts similarity index 100% rename from src/plugins/files/server/feature.ts rename to src/platform/plugins/shared/files/server/feature.ts diff --git a/src/plugins/files/server/file/errors.ts b/src/platform/plugins/shared/files/server/file/errors.ts similarity index 100% rename from src/plugins/files/server/file/errors.ts rename to src/platform/plugins/shared/files/server/file/errors.ts diff --git a/src/plugins/files/server/file/file.test.ts b/src/platform/plugins/shared/files/server/file/file.test.ts similarity index 100% rename from src/plugins/files/server/file/file.test.ts rename to src/platform/plugins/shared/files/server/file/file.test.ts diff --git a/src/plugins/files/server/file/file.ts b/src/platform/plugins/shared/files/server/file/file.ts similarity index 100% rename from src/plugins/files/server/file/file.ts rename to src/platform/plugins/shared/files/server/file/file.ts diff --git a/src/plugins/files/server/file/file_attributes_reducer.ts b/src/platform/plugins/shared/files/server/file/file_attributes_reducer.ts similarity index 100% rename from src/plugins/files/server/file/file_attributes_reducer.ts rename to src/platform/plugins/shared/files/server/file/file_attributes_reducer.ts diff --git a/src/plugins/files/server/file/index.ts b/src/platform/plugins/shared/files/server/file/index.ts similarity index 100% rename from src/plugins/files/server/file/index.ts rename to src/platform/plugins/shared/files/server/file/index.ts diff --git a/src/plugins/files/server/file/to_json.ts b/src/platform/plugins/shared/files/server/file/to_json.ts similarity index 100% rename from src/plugins/files/server/file/to_json.ts rename to src/platform/plugins/shared/files/server/file/to_json.ts diff --git a/src/plugins/files/server/file_client/create_es_file_client.test.ts b/src/platform/plugins/shared/files/server/file_client/create_es_file_client.test.ts similarity index 100% rename from src/plugins/files/server/file_client/create_es_file_client.test.ts rename to src/platform/plugins/shared/files/server/file_client/create_es_file_client.test.ts diff --git a/src/plugins/files/server/file_client/create_es_file_client.ts b/src/platform/plugins/shared/files/server/file_client/create_es_file_client.ts similarity index 100% rename from src/plugins/files/server/file_client/create_es_file_client.ts rename to src/platform/plugins/shared/files/server/file_client/create_es_file_client.ts diff --git a/src/plugins/files/server/file_client/file_client.ts b/src/platform/plugins/shared/files/server/file_client/file_client.ts similarity index 100% rename from src/plugins/files/server/file_client/file_client.ts rename to src/platform/plugins/shared/files/server/file_client/file_client.ts diff --git a/src/plugins/files/server/file_client/file_metadata_client/adapters/es_index.test.ts b/src/platform/plugins/shared/files/server/file_client/file_metadata_client/adapters/es_index.test.ts similarity index 100% rename from src/plugins/files/server/file_client/file_metadata_client/adapters/es_index.test.ts rename to src/platform/plugins/shared/files/server/file_client/file_metadata_client/adapters/es_index.test.ts diff --git a/src/plugins/files/server/file_client/file_metadata_client/adapters/es_index.ts b/src/platform/plugins/shared/files/server/file_client/file_metadata_client/adapters/es_index.ts similarity index 100% rename from src/plugins/files/server/file_client/file_metadata_client/adapters/es_index.ts rename to src/platform/plugins/shared/files/server/file_client/file_metadata_client/adapters/es_index.ts diff --git a/src/plugins/files/server/file_client/file_metadata_client/adapters/index.ts b/src/platform/plugins/shared/files/server/file_client/file_metadata_client/adapters/index.ts similarity index 100% rename from src/plugins/files/server/file_client/file_metadata_client/adapters/index.ts rename to src/platform/plugins/shared/files/server/file_client/file_metadata_client/adapters/index.ts diff --git a/src/plugins/files/server/file_client/file_metadata_client/adapters/query_filters.ts b/src/platform/plugins/shared/files/server/file_client/file_metadata_client/adapters/query_filters.ts similarity index 100% rename from src/plugins/files/server/file_client/file_metadata_client/adapters/query_filters.ts rename to src/platform/plugins/shared/files/server/file_client/file_metadata_client/adapters/query_filters.ts diff --git a/src/plugins/files/server/file_client/file_metadata_client/adapters/saved_objects.ts b/src/platform/plugins/shared/files/server/file_client/file_metadata_client/adapters/saved_objects.ts similarity index 100% rename from src/plugins/files/server/file_client/file_metadata_client/adapters/saved_objects.ts rename to src/platform/plugins/shared/files/server/file_client/file_metadata_client/adapters/saved_objects.ts diff --git a/src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts b/src/platform/plugins/shared/files/server/file_client/file_metadata_client/file_metadata_client.ts similarity index 100% rename from src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts rename to src/platform/plugins/shared/files/server/file_client/file_metadata_client/file_metadata_client.ts diff --git a/src/plugins/files/server/file_client/file_metadata_client/index.ts b/src/platform/plugins/shared/files/server/file_client/file_metadata_client/index.ts similarity index 100% rename from src/plugins/files/server/file_client/file_metadata_client/index.ts rename to src/platform/plugins/shared/files/server/file_client/file_metadata_client/index.ts diff --git a/src/plugins/files/server/file_client/index.ts b/src/platform/plugins/shared/files/server/file_client/index.ts similarity index 100% rename from src/plugins/files/server/file_client/index.ts rename to src/platform/plugins/shared/files/server/file_client/index.ts diff --git a/src/plugins/files/server/file_client/integration_tests/es_file_client.test.ts b/src/platform/plugins/shared/files/server/file_client/integration_tests/es_file_client.test.ts similarity index 100% rename from src/plugins/files/server/file_client/integration_tests/es_file_client.test.ts rename to src/platform/plugins/shared/files/server/file_client/integration_tests/es_file_client.test.ts diff --git a/src/plugins/files/server/file_client/stream_transforms/file_hash_transform/file_hash_transform.test.ts b/src/platform/plugins/shared/files/server/file_client/stream_transforms/file_hash_transform/file_hash_transform.test.ts similarity index 100% rename from src/plugins/files/server/file_client/stream_transforms/file_hash_transform/file_hash_transform.test.ts rename to src/platform/plugins/shared/files/server/file_client/stream_transforms/file_hash_transform/file_hash_transform.test.ts diff --git a/src/plugins/files/server/file_client/stream_transforms/file_hash_transform/file_hash_transform.ts b/src/platform/plugins/shared/files/server/file_client/stream_transforms/file_hash_transform/file_hash_transform.ts similarity index 100% rename from src/plugins/files/server/file_client/stream_transforms/file_hash_transform/file_hash_transform.ts rename to src/platform/plugins/shared/files/server/file_client/stream_transforms/file_hash_transform/file_hash_transform.ts diff --git a/src/plugins/files/server/file_client/stream_transforms/file_hash_transform/index.ts b/src/platform/plugins/shared/files/server/file_client/stream_transforms/file_hash_transform/index.ts similarity index 100% rename from src/plugins/files/server/file_client/stream_transforms/file_hash_transform/index.ts rename to src/platform/plugins/shared/files/server/file_client/stream_transforms/file_hash_transform/index.ts diff --git a/src/plugins/files/server/file_client/stream_transforms/index.ts b/src/platform/plugins/shared/files/server/file_client/stream_transforms/index.ts similarity index 100% rename from src/plugins/files/server/file_client/stream_transforms/index.ts rename to src/platform/plugins/shared/files/server/file_client/stream_transforms/index.ts diff --git a/src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/errors.ts b/src/platform/plugins/shared/files/server/file_client/stream_transforms/max_byte_size_transform/errors.ts similarity index 100% rename from src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/errors.ts rename to src/platform/plugins/shared/files/server/file_client/stream_transforms/max_byte_size_transform/errors.ts diff --git a/src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/index.ts b/src/platform/plugins/shared/files/server/file_client/stream_transforms/max_byte_size_transform/index.ts similarity index 100% rename from src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/index.ts rename to src/platform/plugins/shared/files/server/file_client/stream_transforms/max_byte_size_transform/index.ts diff --git a/src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.test.ts b/src/platform/plugins/shared/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.test.ts similarity index 100% rename from src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.test.ts rename to src/platform/plugins/shared/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.test.ts diff --git a/src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.ts b/src/platform/plugins/shared/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.ts similarity index 100% rename from src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.ts rename to src/platform/plugins/shared/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.ts diff --git a/src/plugins/files/server/file_client/types.ts b/src/platform/plugins/shared/files/server/file_client/types.ts similarity index 100% rename from src/plugins/files/server/file_client/types.ts rename to src/platform/plugins/shared/files/server/file_client/types.ts diff --git a/src/plugins/files/server/file_client/utils.ts b/src/platform/plugins/shared/files/server/file_client/utils.ts similarity index 100% rename from src/plugins/files/server/file_client/utils.ts rename to src/platform/plugins/shared/files/server/file_client/utils.ts diff --git a/src/plugins/files/server/file_service/errors.ts b/src/platform/plugins/shared/files/server/file_service/errors.ts similarity index 100% rename from src/plugins/files/server/file_service/errors.ts rename to src/platform/plugins/shared/files/server/file_service/errors.ts diff --git a/src/plugins/files/server/file_service/file_action_types.ts b/src/platform/plugins/shared/files/server/file_service/file_action_types.ts similarity index 100% rename from src/plugins/files/server/file_service/file_action_types.ts rename to src/platform/plugins/shared/files/server/file_service/file_action_types.ts diff --git a/src/plugins/files/server/file_service/file_service.ts b/src/platform/plugins/shared/files/server/file_service/file_service.ts similarity index 100% rename from src/plugins/files/server/file_service/file_service.ts rename to src/platform/plugins/shared/files/server/file_service/file_service.ts diff --git a/src/plugins/files/server/file_service/file_service_factory.ts b/src/platform/plugins/shared/files/server/file_service/file_service_factory.ts similarity index 100% rename from src/plugins/files/server/file_service/file_service_factory.ts rename to src/platform/plugins/shared/files/server/file_service/file_service_factory.ts diff --git a/src/plugins/files/server/file_service/index.ts b/src/platform/plugins/shared/files/server/file_service/index.ts similarity index 100% rename from src/plugins/files/server/file_service/index.ts rename to src/platform/plugins/shared/files/server/file_service/index.ts diff --git a/src/plugins/files/server/file_service/internal_file_service.ts b/src/platform/plugins/shared/files/server/file_service/internal_file_service.ts similarity index 100% rename from src/plugins/files/server/file_service/internal_file_service.ts rename to src/platform/plugins/shared/files/server/file_service/internal_file_service.ts diff --git a/src/plugins/files/server/file_share_service/errors.ts b/src/platform/plugins/shared/files/server/file_share_service/errors.ts similarity index 100% rename from src/plugins/files/server/file_share_service/errors.ts rename to src/platform/plugins/shared/files/server/file_share_service/errors.ts diff --git a/src/plugins/files/server/file_share_service/generate_share_token.test.ts b/src/platform/plugins/shared/files/server/file_share_service/generate_share_token.test.ts similarity index 100% rename from src/plugins/files/server/file_share_service/generate_share_token.test.ts rename to src/platform/plugins/shared/files/server/file_share_service/generate_share_token.test.ts diff --git a/src/plugins/files/server/file_share_service/generate_share_token.ts b/src/platform/plugins/shared/files/server/file_share_service/generate_share_token.ts similarity index 100% rename from src/plugins/files/server/file_share_service/generate_share_token.ts rename to src/platform/plugins/shared/files/server/file_share_service/generate_share_token.ts diff --git a/src/plugins/files/server/file_share_service/index.ts b/src/platform/plugins/shared/files/server/file_share_service/index.ts similarity index 100% rename from src/plugins/files/server/file_share_service/index.ts rename to src/platform/plugins/shared/files/server/file_share_service/index.ts diff --git a/src/plugins/files/server/file_share_service/internal_file_share_service.ts b/src/platform/plugins/shared/files/server/file_share_service/internal_file_share_service.ts similarity index 100% rename from src/plugins/files/server/file_share_service/internal_file_share_service.ts rename to src/platform/plugins/shared/files/server/file_share_service/internal_file_share_service.ts diff --git a/src/plugins/files/server/file_share_service/types.ts b/src/platform/plugins/shared/files/server/file_share_service/types.ts similarity index 100% rename from src/plugins/files/server/file_share_service/types.ts rename to src/platform/plugins/shared/files/server/file_share_service/types.ts diff --git a/src/plugins/files/server/index.ts b/src/platform/plugins/shared/files/server/index.ts similarity index 100% rename from src/plugins/files/server/index.ts rename to src/platform/plugins/shared/files/server/index.ts diff --git a/src/plugins/files/server/integration_tests/README.md b/src/platform/plugins/shared/files/server/integration_tests/README.md similarity index 100% rename from src/plugins/files/server/integration_tests/README.md rename to src/platform/plugins/shared/files/server/integration_tests/README.md diff --git a/src/plugins/files/server/integration_tests/file_service.test.ts b/src/platform/plugins/shared/files/server/integration_tests/file_service.test.ts similarity index 100% rename from src/plugins/files/server/integration_tests/file_service.test.ts rename to src/platform/plugins/shared/files/server/integration_tests/file_service.test.ts diff --git a/src/plugins/files/server/mocks.ts b/src/platform/plugins/shared/files/server/mocks.ts similarity index 100% rename from src/plugins/files/server/mocks.ts rename to src/platform/plugins/shared/files/server/mocks.ts diff --git a/src/plugins/files/server/performance/event_names.ts b/src/platform/plugins/shared/files/server/performance/event_names.ts similarity index 100% rename from src/plugins/files/server/performance/event_names.ts rename to src/platform/plugins/shared/files/server/performance/event_names.ts diff --git a/src/plugins/files/server/performance/index.ts b/src/platform/plugins/shared/files/server/performance/index.ts similarity index 100% rename from src/plugins/files/server/performance/index.ts rename to src/platform/plugins/shared/files/server/performance/index.ts diff --git a/src/plugins/files/server/performance/report_performance.ts b/src/platform/plugins/shared/files/server/performance/report_performance.ts similarity index 100% rename from src/plugins/files/server/performance/report_performance.ts rename to src/platform/plugins/shared/files/server/performance/report_performance.ts diff --git a/src/plugins/files/server/plugin.ts b/src/platform/plugins/shared/files/server/plugin.ts similarity index 100% rename from src/plugins/files/server/plugin.ts rename to src/platform/plugins/shared/files/server/plugin.ts diff --git a/src/plugins/files/server/routes/api_routes.ts b/src/platform/plugins/shared/files/server/routes/api_routes.ts similarity index 100% rename from src/plugins/files/server/routes/api_routes.ts rename to src/platform/plugins/shared/files/server/routes/api_routes.ts diff --git a/src/plugins/files/server/routes/bulk_delete.ts b/src/platform/plugins/shared/files/server/routes/bulk_delete.ts similarity index 100% rename from src/plugins/files/server/routes/bulk_delete.ts rename to src/platform/plugins/shared/files/server/routes/bulk_delete.ts diff --git a/src/plugins/files/server/routes/common.test.ts b/src/platform/plugins/shared/files/server/routes/common.test.ts similarity index 100% rename from src/plugins/files/server/routes/common.test.ts rename to src/platform/plugins/shared/files/server/routes/common.test.ts diff --git a/src/plugins/files/server/routes/common.ts b/src/platform/plugins/shared/files/server/routes/common.ts similarity index 100% rename from src/plugins/files/server/routes/common.ts rename to src/platform/plugins/shared/files/server/routes/common.ts diff --git a/src/plugins/files/server/routes/common_schemas.ts b/src/platform/plugins/shared/files/server/routes/common_schemas.ts similarity index 100% rename from src/plugins/files/server/routes/common_schemas.ts rename to src/platform/plugins/shared/files/server/routes/common_schemas.ts diff --git a/src/plugins/files/server/routes/file_kind/create.ts b/src/platform/plugins/shared/files/server/routes/file_kind/create.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/create.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/create.ts diff --git a/src/plugins/files/server/routes/file_kind/delete.ts b/src/platform/plugins/shared/files/server/routes/file_kind/delete.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/delete.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/delete.ts diff --git a/src/plugins/files/server/routes/file_kind/download.ts b/src/platform/plugins/shared/files/server/routes/file_kind/download.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/download.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/download.ts diff --git a/src/plugins/files/server/routes/file_kind/enhance_router.ts b/src/platform/plugins/shared/files/server/routes/file_kind/enhance_router.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/enhance_router.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/enhance_router.ts diff --git a/src/plugins/files/server/routes/file_kind/get_by_id.ts b/src/platform/plugins/shared/files/server/routes/file_kind/get_by_id.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/get_by_id.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/get_by_id.ts diff --git a/src/plugins/files/server/routes/file_kind/helpers.ts b/src/platform/plugins/shared/files/server/routes/file_kind/helpers.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/helpers.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/helpers.ts diff --git a/src/plugins/files/server/routes/file_kind/index.ts b/src/platform/plugins/shared/files/server/routes/file_kind/index.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/index.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/index.ts diff --git a/src/plugins/files/server/routes/file_kind/integration_tests/file_kind_http.test.ts b/src/platform/plugins/shared/files/server/routes/file_kind/integration_tests/file_kind_http.test.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/integration_tests/file_kind_http.test.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/integration_tests/file_kind_http.test.ts diff --git a/src/plugins/files/server/routes/file_kind/list.ts b/src/platform/plugins/shared/files/server/routes/file_kind/list.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/list.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/list.ts diff --git a/src/plugins/files/server/routes/file_kind/share/get.ts b/src/platform/plugins/shared/files/server/routes/file_kind/share/get.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/share/get.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/share/get.ts diff --git a/src/plugins/files/server/routes/file_kind/share/list.ts b/src/platform/plugins/shared/files/server/routes/file_kind/share/list.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/share/list.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/share/list.ts diff --git a/src/plugins/files/server/routes/file_kind/share/share.ts b/src/platform/plugins/shared/files/server/routes/file_kind/share/share.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/share/share.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/share/share.ts diff --git a/src/plugins/files/server/routes/file_kind/share/unshare.ts b/src/platform/plugins/shared/files/server/routes/file_kind/share/unshare.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/share/unshare.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/share/unshare.ts diff --git a/src/plugins/files/server/routes/file_kind/types.ts b/src/platform/plugins/shared/files/server/routes/file_kind/types.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/types.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/types.ts diff --git a/src/plugins/files/server/routes/file_kind/update.ts b/src/platform/plugins/shared/files/server/routes/file_kind/update.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/update.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/update.ts diff --git a/src/plugins/files/server/routes/file_kind/upload.test.ts b/src/platform/plugins/shared/files/server/routes/file_kind/upload.test.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/upload.test.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/upload.test.ts diff --git a/src/plugins/files/server/routes/file_kind/upload.ts b/src/platform/plugins/shared/files/server/routes/file_kind/upload.ts similarity index 100% rename from src/plugins/files/server/routes/file_kind/upload.ts rename to src/platform/plugins/shared/files/server/routes/file_kind/upload.ts diff --git a/src/plugins/files/server/routes/find.ts b/src/platform/plugins/shared/files/server/routes/find.ts similarity index 100% rename from src/plugins/files/server/routes/find.ts rename to src/platform/plugins/shared/files/server/routes/find.ts diff --git a/src/plugins/files/server/routes/index.ts b/src/platform/plugins/shared/files/server/routes/index.ts similarity index 100% rename from src/plugins/files/server/routes/index.ts rename to src/platform/plugins/shared/files/server/routes/index.ts diff --git a/src/plugins/files/server/routes/integration_tests/routes.test.ts b/src/platform/plugins/shared/files/server/routes/integration_tests/routes.test.ts similarity index 100% rename from src/plugins/files/server/routes/integration_tests/routes.test.ts rename to src/platform/plugins/shared/files/server/routes/integration_tests/routes.test.ts diff --git a/src/plugins/files/server/routes/metrics.ts b/src/platform/plugins/shared/files/server/routes/metrics.ts similarity index 100% rename from src/plugins/files/server/routes/metrics.ts rename to src/platform/plugins/shared/files/server/routes/metrics.ts diff --git a/src/plugins/files/server/routes/public_facing/download.ts b/src/platform/plugins/shared/files/server/routes/public_facing/download.ts similarity index 100% rename from src/plugins/files/server/routes/public_facing/download.ts rename to src/platform/plugins/shared/files/server/routes/public_facing/download.ts diff --git a/src/plugins/files/server/routes/test_utils.ts b/src/platform/plugins/shared/files/server/routes/test_utils.ts similarity index 100% rename from src/plugins/files/server/routes/test_utils.ts rename to src/platform/plugins/shared/files/server/routes/test_utils.ts diff --git a/src/plugins/files/server/routes/types.ts b/src/platform/plugins/shared/files/server/routes/types.ts similarity index 100% rename from src/plugins/files/server/routes/types.ts rename to src/platform/plugins/shared/files/server/routes/types.ts diff --git a/src/plugins/files/server/saved_objects/file.ts b/src/platform/plugins/shared/files/server/saved_objects/file.ts similarity index 100% rename from src/plugins/files/server/saved_objects/file.ts rename to src/platform/plugins/shared/files/server/saved_objects/file.ts diff --git a/src/plugins/files/server/saved_objects/file_share.ts b/src/platform/plugins/shared/files/server/saved_objects/file_share.ts similarity index 100% rename from src/plugins/files/server/saved_objects/file_share.ts rename to src/platform/plugins/shared/files/server/saved_objects/file_share.ts diff --git a/src/plugins/files/server/saved_objects/index.ts b/src/platform/plugins/shared/files/server/saved_objects/index.ts similarity index 100% rename from src/plugins/files/server/saved_objects/index.ts rename to src/platform/plugins/shared/files/server/saved_objects/index.ts diff --git a/src/plugins/files/server/test_utils/index.ts b/src/platform/plugins/shared/files/server/test_utils/index.ts similarity index 100% rename from src/plugins/files/server/test_utils/index.ts rename to src/platform/plugins/shared/files/server/test_utils/index.ts diff --git a/src/plugins/files/server/test_utils/setup_integration_environment.ts b/src/platform/plugins/shared/files/server/test_utils/setup_integration_environment.ts similarity index 100% rename from src/plugins/files/server/test_utils/setup_integration_environment.ts rename to src/platform/plugins/shared/files/server/test_utils/setup_integration_environment.ts diff --git a/src/plugins/files/server/types.ts b/src/platform/plugins/shared/files/server/types.ts similarity index 100% rename from src/plugins/files/server/types.ts rename to src/platform/plugins/shared/files/server/types.ts diff --git a/src/plugins/files/server/usage/counters.ts b/src/platform/plugins/shared/files/server/usage/counters.ts similarity index 100% rename from src/plugins/files/server/usage/counters.ts rename to src/platform/plugins/shared/files/server/usage/counters.ts diff --git a/src/plugins/files/server/usage/index.ts b/src/platform/plugins/shared/files/server/usage/index.ts similarity index 100% rename from src/plugins/files/server/usage/index.ts rename to src/platform/plugins/shared/files/server/usage/index.ts diff --git a/src/plugins/files/server/usage/integration_tests/usage.test.ts b/src/platform/plugins/shared/files/server/usage/integration_tests/usage.test.ts similarity index 100% rename from src/plugins/files/server/usage/integration_tests/usage.test.ts rename to src/platform/plugins/shared/files/server/usage/integration_tests/usage.test.ts diff --git a/src/plugins/files/server/usage/register_usage_collector.ts b/src/platform/plugins/shared/files/server/usage/register_usage_collector.ts similarity index 100% rename from src/plugins/files/server/usage/register_usage_collector.ts rename to src/platform/plugins/shared/files/server/usage/register_usage_collector.ts diff --git a/src/plugins/files/server/usage/schema.ts b/src/platform/plugins/shared/files/server/usage/schema.ts similarity index 100% rename from src/plugins/files/server/usage/schema.ts rename to src/platform/plugins/shared/files/server/usage/schema.ts diff --git a/src/plugins/files/tsconfig.json b/src/platform/plugins/shared/files/tsconfig.json similarity index 95% rename from src/plugins/files/tsconfig.json rename to src/platform/plugins/shared/files/tsconfig.json index c31650d197ba2..a5297703e7958 100644 --- a/src/plugins/files/tsconfig.json +++ b/src/platform/plugins/shared/files/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/guided_onboarding/.i18nrc.json b/src/platform/plugins/shared/guided_onboarding/.i18nrc.json similarity index 100% rename from src/plugins/guided_onboarding/.i18nrc.json rename to src/platform/plugins/shared/guided_onboarding/.i18nrc.json diff --git a/src/plugins/guided_onboarding/README.md b/src/platform/plugins/shared/guided_onboarding/README.md similarity index 89% rename from src/plugins/guided_onboarding/README.md rename to src/platform/plugins/shared/guided_onboarding/README.md index 07ab9e20b5a62..e9d8ac5215b60 100755 --- a/src/plugins/guided_onboarding/README.md +++ b/src/platform/plugins/shared/guided_onboarding/README.md @@ -22,14 +22,14 @@ The plugin’s state keeps track of which guide has been started and its current ## Architecture description -The guided onboarding is currently implemented in a separate `guided_onboarding` plugin that contains the code for the header button ([link](https://github.com/elastic/kibana/blob/main/src/plugins/guided_onboarding/public/components/guide_button.tsx)), the dropdown panel ([link](https://github.com/elastic/kibana/blob/main/src/plugins/guided_onboarding/public/components/guide_panel.tsx)) and the API service ([link](https://github.com/elastic/kibana/blob/main/src/plugins/guided_onboarding/public/services/api.service.ts)) exposed out of the client side that can be used by other plugins to get/update the state of the guided onboarding. +The guided onboarding is currently implemented in a separate `guided_onboarding` plugin that contains the code for the header button ([link](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/guided_onboarding/public/components/guide_button.tsx)), the dropdown panel ([link](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/guided_onboarding/public/components/guide_panel.tsx)) and the API service ([link](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/guided_onboarding/public/services/api.service.ts)) exposed out of the client side that can be used by other plugins to get/update the state of the guided onboarding. For example, when a user goes through the SIEM guide they are first taken to the integrations page where they follow some EUI tour steps and install the Elastic Agent and the Elastic Defend integration. The code on the integrations page uses the guided onboarding API service to check if a guide for the Elastic Defend integration is currently in progress. If yes, the page will display the EUI tour steps to guide the user. The page will also use the API service to update the guided onboarding state to the next step when the user completes the installation. There is also a server side in the guided onboarding plugin that creates several endpoints for plugin only internal use. The endpoints are for fetching the guide configs, the state of the guided onboarding and to update the state. -The server side also exposes a function ([link](https://github.com/elastic/kibana/blob/main/src/plugins/guided_onboarding/server/plugin.ts#L40)) that is used by consumers to register their guide configs. That way the config files are a part of the consumers code and the guided onboarding is only used as a framework. +The server side also exposes a function ([link](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/guided_onboarding/server/plugin.ts#L40)) that is used by consumers to register their guide configs. That way the config files are a part of the consumers code and the guided onboarding is only used as a framework. -Another part of the guided onboarding code is in the home plugin where the code for the landing page ([link](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/guided_onboarding)) is situated. The landing page can be found under `/app/home#/getting_started` and there is some logic ([link](https://github.com/elastic/kibana/blob/main/src/plugins/home/public/application/components/home.tsx#L200)) that redirects the user to the landing page when the deployment is new (i.e. there is no data in the deployment). Some of the static components for the landing page were extracted to the `kbn-guided-onboarding` package ([link](https://github.com/elastic/kibana/tree/main/packages/kbn-guided-onboarding)). +Another part of the guided onboarding code is in the home plugin where the code for the landing page ([link](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/home/public/application/components/guided_onboarding)) is situated. The landing page can be found under `/app/home#/getting_started` and there is some logic ([link](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/home/public/application/components/home.tsx#L200)) that redirects the user to the landing page when the deployment is new (i.e. there is no data in the deployment). Some of the static components for the landing page were extracted to the `kbn-guided-onboarding` package ([link](https://github.com/elastic/kibana/tree/main/packages/kbn-guided-onboarding)). When starting Kibana with `yarn start --run-examples` the `guided_onboarding_example` plugin ([link](https://github.com/elastic/kibana/tree/main/examples/guided_onboarding_example)) can be found under `/app/guidedOnboardingExample`. This page displays the current state of the guided onboarding and allows setting the state to any point in the guide. Otherwise, it can be difficult and time consuming to reach a specific step in a production guide during dev work. The example plugin also registers a config for a test guide that can be completed on the pages of the example plugin. The test guide is also used for unit and functional tests of the guided onboarding plugin. diff --git a/src/plugins/guided_onboarding/assets/panel_bg_bottom.svg b/src/platform/plugins/shared/guided_onboarding/assets/panel_bg_bottom.svg similarity index 100% rename from src/plugins/guided_onboarding/assets/panel_bg_bottom.svg rename to src/platform/plugins/shared/guided_onboarding/assets/panel_bg_bottom.svg diff --git a/src/plugins/guided_onboarding/assets/panel_bg_bottom_dark.svg b/src/platform/plugins/shared/guided_onboarding/assets/panel_bg_bottom_dark.svg similarity index 100% rename from src/plugins/guided_onboarding/assets/panel_bg_bottom_dark.svg rename to src/platform/plugins/shared/guided_onboarding/assets/panel_bg_bottom_dark.svg diff --git a/src/plugins/guided_onboarding/assets/panel_bg_top.svg b/src/platform/plugins/shared/guided_onboarding/assets/panel_bg_top.svg similarity index 100% rename from src/plugins/guided_onboarding/assets/panel_bg_top.svg rename to src/platform/plugins/shared/guided_onboarding/assets/panel_bg_top.svg diff --git a/src/plugins/guided_onboarding/assets/panel_bg_top_dark.svg b/src/platform/plugins/shared/guided_onboarding/assets/panel_bg_top_dark.svg similarity index 100% rename from src/plugins/guided_onboarding/assets/panel_bg_top_dark.svg rename to src/platform/plugins/shared/guided_onboarding/assets/panel_bg_top_dark.svg diff --git a/src/plugins/guided_onboarding/assets/well_done_animated.gif b/src/platform/plugins/shared/guided_onboarding/assets/well_done_animated.gif similarity index 100% rename from src/plugins/guided_onboarding/assets/well_done_animated.gif rename to src/platform/plugins/shared/guided_onboarding/assets/well_done_animated.gif diff --git a/src/plugins/guided_onboarding/assets/well_done_animated_dark.gif b/src/platform/plugins/shared/guided_onboarding/assets/well_done_animated_dark.gif similarity index 100% rename from src/plugins/guided_onboarding/assets/well_done_animated_dark.gif rename to src/platform/plugins/shared/guided_onboarding/assets/well_done_animated_dark.gif diff --git a/src/plugins/guided_onboarding/common/constants.ts b/src/platform/plugins/shared/guided_onboarding/common/constants.ts similarity index 100% rename from src/plugins/guided_onboarding/common/constants.ts rename to src/platform/plugins/shared/guided_onboarding/common/constants.ts diff --git a/src/plugins/guided_onboarding/common/index.ts b/src/platform/plugins/shared/guided_onboarding/common/index.ts similarity index 100% rename from src/plugins/guided_onboarding/common/index.ts rename to src/platform/plugins/shared/guided_onboarding/common/index.ts diff --git a/src/plugins/guided_onboarding/common/types.ts b/src/platform/plugins/shared/guided_onboarding/common/types.ts similarity index 100% rename from src/plugins/guided_onboarding/common/types.ts rename to src/platform/plugins/shared/guided_onboarding/common/types.ts diff --git a/src/platform/plugins/shared/guided_onboarding/jest.config.js b/src/platform/plugins/shared/guided_onboarding/jest.config.js new file mode 100644 index 0000000000000..4a255b510e03e --- /dev/null +++ b/src/platform/plugins/shared/guided_onboarding/jest.config.js @@ -0,0 +1,20 @@ +/* + * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/guided_onboarding'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/guided_onboarding', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/guided_onboarding/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/guided_onboarding/kibana.jsonc b/src/platform/plugins/shared/guided_onboarding/kibana.jsonc similarity index 100% rename from src/plugins/guided_onboarding/kibana.jsonc rename to src/platform/plugins/shared/guided_onboarding/kibana.jsonc diff --git a/src/plugins/guided_onboarding/public/components/get_step_location.test.ts b/src/platform/plugins/shared/guided_onboarding/public/components/get_step_location.test.ts similarity index 100% rename from src/plugins/guided_onboarding/public/components/get_step_location.test.ts rename to src/platform/plugins/shared/guided_onboarding/public/components/get_step_location.test.ts diff --git a/src/plugins/guided_onboarding/public/components/get_step_location.ts b/src/platform/plugins/shared/guided_onboarding/public/components/get_step_location.ts similarity index 100% rename from src/plugins/guided_onboarding/public/components/get_step_location.ts rename to src/platform/plugins/shared/guided_onboarding/public/components/get_step_location.ts diff --git a/src/plugins/guided_onboarding/public/components/guide_button.tsx b/src/platform/plugins/shared/guided_onboarding/public/components/guide_button.tsx similarity index 100% rename from src/plugins/guided_onboarding/public/components/guide_button.tsx rename to src/platform/plugins/shared/guided_onboarding/public/components/guide_button.tsx diff --git a/src/plugins/guided_onboarding/public/components/guide_button_popover.tsx b/src/platform/plugins/shared/guided_onboarding/public/components/guide_button_popover.tsx similarity index 100% rename from src/plugins/guided_onboarding/public/components/guide_button_popover.tsx rename to src/platform/plugins/shared/guided_onboarding/public/components/guide_button_popover.tsx diff --git a/src/plugins/guided_onboarding/public/components/guide_panel.styles.ts b/src/platform/plugins/shared/guided_onboarding/public/components/guide_panel.styles.ts similarity index 100% rename from src/plugins/guided_onboarding/public/components/guide_panel.styles.ts rename to src/platform/plugins/shared/guided_onboarding/public/components/guide_panel.styles.ts diff --git a/src/plugins/guided_onboarding/public/components/guide_panel.test.tsx b/src/platform/plugins/shared/guided_onboarding/public/components/guide_panel.test.tsx similarity index 100% rename from src/plugins/guided_onboarding/public/components/guide_panel.test.tsx rename to src/platform/plugins/shared/guided_onboarding/public/components/guide_panel.test.tsx diff --git a/src/plugins/guided_onboarding/public/components/guide_panel.tsx b/src/platform/plugins/shared/guided_onboarding/public/components/guide_panel.tsx similarity index 100% rename from src/plugins/guided_onboarding/public/components/guide_panel.tsx rename to src/platform/plugins/shared/guided_onboarding/public/components/guide_panel.tsx diff --git a/src/plugins/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_body.tsx b/src/platform/plugins/shared/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_body.tsx similarity index 100% rename from src/plugins/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_body.tsx rename to src/platform/plugins/shared/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_body.tsx diff --git a/src/plugins/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_footer.tsx b/src/platform/plugins/shared/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_footer.tsx similarity index 100% rename from src/plugins/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_footer.tsx rename to src/platform/plugins/shared/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_footer.tsx diff --git a/src/plugins/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_header.tsx b/src/platform/plugins/shared/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_header.tsx similarity index 100% rename from src/plugins/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_header.tsx rename to src/platform/plugins/shared/guided_onboarding/public/components/guide_panel_flyout/guide_panel_flyout_header.tsx diff --git a/src/plugins/guided_onboarding/public/components/guide_panel_flyout/guide_progress.tsx b/src/platform/plugins/shared/guided_onboarding/public/components/guide_panel_flyout/guide_progress.tsx similarity index 100% rename from src/plugins/guided_onboarding/public/components/guide_panel_flyout/guide_progress.tsx rename to src/platform/plugins/shared/guided_onboarding/public/components/guide_panel_flyout/guide_progress.tsx diff --git a/src/plugins/guided_onboarding/public/components/guide_panel_flyout/index.tsx b/src/platform/plugins/shared/guided_onboarding/public/components/guide_panel_flyout/index.tsx similarity index 100% rename from src/plugins/guided_onboarding/public/components/guide_panel_flyout/index.tsx rename to src/platform/plugins/shared/guided_onboarding/public/components/guide_panel_flyout/index.tsx diff --git a/src/plugins/guided_onboarding/public/components/guide_panel_step.styles.ts b/src/platform/plugins/shared/guided_onboarding/public/components/guide_panel_step.styles.ts similarity index 100% rename from src/plugins/guided_onboarding/public/components/guide_panel_step.styles.ts rename to src/platform/plugins/shared/guided_onboarding/public/components/guide_panel_step.styles.ts diff --git a/src/plugins/guided_onboarding/public/components/guide_panel_step.tsx b/src/platform/plugins/shared/guided_onboarding/public/components/guide_panel_step.tsx similarity index 100% rename from src/plugins/guided_onboarding/public/components/guide_panel_step.tsx rename to src/platform/plugins/shared/guided_onboarding/public/components/guide_panel_step.tsx diff --git a/src/plugins/guided_onboarding/public/components/index.ts b/src/platform/plugins/shared/guided_onboarding/public/components/index.ts similarity index 100% rename from src/plugins/guided_onboarding/public/components/index.ts rename to src/platform/plugins/shared/guided_onboarding/public/components/index.ts diff --git a/src/plugins/guided_onboarding/public/components/quit_guide_modal.tsx b/src/platform/plugins/shared/guided_onboarding/public/components/quit_guide_modal.tsx similarity index 100% rename from src/plugins/guided_onboarding/public/components/quit_guide_modal.tsx rename to src/platform/plugins/shared/guided_onboarding/public/components/quit_guide_modal.tsx diff --git a/src/plugins/guided_onboarding/public/index.ts b/src/platform/plugins/shared/guided_onboarding/public/index.ts similarity index 100% rename from src/plugins/guided_onboarding/public/index.ts rename to src/platform/plugins/shared/guided_onboarding/public/index.ts diff --git a/src/plugins/guided_onboarding/public/mocks.ts b/src/platform/plugins/shared/guided_onboarding/public/mocks.ts similarity index 100% rename from src/plugins/guided_onboarding/public/mocks.ts rename to src/platform/plugins/shared/guided_onboarding/public/mocks.ts diff --git a/src/plugins/guided_onboarding/public/plugin.tsx b/src/platform/plugins/shared/guided_onboarding/public/plugin.tsx similarity index 100% rename from src/plugins/guided_onboarding/public/plugin.tsx rename to src/platform/plugins/shared/guided_onboarding/public/plugin.tsx diff --git a/src/plugins/guided_onboarding/public/services/api.mocks.ts b/src/platform/plugins/shared/guided_onboarding/public/services/api.mocks.ts similarity index 100% rename from src/plugins/guided_onboarding/public/services/api.mocks.ts rename to src/platform/plugins/shared/guided_onboarding/public/services/api.mocks.ts diff --git a/src/plugins/guided_onboarding/public/services/api.service.test.ts b/src/platform/plugins/shared/guided_onboarding/public/services/api.service.test.ts similarity index 100% rename from src/plugins/guided_onboarding/public/services/api.service.test.ts rename to src/platform/plugins/shared/guided_onboarding/public/services/api.service.test.ts diff --git a/src/plugins/guided_onboarding/public/services/api.service.ts b/src/platform/plugins/shared/guided_onboarding/public/services/api.service.ts similarity index 100% rename from src/plugins/guided_onboarding/public/services/api.service.ts rename to src/platform/plugins/shared/guided_onboarding/public/services/api.service.ts diff --git a/src/plugins/guided_onboarding/public/services/config.service.test.ts b/src/platform/plugins/shared/guided_onboarding/public/services/config.service.test.ts similarity index 100% rename from src/plugins/guided_onboarding/public/services/config.service.test.ts rename to src/platform/plugins/shared/guided_onboarding/public/services/config.service.test.ts diff --git a/src/plugins/guided_onboarding/public/services/config.service.ts b/src/platform/plugins/shared/guided_onboarding/public/services/config.service.ts similarity index 100% rename from src/plugins/guided_onboarding/public/services/config.service.ts rename to src/platform/plugins/shared/guided_onboarding/public/services/config.service.ts diff --git a/src/plugins/guided_onboarding/public/services/helpers.test.ts b/src/platform/plugins/shared/guided_onboarding/public/services/helpers.test.ts similarity index 100% rename from src/plugins/guided_onboarding/public/services/helpers.test.ts rename to src/platform/plugins/shared/guided_onboarding/public/services/helpers.test.ts diff --git a/src/plugins/guided_onboarding/public/services/helpers.ts b/src/platform/plugins/shared/guided_onboarding/public/services/helpers.ts similarity index 100% rename from src/plugins/guided_onboarding/public/services/helpers.ts rename to src/platform/plugins/shared/guided_onboarding/public/services/helpers.ts diff --git a/src/plugins/guided_onboarding/public/types.ts b/src/platform/plugins/shared/guided_onboarding/public/types.ts similarity index 100% rename from src/plugins/guided_onboarding/public/types.ts rename to src/platform/plugins/shared/guided_onboarding/public/types.ts diff --git a/src/plugins/guided_onboarding/server/config.ts b/src/platform/plugins/shared/guided_onboarding/server/config.ts similarity index 100% rename from src/plugins/guided_onboarding/server/config.ts rename to src/platform/plugins/shared/guided_onboarding/server/config.ts diff --git a/src/plugins/guided_onboarding/server/feature.ts b/src/platform/plugins/shared/guided_onboarding/server/feature.ts similarity index 100% rename from src/plugins/guided_onboarding/server/feature.ts rename to src/platform/plugins/shared/guided_onboarding/server/feature.ts diff --git a/src/plugins/guided_onboarding/server/helpers/guide_state_utils.ts b/src/platform/plugins/shared/guided_onboarding/server/helpers/guide_state_utils.ts similarity index 100% rename from src/plugins/guided_onboarding/server/helpers/guide_state_utils.ts rename to src/platform/plugins/shared/guided_onboarding/server/helpers/guide_state_utils.ts diff --git a/src/plugins/guided_onboarding/server/helpers/index.ts b/src/platform/plugins/shared/guided_onboarding/server/helpers/index.ts similarity index 100% rename from src/plugins/guided_onboarding/server/helpers/index.ts rename to src/platform/plugins/shared/guided_onboarding/server/helpers/index.ts diff --git a/src/plugins/guided_onboarding/server/helpers/plugin_state_utils.test.ts b/src/platform/plugins/shared/guided_onboarding/server/helpers/plugin_state_utils.test.ts similarity index 100% rename from src/plugins/guided_onboarding/server/helpers/plugin_state_utils.test.ts rename to src/platform/plugins/shared/guided_onboarding/server/helpers/plugin_state_utils.test.ts diff --git a/src/plugins/guided_onboarding/server/helpers/plugin_state_utils.ts b/src/platform/plugins/shared/guided_onboarding/server/helpers/plugin_state_utils.ts similarity index 100% rename from src/plugins/guided_onboarding/server/helpers/plugin_state_utils.ts rename to src/platform/plugins/shared/guided_onboarding/server/helpers/plugin_state_utils.ts diff --git a/src/plugins/guided_onboarding/server/index.ts b/src/platform/plugins/shared/guided_onboarding/server/index.ts similarity index 100% rename from src/plugins/guided_onboarding/server/index.ts rename to src/platform/plugins/shared/guided_onboarding/server/index.ts diff --git a/src/plugins/guided_onboarding/server/plugin.ts b/src/platform/plugins/shared/guided_onboarding/server/plugin.ts similarity index 100% rename from src/plugins/guided_onboarding/server/plugin.ts rename to src/platform/plugins/shared/guided_onboarding/server/plugin.ts diff --git a/src/plugins/guided_onboarding/server/routes/config_routes.ts b/src/platform/plugins/shared/guided_onboarding/server/routes/config_routes.ts similarity index 100% rename from src/plugins/guided_onboarding/server/routes/config_routes.ts rename to src/platform/plugins/shared/guided_onboarding/server/routes/config_routes.ts diff --git a/src/plugins/guided_onboarding/server/routes/guide_state_routes.ts b/src/platform/plugins/shared/guided_onboarding/server/routes/guide_state_routes.ts similarity index 100% rename from src/plugins/guided_onboarding/server/routes/guide_state_routes.ts rename to src/platform/plugins/shared/guided_onboarding/server/routes/guide_state_routes.ts diff --git a/src/plugins/guided_onboarding/server/routes/index.ts b/src/platform/plugins/shared/guided_onboarding/server/routes/index.ts similarity index 100% rename from src/plugins/guided_onboarding/server/routes/index.ts rename to src/platform/plugins/shared/guided_onboarding/server/routes/index.ts diff --git a/src/plugins/guided_onboarding/server/routes/plugin_state_routes.ts b/src/platform/plugins/shared/guided_onboarding/server/routes/plugin_state_routes.ts similarity index 100% rename from src/plugins/guided_onboarding/server/routes/plugin_state_routes.ts rename to src/platform/plugins/shared/guided_onboarding/server/routes/plugin_state_routes.ts diff --git a/src/plugins/guided_onboarding/server/saved_objects/guided_setup.ts b/src/platform/plugins/shared/guided_onboarding/server/saved_objects/guided_setup.ts similarity index 100% rename from src/plugins/guided_onboarding/server/saved_objects/guided_setup.ts rename to src/platform/plugins/shared/guided_onboarding/server/saved_objects/guided_setup.ts diff --git a/src/plugins/guided_onboarding/server/saved_objects/index.ts b/src/platform/plugins/shared/guided_onboarding/server/saved_objects/index.ts similarity index 100% rename from src/plugins/guided_onboarding/server/saved_objects/index.ts rename to src/platform/plugins/shared/guided_onboarding/server/saved_objects/index.ts diff --git a/src/plugins/guided_onboarding/server/types.ts b/src/platform/plugins/shared/guided_onboarding/server/types.ts similarity index 100% rename from src/plugins/guided_onboarding/server/types.ts rename to src/platform/plugins/shared/guided_onboarding/server/types.ts diff --git a/src/plugins/guided_onboarding/tsconfig.json b/src/platform/plugins/shared/guided_onboarding/tsconfig.json similarity index 92% rename from src/plugins/guided_onboarding/tsconfig.json rename to src/platform/plugins/shared/guided_onboarding/tsconfig.json index b48582480142f..4c3414008608c 100644 --- a/src/plugins/guided_onboarding/tsconfig.json +++ b/src/platform/plugins/shared/guided_onboarding/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/home/.storybook/main.ts b/src/platform/plugins/shared/home/.storybook/main.ts similarity index 84% rename from src/plugins/home/.storybook/main.ts rename to src/platform/plugins/shared/home/.storybook/main.ts index d8160d757a4ba..dcf2d844567bd 100644 --- a/src/plugins/home/.storybook/main.ts +++ b/src/platform/plugins/shared/home/.storybook/main.ts @@ -11,7 +11,10 @@ import { defaultConfig } from '@kbn/storybook'; module.exports = { ...defaultConfig, - stories: ['../../../../packages/home/**/*.stories.+(tsx|mdx)', '../**/*.stories.+(tsx|mdx)'], + stories: [ + '../../../../../../packages/home/**/*.stories.+(tsx|mdx)', + '../**/*.stories.+(tsx|mdx)', + ], reactOptions: { strictMode: true, }, diff --git a/src/plugins/home/.storybook/manager.ts b/src/platform/plugins/shared/home/.storybook/manager.ts similarity index 96% rename from src/plugins/home/.storybook/manager.ts rename to src/platform/plugins/shared/home/.storybook/manager.ts index 4660c04c7202e..1d26facb84442 100644 --- a/src/plugins/home/.storybook/manager.ts +++ b/src/platform/plugins/shared/home/.storybook/manager.ts @@ -15,7 +15,7 @@ addons.setConfig({ theme: create({ base: 'light', brandTitle: 'Home Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/src/plugins/home', + brandUrl: 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/home', }), showPanel: true.valueOf, selectedPanel: PANEL_ID, diff --git a/src/plugins/home/README.md b/src/platform/plugins/shared/home/README.md similarity index 90% rename from src/plugins/home/README.md rename to src/platform/plugins/shared/home/README.md index 1ce0ae0bf44d3..93831a2d89e92 100644 --- a/src/plugins/home/README.md +++ b/src/platform/plugins/shared/home/README.md @@ -38,17 +38,17 @@ Replaces the sample data mixin putting functions on the global `server` object. 3) Kibana uses bulk insert to ingest the new-line delimited json into the Elasticsearch index. Kibana migrates timestamps provided in new-line delimited json to the current time frame for any date field defined in `timeFields` 4) Kibana will install all saved objects for sample data set. This will override any saved objects previouslly installed for sample data set. -Elasticsearch index names are prefixed with `kibana_sample_data_`. For more details see [createIndexName](/src/plugins/home/server/services/sample_data/lib/create_index_name.js) +Elasticsearch index names are prefixed with `kibana_sample_data_`. For more details see [createIndexName](/src/platform/plugins/shared/home/server/services/sample_data/lib/create_index_name.js) Sample data sets typically provide data that spans 5 weeks from the past and 5 weeks into the future so users see data relative to `now` for a few weeks after installing sample data sets. ### Adding new sample data sets -Use [existing sample data sets](/src/plugins/home/server/services/sample_data/data_sets) as examples. +Use [existing sample data sets](/src/platform/plugins/shared/home/server/services/sample_data/data_sets) as examples. To avoid bloating the Kibana distribution, keep data set size to a minimum. Follow the steps below to add new Sample data sets to Kibana. 1) Create new-line delimited json containing sample data. 2) Create file with Elasticsearch field mappings for sample data indices. 3) Create Kibana saved objects for sample data including index-patterns, visualizations, and dashboards. The best way to extract the saved objects is from the Kibana management -> saved objects [export UI](https://www.elastic.co/guide/en/kibana/current/managing-saved-objects.html#_export) -4) Define sample data spec conforming to [Data Set Schema](/src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts). +4) Define sample data spec conforming to [Data Set Schema](/src/platform/plugins/shared/home/server/services/sample_data/lib/sample_dataset_registry_types.ts). 5) Register sample data by calling `plguins.home.sampleData.registerSampleDataset(yourSpecProvider)` in your `setup` method where `yourSpecProvider` is a function that returns an object containing your sample data spec from step 4. diff --git a/src/plugins/home/common/constants.ts b/src/platform/plugins/shared/home/common/constants.ts similarity index 100% rename from src/plugins/home/common/constants.ts rename to src/platform/plugins/shared/home/common/constants.ts diff --git a/src/plugins/home/common/instruction_variant.ts b/src/platform/plugins/shared/home/common/instruction_variant.ts similarity index 100% rename from src/plugins/home/common/instruction_variant.ts rename to src/platform/plugins/shared/home/common/instruction_variant.ts diff --git a/src/plugins/saved_objects_tagging_oss/jest.config.js b/src/platform/plugins/shared/home/jest.config.js similarity index 75% rename from src/plugins/saved_objects_tagging_oss/jest.config.js rename to src/platform/plugins/shared/home/jest.config.js index 678344eee6715..f4882f3e194d7 100644 --- a/src/plugins/saved_objects_tagging_oss/jest.config.js +++ b/src/platform/plugins/shared/home/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/saved_objects_tagging_oss'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/saved_objects_tagging_oss', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/home'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/home', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/saved_objects_tagging_oss/{common,public}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/home/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/src/plugins/home/kibana.jsonc b/src/platform/plugins/shared/home/kibana.jsonc similarity index 100% rename from src/plugins/home/kibana.jsonc rename to src/platform/plugins/shared/home/kibana.jsonc diff --git a/src/plugins/home/public/application/application.tsx b/src/platform/plugins/shared/home/public/application/application.tsx similarity index 100% rename from src/plugins/home/public/application/application.tsx rename to src/platform/plugins/shared/home/public/application/application.tsx diff --git a/src/plugins/home/public/application/components/__snapshots__/home.test.tsx.snap b/src/platform/plugins/shared/home/public/application/components/__snapshots__/home.test.tsx.snap similarity index 100% rename from src/plugins/home/public/application/components/__snapshots__/home.test.tsx.snap rename to src/platform/plugins/shared/home/public/application/components/__snapshots__/home.test.tsx.snap diff --git a/src/plugins/home/public/application/components/__snapshots__/recently_accessed.test.js.snap b/src/platform/plugins/shared/home/public/application/components/__snapshots__/recently_accessed.test.js.snap similarity index 100% rename from src/plugins/home/public/application/components/__snapshots__/recently_accessed.test.js.snap rename to src/platform/plugins/shared/home/public/application/components/__snapshots__/recently_accessed.test.js.snap diff --git a/src/plugins/home/public/application/components/__snapshots__/synopsis.test.js.snap b/src/platform/plugins/shared/home/public/application/components/__snapshots__/synopsis.test.js.snap similarity index 100% rename from src/plugins/home/public/application/components/__snapshots__/synopsis.test.js.snap rename to src/platform/plugins/shared/home/public/application/components/__snapshots__/synopsis.test.js.snap diff --git a/src/plugins/home/public/application/components/__snapshots__/welcome.test.tsx.snap b/src/platform/plugins/shared/home/public/application/components/__snapshots__/welcome.test.tsx.snap similarity index 100% rename from src/plugins/home/public/application/components/__snapshots__/welcome.test.tsx.snap rename to src/platform/plugins/shared/home/public/application/components/__snapshots__/welcome.test.tsx.snap diff --git a/src/plugins/home/public/application/components/_add_data.scss b/src/platform/plugins/shared/home/public/application/components/_add_data.scss similarity index 100% rename from src/plugins/home/public/application/components/_add_data.scss rename to src/platform/plugins/shared/home/public/application/components/_add_data.scss diff --git a/src/plugins/home/public/application/components/_index.scss b/src/platform/plugins/shared/home/public/application/components/_index.scss similarity index 100% rename from src/plugins/home/public/application/components/_index.scss rename to src/platform/plugins/shared/home/public/application/components/_index.scss diff --git a/src/plugins/home/public/application/components/_manage_data.scss b/src/platform/plugins/shared/home/public/application/components/_manage_data.scss similarity index 100% rename from src/plugins/home/public/application/components/_manage_data.scss rename to src/platform/plugins/shared/home/public/application/components/_manage_data.scss diff --git a/src/plugins/home/public/application/components/_solutions_section.scss b/src/platform/plugins/shared/home/public/application/components/_solutions_section.scss similarity index 100% rename from src/plugins/home/public/application/components/_solutions_section.scss rename to src/platform/plugins/shared/home/public/application/components/_solutions_section.scss diff --git a/src/plugins/home/public/application/components/_welcome.scss b/src/platform/plugins/shared/home/public/application/components/_welcome.scss similarity index 100% rename from src/plugins/home/public/application/components/_welcome.scss rename to src/platform/plugins/shared/home/public/application/components/_welcome.scss diff --git a/src/plugins/home/public/application/components/add_data/__snapshots__/add_data.test.tsx.snap b/src/platform/plugins/shared/home/public/application/components/add_data/__snapshots__/add_data.test.tsx.snap similarity index 100% rename from src/plugins/home/public/application/components/add_data/__snapshots__/add_data.test.tsx.snap rename to src/platform/plugins/shared/home/public/application/components/add_data/__snapshots__/add_data.test.tsx.snap diff --git a/src/plugins/home/public/application/components/add_data/add_data.test.tsx b/src/platform/plugins/shared/home/public/application/components/add_data/add_data.test.tsx similarity index 100% rename from src/plugins/home/public/application/components/add_data/add_data.test.tsx rename to src/platform/plugins/shared/home/public/application/components/add_data/add_data.test.tsx diff --git a/src/plugins/home/public/application/components/add_data/add_data.tsx b/src/platform/plugins/shared/home/public/application/components/add_data/add_data.tsx similarity index 100% rename from src/plugins/home/public/application/components/add_data/add_data.tsx rename to src/platform/plugins/shared/home/public/application/components/add_data/add_data.tsx diff --git a/src/plugins/kibana_overview/public/components/add_data/index.ts b/src/platform/plugins/shared/home/public/application/components/add_data/index.ts similarity index 100% rename from src/plugins/kibana_overview/public/components/add_data/index.ts rename to src/platform/plugins/shared/home/public/application/components/add_data/index.ts diff --git a/src/plugins/home/public/application/components/app_navigation_handler.ts b/src/platform/plugins/shared/home/public/application/components/app_navigation_handler.ts similarity index 100% rename from src/plugins/home/public/application/components/app_navigation_handler.ts rename to src/platform/plugins/shared/home/public/application/components/app_navigation_handler.ts diff --git a/src/plugins/home/public/application/components/guided_onboarding/getting_started.test.tsx b/src/platform/plugins/shared/home/public/application/components/guided_onboarding/getting_started.test.tsx similarity index 100% rename from src/plugins/home/public/application/components/guided_onboarding/getting_started.test.tsx rename to src/platform/plugins/shared/home/public/application/components/guided_onboarding/getting_started.test.tsx diff --git a/src/plugins/home/public/application/components/guided_onboarding/getting_started.tsx b/src/platform/plugins/shared/home/public/application/components/guided_onboarding/getting_started.tsx similarity index 100% rename from src/plugins/home/public/application/components/guided_onboarding/getting_started.tsx rename to src/platform/plugins/shared/home/public/application/components/guided_onboarding/getting_started.tsx diff --git a/src/plugins/home/public/application/components/guided_onboarding/index.ts b/src/platform/plugins/shared/home/public/application/components/guided_onboarding/index.ts similarity index 100% rename from src/plugins/home/public/application/components/guided_onboarding/index.ts rename to src/platform/plugins/shared/home/public/application/components/guided_onboarding/index.ts diff --git a/src/plugins/home/public/application/components/home.test.tsx b/src/platform/plugins/shared/home/public/application/components/home.test.tsx similarity index 100% rename from src/plugins/home/public/application/components/home.test.tsx rename to src/platform/plugins/shared/home/public/application/components/home.test.tsx diff --git a/src/plugins/home/public/application/components/home.tsx b/src/platform/plugins/shared/home/public/application/components/home.tsx similarity index 100% rename from src/plugins/home/public/application/components/home.tsx rename to src/platform/plugins/shared/home/public/application/components/home.tsx diff --git a/src/plugins/home/public/application/components/home_app.js b/src/platform/plugins/shared/home/public/application/components/home_app.js similarity index 100% rename from src/plugins/home/public/application/components/home_app.js rename to src/platform/plugins/shared/home/public/application/components/home_app.js diff --git a/src/plugins/home/public/application/components/manage_data/__snapshots__/manage_data.test.tsx.snap b/src/platform/plugins/shared/home/public/application/components/manage_data/__snapshots__/manage_data.test.tsx.snap similarity index 100% rename from src/plugins/home/public/application/components/manage_data/__snapshots__/manage_data.test.tsx.snap rename to src/platform/plugins/shared/home/public/application/components/manage_data/__snapshots__/manage_data.test.tsx.snap diff --git a/src/plugins/kibana_overview/public/components/manage_data/index.tsx b/src/platform/plugins/shared/home/public/application/components/manage_data/index.tsx similarity index 100% rename from src/plugins/kibana_overview/public/components/manage_data/index.tsx rename to src/platform/plugins/shared/home/public/application/components/manage_data/index.tsx diff --git a/src/plugins/home/public/application/components/manage_data/manage_data.test.tsx b/src/platform/plugins/shared/home/public/application/components/manage_data/manage_data.test.tsx similarity index 100% rename from src/plugins/home/public/application/components/manage_data/manage_data.test.tsx rename to src/platform/plugins/shared/home/public/application/components/manage_data/manage_data.test.tsx diff --git a/src/plugins/home/public/application/components/manage_data/manage_data.tsx b/src/platform/plugins/shared/home/public/application/components/manage_data/manage_data.tsx similarity index 100% rename from src/plugins/home/public/application/components/manage_data/manage_data.tsx rename to src/platform/plugins/shared/home/public/application/components/manage_data/manage_data.tsx diff --git a/src/plugins/home/public/application/components/move_data/index.tsx b/src/platform/plugins/shared/home/public/application/components/move_data/index.tsx similarity index 100% rename from src/plugins/home/public/application/components/move_data/index.tsx rename to src/platform/plugins/shared/home/public/application/components/move_data/index.tsx diff --git a/src/plugins/home/public/application/components/move_data/move_data.test.tsx b/src/platform/plugins/shared/home/public/application/components/move_data/move_data.test.tsx similarity index 100% rename from src/plugins/home/public/application/components/move_data/move_data.test.tsx rename to src/platform/plugins/shared/home/public/application/components/move_data/move_data.test.tsx diff --git a/src/plugins/home/public/application/components/move_data/move_data.tsx b/src/platform/plugins/shared/home/public/application/components/move_data/move_data.tsx similarity index 100% rename from src/plugins/home/public/application/components/move_data/move_data.tsx rename to src/platform/plugins/shared/home/public/application/components/move_data/move_data.tsx diff --git a/src/plugins/home/public/application/components/recently_accessed.js b/src/platform/plugins/shared/home/public/application/components/recently_accessed.js similarity index 100% rename from src/plugins/home/public/application/components/recently_accessed.js rename to src/platform/plugins/shared/home/public/application/components/recently_accessed.js diff --git a/src/plugins/home/public/application/components/recently_accessed.test.js b/src/platform/plugins/shared/home/public/application/components/recently_accessed.test.js similarity index 100% rename from src/plugins/home/public/application/components/recently_accessed.test.js rename to src/platform/plugins/shared/home/public/application/components/recently_accessed.test.js diff --git a/src/plugins/home/public/application/components/sample_data/index.tsx b/src/platform/plugins/shared/home/public/application/components/sample_data/index.tsx similarity index 100% rename from src/plugins/home/public/application/components/sample_data/index.tsx rename to src/platform/plugins/shared/home/public/application/components/sample_data/index.tsx diff --git a/src/plugins/home/public/application/components/solutions_section/__snapshots__/solution_panel.test.tsx.snap b/src/platform/plugins/shared/home/public/application/components/solutions_section/__snapshots__/solution_panel.test.tsx.snap similarity index 100% rename from src/plugins/home/public/application/components/solutions_section/__snapshots__/solution_panel.test.tsx.snap rename to src/platform/plugins/shared/home/public/application/components/solutions_section/__snapshots__/solution_panel.test.tsx.snap diff --git a/src/plugins/home/public/application/components/solutions_section/__snapshots__/solutions_section.test.tsx.snap b/src/platform/plugins/shared/home/public/application/components/solutions_section/__snapshots__/solutions_section.test.tsx.snap similarity index 100% rename from src/plugins/home/public/application/components/solutions_section/__snapshots__/solutions_section.test.tsx.snap rename to src/platform/plugins/shared/home/public/application/components/solutions_section/__snapshots__/solutions_section.test.tsx.snap diff --git a/src/plugins/home/public/application/components/solutions_section/index.ts b/src/platform/plugins/shared/home/public/application/components/solutions_section/index.ts similarity index 100% rename from src/plugins/home/public/application/components/solutions_section/index.ts rename to src/platform/plugins/shared/home/public/application/components/solutions_section/index.ts diff --git a/src/plugins/home/public/application/components/solutions_section/solution_panel.test.tsx b/src/platform/plugins/shared/home/public/application/components/solutions_section/solution_panel.test.tsx similarity index 100% rename from src/plugins/home/public/application/components/solutions_section/solution_panel.test.tsx rename to src/platform/plugins/shared/home/public/application/components/solutions_section/solution_panel.test.tsx diff --git a/src/plugins/home/public/application/components/solutions_section/solution_panel.tsx b/src/platform/plugins/shared/home/public/application/components/solutions_section/solution_panel.tsx similarity index 100% rename from src/plugins/home/public/application/components/solutions_section/solution_panel.tsx rename to src/platform/plugins/shared/home/public/application/components/solutions_section/solution_panel.tsx diff --git a/src/plugins/home/public/application/components/solutions_section/solutions_section.test.tsx b/src/platform/plugins/shared/home/public/application/components/solutions_section/solutions_section.test.tsx similarity index 100% rename from src/plugins/home/public/application/components/solutions_section/solutions_section.test.tsx rename to src/platform/plugins/shared/home/public/application/components/solutions_section/solutions_section.test.tsx diff --git a/src/plugins/home/public/application/components/solutions_section/solutions_section.tsx b/src/platform/plugins/shared/home/public/application/components/solutions_section/solutions_section.tsx similarity index 100% rename from src/plugins/home/public/application/components/solutions_section/solutions_section.tsx rename to src/platform/plugins/shared/home/public/application/components/solutions_section/solutions_section.tsx diff --git a/src/plugins/home/public/application/components/synopsis.js b/src/platform/plugins/shared/home/public/application/components/synopsis.js similarity index 100% rename from src/plugins/home/public/application/components/synopsis.js rename to src/platform/plugins/shared/home/public/application/components/synopsis.js diff --git a/src/plugins/kibana_overview/public/components/synopsis/synopsis.test.js b/src/platform/plugins/shared/home/public/application/components/synopsis.test.js similarity index 100% rename from src/plugins/kibana_overview/public/components/synopsis/synopsis.test.js rename to src/platform/plugins/shared/home/public/application/components/synopsis.test.js diff --git a/src/plugins/home/public/application/components/tutorial/__snapshots__/content.test.js.snap b/src/platform/plugins/shared/home/public/application/components/tutorial/__snapshots__/content.test.js.snap similarity index 100% rename from src/plugins/home/public/application/components/tutorial/__snapshots__/content.test.js.snap rename to src/platform/plugins/shared/home/public/application/components/tutorial/__snapshots__/content.test.js.snap diff --git a/src/plugins/home/public/application/components/tutorial/__snapshots__/footer.test.js.snap b/src/platform/plugins/shared/home/public/application/components/tutorial/__snapshots__/footer.test.js.snap similarity index 100% rename from src/plugins/home/public/application/components/tutorial/__snapshots__/footer.test.js.snap rename to src/platform/plugins/shared/home/public/application/components/tutorial/__snapshots__/footer.test.js.snap diff --git a/src/plugins/home/public/application/components/tutorial/__snapshots__/instruction_set.test.js.snap b/src/platform/plugins/shared/home/public/application/components/tutorial/__snapshots__/instruction_set.test.js.snap similarity index 100% rename from src/plugins/home/public/application/components/tutorial/__snapshots__/instruction_set.test.js.snap rename to src/platform/plugins/shared/home/public/application/components/tutorial/__snapshots__/instruction_set.test.js.snap diff --git a/src/plugins/home/public/application/components/tutorial/__snapshots__/introduction.test.js.snap b/src/platform/plugins/shared/home/public/application/components/tutorial/__snapshots__/introduction.test.js.snap similarity index 100% rename from src/plugins/home/public/application/components/tutorial/__snapshots__/introduction.test.js.snap rename to src/platform/plugins/shared/home/public/application/components/tutorial/__snapshots__/introduction.test.js.snap diff --git a/src/plugins/home/public/application/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap b/src/platform/plugins/shared/home/public/application/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap similarity index 100% rename from src/plugins/home/public/application/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap rename to src/platform/plugins/shared/home/public/application/components/tutorial/__snapshots__/saved_objects_installer.test.js.snap diff --git a/src/plugins/home/public/application/components/tutorial/__snapshots__/tutorial.test.js.snap b/src/platform/plugins/shared/home/public/application/components/tutorial/__snapshots__/tutorial.test.js.snap similarity index 100% rename from src/plugins/home/public/application/components/tutorial/__snapshots__/tutorial.test.js.snap rename to src/platform/plugins/shared/home/public/application/components/tutorial/__snapshots__/tutorial.test.js.snap diff --git a/src/plugins/home/public/application/components/tutorial/_tutorial.scss b/src/platform/plugins/shared/home/public/application/components/tutorial/_tutorial.scss similarity index 100% rename from src/plugins/home/public/application/components/tutorial/_tutorial.scss rename to src/platform/plugins/shared/home/public/application/components/tutorial/_tutorial.scss diff --git a/src/plugins/home/public/application/components/tutorial/content.js b/src/platform/plugins/shared/home/public/application/components/tutorial/content.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/content.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/content.js diff --git a/src/plugins/home/public/application/components/tutorial/content.test.js b/src/platform/plugins/shared/home/public/application/components/tutorial/content.test.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/content.test.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/content.test.js diff --git a/src/plugins/home/public/application/components/tutorial/footer.js b/src/platform/plugins/shared/home/public/application/components/tutorial/footer.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/footer.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/footer.js diff --git a/src/plugins/home/public/application/components/tutorial/footer.test.js b/src/platform/plugins/shared/home/public/application/components/tutorial/footer.test.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/footer.test.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/footer.test.js diff --git a/src/plugins/home/public/application/components/tutorial/instruction.js b/src/platform/plugins/shared/home/public/application/components/tutorial/instruction.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/instruction.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/instruction.js diff --git a/src/plugins/home/public/application/components/tutorial/instruction_set.js b/src/platform/plugins/shared/home/public/application/components/tutorial/instruction_set.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/instruction_set.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/instruction_set.js diff --git a/src/plugins/home/public/application/components/tutorial/instruction_set.test.js b/src/platform/plugins/shared/home/public/application/components/tutorial/instruction_set.test.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/instruction_set.test.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/instruction_set.test.js diff --git a/src/plugins/home/public/application/components/tutorial/introduction.js b/src/platform/plugins/shared/home/public/application/components/tutorial/introduction.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/introduction.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/introduction.js diff --git a/src/plugins/home/public/application/components/tutorial/introduction.test.js b/src/platform/plugins/shared/home/public/application/components/tutorial/introduction.test.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/introduction.test.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/introduction.test.js diff --git a/src/plugins/home/public/application/components/tutorial/number_parameter.js b/src/platform/plugins/shared/home/public/application/components/tutorial/number_parameter.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/number_parameter.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/number_parameter.js diff --git a/src/plugins/home/public/application/components/tutorial/parameter_form.js b/src/platform/plugins/shared/home/public/application/components/tutorial/parameter_form.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/parameter_form.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/parameter_form.js diff --git a/src/plugins/home/public/application/components/tutorial/replace_template_strings.js b/src/platform/plugins/shared/home/public/application/components/tutorial/replace_template_strings.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/replace_template_strings.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/replace_template_strings.js diff --git a/src/plugins/home/public/application/components/tutorial/saved_objects_installer.js b/src/platform/plugins/shared/home/public/application/components/tutorial/saved_objects_installer.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/saved_objects_installer.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/saved_objects_installer.js diff --git a/src/plugins/home/public/application/components/tutorial/saved_objects_installer.test.js b/src/platform/plugins/shared/home/public/application/components/tutorial/saved_objects_installer.test.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/saved_objects_installer.test.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/saved_objects_installer.test.js diff --git a/src/plugins/home/public/application/components/tutorial/status_check_states.js b/src/platform/plugins/shared/home/public/application/components/tutorial/status_check_states.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/status_check_states.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/status_check_states.js diff --git a/src/plugins/home/public/application/components/tutorial/string_parameter.js b/src/platform/plugins/shared/home/public/application/components/tutorial/string_parameter.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/string_parameter.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/string_parameter.js diff --git a/src/plugins/home/public/application/components/tutorial/tutorial.js b/src/platform/plugins/shared/home/public/application/components/tutorial/tutorial.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/tutorial.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/tutorial.js diff --git a/src/plugins/home/public/application/components/tutorial/tutorial.test.js b/src/platform/plugins/shared/home/public/application/components/tutorial/tutorial.test.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial/tutorial.test.js rename to src/platform/plugins/shared/home/public/application/components/tutorial/tutorial.test.js diff --git a/src/plugins/home/public/application/components/tutorial_directory.js b/src/platform/plugins/shared/home/public/application/components/tutorial_directory.js similarity index 100% rename from src/plugins/home/public/application/components/tutorial_directory.js rename to src/platform/plugins/shared/home/public/application/components/tutorial_directory.js diff --git a/src/plugins/home/public/application/components/welcome.test.mocks.ts b/src/platform/plugins/shared/home/public/application/components/welcome.test.mocks.ts similarity index 100% rename from src/plugins/home/public/application/components/welcome.test.mocks.ts rename to src/platform/plugins/shared/home/public/application/components/welcome.test.mocks.ts diff --git a/src/plugins/home/public/application/components/welcome.test.tsx b/src/platform/plugins/shared/home/public/application/components/welcome.test.tsx similarity index 100% rename from src/plugins/home/public/application/components/welcome.test.tsx rename to src/platform/plugins/shared/home/public/application/components/welcome.test.tsx diff --git a/src/plugins/home/public/application/components/welcome.tsx b/src/platform/plugins/shared/home/public/application/components/welcome.tsx similarity index 100% rename from src/plugins/home/public/application/components/welcome.tsx rename to src/platform/plugins/shared/home/public/application/components/welcome.tsx diff --git a/src/plugins/home/public/application/index.scss b/src/platform/plugins/shared/home/public/application/index.scss similarity index 100% rename from src/plugins/home/public/application/index.scss rename to src/platform/plugins/shared/home/public/application/index.scss diff --git a/src/plugins/home/public/application/index.ts b/src/platform/plugins/shared/home/public/application/index.ts similarity index 100% rename from src/plugins/home/public/application/index.ts rename to src/platform/plugins/shared/home/public/application/index.ts diff --git a/src/plugins/home/public/application/kibana_services.ts b/src/platform/plugins/shared/home/public/application/kibana_services.ts similarity index 100% rename from src/plugins/home/public/application/kibana_services.ts rename to src/platform/plugins/shared/home/public/application/kibana_services.ts diff --git a/src/plugins/home/public/application/load_tutorials.js b/src/platform/plugins/shared/home/public/application/load_tutorials.js similarity index 100% rename from src/plugins/home/public/application/load_tutorials.js rename to src/platform/plugins/shared/home/public/application/load_tutorials.js diff --git a/src/plugins/home/public/application/sample_data_client.ts b/src/platform/plugins/shared/home/public/application/sample_data_client.ts similarity index 100% rename from src/plugins/home/public/application/sample_data_client.ts rename to src/platform/plugins/shared/home/public/application/sample_data_client.ts diff --git a/src/plugins/home/public/assets/activemq_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/activemq_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/activemq_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/activemq_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/apache_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/apache_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/apache_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/apache_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/apache_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/apache_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/apache_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/apache_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/auditbeat/screenshot.webp b/src/platform/plugins/shared/home/public/assets/auditbeat/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/auditbeat/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/auditbeat/screenshot.webp diff --git a/src/plugins/home/public/assets/auditd_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/auditd_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/auditd_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/auditd_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/aws_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/aws_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/aws_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/aws_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/aws_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/aws_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/aws_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/aws_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/azure_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/azure_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/azure_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/azure_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/azure_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/azure_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/azure_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/azure_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/cisco_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/cisco_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/cisco_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/cisco_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/cockroachdb_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/cockroachdb_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/cockroachdb_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/cockroachdb_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/common/illustration_integrations_darkmode.png b/src/platform/plugins/shared/home/public/assets/common/illustration_integrations_darkmode.png similarity index 100% rename from src/plugins/home/public/assets/common/illustration_integrations_darkmode.png rename to src/platform/plugins/shared/home/public/assets/common/illustration_integrations_darkmode.png diff --git a/src/plugins/home/public/assets/common/illustration_integrations_lightmode.png b/src/platform/plugins/shared/home/public/assets/common/illustration_integrations_lightmode.png similarity index 100% rename from src/plugins/home/public/assets/common/illustration_integrations_lightmode.png rename to src/platform/plugins/shared/home/public/assets/common/illustration_integrations_lightmode.png diff --git a/src/plugins/home/public/assets/consul_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/consul_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/consul_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/consul_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/coredns_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/coredns_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/coredns_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/coredns_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/coredns_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/coredns_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/coredns_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/coredns_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/couchdb_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/couchdb_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/couchdb_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/couchdb_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/crowdstrike_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/crowdstrike_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/crowdstrike_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/crowdstrike_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/docker_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/docker_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/docker_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/docker_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/envoyproxy_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/envoyproxy_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/envoyproxy_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/envoyproxy_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/googlecloud_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/googlecloud_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/googlecloud_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/googlecloud_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/googlecloud_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/googlecloud_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/googlecloud_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/googlecloud_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/haproxy_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/haproxy_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/haproxy_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/haproxy_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/ibmmq_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/ibmmq_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/ibmmq_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/ibmmq_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/ibmmq_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/ibmmq_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/ibmmq_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/ibmmq_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/icinga_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/icinga_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/icinga_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/icinga_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/iis_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/iis_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/iis_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/iis_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/iis_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/iis_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/iis_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/iis_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/iptables_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/iptables_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/iptables_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/iptables_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/kafka_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/kafka_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/kafka_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/kafka_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/kubernetes_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/kubernetes_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/kubernetes_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/kubernetes_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/logos/activemq.svg b/src/platform/plugins/shared/home/public/assets/logos/activemq.svg similarity index 100% rename from src/plugins/home/public/assets/logos/activemq.svg rename to src/platform/plugins/shared/home/public/assets/logos/activemq.svg diff --git a/src/plugins/home/public/assets/logos/barracuda.svg b/src/platform/plugins/shared/home/public/assets/logos/barracuda.svg similarity index 100% rename from src/plugins/home/public/assets/logos/barracuda.svg rename to src/platform/plugins/shared/home/public/assets/logos/barracuda.svg diff --git a/src/plugins/home/public/assets/logos/checkpoint.svg b/src/platform/plugins/shared/home/public/assets/logos/checkpoint.svg similarity index 100% rename from src/plugins/home/public/assets/logos/checkpoint.svg rename to src/platform/plugins/shared/home/public/assets/logos/checkpoint.svg diff --git a/src/plugins/home/public/assets/logos/cisco.svg b/src/platform/plugins/shared/home/public/assets/logos/cisco.svg similarity index 100% rename from src/plugins/home/public/assets/logos/cisco.svg rename to src/platform/plugins/shared/home/public/assets/logos/cisco.svg diff --git a/src/plugins/home/public/assets/logos/cockroachdb.svg b/src/platform/plugins/shared/home/public/assets/logos/cockroachdb.svg similarity index 100% rename from src/plugins/home/public/assets/logos/cockroachdb.svg rename to src/platform/plugins/shared/home/public/assets/logos/cockroachdb.svg diff --git a/src/plugins/home/public/assets/logos/consul.svg b/src/platform/plugins/shared/home/public/assets/logos/consul.svg similarity index 100% rename from src/plugins/home/public/assets/logos/consul.svg rename to src/platform/plugins/shared/home/public/assets/logos/consul.svg diff --git a/src/plugins/home/public/assets/logos/coredns.svg b/src/platform/plugins/shared/home/public/assets/logos/coredns.svg similarity index 100% rename from src/plugins/home/public/assets/logos/coredns.svg rename to src/platform/plugins/shared/home/public/assets/logos/coredns.svg diff --git a/src/plugins/home/public/assets/logos/couchdb.svg b/src/platform/plugins/shared/home/public/assets/logos/couchdb.svg similarity index 100% rename from src/plugins/home/public/assets/logos/couchdb.svg rename to src/platform/plugins/shared/home/public/assets/logos/couchdb.svg diff --git a/src/plugins/home/public/assets/logos/crowdstrike.svg b/src/platform/plugins/shared/home/public/assets/logos/crowdstrike.svg similarity index 100% rename from src/plugins/home/public/assets/logos/crowdstrike.svg rename to src/platform/plugins/shared/home/public/assets/logos/crowdstrike.svg diff --git a/src/plugins/home/public/assets/logos/cylance.svg b/src/platform/plugins/shared/home/public/assets/logos/cylance.svg similarity index 100% rename from src/plugins/home/public/assets/logos/cylance.svg rename to src/platform/plugins/shared/home/public/assets/logos/cylance.svg diff --git a/src/plugins/home/public/assets/logos/envoyproxy.svg b/src/platform/plugins/shared/home/public/assets/logos/envoyproxy.svg similarity index 100% rename from src/plugins/home/public/assets/logos/envoyproxy.svg rename to src/platform/plugins/shared/home/public/assets/logos/envoyproxy.svg diff --git a/src/plugins/home/public/assets/logos/f5.svg b/src/platform/plugins/shared/home/public/assets/logos/f5.svg similarity index 100% rename from src/plugins/home/public/assets/logos/f5.svg rename to src/platform/plugins/shared/home/public/assets/logos/f5.svg diff --git a/src/plugins/home/public/assets/logos/fortinet.svg b/src/platform/plugins/shared/home/public/assets/logos/fortinet.svg similarity index 100% rename from src/plugins/home/public/assets/logos/fortinet.svg rename to src/platform/plugins/shared/home/public/assets/logos/fortinet.svg diff --git a/src/plugins/home/public/assets/logos/ibmmq.svg b/src/platform/plugins/shared/home/public/assets/logos/ibmmq.svg similarity index 100% rename from src/plugins/home/public/assets/logos/ibmmq.svg rename to src/platform/plugins/shared/home/public/assets/logos/ibmmq.svg diff --git a/src/plugins/home/public/assets/logos/icinga.svg b/src/platform/plugins/shared/home/public/assets/logos/icinga.svg similarity index 100% rename from src/plugins/home/public/assets/logos/icinga.svg rename to src/platform/plugins/shared/home/public/assets/logos/icinga.svg diff --git a/src/plugins/home/public/assets/logos/iis.svg b/src/platform/plugins/shared/home/public/assets/logos/iis.svg similarity index 100% rename from src/plugins/home/public/assets/logos/iis.svg rename to src/platform/plugins/shared/home/public/assets/logos/iis.svg diff --git a/src/plugins/home/public/assets/logos/infoblox.svg b/src/platform/plugins/shared/home/public/assets/logos/infoblox.svg similarity index 100% rename from src/plugins/home/public/assets/logos/infoblox.svg rename to src/platform/plugins/shared/home/public/assets/logos/infoblox.svg diff --git a/src/plugins/home/public/assets/logos/juniper.svg b/src/platform/plugins/shared/home/public/assets/logos/juniper.svg similarity index 100% rename from src/plugins/home/public/assets/logos/juniper.svg rename to src/platform/plugins/shared/home/public/assets/logos/juniper.svg diff --git a/src/plugins/home/public/assets/logos/linux.svg b/src/platform/plugins/shared/home/public/assets/logos/linux.svg similarity index 100% rename from src/plugins/home/public/assets/logos/linux.svg rename to src/platform/plugins/shared/home/public/assets/logos/linux.svg diff --git a/src/plugins/home/public/assets/logos/microsoft.svg b/src/platform/plugins/shared/home/public/assets/logos/microsoft.svg similarity index 100% rename from src/plugins/home/public/assets/logos/microsoft.svg rename to src/platform/plugins/shared/home/public/assets/logos/microsoft.svg diff --git a/src/plugins/home/public/assets/logos/misp.svg b/src/platform/plugins/shared/home/public/assets/logos/misp.svg similarity index 100% rename from src/plugins/home/public/assets/logos/misp.svg rename to src/platform/plugins/shared/home/public/assets/logos/misp.svg diff --git a/src/plugins/home/public/assets/logos/mssql.svg b/src/platform/plugins/shared/home/public/assets/logos/mssql.svg similarity index 100% rename from src/plugins/home/public/assets/logos/mssql.svg rename to src/platform/plugins/shared/home/public/assets/logos/mssql.svg diff --git a/src/plugins/home/public/assets/logos/munin.svg b/src/platform/plugins/shared/home/public/assets/logos/munin.svg similarity index 100% rename from src/plugins/home/public/assets/logos/munin.svg rename to src/platform/plugins/shared/home/public/assets/logos/munin.svg diff --git a/src/plugins/home/public/assets/logos/nats.svg b/src/platform/plugins/shared/home/public/assets/logos/nats.svg similarity index 100% rename from src/plugins/home/public/assets/logos/nats.svg rename to src/platform/plugins/shared/home/public/assets/logos/nats.svg diff --git a/src/plugins/home/public/assets/logos/netscout.svg b/src/platform/plugins/shared/home/public/assets/logos/netscout.svg similarity index 100% rename from src/plugins/home/public/assets/logos/netscout.svg rename to src/platform/plugins/shared/home/public/assets/logos/netscout.svg diff --git a/src/plugins/home/public/assets/logos/o365.svg b/src/platform/plugins/shared/home/public/assets/logos/o365.svg similarity index 100% rename from src/plugins/home/public/assets/logos/o365.svg rename to src/platform/plugins/shared/home/public/assets/logos/o365.svg diff --git a/src/plugins/home/public/assets/logos/okta.svg b/src/platform/plugins/shared/home/public/assets/logos/okta.svg similarity index 100% rename from src/plugins/home/public/assets/logos/okta.svg rename to src/platform/plugins/shared/home/public/assets/logos/okta.svg diff --git a/src/plugins/home/public/assets/logos/openmetrics.svg b/src/platform/plugins/shared/home/public/assets/logos/openmetrics.svg similarity index 100% rename from src/plugins/home/public/assets/logos/openmetrics.svg rename to src/platform/plugins/shared/home/public/assets/logos/openmetrics.svg diff --git a/src/plugins/home/public/assets/logos/oracle.svg b/src/platform/plugins/shared/home/public/assets/logos/oracle.svg similarity index 100% rename from src/plugins/home/public/assets/logos/oracle.svg rename to src/platform/plugins/shared/home/public/assets/logos/oracle.svg diff --git a/src/plugins/home/public/assets/logos/osquery.svg b/src/platform/plugins/shared/home/public/assets/logos/osquery.svg similarity index 100% rename from src/plugins/home/public/assets/logos/osquery.svg rename to src/platform/plugins/shared/home/public/assets/logos/osquery.svg diff --git a/src/plugins/home/public/assets/logos/paloalto.svg b/src/platform/plugins/shared/home/public/assets/logos/paloalto.svg similarity index 100% rename from src/plugins/home/public/assets/logos/paloalto.svg rename to src/platform/plugins/shared/home/public/assets/logos/paloalto.svg diff --git a/src/plugins/home/public/assets/logos/rabbitmq.svg b/src/platform/plugins/shared/home/public/assets/logos/rabbitmq.svg similarity index 100% rename from src/plugins/home/public/assets/logos/rabbitmq.svg rename to src/platform/plugins/shared/home/public/assets/logos/rabbitmq.svg diff --git a/src/plugins/home/public/assets/logos/radware.svg b/src/platform/plugins/shared/home/public/assets/logos/radware.svg similarity index 100% rename from src/plugins/home/public/assets/logos/radware.svg rename to src/platform/plugins/shared/home/public/assets/logos/radware.svg diff --git a/src/plugins/home/public/assets/logos/sonicwall.svg b/src/platform/plugins/shared/home/public/assets/logos/sonicwall.svg similarity index 100% rename from src/plugins/home/public/assets/logos/sonicwall.svg rename to src/platform/plugins/shared/home/public/assets/logos/sonicwall.svg diff --git a/src/plugins/home/public/assets/logos/sophos.svg b/src/platform/plugins/shared/home/public/assets/logos/sophos.svg similarity index 100% rename from src/plugins/home/public/assets/logos/sophos.svg rename to src/platform/plugins/shared/home/public/assets/logos/sophos.svg diff --git a/src/plugins/home/public/assets/logos/stan.svg b/src/platform/plugins/shared/home/public/assets/logos/stan.svg similarity index 100% rename from src/plugins/home/public/assets/logos/stan.svg rename to src/platform/plugins/shared/home/public/assets/logos/stan.svg diff --git a/src/plugins/home/public/assets/logos/statsd.svg b/src/platform/plugins/shared/home/public/assets/logos/statsd.svg similarity index 100% rename from src/plugins/home/public/assets/logos/statsd.svg rename to src/platform/plugins/shared/home/public/assets/logos/statsd.svg diff --git a/src/plugins/home/public/assets/logos/suricata.svg b/src/platform/plugins/shared/home/public/assets/logos/suricata.svg similarity index 100% rename from src/plugins/home/public/assets/logos/suricata.svg rename to src/platform/plugins/shared/home/public/assets/logos/suricata.svg diff --git a/src/plugins/home/public/assets/logos/system.svg b/src/platform/plugins/shared/home/public/assets/logos/system.svg similarity index 100% rename from src/plugins/home/public/assets/logos/system.svg rename to src/platform/plugins/shared/home/public/assets/logos/system.svg diff --git a/src/plugins/home/public/assets/logos/tomcat.svg b/src/platform/plugins/shared/home/public/assets/logos/tomcat.svg similarity index 100% rename from src/plugins/home/public/assets/logos/tomcat.svg rename to src/platform/plugins/shared/home/public/assets/logos/tomcat.svg diff --git a/src/plugins/home/public/assets/logos/traefik.svg b/src/platform/plugins/shared/home/public/assets/logos/traefik.svg similarity index 100% rename from src/plugins/home/public/assets/logos/traefik.svg rename to src/platform/plugins/shared/home/public/assets/logos/traefik.svg diff --git a/src/plugins/home/public/assets/logos/ubiquiti.svg b/src/platform/plugins/shared/home/public/assets/logos/ubiquiti.svg similarity index 100% rename from src/plugins/home/public/assets/logos/ubiquiti.svg rename to src/platform/plugins/shared/home/public/assets/logos/ubiquiti.svg diff --git a/src/plugins/home/public/assets/logos/uwsgi.svg b/src/platform/plugins/shared/home/public/assets/logos/uwsgi.svg similarity index 100% rename from src/plugins/home/public/assets/logos/uwsgi.svg rename to src/platform/plugins/shared/home/public/assets/logos/uwsgi.svg diff --git a/src/plugins/home/public/assets/logos/vsphere.svg b/src/platform/plugins/shared/home/public/assets/logos/vsphere.svg similarity index 100% rename from src/plugins/home/public/assets/logos/vsphere.svg rename to src/platform/plugins/shared/home/public/assets/logos/vsphere.svg diff --git a/src/plugins/home/public/assets/logos/zeek.svg b/src/platform/plugins/shared/home/public/assets/logos/zeek.svg similarity index 100% rename from src/plugins/home/public/assets/logos/zeek.svg rename to src/platform/plugins/shared/home/public/assets/logos/zeek.svg diff --git a/src/plugins/home/public/assets/logos/zookeeper.svg b/src/platform/plugins/shared/home/public/assets/logos/zookeeper.svg similarity index 100% rename from src/plugins/home/public/assets/logos/zookeeper.svg rename to src/platform/plugins/shared/home/public/assets/logos/zookeeper.svg diff --git a/src/plugins/home/public/assets/logos/zscaler.svg b/src/platform/plugins/shared/home/public/assets/logos/zscaler.svg similarity index 100% rename from src/plugins/home/public/assets/logos/zscaler.svg rename to src/platform/plugins/shared/home/public/assets/logos/zscaler.svg diff --git a/src/plugins/home/public/assets/logstash_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/logstash_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/logstash_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/logstash_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/microsoft_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/microsoft_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/microsoft_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/microsoft_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/misp_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/misp_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/misp_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/misp_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/mongodb_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/mongodb_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/mongodb_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/mongodb_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/mongodb_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/mongodb_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/mongodb_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/mongodb_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/mssql_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/mssql_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/mssql_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/mssql_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/mysql_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/mysql_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/mysql_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/mysql_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/mysql_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/mysql_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/mysql_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/mysql_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/nats_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/nats_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/nats_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/nats_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/nats_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/nats_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/nats_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/nats_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/nginx_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/nginx_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/nginx_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/nginx_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/nginx_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/nginx_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/nginx_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/nginx_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/o365_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/o365_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/o365_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/o365_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/okta_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/okta_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/okta_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/okta_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/osquery_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/osquery_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/osquery_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/osquery_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/panw_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/panw_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/panw_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/panw_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/postgresql_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/postgresql_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/postgresql_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/postgresql_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/rabbitmq_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/rabbitmq_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/rabbitmq_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/rabbitmq_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/redis_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/redis_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/redis_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/redis_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/redis_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/redis_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/redis_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/redis_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/redisenterprise_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/redisenterprise_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/redisenterprise_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/redisenterprise_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/sample_data_resources/ecommerce/dashboard.webp b/src/platform/plugins/shared/home/public/assets/sample_data_resources/ecommerce/dashboard.webp similarity index 100% rename from src/plugins/home/public/assets/sample_data_resources/ecommerce/dashboard.webp rename to src/platform/plugins/shared/home/public/assets/sample_data_resources/ecommerce/dashboard.webp diff --git a/src/plugins/home/public/assets/sample_data_resources/ecommerce/dashboard_dark.webp b/src/platform/plugins/shared/home/public/assets/sample_data_resources/ecommerce/dashboard_dark.webp similarity index 100% rename from src/plugins/home/public/assets/sample_data_resources/ecommerce/dashboard_dark.webp rename to src/platform/plugins/shared/home/public/assets/sample_data_resources/ecommerce/dashboard_dark.webp diff --git a/src/plugins/home/public/assets/sample_data_resources/ecommerce/icon.svg b/src/platform/plugins/shared/home/public/assets/sample_data_resources/ecommerce/icon.svg similarity index 100% rename from src/plugins/home/public/assets/sample_data_resources/ecommerce/icon.svg rename to src/platform/plugins/shared/home/public/assets/sample_data_resources/ecommerce/icon.svg diff --git a/src/plugins/home/public/assets/sample_data_resources/flights/dashboard.webp b/src/platform/plugins/shared/home/public/assets/sample_data_resources/flights/dashboard.webp similarity index 100% rename from src/plugins/home/public/assets/sample_data_resources/flights/dashboard.webp rename to src/platform/plugins/shared/home/public/assets/sample_data_resources/flights/dashboard.webp diff --git a/src/plugins/home/public/assets/sample_data_resources/flights/dashboard_dark.webp b/src/platform/plugins/shared/home/public/assets/sample_data_resources/flights/dashboard_dark.webp similarity index 100% rename from src/plugins/home/public/assets/sample_data_resources/flights/dashboard_dark.webp rename to src/platform/plugins/shared/home/public/assets/sample_data_resources/flights/dashboard_dark.webp diff --git a/src/plugins/home/public/assets/sample_data_resources/flights/icon.svg b/src/platform/plugins/shared/home/public/assets/sample_data_resources/flights/icon.svg similarity index 100% rename from src/plugins/home/public/assets/sample_data_resources/flights/icon.svg rename to src/platform/plugins/shared/home/public/assets/sample_data_resources/flights/icon.svg diff --git a/src/plugins/home/public/assets/sample_data_resources/logs/dashboard.webp b/src/platform/plugins/shared/home/public/assets/sample_data_resources/logs/dashboard.webp similarity index 100% rename from src/plugins/home/public/assets/sample_data_resources/logs/dashboard.webp rename to src/platform/plugins/shared/home/public/assets/sample_data_resources/logs/dashboard.webp diff --git a/src/plugins/home/public/assets/sample_data_resources/logs/dashboard_dark.webp b/src/platform/plugins/shared/home/public/assets/sample_data_resources/logs/dashboard_dark.webp similarity index 100% rename from src/plugins/home/public/assets/sample_data_resources/logs/dashboard_dark.webp rename to src/platform/plugins/shared/home/public/assets/sample_data_resources/logs/dashboard_dark.webp diff --git a/src/plugins/home/public/assets/sample_data_resources/logs/icon.svg b/src/platform/plugins/shared/home/public/assets/sample_data_resources/logs/icon.svg similarity index 100% rename from src/plugins/home/public/assets/sample_data_resources/logs/icon.svg rename to src/platform/plugins/shared/home/public/assets/sample_data_resources/logs/icon.svg diff --git a/src/plugins/home/public/assets/santa_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/santa_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/santa_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/santa_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/solution_logos/kubernetes.png b/src/platform/plugins/shared/home/public/assets/solution_logos/kubernetes.png similarity index 100% rename from src/plugins/home/public/assets/solution_logos/kubernetes.png rename to src/platform/plugins/shared/home/public/assets/solution_logos/kubernetes.png diff --git a/src/plugins/home/public/assets/solution_logos/kubernetes_dark.png b/src/platform/plugins/shared/home/public/assets/solution_logos/kubernetes_dark.png similarity index 100% rename from src/plugins/home/public/assets/solution_logos/kubernetes_dark.png rename to src/platform/plugins/shared/home/public/assets/solution_logos/kubernetes_dark.png diff --git a/src/plugins/home/public/assets/solution_logos/observability.png b/src/platform/plugins/shared/home/public/assets/solution_logos/observability.png similarity index 100% rename from src/plugins/home/public/assets/solution_logos/observability.png rename to src/platform/plugins/shared/home/public/assets/solution_logos/observability.png diff --git a/src/plugins/home/public/assets/solution_logos/observability_dark.png b/src/platform/plugins/shared/home/public/assets/solution_logos/observability_dark.png similarity index 100% rename from src/plugins/home/public/assets/solution_logos/observability_dark.png rename to src/platform/plugins/shared/home/public/assets/solution_logos/observability_dark.png diff --git a/src/plugins/home/public/assets/solution_logos/search.png b/src/platform/plugins/shared/home/public/assets/solution_logos/search.png similarity index 100% rename from src/plugins/home/public/assets/solution_logos/search.png rename to src/platform/plugins/shared/home/public/assets/solution_logos/search.png diff --git a/src/plugins/home/public/assets/solution_logos/search_dark.png b/src/platform/plugins/shared/home/public/assets/solution_logos/search_dark.png similarity index 100% rename from src/plugins/home/public/assets/solution_logos/search_dark.png rename to src/platform/plugins/shared/home/public/assets/solution_logos/search_dark.png diff --git a/src/plugins/home/public/assets/solution_logos/security.png b/src/platform/plugins/shared/home/public/assets/solution_logos/security.png similarity index 100% rename from src/plugins/home/public/assets/solution_logos/security.png rename to src/platform/plugins/shared/home/public/assets/solution_logos/security.png diff --git a/src/plugins/home/public/assets/solution_logos/security_dark.png b/src/platform/plugins/shared/home/public/assets/solution_logos/security_dark.png similarity index 100% rename from src/plugins/home/public/assets/solution_logos/security_dark.png rename to src/platform/plugins/shared/home/public/assets/solution_logos/security_dark.png diff --git a/src/plugins/home/public/assets/stan_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/stan_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/stan_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/stan_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/suricata_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/suricata_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/suricata_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/suricata_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/system_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/system_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/system_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/system_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/system_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/system_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/system_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/system_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/traefik_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/traefik_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/traefik_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/traefik_logs/screenshot.webp diff --git a/src/plugins/home/public/assets/uptime_monitors/screenshot.webp b/src/platform/plugins/shared/home/public/assets/uptime_monitors/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/uptime_monitors/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/uptime_monitors/screenshot.webp diff --git a/src/plugins/home/public/assets/uwsgi_metrics/screenshot.webp b/src/platform/plugins/shared/home/public/assets/uwsgi_metrics/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/uwsgi_metrics/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/uwsgi_metrics/screenshot.webp diff --git a/src/plugins/home/public/assets/welcome_graphic_dark_2x.png b/src/platform/plugins/shared/home/public/assets/welcome_graphic_dark_2x.png similarity index 100% rename from src/plugins/home/public/assets/welcome_graphic_dark_2x.png rename to src/platform/plugins/shared/home/public/assets/welcome_graphic_dark_2x.png diff --git a/src/plugins/home/public/assets/welcome_graphic_light_2x.png b/src/platform/plugins/shared/home/public/assets/welcome_graphic_light_2x.png similarity index 100% rename from src/plugins/home/public/assets/welcome_graphic_light_2x.png rename to src/platform/plugins/shared/home/public/assets/welcome_graphic_light_2x.png diff --git a/src/plugins/home/public/assets/zeek_logs/screenshot.webp b/src/platform/plugins/shared/home/public/assets/zeek_logs/screenshot.webp similarity index 100% rename from src/plugins/home/public/assets/zeek_logs/screenshot.webp rename to src/platform/plugins/shared/home/public/assets/zeek_logs/screenshot.webp diff --git a/src/plugins/home/public/index.ts b/src/platform/plugins/shared/home/public/index.ts similarity index 100% rename from src/plugins/home/public/index.ts rename to src/platform/plugins/shared/home/public/index.ts diff --git a/src/plugins/home/public/mocks.ts b/src/platform/plugins/shared/home/public/mocks.ts similarity index 100% rename from src/plugins/home/public/mocks.ts rename to src/platform/plugins/shared/home/public/mocks.ts diff --git a/src/plugins/home/public/plugin.test.mocks.ts b/src/platform/plugins/shared/home/public/plugin.test.mocks.ts similarity index 100% rename from src/plugins/home/public/plugin.test.mocks.ts rename to src/platform/plugins/shared/home/public/plugin.test.mocks.ts diff --git a/src/plugins/home/public/plugin.test.ts b/src/platform/plugins/shared/home/public/plugin.test.ts similarity index 100% rename from src/plugins/home/public/plugin.test.ts rename to src/platform/plugins/shared/home/public/plugin.test.ts diff --git a/src/plugins/home/public/plugin.ts b/src/platform/plugins/shared/home/public/plugin.ts similarity index 100% rename from src/plugins/home/public/plugin.ts rename to src/platform/plugins/shared/home/public/plugin.ts diff --git a/src/plugins/home/public/services/add_data/add_data_service.mock.ts b/src/platform/plugins/shared/home/public/services/add_data/add_data_service.mock.ts similarity index 100% rename from src/plugins/home/public/services/add_data/add_data_service.mock.ts rename to src/platform/plugins/shared/home/public/services/add_data/add_data_service.mock.ts diff --git a/src/plugins/home/public/services/add_data/add_data_service.test.tsx b/src/platform/plugins/shared/home/public/services/add_data/add_data_service.test.tsx similarity index 100% rename from src/plugins/home/public/services/add_data/add_data_service.test.tsx rename to src/platform/plugins/shared/home/public/services/add_data/add_data_service.test.tsx diff --git a/src/plugins/home/public/services/add_data/add_data_service.ts b/src/platform/plugins/shared/home/public/services/add_data/add_data_service.ts similarity index 100% rename from src/plugins/home/public/services/add_data/add_data_service.ts rename to src/platform/plugins/shared/home/public/services/add_data/add_data_service.ts diff --git a/src/plugins/home/public/services/add_data/index.ts b/src/platform/plugins/shared/home/public/services/add_data/index.ts similarity index 100% rename from src/plugins/home/public/services/add_data/index.ts rename to src/platform/plugins/shared/home/public/services/add_data/index.ts diff --git a/src/plugins/home/public/services/environment/environment.mock.ts b/src/platform/plugins/shared/home/public/services/environment/environment.mock.ts similarity index 100% rename from src/plugins/home/public/services/environment/environment.mock.ts rename to src/platform/plugins/shared/home/public/services/environment/environment.mock.ts diff --git a/src/plugins/home/public/services/environment/environment.test.ts b/src/platform/plugins/shared/home/public/services/environment/environment.test.ts similarity index 100% rename from src/plugins/home/public/services/environment/environment.test.ts rename to src/platform/plugins/shared/home/public/services/environment/environment.test.ts diff --git a/src/plugins/home/public/services/environment/environment.ts b/src/platform/plugins/shared/home/public/services/environment/environment.ts similarity index 100% rename from src/plugins/home/public/services/environment/environment.ts rename to src/platform/plugins/shared/home/public/services/environment/environment.ts diff --git a/src/plugins/home/public/services/environment/index.ts b/src/platform/plugins/shared/home/public/services/environment/index.ts similarity index 100% rename from src/plugins/home/public/services/environment/index.ts rename to src/platform/plugins/shared/home/public/services/environment/index.ts diff --git a/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.mock.ts b/src/platform/plugins/shared/home/public/services/feature_catalogue/feature_catalogue_registry.mock.ts similarity index 100% rename from src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.mock.ts rename to src/platform/plugins/shared/home/public/services/feature_catalogue/feature_catalogue_registry.mock.ts diff --git a/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.test.ts b/src/platform/plugins/shared/home/public/services/feature_catalogue/feature_catalogue_registry.test.ts similarity index 100% rename from src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.test.ts rename to src/platform/plugins/shared/home/public/services/feature_catalogue/feature_catalogue_registry.test.ts diff --git a/src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.ts b/src/platform/plugins/shared/home/public/services/feature_catalogue/feature_catalogue_registry.ts similarity index 100% rename from src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.ts rename to src/platform/plugins/shared/home/public/services/feature_catalogue/feature_catalogue_registry.ts diff --git a/src/plugins/home/public/services/feature_catalogue/index.ts b/src/platform/plugins/shared/home/public/services/feature_catalogue/index.ts similarity index 100% rename from src/plugins/home/public/services/feature_catalogue/index.ts rename to src/platform/plugins/shared/home/public/services/feature_catalogue/index.ts diff --git a/src/plugins/home/public/services/index.ts b/src/platform/plugins/shared/home/public/services/index.ts similarity index 100% rename from src/plugins/home/public/services/index.ts rename to src/platform/plugins/shared/home/public/services/index.ts diff --git a/src/plugins/home/public/services/tutorials/index.ts b/src/platform/plugins/shared/home/public/services/tutorials/index.ts similarity index 100% rename from src/plugins/home/public/services/tutorials/index.ts rename to src/platform/plugins/shared/home/public/services/tutorials/index.ts diff --git a/src/plugins/home/public/services/tutorials/tutorial_service.mock.ts b/src/platform/plugins/shared/home/public/services/tutorials/tutorial_service.mock.ts similarity index 100% rename from src/plugins/home/public/services/tutorials/tutorial_service.mock.ts rename to src/platform/plugins/shared/home/public/services/tutorials/tutorial_service.mock.ts diff --git a/src/plugins/home/public/services/tutorials/tutorial_service.test.tsx b/src/platform/plugins/shared/home/public/services/tutorials/tutorial_service.test.tsx similarity index 100% rename from src/plugins/home/public/services/tutorials/tutorial_service.test.tsx rename to src/platform/plugins/shared/home/public/services/tutorials/tutorial_service.test.tsx diff --git a/src/plugins/home/public/services/tutorials/tutorial_service.ts b/src/platform/plugins/shared/home/public/services/tutorials/tutorial_service.ts similarity index 100% rename from src/plugins/home/public/services/tutorials/tutorial_service.ts rename to src/platform/plugins/shared/home/public/services/tutorials/tutorial_service.ts diff --git a/src/plugins/home/public/services/welcome/index.ts b/src/platform/plugins/shared/home/public/services/welcome/index.ts similarity index 100% rename from src/plugins/home/public/services/welcome/index.ts rename to src/platform/plugins/shared/home/public/services/welcome/index.ts diff --git a/src/plugins/home/public/services/welcome/welcome_service.mocks.ts b/src/platform/plugins/shared/home/public/services/welcome/welcome_service.mocks.ts similarity index 100% rename from src/plugins/home/public/services/welcome/welcome_service.mocks.ts rename to src/platform/plugins/shared/home/public/services/welcome/welcome_service.mocks.ts diff --git a/src/plugins/home/public/services/welcome/welcome_service.test.ts b/src/platform/plugins/shared/home/public/services/welcome/welcome_service.test.ts similarity index 100% rename from src/plugins/home/public/services/welcome/welcome_service.test.ts rename to src/platform/plugins/shared/home/public/services/welcome/welcome_service.test.ts diff --git a/src/plugins/home/public/services/welcome/welcome_service.ts b/src/platform/plugins/shared/home/public/services/welcome/welcome_service.ts similarity index 100% rename from src/plugins/home/public/services/welcome/welcome_service.ts rename to src/platform/plugins/shared/home/public/services/welcome/welcome_service.ts diff --git a/src/plugins/home/server/capabilities_provider.ts b/src/platform/plugins/shared/home/server/capabilities_provider.ts similarity index 100% rename from src/plugins/home/server/capabilities_provider.ts rename to src/platform/plugins/shared/home/server/capabilities_provider.ts diff --git a/src/plugins/home/server/config.ts b/src/platform/plugins/shared/home/server/config.ts similarity index 100% rename from src/plugins/home/server/config.ts rename to src/platform/plugins/shared/home/server/config.ts diff --git a/src/plugins/home/server/index.ts b/src/platform/plugins/shared/home/server/index.ts similarity index 100% rename from src/plugins/home/server/index.ts rename to src/platform/plugins/shared/home/server/index.ts diff --git a/src/plugins/home/server/plugin.test.mocks.ts b/src/platform/plugins/shared/home/server/plugin.test.mocks.ts similarity index 100% rename from src/plugins/home/server/plugin.test.mocks.ts rename to src/platform/plugins/shared/home/server/plugin.test.mocks.ts diff --git a/src/plugins/home/server/plugin.test.ts b/src/platform/plugins/shared/home/server/plugin.test.ts similarity index 100% rename from src/plugins/home/server/plugin.test.ts rename to src/platform/plugins/shared/home/server/plugin.test.ts diff --git a/src/plugins/home/server/plugin.ts b/src/platform/plugins/shared/home/server/plugin.ts similarity index 100% rename from src/plugins/home/server/plugin.ts rename to src/platform/plugins/shared/home/server/plugin.ts diff --git a/src/plugins/home/server/routes/fetch_es_hits_status.ts b/src/platform/plugins/shared/home/server/routes/fetch_es_hits_status.ts similarity index 100% rename from src/plugins/home/server/routes/fetch_es_hits_status.ts rename to src/platform/plugins/shared/home/server/routes/fetch_es_hits_status.ts diff --git a/src/plugins/home/server/routes/index.ts b/src/platform/plugins/shared/home/server/routes/index.ts similarity index 100% rename from src/plugins/home/server/routes/index.ts rename to src/platform/plugins/shared/home/server/routes/index.ts diff --git a/src/plugins/home/server/saved_objects/index.ts b/src/platform/plugins/shared/home/server/saved_objects/index.ts similarity index 100% rename from src/plugins/home/server/saved_objects/index.ts rename to src/platform/plugins/shared/home/server/saved_objects/index.ts diff --git a/src/plugins/home/server/saved_objects/sample_data_telemetry.ts b/src/platform/plugins/shared/home/server/saved_objects/sample_data_telemetry.ts similarity index 100% rename from src/plugins/home/server/saved_objects/sample_data_telemetry.ts rename to src/platform/plugins/shared/home/server/saved_objects/sample_data_telemetry.ts diff --git a/src/plugins/home/server/services/index.ts b/src/platform/plugins/shared/home/server/services/index.ts similarity index 100% rename from src/plugins/home/server/services/index.ts rename to src/platform/plugins/shared/home/server/services/index.ts diff --git a/src/plugins/home/server/services/sample_data/data_sets/ecommerce/ecommerce.json.gz b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/ecommerce/ecommerce.json.gz similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/ecommerce/ecommerce.json.gz rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/ecommerce/ecommerce.json.gz diff --git a/src/plugins/home/server/services/sample_data/data_sets/ecommerce/field_mappings.ts b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/ecommerce/field_mappings.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/ecommerce/field_mappings.ts rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/ecommerce/field_mappings.ts diff --git a/src/plugins/home/server/services/sample_data/data_sets/ecommerce/index.ts b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/ecommerce/index.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/ecommerce/index.ts rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/ecommerce/index.ts diff --git a/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts diff --git a/src/plugins/home/server/services/sample_data/data_sets/flights/field_mappings.ts b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/flights/field_mappings.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/flights/field_mappings.ts rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/flights/field_mappings.ts diff --git a/src/plugins/home/server/services/sample_data/data_sets/flights/flights.json.gz b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/flights/flights.json.gz similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/flights/flights.json.gz rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/flights/flights.json.gz diff --git a/src/plugins/home/server/services/sample_data/data_sets/flights/index.ts b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/flights/index.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/flights/index.ts rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/flights/index.ts diff --git a/src/plugins/home/server/services/sample_data/data_sets/flights/saved_objects.ts b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/flights/saved_objects.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/flights/saved_objects.ts rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/flights/saved_objects.ts diff --git a/src/plugins/home/server/services/sample_data/data_sets/index.ts b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/index.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/index.ts rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/index.ts diff --git a/src/plugins/home/server/services/sample_data/data_sets/logs/field_mappings.ts b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs/field_mappings.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/logs/field_mappings.ts rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs/field_mappings.ts diff --git a/src/plugins/home/server/services/sample_data/data_sets/logs/index.ts b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs/index.ts similarity index 94% rename from src/plugins/home/server/services/sample_data/data_sets/logs/index.ts rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs/index.ts index 95e8dbde88180..844ce888f77ff 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/logs/index.ts +++ b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs/index.ts @@ -20,7 +20,8 @@ const logsDescription = i18n.translate('home.sampleData.logsSpecDescription', { defaultMessage: 'Sample data, visualizations, and dashboards for monitoring web logs.', }); -export const GLOBE_ICON_PATH = '/plugins/home/assets/sample_data_resources/logs/icon.svg'; +export const GLOBE_ICON_PATH = + '/platform/plugins/shared/home/assets/sample_data_resources/logs/icon.svg'; export const logsSpecProvider: SampleDatasetProvider = ({ staticAssets }) => { return { id: 'logs', diff --git a/src/plugins/home/server/services/sample_data/data_sets/logs/logs.json.gz b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs/logs.json.gz similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/logs/logs.json.gz rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs/logs.json.gz diff --git a/src/plugins/home/server/services/sample_data/data_sets/logs/saved_objects.ts b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs/saved_objects.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/logs/saved_objects.ts rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs/saved_objects.ts diff --git a/src/plugins/home/server/services/sample_data/data_sets/logs_tsdb/field_mappings.ts b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs_tsdb/field_mappings.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/logs_tsdb/field_mappings.ts rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs_tsdb/field_mappings.ts diff --git a/src/plugins/home/server/services/sample_data/data_sets/logs_tsdb/index.ts b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs_tsdb/index.ts similarity index 95% rename from src/plugins/home/server/services/sample_data/data_sets/logs_tsdb/index.ts rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs_tsdb/index.ts index 837fc48ce8333..2c5ba6c2b3cb8 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/logs_tsdb/index.ts +++ b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs_tsdb/index.ts @@ -20,7 +20,8 @@ const logsDescription = i18n.translate('home.sampleData.logsTsdbSpecDescription' defaultMessage: 'Sample data, visualizations, and dashboards for monitoring web logs.', }); -export const GLOBE_ICON_PATH = '/plugins/home/assets/sample_data_resources/logs/icon.svg'; +export const GLOBE_ICON_PATH = + '/platform/plugins/shared/home/assets/sample_data_resources/logs/icon.svg'; export const logsTSDBSpecProvider: SampleDatasetProvider = ({ staticAssets }) => { const startDate = new Date(); const endDate = new Date(); diff --git a/src/plugins/home/server/services/sample_data/data_sets/logs_tsdb/logs.json.gz b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs_tsdb/logs.json.gz similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/logs_tsdb/logs.json.gz rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs_tsdb/logs.json.gz diff --git a/src/plugins/home/server/services/sample_data/data_sets/logs_tsdb/saved_objects.ts b/src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs_tsdb/saved_objects.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/data_sets/logs_tsdb/saved_objects.ts rename to src/platform/plugins/shared/home/server/services/sample_data/data_sets/logs_tsdb/saved_objects.ts diff --git a/src/plugins/home/server/services/sample_data/errors.ts b/src/platform/plugins/shared/home/server/services/sample_data/errors.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/errors.ts rename to src/platform/plugins/shared/home/server/services/sample_data/errors.ts diff --git a/src/plugins/home/server/services/sample_data/index.ts b/src/platform/plugins/shared/home/server/services/sample_data/index.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/index.ts rename to src/platform/plugins/shared/home/server/services/sample_data/index.ts diff --git a/src/plugins/home/server/services/sample_data/lib/create_index_name.ts b/src/platform/plugins/shared/home/server/services/sample_data/lib/create_index_name.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/lib/create_index_name.ts rename to src/platform/plugins/shared/home/server/services/sample_data/lib/create_index_name.ts diff --git a/src/plugins/home/server/services/sample_data/lib/find_sample_objects.test.mock.ts b/src/platform/plugins/shared/home/server/services/sample_data/lib/find_sample_objects.test.mock.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/lib/find_sample_objects.test.mock.ts rename to src/platform/plugins/shared/home/server/services/sample_data/lib/find_sample_objects.test.mock.ts diff --git a/src/plugins/home/server/services/sample_data/lib/find_sample_objects.test.ts b/src/platform/plugins/shared/home/server/services/sample_data/lib/find_sample_objects.test.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/lib/find_sample_objects.test.ts rename to src/platform/plugins/shared/home/server/services/sample_data/lib/find_sample_objects.test.ts diff --git a/src/plugins/home/server/services/sample_data/lib/find_sample_objects.ts b/src/platform/plugins/shared/home/server/services/sample_data/lib/find_sample_objects.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/lib/find_sample_objects.ts rename to src/platform/plugins/shared/home/server/services/sample_data/lib/find_sample_objects.ts diff --git a/src/plugins/home/server/services/sample_data/lib/insert_data_into_index.ts b/src/platform/plugins/shared/home/server/services/sample_data/lib/insert_data_into_index.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/lib/insert_data_into_index.ts rename to src/platform/plugins/shared/home/server/services/sample_data/lib/insert_data_into_index.ts diff --git a/src/plugins/home/server/services/sample_data/lib/load_data.ts b/src/platform/plugins/shared/home/server/services/sample_data/lib/load_data.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/lib/load_data.ts rename to src/platform/plugins/shared/home/server/services/sample_data/lib/load_data.ts diff --git a/src/plugins/home/server/services/sample_data/lib/register_with_integrations.ts b/src/platform/plugins/shared/home/server/services/sample_data/lib/register_with_integrations.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/lib/register_with_integrations.ts rename to src/platform/plugins/shared/home/server/services/sample_data/lib/register_with_integrations.ts diff --git a/src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts b/src/platform/plugins/shared/home/server/services/sample_data/lib/sample_dataset_registry_types.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts rename to src/platform/plugins/shared/home/server/services/sample_data/lib/sample_dataset_registry_types.ts diff --git a/src/plugins/home/server/services/sample_data/lib/sample_dataset_schema.ts b/src/platform/plugins/shared/home/server/services/sample_data/lib/sample_dataset_schema.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/lib/sample_dataset_schema.ts rename to src/platform/plugins/shared/home/server/services/sample_data/lib/sample_dataset_schema.ts diff --git a/src/plugins/home/server/services/sample_data/lib/translate_timestamp.test.ts b/src/platform/plugins/shared/home/server/services/sample_data/lib/translate_timestamp.test.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/lib/translate_timestamp.test.ts rename to src/platform/plugins/shared/home/server/services/sample_data/lib/translate_timestamp.test.ts diff --git a/src/plugins/home/server/services/sample_data/lib/translate_timestamp.ts b/src/platform/plugins/shared/home/server/services/sample_data/lib/translate_timestamp.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/lib/translate_timestamp.ts rename to src/platform/plugins/shared/home/server/services/sample_data/lib/translate_timestamp.ts diff --git a/src/plugins/home/server/services/sample_data/lib/utils.ts b/src/platform/plugins/shared/home/server/services/sample_data/lib/utils.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/lib/utils.ts rename to src/platform/plugins/shared/home/server/services/sample_data/lib/utils.ts diff --git a/src/plugins/home/server/services/sample_data/routes/index.ts b/src/platform/plugins/shared/home/server/services/sample_data/routes/index.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/routes/index.ts rename to src/platform/plugins/shared/home/server/services/sample_data/routes/index.ts diff --git a/src/plugins/home/server/services/sample_data/routes/install.ts b/src/platform/plugins/shared/home/server/services/sample_data/routes/install.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/routes/install.ts rename to src/platform/plugins/shared/home/server/services/sample_data/routes/install.ts diff --git a/src/plugins/home/server/services/sample_data/routes/list.ts b/src/platform/plugins/shared/home/server/services/sample_data/routes/list.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/routes/list.ts rename to src/platform/plugins/shared/home/server/services/sample_data/routes/list.ts diff --git a/src/plugins/home/server/services/sample_data/routes/uninstall.ts b/src/platform/plugins/shared/home/server/services/sample_data/routes/uninstall.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/routes/uninstall.ts rename to src/platform/plugins/shared/home/server/services/sample_data/routes/uninstall.ts diff --git a/src/plugins/home/server/services/sample_data/routes/utils.ts b/src/platform/plugins/shared/home/server/services/sample_data/routes/utils.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/routes/utils.ts rename to src/platform/plugins/shared/home/server/services/sample_data/routes/utils.ts diff --git a/src/plugins/home/server/services/sample_data/sample_data_installer.test.mocks.ts b/src/platform/plugins/shared/home/server/services/sample_data/sample_data_installer.test.mocks.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/sample_data_installer.test.mocks.ts rename to src/platform/plugins/shared/home/server/services/sample_data/sample_data_installer.test.mocks.ts diff --git a/src/plugins/home/server/services/sample_data/sample_data_installer.test.ts b/src/platform/plugins/shared/home/server/services/sample_data/sample_data_installer.test.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/sample_data_installer.test.ts rename to src/platform/plugins/shared/home/server/services/sample_data/sample_data_installer.test.ts diff --git a/src/plugins/home/server/services/sample_data/sample_data_installer.ts b/src/platform/plugins/shared/home/server/services/sample_data/sample_data_installer.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/sample_data_installer.ts rename to src/platform/plugins/shared/home/server/services/sample_data/sample_data_installer.ts diff --git a/src/plugins/home/server/services/sample_data/sample_data_registry.mock.ts b/src/platform/plugins/shared/home/server/services/sample_data/sample_data_registry.mock.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/sample_data_registry.mock.ts rename to src/platform/plugins/shared/home/server/services/sample_data/sample_data_registry.mock.ts diff --git a/src/plugins/home/server/services/sample_data/sample_data_registry.test.ts b/src/platform/plugins/shared/home/server/services/sample_data/sample_data_registry.test.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/sample_data_registry.test.ts rename to src/platform/plugins/shared/home/server/services/sample_data/sample_data_registry.test.ts diff --git a/src/plugins/home/server/services/sample_data/sample_data_registry.ts b/src/platform/plugins/shared/home/server/services/sample_data/sample_data_registry.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/sample_data_registry.ts rename to src/platform/plugins/shared/home/server/services/sample_data/sample_data_registry.ts diff --git a/src/plugins/home/server/services/sample_data/usage/collector.ts b/src/platform/plugins/shared/home/server/services/sample_data/usage/collector.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/usage/collector.ts rename to src/platform/plugins/shared/home/server/services/sample_data/usage/collector.ts diff --git a/src/plugins/home/server/services/sample_data/usage/collector_fetch.test.ts b/src/platform/plugins/shared/home/server/services/sample_data/usage/collector_fetch.test.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/usage/collector_fetch.test.ts rename to src/platform/plugins/shared/home/server/services/sample_data/usage/collector_fetch.test.ts diff --git a/src/plugins/home/server/services/sample_data/usage/collector_fetch.ts b/src/platform/plugins/shared/home/server/services/sample_data/usage/collector_fetch.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/usage/collector_fetch.ts rename to src/platform/plugins/shared/home/server/services/sample_data/usage/collector_fetch.ts diff --git a/src/plugins/home/server/services/sample_data/usage/index.ts b/src/platform/plugins/shared/home/server/services/sample_data/usage/index.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/usage/index.ts rename to src/platform/plugins/shared/home/server/services/sample_data/usage/index.ts diff --git a/src/plugins/home/server/services/sample_data/usage/usage.ts b/src/platform/plugins/shared/home/server/services/sample_data/usage/usage.ts similarity index 100% rename from src/plugins/home/server/services/sample_data/usage/usage.ts rename to src/platform/plugins/shared/home/server/services/sample_data/usage/usage.ts diff --git a/src/plugins/home/server/services/tutorials/index.ts b/src/platform/plugins/shared/home/server/services/tutorials/index.ts similarity index 100% rename from src/plugins/home/server/services/tutorials/index.ts rename to src/platform/plugins/shared/home/server/services/tutorials/index.ts diff --git a/src/plugins/home/server/services/tutorials/lib/tutorial_schema.ts b/src/platform/plugins/shared/home/server/services/tutorials/lib/tutorial_schema.ts similarity index 100% rename from src/plugins/home/server/services/tutorials/lib/tutorial_schema.ts rename to src/platform/plugins/shared/home/server/services/tutorials/lib/tutorial_schema.ts diff --git a/src/plugins/home/server/services/tutorials/lib/tutorials_registry_types.ts b/src/platform/plugins/shared/home/server/services/tutorials/lib/tutorials_registry_types.ts similarity index 100% rename from src/plugins/home/server/services/tutorials/lib/tutorials_registry_types.ts rename to src/platform/plugins/shared/home/server/services/tutorials/lib/tutorials_registry_types.ts diff --git a/src/plugins/home/server/services/tutorials/tutorials_registry.mock.ts b/src/platform/plugins/shared/home/server/services/tutorials/tutorials_registry.mock.ts similarity index 100% rename from src/plugins/home/server/services/tutorials/tutorials_registry.mock.ts rename to src/platform/plugins/shared/home/server/services/tutorials/tutorials_registry.mock.ts diff --git a/src/plugins/home/server/services/tutorials/tutorials_registry.test.ts b/src/platform/plugins/shared/home/server/services/tutorials/tutorials_registry.test.ts similarity index 100% rename from src/plugins/home/server/services/tutorials/tutorials_registry.test.ts rename to src/platform/plugins/shared/home/server/services/tutorials/tutorials_registry.test.ts diff --git a/src/plugins/home/server/services/tutorials/tutorials_registry.ts b/src/platform/plugins/shared/home/server/services/tutorials/tutorials_registry.ts similarity index 100% rename from src/plugins/home/server/services/tutorials/tutorials_registry.ts rename to src/platform/plugins/shared/home/server/services/tutorials/tutorials_registry.ts diff --git a/src/plugins/home/server/tutorials/activemq_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/activemq_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/activemq_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/activemq_logs/index.ts diff --git a/src/plugins/home/server/tutorials/activemq_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/activemq_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/activemq_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/activemq_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/aerospike_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/aerospike_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/aerospike_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/aerospike_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/apache_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/apache_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/apache_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/apache_logs/index.ts diff --git a/src/plugins/home/server/tutorials/apache_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/apache_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/apache_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/apache_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/auditbeat/index.ts b/src/platform/plugins/shared/home/server/tutorials/auditbeat/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/auditbeat/index.ts rename to src/platform/plugins/shared/home/server/tutorials/auditbeat/index.ts diff --git a/src/plugins/home/server/tutorials/auditd_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/auditd_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/auditd_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/auditd_logs/index.ts diff --git a/src/plugins/home/server/tutorials/aws_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/aws_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/aws_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/aws_logs/index.ts diff --git a/src/plugins/home/server/tutorials/aws_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/aws_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/aws_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/aws_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/azure_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/azure_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/azure_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/azure_logs/index.ts diff --git a/src/plugins/home/server/tutorials/azure_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/azure_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/azure_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/azure_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/barracuda_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/barracuda_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/barracuda_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/barracuda_logs/index.ts diff --git a/src/plugins/home/server/tutorials/bluecoat_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/bluecoat_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/bluecoat_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/bluecoat_logs/index.ts diff --git a/src/plugins/home/server/tutorials/cef_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/cef_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/cef_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/cef_logs/index.ts diff --git a/src/plugins/home/server/tutorials/ceph_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/ceph_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/ceph_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/ceph_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/checkpoint_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/checkpoint_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/checkpoint_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/checkpoint_logs/index.ts diff --git a/src/plugins/home/server/tutorials/cisco_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/cisco_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/cisco_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/cisco_logs/index.ts diff --git a/src/plugins/home/server/tutorials/cockroachdb_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/cockroachdb_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/cockroachdb_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/cockroachdb_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/consul_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/consul_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/consul_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/consul_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/coredns_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/coredns_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/coredns_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/coredns_logs/index.ts diff --git a/src/plugins/home/server/tutorials/coredns_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/coredns_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/coredns_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/coredns_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/couchbase_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/couchbase_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/couchbase_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/couchbase_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/couchdb_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/couchdb_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/couchdb_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/couchdb_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/crowdstrike_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/crowdstrike_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/crowdstrike_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/crowdstrike_logs/index.ts diff --git a/src/plugins/home/server/tutorials/cylance_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/cylance_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/cylance_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/cylance_logs/index.ts diff --git a/src/plugins/home/server/tutorials/docker_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/docker_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/docker_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/docker_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/dropwizard_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/dropwizard_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/dropwizard_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/dropwizard_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/elasticsearch_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/elasticsearch_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/elasticsearch_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/elasticsearch_logs/index.ts diff --git a/src/plugins/home/server/tutorials/elasticsearch_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/elasticsearch_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/elasticsearch_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/elasticsearch_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/envoyproxy_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/envoyproxy_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/envoyproxy_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/envoyproxy_logs/index.ts diff --git a/src/plugins/home/server/tutorials/envoyproxy_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/envoyproxy_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/envoyproxy_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/envoyproxy_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/etcd_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/etcd_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/etcd_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/etcd_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/f5_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/f5_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/f5_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/f5_logs/index.ts diff --git a/src/plugins/home/server/tutorials/fortinet_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/fortinet_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/fortinet_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/fortinet_logs/index.ts diff --git a/src/plugins/home/server/tutorials/gcp_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/gcp_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/gcp_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/gcp_logs/index.ts diff --git a/src/plugins/home/server/tutorials/gcp_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/gcp_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/gcp_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/gcp_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/golang_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/golang_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/golang_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/golang_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/gsuite_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/gsuite_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/gsuite_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/gsuite_logs/index.ts diff --git a/src/plugins/home/server/tutorials/haproxy_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/haproxy_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/haproxy_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/haproxy_logs/index.ts diff --git a/src/plugins/home/server/tutorials/haproxy_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/haproxy_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/haproxy_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/haproxy_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/ibmmq_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/ibmmq_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/ibmmq_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/ibmmq_logs/index.ts diff --git a/src/plugins/home/server/tutorials/ibmmq_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/ibmmq_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/ibmmq_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/ibmmq_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/icinga_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/icinga_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/icinga_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/icinga_logs/index.ts diff --git a/src/plugins/home/server/tutorials/iis_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/iis_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/iis_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/iis_logs/index.ts diff --git a/src/plugins/home/server/tutorials/iis_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/iis_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/iis_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/iis_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/imperva_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/imperva_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/imperva_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/imperva_logs/index.ts diff --git a/src/plugins/home/server/tutorials/infoblox_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/infoblox_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/infoblox_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/infoblox_logs/index.ts diff --git a/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts b/src/platform/plugins/shared/home/server/tutorials/instructions/auditbeat_instructions.ts similarity index 100% rename from src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts rename to src/platform/plugins/shared/home/server/tutorials/instructions/auditbeat_instructions.ts diff --git a/src/plugins/home/server/tutorials/instructions/cloud_instructions.ts b/src/platform/plugins/shared/home/server/tutorials/instructions/cloud_instructions.ts similarity index 100% rename from src/plugins/home/server/tutorials/instructions/cloud_instructions.ts rename to src/platform/plugins/shared/home/server/tutorials/instructions/cloud_instructions.ts diff --git a/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts b/src/platform/plugins/shared/home/server/tutorials/instructions/filebeat_instructions.ts similarity index 100% rename from src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts rename to src/platform/plugins/shared/home/server/tutorials/instructions/filebeat_instructions.ts diff --git a/src/plugins/home/server/tutorials/instructions/get_space_id_for_beats_tutorial.ts b/src/platform/plugins/shared/home/server/tutorials/instructions/get_space_id_for_beats_tutorial.ts similarity index 100% rename from src/plugins/home/server/tutorials/instructions/get_space_id_for_beats_tutorial.ts rename to src/platform/plugins/shared/home/server/tutorials/instructions/get_space_id_for_beats_tutorial.ts diff --git a/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts b/src/platform/plugins/shared/home/server/tutorials/instructions/heartbeat_instructions.ts similarity index 100% rename from src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts rename to src/platform/plugins/shared/home/server/tutorials/instructions/heartbeat_instructions.ts diff --git a/src/plugins/home/server/tutorials/instructions/logstash_instructions.ts b/src/platform/plugins/shared/home/server/tutorials/instructions/logstash_instructions.ts similarity index 100% rename from src/plugins/home/server/tutorials/instructions/logstash_instructions.ts rename to src/platform/plugins/shared/home/server/tutorials/instructions/logstash_instructions.ts diff --git a/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts b/src/platform/plugins/shared/home/server/tutorials/instructions/metricbeat_instructions.ts similarity index 100% rename from src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts rename to src/platform/plugins/shared/home/server/tutorials/instructions/metricbeat_instructions.ts diff --git a/src/plugins/home/server/tutorials/instructions/onprem_cloud_instructions.ts b/src/platform/plugins/shared/home/server/tutorials/instructions/onprem_cloud_instructions.ts similarity index 100% rename from src/plugins/home/server/tutorials/instructions/onprem_cloud_instructions.ts rename to src/platform/plugins/shared/home/server/tutorials/instructions/onprem_cloud_instructions.ts diff --git a/src/plugins/home/server/tutorials/instructions/param_types.ts b/src/platform/plugins/shared/home/server/tutorials/instructions/param_types.ts similarity index 100% rename from src/plugins/home/server/tutorials/instructions/param_types.ts rename to src/platform/plugins/shared/home/server/tutorials/instructions/param_types.ts diff --git a/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts b/src/platform/plugins/shared/home/server/tutorials/instructions/winlogbeat_instructions.ts similarity index 100% rename from src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts rename to src/platform/plugins/shared/home/server/tutorials/instructions/winlogbeat_instructions.ts diff --git a/src/plugins/home/server/tutorials/iptables_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/iptables_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/iptables_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/iptables_logs/index.ts diff --git a/src/plugins/home/server/tutorials/juniper_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/juniper_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/juniper_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/juniper_logs/index.ts diff --git a/src/plugins/home/server/tutorials/kafka_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/kafka_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/kafka_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/kafka_logs/index.ts diff --git a/src/plugins/home/server/tutorials/kafka_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/kafka_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/kafka_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/kafka_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/kibana_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/kibana_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/kibana_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/kibana_logs/index.ts diff --git a/src/plugins/home/server/tutorials/kibana_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/kibana_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/kibana_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/kibana_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/kubernetes_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/kubernetes_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/kubernetes_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/kubernetes_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/logstash_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/logstash_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/logstash_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/logstash_logs/index.ts diff --git a/src/plugins/home/server/tutorials/logstash_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/logstash_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/logstash_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/logstash_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/memcached_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/memcached_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/memcached_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/memcached_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/microsoft_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/microsoft_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/microsoft_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/microsoft_logs/index.ts diff --git a/src/plugins/home/server/tutorials/misp_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/misp_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/misp_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/misp_logs/index.ts diff --git a/src/plugins/home/server/tutorials/mongodb_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/mongodb_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/mongodb_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/mongodb_logs/index.ts diff --git a/src/plugins/home/server/tutorials/mongodb_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/mongodb_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/mongodb_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/mongodb_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/mssql_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/mssql_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/mssql_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/mssql_logs/index.ts diff --git a/src/plugins/home/server/tutorials/mssql_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/mssql_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/mssql_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/mssql_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/munin_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/munin_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/munin_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/munin_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/mysql_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/mysql_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/mysql_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/mysql_logs/index.ts diff --git a/src/plugins/home/server/tutorials/mysql_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/mysql_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/mysql_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/mysql_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/nats_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/nats_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/nats_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/nats_logs/index.ts diff --git a/src/plugins/home/server/tutorials/nats_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/nats_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/nats_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/nats_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/netflow_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/netflow_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/netflow_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/netflow_logs/index.ts diff --git a/src/plugins/home/server/tutorials/netscout_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/netscout_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/netscout_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/netscout_logs/index.ts diff --git a/src/plugins/home/server/tutorials/nginx_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/nginx_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/nginx_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/nginx_logs/index.ts diff --git a/src/plugins/home/server/tutorials/nginx_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/nginx_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/nginx_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/nginx_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/o365_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/o365_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/o365_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/o365_logs/index.ts diff --git a/src/plugins/home/server/tutorials/okta_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/okta_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/okta_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/okta_logs/index.ts diff --git a/src/plugins/home/server/tutorials/openmetrics_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/openmetrics_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/openmetrics_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/openmetrics_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/oracle_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/oracle_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/oracle_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/oracle_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/osquery_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/osquery_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/osquery_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/osquery_logs/index.ts diff --git a/src/plugins/home/server/tutorials/panw_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/panw_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/panw_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/panw_logs/index.ts diff --git a/src/plugins/home/server/tutorials/php_fpm_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/php_fpm_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/php_fpm_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/php_fpm_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/postgresql_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/postgresql_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/postgresql_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/postgresql_logs/index.ts diff --git a/src/plugins/home/server/tutorials/postgresql_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/postgresql_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/postgresql_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/postgresql_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/prometheus_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/prometheus_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/prometheus_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/prometheus_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/rabbitmq_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/rabbitmq_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/rabbitmq_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/rabbitmq_logs/index.ts diff --git a/src/plugins/home/server/tutorials/rabbitmq_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/rabbitmq_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/rabbitmq_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/rabbitmq_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/radware_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/radware_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/radware_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/radware_logs/index.ts diff --git a/src/plugins/home/server/tutorials/redis_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/redis_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/redis_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/redis_logs/index.ts diff --git a/src/plugins/home/server/tutorials/redis_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/redis_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/redis_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/redis_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/redisenterprise_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/redisenterprise_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/redisenterprise_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/redisenterprise_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/register.ts b/src/platform/plugins/shared/home/server/tutorials/register.ts similarity index 100% rename from src/plugins/home/server/tutorials/register.ts rename to src/platform/plugins/shared/home/server/tutorials/register.ts diff --git a/src/plugins/home/server/tutorials/santa_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/santa_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/santa_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/santa_logs/index.ts diff --git a/src/plugins/home/server/tutorials/sonicwall_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/sonicwall_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/sonicwall_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/sonicwall_logs/index.ts diff --git a/src/plugins/home/server/tutorials/sophos_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/sophos_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/sophos_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/sophos_logs/index.ts diff --git a/src/plugins/home/server/tutorials/stan_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/stan_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/stan_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/stan_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/statsd_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/statsd_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/statsd_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/statsd_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/suricata_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/suricata_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/suricata_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/suricata_logs/index.ts diff --git a/src/plugins/home/server/tutorials/system_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/system_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/system_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/system_logs/index.ts diff --git a/src/plugins/home/server/tutorials/system_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/system_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/system_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/system_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/tomcat_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/tomcat_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/tomcat_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/tomcat_logs/index.ts diff --git a/src/plugins/home/server/tutorials/traefik_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/traefik_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/traefik_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/traefik_logs/index.ts diff --git a/src/plugins/home/server/tutorials/traefik_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/traefik_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/traefik_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/traefik_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/uptime_monitors/index.ts b/src/platform/plugins/shared/home/server/tutorials/uptime_monitors/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/uptime_monitors/index.ts rename to src/platform/plugins/shared/home/server/tutorials/uptime_monitors/index.ts diff --git a/src/plugins/home/server/tutorials/uwsgi_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/uwsgi_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/uwsgi_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/uwsgi_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/vsphere_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/vsphere_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/vsphere_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/vsphere_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/windows_event_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/windows_event_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/windows_event_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/windows_event_logs/index.ts diff --git a/src/plugins/home/server/tutorials/windows_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/windows_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/windows_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/windows_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/zeek_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/zeek_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/zeek_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/zeek_logs/index.ts diff --git a/src/plugins/home/server/tutorials/zookeeper_metrics/index.ts b/src/platform/plugins/shared/home/server/tutorials/zookeeper_metrics/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/zookeeper_metrics/index.ts rename to src/platform/plugins/shared/home/server/tutorials/zookeeper_metrics/index.ts diff --git a/src/plugins/home/server/tutorials/zscaler_logs/index.ts b/src/platform/plugins/shared/home/server/tutorials/zscaler_logs/index.ts similarity index 100% rename from src/plugins/home/server/tutorials/zscaler_logs/index.ts rename to src/platform/plugins/shared/home/server/tutorials/zscaler_logs/index.ts diff --git a/src/plugins/home/tsconfig.json b/src/platform/plugins/shared/home/tsconfig.json similarity index 95% rename from src/plugins/home/tsconfig.json rename to src/platform/plugins/shared/home/tsconfig.json index 7f8ce49f3c854..30048ffd56124 100644 --- a/src/plugins/home/tsconfig.json +++ b/src/platform/plugins/shared/home/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/kibana_react/.storybook/main.ts b/src/platform/plugins/shared/kibana_react/.storybook/main.ts similarity index 100% rename from src/plugins/kibana_react/.storybook/main.ts rename to src/platform/plugins/shared/kibana_react/.storybook/main.ts diff --git a/src/plugins/kibana_react/.storybook/manager.ts b/src/platform/plugins/shared/kibana_react/.storybook/manager.ts similarity index 87% rename from src/plugins/kibana_react/.storybook/manager.ts rename to src/platform/plugins/shared/kibana_react/.storybook/manager.ts index a01465d16b9d4..7c27b5829189c 100644 --- a/src/plugins/kibana_react/.storybook/manager.ts +++ b/src/platform/plugins/shared/kibana_react/.storybook/manager.ts @@ -15,7 +15,8 @@ addons.setConfig({ theme: create({ base: 'light', brandTitle: 'Kibana React Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/src/plugins/kibana_react', + brandUrl: + 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/kibana_react', }), showPanel: true.valueOf, selectedPanel: PANEL_ID, diff --git a/src/plugins/kibana_react/README.md b/src/platform/plugins/shared/kibana_react/README.md similarity index 100% rename from src/plugins/kibana_react/README.md rename to src/platform/plugins/shared/kibana_react/README.md diff --git a/src/plugins/kibana_react/common/eui_styled_components.tsx b/src/platform/plugins/shared/kibana_react/common/eui_styled_components.tsx similarity index 100% rename from src/plugins/kibana_react/common/eui_styled_components.tsx rename to src/platform/plugins/shared/kibana_react/common/eui_styled_components.tsx diff --git a/src/plugins/kibana_react/common/index.ts b/src/platform/plugins/shared/kibana_react/common/index.ts similarity index 100% rename from src/plugins/kibana_react/common/index.ts rename to src/platform/plugins/shared/kibana_react/common/index.ts diff --git a/src/plugins/image_embeddable/jest.config.js b/src/platform/plugins/shared/kibana_react/jest.config.js similarity index 66% rename from src/plugins/image_embeddable/jest.config.js rename to src/platform/plugins/shared/kibana_react/jest.config.js index 3ff815d5c0311..9a486c935643c 100644 --- a/src/plugins/image_embeddable/jest.config.js +++ b/src/platform/plugins/shared/kibana_react/jest.config.js @@ -9,11 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/image_embeddable'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/image_embeddable', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/kibana_react'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/kibana_react', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/image_embeddable/{__packages_do_not_import__,common,public,server,static}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/kibana_react/{common,public}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/kibana_react/kibana.jsonc b/src/platform/plugins/shared/kibana_react/kibana.jsonc similarity index 100% rename from src/plugins/kibana_react/kibana.jsonc rename to src/platform/plugins/shared/kibana_react/kibana.jsonc diff --git a/src/plugins/kibana_react/public/assets/elastic_agent_card.svg b/src/platform/plugins/shared/kibana_react/public/assets/elastic_agent_card.svg similarity index 100% rename from src/plugins/kibana_react/public/assets/elastic_agent_card.svg rename to src/platform/plugins/shared/kibana_react/public/assets/elastic_agent_card.svg diff --git a/src/plugins/kibana_react/public/assets/illustration_cloud_migration.png b/src/platform/plugins/shared/kibana_react/public/assets/illustration_cloud_migration.png similarity index 100% rename from src/plugins/kibana_react/public/assets/illustration_cloud_migration.png rename to src/platform/plugins/shared/kibana_react/public/assets/illustration_cloud_migration.png diff --git a/src/plugins/kibana_react/public/assets/illustration_integrations_darkmode.svg b/src/platform/plugins/shared/kibana_react/public/assets/illustration_integrations_darkmode.svg similarity index 100% rename from src/plugins/kibana_react/public/assets/illustration_integrations_darkmode.svg rename to src/platform/plugins/shared/kibana_react/public/assets/illustration_integrations_darkmode.svg diff --git a/src/plugins/kibana_react/public/assets/illustration_integrations_lightmode.svg b/src/platform/plugins/shared/kibana_react/public/assets/illustration_integrations_lightmode.svg similarity index 100% rename from src/plugins/kibana_react/public/assets/illustration_integrations_lightmode.svg rename to src/platform/plugins/shared/kibana_react/public/assets/illustration_integrations_lightmode.svg diff --git a/src/plugins/kibana_react/public/assets/solutions_enterprise_search.svg b/src/platform/plugins/shared/kibana_react/public/assets/solutions_enterprise_search.svg similarity index 100% rename from src/plugins/kibana_react/public/assets/solutions_enterprise_search.svg rename to src/platform/plugins/shared/kibana_react/public/assets/solutions_enterprise_search.svg diff --git a/src/plugins/kibana_react/public/assets/solutions_kibana.svg b/src/platform/plugins/shared/kibana_react/public/assets/solutions_kibana.svg similarity index 100% rename from src/plugins/kibana_react/public/assets/solutions_kibana.svg rename to src/platform/plugins/shared/kibana_react/public/assets/solutions_kibana.svg diff --git a/src/plugins/kibana_react/public/assets/solutions_observability.svg b/src/platform/plugins/shared/kibana_react/public/assets/solutions_observability.svg similarity index 100% rename from src/plugins/kibana_react/public/assets/solutions_observability.svg rename to src/platform/plugins/shared/kibana_react/public/assets/solutions_observability.svg diff --git a/src/plugins/kibana_react/public/assets/solutions_security_solution.svg b/src/platform/plugins/shared/kibana_react/public/assets/solutions_security_solution.svg similarity index 100% rename from src/plugins/kibana_react/public/assets/solutions_security_solution.svg rename to src/platform/plugins/shared/kibana_react/public/assets/solutions_security_solution.svg diff --git a/src/plugins/kibana_react/public/assets/texture.svg b/src/platform/plugins/shared/kibana_react/public/assets/texture.svg similarity index 100% rename from src/plugins/kibana_react/public/assets/texture.svg rename to src/platform/plugins/shared/kibana_react/public/assets/texture.svg diff --git a/src/plugins/kibana_react/public/context/context.test.tsx b/src/platform/plugins/shared/kibana_react/public/context/context.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/context/context.test.tsx rename to src/platform/plugins/shared/kibana_react/public/context/context.test.tsx diff --git a/src/plugins/kibana_react/public/context/context.tsx b/src/platform/plugins/shared/kibana_react/public/context/context.tsx similarity index 100% rename from src/plugins/kibana_react/public/context/context.tsx rename to src/platform/plugins/shared/kibana_react/public/context/context.tsx diff --git a/src/plugins/kibana_react/public/context/index.ts b/src/platform/plugins/shared/kibana_react/public/context/index.ts similarity index 100% rename from src/plugins/kibana_react/public/context/index.ts rename to src/platform/plugins/shared/kibana_react/public/context/index.ts diff --git a/src/plugins/kibana_react/public/context/types.ts b/src/platform/plugins/shared/kibana_react/public/context/types.ts similarity index 100% rename from src/plugins/kibana_react/public/context/types.ts rename to src/platform/plugins/shared/kibana_react/public/context/types.ts diff --git a/src/plugins/kibana_react/public/dark_mode/index.ts b/src/platform/plugins/shared/kibana_react/public/dark_mode/index.ts similarity index 100% rename from src/plugins/kibana_react/public/dark_mode/index.ts rename to src/platform/plugins/shared/kibana_react/public/dark_mode/index.ts diff --git a/src/plugins/kibana_react/public/dark_mode/use_dark_mode.test.tsx b/src/platform/plugins/shared/kibana_react/public/dark_mode/use_dark_mode.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/dark_mode/use_dark_mode.test.tsx rename to src/platform/plugins/shared/kibana_react/public/dark_mode/use_dark_mode.test.tsx diff --git a/src/plugins/kibana_react/public/dark_mode/use_dark_mode.ts b/src/platform/plugins/shared/kibana_react/public/dark_mode/use_dark_mode.ts similarity index 100% rename from src/plugins/kibana_react/public/dark_mode/use_dark_mode.ts rename to src/platform/plugins/shared/kibana_react/public/dark_mode/use_dark_mode.ts diff --git a/src/plugins/kibana_react/public/index.ts b/src/platform/plugins/shared/kibana_react/public/index.ts similarity index 100% rename from src/plugins/kibana_react/public/index.ts rename to src/platform/plugins/shared/kibana_react/public/index.ts diff --git a/src/plugins/kibana_react/public/markdown/__snapshots__/markdown.test.tsx.snap b/src/platform/plugins/shared/kibana_react/public/markdown/__snapshots__/markdown.test.tsx.snap similarity index 100% rename from src/plugins/kibana_react/public/markdown/__snapshots__/markdown.test.tsx.snap rename to src/platform/plugins/shared/kibana_react/public/markdown/__snapshots__/markdown.test.tsx.snap diff --git a/src/plugins/kibana_react/public/markdown/_markdown.scss b/src/platform/plugins/shared/kibana_react/public/markdown/_markdown.scss similarity index 100% rename from src/plugins/kibana_react/public/markdown/_markdown.scss rename to src/platform/plugins/shared/kibana_react/public/markdown/_markdown.scss diff --git a/src/plugins/kibana_react/public/markdown/index.scss b/src/platform/plugins/shared/kibana_react/public/markdown/index.scss similarity index 100% rename from src/plugins/kibana_react/public/markdown/index.scss rename to src/platform/plugins/shared/kibana_react/public/markdown/index.scss diff --git a/src/plugins/kibana_react/public/markdown/index.tsx b/src/platform/plugins/shared/kibana_react/public/markdown/index.tsx similarity index 100% rename from src/plugins/kibana_react/public/markdown/index.tsx rename to src/platform/plugins/shared/kibana_react/public/markdown/index.tsx diff --git a/src/plugins/kibana_react/public/markdown/markdown.test.tsx b/src/platform/plugins/shared/kibana_react/public/markdown/markdown.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/markdown/markdown.test.tsx rename to src/platform/plugins/shared/kibana_react/public/markdown/markdown.test.tsx diff --git a/src/plugins/kibana_react/public/markdown/markdown.tsx b/src/platform/plugins/shared/kibana_react/public/markdown/markdown.tsx similarity index 100% rename from src/plugins/kibana_react/public/markdown/markdown.tsx rename to src/platform/plugins/shared/kibana_react/public/markdown/markdown.tsx diff --git a/src/plugins/kibana_react/public/markdown/markdown_simple.tsx b/src/platform/plugins/shared/kibana_react/public/markdown/markdown_simple.tsx similarity index 100% rename from src/plugins/kibana_react/public/markdown/markdown_simple.tsx rename to src/platform/plugins/shared/kibana_react/public/markdown/markdown_simple.tsx diff --git a/src/plugins/kibana_react/public/notifications/create_notifications.test.tsx b/src/platform/plugins/shared/kibana_react/public/notifications/create_notifications.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/notifications/create_notifications.test.tsx rename to src/platform/plugins/shared/kibana_react/public/notifications/create_notifications.test.tsx diff --git a/src/plugins/kibana_react/public/notifications/create_notifications.tsx b/src/platform/plugins/shared/kibana_react/public/notifications/create_notifications.tsx similarity index 100% rename from src/plugins/kibana_react/public/notifications/create_notifications.tsx rename to src/platform/plugins/shared/kibana_react/public/notifications/create_notifications.tsx diff --git a/src/plugins/kibana_react/public/notifications/index.tsx b/src/platform/plugins/shared/kibana_react/public/notifications/index.tsx similarity index 100% rename from src/plugins/kibana_react/public/notifications/index.tsx rename to src/platform/plugins/shared/kibana_react/public/notifications/index.tsx diff --git a/src/plugins/kibana_react/public/notifications/types.ts b/src/platform/plugins/shared/kibana_react/public/notifications/types.ts similarity index 100% rename from src/plugins/kibana_react/public/notifications/types.ts rename to src/platform/plugins/shared/kibana_react/public/notifications/types.ts diff --git a/src/plugins/kibana_react/public/overlays/create_react_overlays.test.tsx b/src/platform/plugins/shared/kibana_react/public/overlays/create_react_overlays.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/overlays/create_react_overlays.test.tsx rename to src/platform/plugins/shared/kibana_react/public/overlays/create_react_overlays.test.tsx diff --git a/src/plugins/kibana_react/public/overlays/create_react_overlays.tsx b/src/platform/plugins/shared/kibana_react/public/overlays/create_react_overlays.tsx similarity index 100% rename from src/plugins/kibana_react/public/overlays/create_react_overlays.tsx rename to src/platform/plugins/shared/kibana_react/public/overlays/create_react_overlays.tsx diff --git a/src/plugins/kibana_react/public/overlays/index.tsx b/src/platform/plugins/shared/kibana_react/public/overlays/index.tsx similarity index 100% rename from src/plugins/kibana_react/public/overlays/index.tsx rename to src/platform/plugins/shared/kibana_react/public/overlays/index.tsx diff --git a/src/plugins/kibana_react/public/overlays/types.ts b/src/platform/plugins/shared/kibana_react/public/overlays/types.ts similarity index 100% rename from src/plugins/kibana_react/public/overlays/types.ts rename to src/platform/plugins/shared/kibana_react/public/overlays/types.ts diff --git a/src/plugins/kibana_react/public/overview_page/index.ts b/src/platform/plugins/shared/kibana_react/public/overview_page/index.ts similarity index 100% rename from src/plugins/kibana_react/public/overview_page/index.ts rename to src/platform/plugins/shared/kibana_react/public/overview_page/index.ts diff --git a/src/plugins/kibana_react/public/overview_page/overview_page_actions/__snapshots__/overview_page_actions.test.tsx.snap b/src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_actions/__snapshots__/overview_page_actions.test.tsx.snap similarity index 100% rename from src/plugins/kibana_react/public/overview_page/overview_page_actions/__snapshots__/overview_page_actions.test.tsx.snap rename to src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_actions/__snapshots__/overview_page_actions.test.tsx.snap diff --git a/src/plugins/kibana_react/public/overview_page/overview_page_actions/index.ts b/src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_actions/index.ts similarity index 100% rename from src/plugins/kibana_react/public/overview_page/overview_page_actions/index.ts rename to src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_actions/index.ts diff --git a/src/plugins/kibana_react/public/overview_page/overview_page_actions/overview_page_actions.test.tsx b/src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_actions/overview_page_actions.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/overview_page/overview_page_actions/overview_page_actions.test.tsx rename to src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_actions/overview_page_actions.test.tsx diff --git a/src/plugins/kibana_react/public/overview_page/overview_page_actions/overview_page_actions.tsx b/src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_actions/overview_page_actions.tsx similarity index 100% rename from src/plugins/kibana_react/public/overview_page/overview_page_actions/overview_page_actions.tsx rename to src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_actions/overview_page_actions.tsx diff --git a/src/plugins/kibana_react/public/overview_page/overview_page_footer/__snapshots__/overview_page_footer.test.tsx.snap b/src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_footer/__snapshots__/overview_page_footer.test.tsx.snap similarity index 100% rename from src/plugins/kibana_react/public/overview_page/overview_page_footer/__snapshots__/overview_page_footer.test.tsx.snap rename to src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_footer/__snapshots__/overview_page_footer.test.tsx.snap diff --git a/src/plugins/kibana_react/public/overview_page/overview_page_footer/index.ts b/src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_footer/index.ts similarity index 100% rename from src/plugins/kibana_react/public/overview_page/overview_page_footer/index.ts rename to src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_footer/index.ts diff --git a/src/plugins/kibana_react/public/overview_page/overview_page_footer/overview_page_footer.test.tsx b/src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_footer/overview_page_footer.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/overview_page/overview_page_footer/overview_page_footer.test.tsx rename to src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_footer/overview_page_footer.test.tsx diff --git a/src/plugins/kibana_react/public/overview_page/overview_page_footer/overview_page_footer.tsx b/src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_footer/overview_page_footer.tsx similarity index 100% rename from src/plugins/kibana_react/public/overview_page/overview_page_footer/overview_page_footer.tsx rename to src/platform/plugins/shared/kibana_react/public/overview_page/overview_page_footer/overview_page_footer.tsx diff --git a/src/plugins/kibana_react/public/page_template/index.ts b/src/platform/plugins/shared/kibana_react/public/page_template/index.ts similarity index 100% rename from src/plugins/kibana_react/public/page_template/index.ts rename to src/platform/plugins/shared/kibana_react/public/page_template/index.ts diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/__snapshots__/no_data_page.test.tsx.snap b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/__snapshots__/no_data_page.test.tsx.snap similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/__snapshots__/no_data_page.test.tsx.snap rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/__snapshots__/no_data_page.test.tsx.snap diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/action_cards/action_cards.scss b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/action_cards/action_cards.scss similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/action_cards/action_cards.scss rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/action_cards/action_cards.scss diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/action_cards/action_cards.test.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/action_cards/action_cards.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/action_cards/action_cards.test.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/action_cards/action_cards.test.tsx diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/action_cards/action_cards.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/action_cards/action_cards.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/action_cards/action_cards.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/action_cards/action_cards.tsx diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/action_cards/index.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/action_cards/index.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/action_cards/index.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/action_cards/index.tsx diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/index.ts b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/index.ts similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/index.ts rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/index.ts diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/no_data_card/__snapshots__/elastic_agent_card.test.tsx.snap b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_card/__snapshots__/elastic_agent_card.test.tsx.snap similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/no_data_card/__snapshots__/elastic_agent_card.test.tsx.snap rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_card/__snapshots__/elastic_agent_card.test.tsx.snap diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/no_data_card/__snapshots__/no_data_card.test.tsx.snap b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_card/__snapshots__/no_data_card.test.tsx.snap similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/no_data_card/__snapshots__/no_data_card.test.tsx.snap rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_card/__snapshots__/no_data_card.test.tsx.snap diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/no_data_card/elastic_agent_card.test.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_card/elastic_agent_card.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/no_data_card/elastic_agent_card.test.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_card/elastic_agent_card.test.tsx diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/no_data_card/elastic_agent_card.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_card/elastic_agent_card.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/no_data_card/elastic_agent_card.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_card/elastic_agent_card.tsx diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/no_data_card/index.ts b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_card/index.ts similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/no_data_card/index.ts rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_card/index.ts diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/no_data_card/no_data_card.test.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_card/no_data_card.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/no_data_card/no_data_card.test.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_card/no_data_card.test.tsx diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/no_data_card/no_data_card.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_card/no_data_card.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/no_data_card/no_data_card.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_card/no_data_card.tsx diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/no_data_page.test.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_page.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/no_data_page.test.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_page.test.tsx diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/no_data_page.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_page.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/no_data_page.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_page.tsx diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/no_data_page_body/__snapshots__/no_data_page_body.test.tsx.snap b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_page_body/__snapshots__/no_data_page_body.test.tsx.snap similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/no_data_page_body/__snapshots__/no_data_page_body.test.tsx.snap rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_page_body/__snapshots__/no_data_page_body.test.tsx.snap diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/no_data_page_body/index.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_page_body/index.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/no_data_page_body/index.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_page_body/index.tsx diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/no_data_page_body/no_data_page_body.test.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_page_body/no_data_page_body.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/no_data_page_body/no_data_page_body.test.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_page_body/no_data_page_body.test.tsx diff --git a/src/plugins/kibana_react/public/page_template/no_data_page/no_data_page_body/no_data_page_body.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_page_body/no_data_page_body.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/no_data_page/no_data_page_body/no_data_page_body.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/no_data_page/no_data_page_body/no_data_page_body.tsx diff --git a/src/plugins/kibana_react/public/page_template/solution_nav/__snapshots__/solution_nav.test.tsx.snap b/src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/__snapshots__/solution_nav.test.tsx.snap similarity index 100% rename from src/plugins/kibana_react/public/page_template/solution_nav/__snapshots__/solution_nav.test.tsx.snap rename to src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/__snapshots__/solution_nav.test.tsx.snap diff --git a/src/plugins/kibana_react/public/page_template/solution_nav/__snapshots__/solution_nav_avatar.test.tsx.snap b/src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/__snapshots__/solution_nav_avatar.test.tsx.snap similarity index 100% rename from src/plugins/kibana_react/public/page_template/solution_nav/__snapshots__/solution_nav_avatar.test.tsx.snap rename to src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/__snapshots__/solution_nav_avatar.test.tsx.snap diff --git a/src/plugins/kibana_react/public/page_template/solution_nav/index.ts b/src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/index.ts similarity index 100% rename from src/plugins/kibana_react/public/page_template/solution_nav/index.ts rename to src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/index.ts diff --git a/src/plugins/kibana_react/public/page_template/solution_nav/solution_nav.scss b/src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav.scss similarity index 100% rename from src/plugins/kibana_react/public/page_template/solution_nav/solution_nav.scss rename to src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav.scss diff --git a/src/plugins/kibana_react/public/page_template/solution_nav/solution_nav.test.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/solution_nav/solution_nav.test.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav.test.tsx diff --git a/src/plugins/kibana_react/public/page_template/solution_nav/solution_nav.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/solution_nav/solution_nav.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav.tsx diff --git a/src/plugins/kibana_react/public/page_template/solution_nav/solution_nav_avatar.scss b/src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav_avatar.scss similarity index 100% rename from src/plugins/kibana_react/public/page_template/solution_nav/solution_nav_avatar.scss rename to src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav_avatar.scss diff --git a/src/plugins/kibana_react/public/page_template/solution_nav/solution_nav_avatar.test.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav_avatar.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/solution_nav/solution_nav_avatar.test.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav_avatar.test.tsx diff --git a/src/plugins/kibana_react/public/page_template/solution_nav/solution_nav_avatar.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav_avatar.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/solution_nav/solution_nav_avatar.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav_avatar.tsx diff --git a/src/plugins/kibana_react/public/page_template/solution_nav/solution_nav_collapse_button.scss b/src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav_collapse_button.scss similarity index 100% rename from src/plugins/kibana_react/public/page_template/solution_nav/solution_nav_collapse_button.scss rename to src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav_collapse_button.scss diff --git a/src/plugins/kibana_react/public/page_template/solution_nav/solution_nav_collapse_button.tsx b/src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav_collapse_button.tsx similarity index 100% rename from src/plugins/kibana_react/public/page_template/solution_nav/solution_nav_collapse_button.tsx rename to src/platform/plugins/shared/kibana_react/public/page_template/solution_nav/solution_nav_collapse_button.tsx diff --git a/src/plugins/kibana_react/public/page_template/util/index.ts b/src/platform/plugins/shared/kibana_react/public/page_template/util/index.ts similarity index 100% rename from src/plugins/kibana_react/public/page_template/util/index.ts rename to src/platform/plugins/shared/kibana_react/public/page_template/util/index.ts diff --git a/src/plugins/kibana_react/public/page_template/util/presentation.ts b/src/platform/plugins/shared/kibana_react/public/page_template/util/presentation.ts similarity index 100% rename from src/plugins/kibana_react/public/page_template/util/presentation.ts rename to src/platform/plugins/shared/kibana_react/public/page_template/util/presentation.ts diff --git a/src/plugins/kibana_react/public/react_router_navigate/index.ts b/src/platform/plugins/shared/kibana_react/public/react_router_navigate/index.ts similarity index 100% rename from src/plugins/kibana_react/public/react_router_navigate/index.ts rename to src/platform/plugins/shared/kibana_react/public/react_router_navigate/index.ts diff --git a/src/plugins/kibana_react/public/react_router_navigate/react_router_navigate.tsx b/src/platform/plugins/shared/kibana_react/public/react_router_navigate/react_router_navigate.tsx similarity index 100% rename from src/plugins/kibana_react/public/react_router_navigate/react_router_navigate.tsx rename to src/platform/plugins/shared/kibana_react/public/react_router_navigate/react_router_navigate.tsx diff --git a/src/plugins/kibana_react/public/theme.tsx b/src/platform/plugins/shared/kibana_react/public/theme.tsx similarity index 100% rename from src/plugins/kibana_react/public/theme.tsx rename to src/platform/plugins/shared/kibana_react/public/theme.tsx diff --git a/src/plugins/kibana_react/public/ui_settings/index.ts b/src/platform/plugins/shared/kibana_react/public/ui_settings/index.ts similarity index 100% rename from src/plugins/kibana_react/public/ui_settings/index.ts rename to src/platform/plugins/shared/kibana_react/public/ui_settings/index.ts diff --git a/src/plugins/kibana_react/public/ui_settings/use_ui_setting.test.tsx b/src/platform/plugins/shared/kibana_react/public/ui_settings/use_ui_setting.test.tsx similarity index 100% rename from src/plugins/kibana_react/public/ui_settings/use_ui_setting.test.tsx rename to src/platform/plugins/shared/kibana_react/public/ui_settings/use_ui_setting.test.tsx diff --git a/src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts b/src/platform/plugins/shared/kibana_react/public/ui_settings/use_ui_setting.ts similarity index 100% rename from src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts rename to src/platform/plugins/shared/kibana_react/public/ui_settings/use_ui_setting.ts diff --git a/src/plugins/kibana_react/public/url_template_editor/index.ts b/src/platform/plugins/shared/kibana_react/public/url_template_editor/index.ts similarity index 100% rename from src/plugins/kibana_react/public/url_template_editor/index.ts rename to src/platform/plugins/shared/kibana_react/public/url_template_editor/index.ts diff --git a/src/plugins/kibana_react/public/url_template_editor/styles.scss b/src/platform/plugins/shared/kibana_react/public/url_template_editor/styles.scss similarity index 100% rename from src/plugins/kibana_react/public/url_template_editor/styles.scss rename to src/platform/plugins/shared/kibana_react/public/url_template_editor/styles.scss diff --git a/src/plugins/kibana_react/public/url_template_editor/url_template_editor.stories.tsx b/src/platform/plugins/shared/kibana_react/public/url_template_editor/url_template_editor.stories.tsx similarity index 100% rename from src/plugins/kibana_react/public/url_template_editor/url_template_editor.stories.tsx rename to src/platform/plugins/shared/kibana_react/public/url_template_editor/url_template_editor.stories.tsx diff --git a/src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx b/src/platform/plugins/shared/kibana_react/public/url_template_editor/url_template_editor.tsx similarity index 100% rename from src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx rename to src/platform/plugins/shared/kibana_react/public/url_template_editor/url_template_editor.tsx diff --git a/src/plugins/kibana_react/public/use_execution_context/index.ts b/src/platform/plugins/shared/kibana_react/public/use_execution_context/index.ts similarity index 100% rename from src/plugins/kibana_react/public/use_execution_context/index.ts rename to src/platform/plugins/shared/kibana_react/public/use_execution_context/index.ts diff --git a/src/plugins/kibana_react/public/use_execution_context/use_execution_context.ts b/src/platform/plugins/shared/kibana_react/public/use_execution_context/use_execution_context.ts similarity index 100% rename from src/plugins/kibana_react/public/use_execution_context/use_execution_context.ts rename to src/platform/plugins/shared/kibana_react/public/use_execution_context/use_execution_context.ts diff --git a/src/plugins/kibana_react/public/util/index.tsx b/src/platform/plugins/shared/kibana_react/public/util/index.tsx similarity index 100% rename from src/plugins/kibana_react/public/util/index.tsx rename to src/platform/plugins/shared/kibana_react/public/util/index.tsx diff --git a/src/plugins/kibana_react/public/validated_range/index.ts b/src/platform/plugins/shared/kibana_react/public/validated_range/index.ts similarity index 100% rename from src/plugins/kibana_react/public/validated_range/index.ts rename to src/platform/plugins/shared/kibana_react/public/validated_range/index.ts diff --git a/src/plugins/kibana_react/public/validated_range/is_range_valid.test.ts b/src/platform/plugins/shared/kibana_react/public/validated_range/is_range_valid.test.ts similarity index 100% rename from src/plugins/kibana_react/public/validated_range/is_range_valid.test.ts rename to src/platform/plugins/shared/kibana_react/public/validated_range/is_range_valid.test.ts diff --git a/src/plugins/kibana_react/public/validated_range/is_range_valid.ts b/src/platform/plugins/shared/kibana_react/public/validated_range/is_range_valid.ts similarity index 100% rename from src/plugins/kibana_react/public/validated_range/is_range_valid.ts rename to src/platform/plugins/shared/kibana_react/public/validated_range/is_range_valid.ts diff --git a/src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx b/src/platform/plugins/shared/kibana_react/public/validated_range/validated_dual_range.tsx similarity index 100% rename from src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx rename to src/platform/plugins/shared/kibana_react/public/validated_range/validated_dual_range.tsx diff --git a/src/plugins/kibana_react/tsconfig.json b/src/platform/plugins/shared/kibana_react/tsconfig.json similarity index 89% rename from src/plugins/kibana_react/tsconfig.json rename to src/platform/plugins/shared/kibana_react/tsconfig.json index 2394c7bfe5250..16a047bd250ee 100644 --- a/src/plugins/kibana_react/tsconfig.json +++ b/src/platform/plugins/shared/kibana_react/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -7,7 +7,7 @@ ".storybook/**/*", "common/**/*", "public/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/storybook", diff --git a/src/plugins/kibana_utils/.eslintrc.json b/src/platform/plugins/shared/kibana_utils/.eslintrc.json similarity index 100% rename from src/plugins/kibana_utils/.eslintrc.json rename to src/platform/plugins/shared/kibana_utils/.eslintrc.json diff --git a/src/plugins/kibana_utils/README.md b/src/platform/plugins/shared/kibana_utils/README.md similarity index 100% rename from src/plugins/kibana_utils/README.md rename to src/platform/plugins/shared/kibana_utils/README.md diff --git a/src/plugins/kibana_utils/common/abort_utils.test.ts b/src/platform/plugins/shared/kibana_utils/common/abort_utils.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/abort_utils.test.ts rename to src/platform/plugins/shared/kibana_utils/common/abort_utils.test.ts diff --git a/src/plugins/kibana_utils/common/abort_utils.ts b/src/platform/plugins/shared/kibana_utils/common/abort_utils.ts similarity index 100% rename from src/plugins/kibana_utils/common/abort_utils.ts rename to src/platform/plugins/shared/kibana_utils/common/abort_utils.ts diff --git a/src/plugins/kibana_utils/common/calculate_object_hash.test.ts b/src/platform/plugins/shared/kibana_utils/common/calculate_object_hash.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/calculate_object_hash.test.ts rename to src/platform/plugins/shared/kibana_utils/common/calculate_object_hash.test.ts diff --git a/src/plugins/kibana_utils/common/calculate_object_hash.ts b/src/platform/plugins/shared/kibana_utils/common/calculate_object_hash.ts similarity index 100% rename from src/plugins/kibana_utils/common/calculate_object_hash.ts rename to src/platform/plugins/shared/kibana_utils/common/calculate_object_hash.ts diff --git a/src/plugins/kibana_utils/common/create_getter_setter.test.ts b/src/platform/plugins/shared/kibana_utils/common/create_getter_setter.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/create_getter_setter.test.ts rename to src/platform/plugins/shared/kibana_utils/common/create_getter_setter.test.ts diff --git a/src/plugins/kibana_utils/common/create_getter_setter.ts b/src/platform/plugins/shared/kibana_utils/common/create_getter_setter.ts similarity index 100% rename from src/plugins/kibana_utils/common/create_getter_setter.ts rename to src/platform/plugins/shared/kibana_utils/common/create_getter_setter.ts diff --git a/src/plugins/kibana_utils/common/defer.test.ts b/src/platform/plugins/shared/kibana_utils/common/defer.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/defer.test.ts rename to src/platform/plugins/shared/kibana_utils/common/defer.test.ts diff --git a/src/plugins/kibana_utils/common/defer.ts b/src/platform/plugins/shared/kibana_utils/common/defer.ts similarity index 100% rename from src/plugins/kibana_utils/common/defer.ts rename to src/platform/plugins/shared/kibana_utils/common/defer.ts diff --git a/src/plugins/kibana_utils/common/distinct_until_changed_with_initial_value.test.ts b/src/platform/plugins/shared/kibana_utils/common/distinct_until_changed_with_initial_value.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/distinct_until_changed_with_initial_value.test.ts rename to src/platform/plugins/shared/kibana_utils/common/distinct_until_changed_with_initial_value.test.ts diff --git a/src/plugins/kibana_utils/common/distinct_until_changed_with_initial_value.ts b/src/platform/plugins/shared/kibana_utils/common/distinct_until_changed_with_initial_value.ts similarity index 100% rename from src/plugins/kibana_utils/common/distinct_until_changed_with_initial_value.ts rename to src/platform/plugins/shared/kibana_utils/common/distinct_until_changed_with_initial_value.ts diff --git a/src/plugins/kibana_utils/common/errors/errors.test.ts b/src/platform/plugins/shared/kibana_utils/common/errors/errors.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/errors/errors.test.ts rename to src/platform/plugins/shared/kibana_utils/common/errors/errors.test.ts diff --git a/src/plugins/kibana_utils/common/errors/errors.ts b/src/platform/plugins/shared/kibana_utils/common/errors/errors.ts similarity index 100% rename from src/plugins/kibana_utils/common/errors/errors.ts rename to src/platform/plugins/shared/kibana_utils/common/errors/errors.ts diff --git a/src/plugins/kibana_utils/common/errors/index.ts b/src/platform/plugins/shared/kibana_utils/common/errors/index.ts similarity index 100% rename from src/plugins/kibana_utils/common/errors/index.ts rename to src/platform/plugins/shared/kibana_utils/common/errors/index.ts diff --git a/src/plugins/kibana_utils/common/errors/types.ts b/src/platform/plugins/shared/kibana_utils/common/errors/types.ts similarity index 100% rename from src/plugins/kibana_utils/common/errors/types.ts rename to src/platform/plugins/shared/kibana_utils/common/errors/types.ts diff --git a/src/plugins/kibana_utils/common/field_wildcard.test.ts b/src/platform/plugins/shared/kibana_utils/common/field_wildcard.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/field_wildcard.test.ts rename to src/platform/plugins/shared/kibana_utils/common/field_wildcard.test.ts diff --git a/src/plugins/kibana_utils/common/field_wildcard.ts b/src/platform/plugins/shared/kibana_utils/common/field_wildcard.ts similarity index 100% rename from src/plugins/kibana_utils/common/field_wildcard.ts rename to src/platform/plugins/shared/kibana_utils/common/field_wildcard.ts diff --git a/src/plugins/kibana_utils/common/index.ts b/src/platform/plugins/shared/kibana_utils/common/index.ts similarity index 100% rename from src/plugins/kibana_utils/common/index.ts rename to src/platform/plugins/shared/kibana_utils/common/index.ts diff --git a/src/plugins/kibana_utils/common/now.ts b/src/platform/plugins/shared/kibana_utils/common/now.ts similarity index 100% rename from src/plugins/kibana_utils/common/now.ts rename to src/platform/plugins/shared/kibana_utils/common/now.ts diff --git a/src/plugins/kibana_utils/common/of.test.ts b/src/platform/plugins/shared/kibana_utils/common/of.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/of.test.ts rename to src/platform/plugins/shared/kibana_utils/common/of.test.ts diff --git a/src/plugins/kibana_utils/common/of.ts b/src/platform/plugins/shared/kibana_utils/common/of.ts similarity index 100% rename from src/plugins/kibana_utils/common/of.ts rename to src/platform/plugins/shared/kibana_utils/common/of.ts diff --git a/src/plugins/kibana_utils/common/persistable_state/index.ts b/src/platform/plugins/shared/kibana_utils/common/persistable_state/index.ts similarity index 100% rename from src/plugins/kibana_utils/common/persistable_state/index.ts rename to src/platform/plugins/shared/kibana_utils/common/persistable_state/index.ts diff --git a/src/plugins/kibana_utils/common/persistable_state/merge_migration_function_map.test.ts b/src/platform/plugins/shared/kibana_utils/common/persistable_state/merge_migration_function_map.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/persistable_state/merge_migration_function_map.test.ts rename to src/platform/plugins/shared/kibana_utils/common/persistable_state/merge_migration_function_map.test.ts diff --git a/src/plugins/kibana_utils/common/persistable_state/merge_migration_function_map.ts b/src/platform/plugins/shared/kibana_utils/common/persistable_state/merge_migration_function_map.ts similarity index 100% rename from src/plugins/kibana_utils/common/persistable_state/merge_migration_function_map.ts rename to src/platform/plugins/shared/kibana_utils/common/persistable_state/merge_migration_function_map.ts diff --git a/src/plugins/kibana_utils/common/persistable_state/migrate_to_latest.test.ts b/src/platform/plugins/shared/kibana_utils/common/persistable_state/migrate_to_latest.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/persistable_state/migrate_to_latest.test.ts rename to src/platform/plugins/shared/kibana_utils/common/persistable_state/migrate_to_latest.test.ts diff --git a/src/plugins/kibana_utils/common/persistable_state/migrate_to_latest.ts b/src/platform/plugins/shared/kibana_utils/common/persistable_state/migrate_to_latest.ts similarity index 100% rename from src/plugins/kibana_utils/common/persistable_state/migrate_to_latest.ts rename to src/platform/plugins/shared/kibana_utils/common/persistable_state/migrate_to_latest.ts diff --git a/src/plugins/kibana_utils/common/persistable_state/types.ts b/src/platform/plugins/shared/kibana_utils/common/persistable_state/types.ts similarity index 100% rename from src/plugins/kibana_utils/common/persistable_state/types.ts rename to src/platform/plugins/shared/kibana_utils/common/persistable_state/types.ts diff --git a/src/plugins/kibana_utils/common/state_containers/README.md b/src/platform/plugins/shared/kibana_utils/common/state_containers/README.md similarity index 62% rename from src/plugins/kibana_utils/common/state_containers/README.md rename to src/platform/plugins/shared/kibana_utils/common/state_containers/README.md index 1e9f60e41c729..4a6bab9c3d075 100644 --- a/src/plugins/kibana_utils/common/state_containers/README.md +++ b/src/platform/plugins/shared/kibana_utils/common/state_containers/README.md @@ -1,2 +1,2 @@ * [docs](../../docs/state_containers) -* [api reference](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_utils/docs/state_containers) \ No newline at end of file +* [api reference](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/kibana_utils/docs/state_containers) \ No newline at end of file diff --git a/src/plugins/kibana_utils/common/state_containers/create_state_container.test.ts b/src/platform/plugins/shared/kibana_utils/common/state_containers/create_state_container.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/state_containers/create_state_container.test.ts rename to src/platform/plugins/shared/kibana_utils/common/state_containers/create_state_container.test.ts diff --git a/src/plugins/kibana_utils/common/state_containers/create_state_container.ts b/src/platform/plugins/shared/kibana_utils/common/state_containers/create_state_container.ts similarity index 100% rename from src/plugins/kibana_utils/common/state_containers/create_state_container.ts rename to src/platform/plugins/shared/kibana_utils/common/state_containers/create_state_container.ts diff --git a/src/plugins/kibana_utils/common/state_containers/create_state_container_react_helpers.test.tsx b/src/platform/plugins/shared/kibana_utils/common/state_containers/create_state_container_react_helpers.test.tsx similarity index 100% rename from src/plugins/kibana_utils/common/state_containers/create_state_container_react_helpers.test.tsx rename to src/platform/plugins/shared/kibana_utils/common/state_containers/create_state_container_react_helpers.test.tsx diff --git a/src/plugins/kibana_utils/common/state_containers/create_state_container_react_helpers.ts b/src/platform/plugins/shared/kibana_utils/common/state_containers/create_state_container_react_helpers.ts similarity index 97% rename from src/plugins/kibana_utils/common/state_containers/create_state_container_react_helpers.ts rename to src/platform/plugins/shared/kibana_utils/common/state_containers/create_state_container_react_helpers.ts index 28043e481e347..6f844db7cb872 100644 --- a/src/plugins/kibana_utils/common/state_containers/create_state_container_react_helpers.ts +++ b/src/platform/plugins/shared/kibana_utils/common/state_containers/create_state_container_react_helpers.ts @@ -64,7 +64,7 @@ export const useContainerSelector = , /** * Creates helpers for using {@link StateContainer | State Containers} with react - * Refer to {@link https://github.com/elastic/kibana/blob/main/src/plugins/kibana_utils/docs/state_containers/react.md | guide} for details + * Refer to {@link https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/kibana_utils/docs/state_containers/react.md | guide} for details * @public */ export const createStateContainerReactHelpers = >() => { diff --git a/src/plugins/kibana_utils/common/state_containers/index.ts b/src/platform/plugins/shared/kibana_utils/common/state_containers/index.ts similarity index 93% rename from src/plugins/kibana_utils/common/state_containers/index.ts rename to src/platform/plugins/shared/kibana_utils/common/state_containers/index.ts index 68a8597d2a8b6..bd14eb47fb010 100644 --- a/src/plugins/kibana_utils/common/state_containers/index.ts +++ b/src/platform/plugins/shared/kibana_utils/common/state_containers/index.ts @@ -9,7 +9,7 @@ /** * State containers are Redux-store-like objects meant to help you manage state in your services or apps. - * Refer to {@link https://github.com/elastic/kibana/tree/main/src/plugins/kibana_utils/docs/state_containers | guides and examples} for more info + * Refer to {@link https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/kibana_utils/docs/state_containers | guides and examples} for more info * * @packageDocumentation */ diff --git a/src/plugins/kibana_utils/common/state_containers/types.ts b/src/platform/plugins/shared/kibana_utils/common/state_containers/types.ts similarity index 100% rename from src/plugins/kibana_utils/common/state_containers/types.ts rename to src/platform/plugins/shared/kibana_utils/common/state_containers/types.ts diff --git a/src/plugins/kibana_utils/common/state_management/encode_state.ts b/src/platform/plugins/shared/kibana_utils/common/state_management/encode_state.ts similarity index 100% rename from src/plugins/kibana_utils/common/state_management/encode_state.ts rename to src/platform/plugins/shared/kibana_utils/common/state_management/encode_state.ts diff --git a/src/plugins/kibana_utils/common/state_management/format.test.ts b/src/platform/plugins/shared/kibana_utils/common/state_management/format.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/state_management/format.test.ts rename to src/platform/plugins/shared/kibana_utils/common/state_management/format.test.ts diff --git a/src/plugins/kibana_utils/common/state_management/format.ts b/src/platform/plugins/shared/kibana_utils/common/state_management/format.ts similarity index 100% rename from src/plugins/kibana_utils/common/state_management/format.ts rename to src/platform/plugins/shared/kibana_utils/common/state_management/format.ts diff --git a/src/plugins/kibana_utils/common/state_management/parse.test.ts b/src/platform/plugins/shared/kibana_utils/common/state_management/parse.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/state_management/parse.test.ts rename to src/platform/plugins/shared/kibana_utils/common/state_management/parse.test.ts diff --git a/src/plugins/kibana_utils/common/state_management/parse.ts b/src/platform/plugins/shared/kibana_utils/common/state_management/parse.ts similarity index 100% rename from src/plugins/kibana_utils/common/state_management/parse.ts rename to src/platform/plugins/shared/kibana_utils/common/state_management/parse.ts diff --git a/src/plugins/kibana_utils/common/state_management/set_state_to_kbn_url.test.ts b/src/platform/plugins/shared/kibana_utils/common/state_management/set_state_to_kbn_url.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/state_management/set_state_to_kbn_url.test.ts rename to src/platform/plugins/shared/kibana_utils/common/state_management/set_state_to_kbn_url.test.ts diff --git a/src/plugins/kibana_utils/common/state_management/set_state_to_kbn_url.ts b/src/platform/plugins/shared/kibana_utils/common/state_management/set_state_to_kbn_url.ts similarity index 100% rename from src/plugins/kibana_utils/common/state_management/set_state_to_kbn_url.ts rename to src/platform/plugins/shared/kibana_utils/common/state_management/set_state_to_kbn_url.ts diff --git a/src/plugins/kibana_utils/common/state_management/state_hash.test.ts b/src/platform/plugins/shared/kibana_utils/common/state_management/state_hash.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/state_management/state_hash.test.ts rename to src/platform/plugins/shared/kibana_utils/common/state_management/state_hash.test.ts diff --git a/src/plugins/kibana_utils/common/state_management/state_hash.ts b/src/platform/plugins/shared/kibana_utils/common/state_management/state_hash.ts similarity index 100% rename from src/plugins/kibana_utils/common/state_management/state_hash.ts rename to src/platform/plugins/shared/kibana_utils/common/state_management/state_hash.ts diff --git a/src/plugins/kibana_utils/common/url/encode_uri_query.test.ts b/src/platform/plugins/shared/kibana_utils/common/url/encode_uri_query.test.ts similarity index 100% rename from src/plugins/kibana_utils/common/url/encode_uri_query.test.ts rename to src/platform/plugins/shared/kibana_utils/common/url/encode_uri_query.test.ts diff --git a/src/plugins/kibana_utils/common/url/encode_uri_query.ts b/src/platform/plugins/shared/kibana_utils/common/url/encode_uri_query.ts similarity index 100% rename from src/plugins/kibana_utils/common/url/encode_uri_query.ts rename to src/platform/plugins/shared/kibana_utils/common/url/encode_uri_query.ts diff --git a/src/plugins/kibana_utils/common/url/index.ts b/src/platform/plugins/shared/kibana_utils/common/url/index.ts similarity index 100% rename from src/plugins/kibana_utils/common/url/index.ts rename to src/platform/plugins/shared/kibana_utils/common/url/index.ts diff --git a/src/plugins/kibana_utils/demos/demos.test.ts b/src/platform/plugins/shared/kibana_utils/demos/demos.test.ts similarity index 100% rename from src/plugins/kibana_utils/demos/demos.test.ts rename to src/platform/plugins/shared/kibana_utils/demos/demos.test.ts diff --git a/src/plugins/kibana_utils/demos/state_containers/counter.ts b/src/platform/plugins/shared/kibana_utils/demos/state_containers/counter.ts similarity index 100% rename from src/plugins/kibana_utils/demos/state_containers/counter.ts rename to src/platform/plugins/shared/kibana_utils/demos/state_containers/counter.ts diff --git a/src/plugins/kibana_utils/demos/state_containers/todomvc.ts b/src/platform/plugins/shared/kibana_utils/demos/state_containers/todomvc.ts similarity index 100% rename from src/plugins/kibana_utils/demos/state_containers/todomvc.ts rename to src/platform/plugins/shared/kibana_utils/demos/state_containers/todomvc.ts diff --git a/src/plugins/kibana_utils/demos/state_sync/url.ts b/src/platform/plugins/shared/kibana_utils/demos/state_sync/url.ts similarity index 100% rename from src/plugins/kibana_utils/demos/state_sync/url.ts rename to src/platform/plugins/shared/kibana_utils/demos/state_sync/url.ts diff --git a/src/plugins/kibana_utils/docs/state_containers/README.md b/src/platform/plugins/shared/kibana_utils/docs/state_containers/README.md similarity index 85% rename from src/plugins/kibana_utils/docs/state_containers/README.md rename to src/platform/plugins/shared/kibana_utils/docs/state_containers/README.md index ee5ebde9258e6..d24fb193eb9a5 100644 --- a/src/plugins/kibana_utils/docs/state_containers/README.md +++ b/src/platform/plugins/shared/kibana_utils/docs/state_containers/README.md @@ -15,7 +15,7 @@ your services or apps. ## Example ```ts -import { createStateContainer } from 'src/plugins/kibana_utils'; +import { createStateContainer } from 'src/platform/plugins/shared/kibana_utils'; const container = createStateContainer( { count: 0 }, @@ -41,8 +41,8 @@ See demos [here](../../demos/state_containers/). You can run them with ``` -npx -q ts-node src/plugins/kibana_utils/demos/state_containers/counter.ts -npx -q ts-node src/plugins/kibana_utils/demos/state_containers/todomvc.ts +npx -q ts-node src/platform/plugins/shared/kibana_utils/demos/state_containers/counter.ts +npx -q ts-node src/platform/plugins/shared/kibana_utils/demos/state_containers/todomvc.ts ``` ## Reference diff --git a/src/plugins/kibana_utils/docs/state_containers/creation.md b/src/platform/plugins/shared/kibana_utils/docs/state_containers/creation.md similarity index 87% rename from src/plugins/kibana_utils/docs/state_containers/creation.md rename to src/platform/plugins/shared/kibana_utils/docs/state_containers/creation.md index f8ded75ed3f45..c06415c0c0050 100644 --- a/src/plugins/kibana_utils/docs/state_containers/creation.md +++ b/src/platform/plugins/shared/kibana_utils/docs/state_containers/creation.md @@ -30,7 +30,7 @@ const defaultState: MyState = { Create your a state container. ```ts -import { createStateContainer } from 'src/plugins/kibana_utils'; +import { createStateContainer } from 'src/platform/plugins/shared/kibana_utils'; const container = createStateContainer(defaultState); diff --git a/src/plugins/kibana_utils/docs/state_containers/no_react.md b/src/platform/plugins/shared/kibana_utils/docs/state_containers/no_react.md similarity index 100% rename from src/plugins/kibana_utils/docs/state_containers/no_react.md rename to src/platform/plugins/shared/kibana_utils/docs/state_containers/no_react.md diff --git a/src/plugins/kibana_utils/docs/state_containers/react.md b/src/platform/plugins/shared/kibana_utils/docs/state_containers/react.md similarity index 93% rename from src/plugins/kibana_utils/docs/state_containers/react.md rename to src/platform/plugins/shared/kibana_utils/docs/state_containers/react.md index 1bab1af1d5f68..390bee9b08722 100644 --- a/src/plugins/kibana_utils/docs/state_containers/react.md +++ b/src/platform/plugins/shared/kibana_utils/docs/state_containers/react.md @@ -7,7 +7,7 @@ ```ts -import { createStateContainer, createStateContainerReactHelpers } from 'src/plugins/kibana_utils'; +import { createStateContainer, createStateContainerReactHelpers } from 'src/platform/plugins/shared/kibana_utils'; const container = createStateContainer({}); export const { diff --git a/src/plugins/kibana_utils/docs/state_containers/react/connect.md b/src/platform/plugins/shared/kibana_utils/docs/state_containers/react/connect.md similarity index 100% rename from src/plugins/kibana_utils/docs/state_containers/react/connect.md rename to src/platform/plugins/shared/kibana_utils/docs/state_containers/react/connect.md diff --git a/src/plugins/kibana_utils/docs/state_containers/react/context.md b/src/platform/plugins/shared/kibana_utils/docs/state_containers/react/context.md similarity index 100% rename from src/plugins/kibana_utils/docs/state_containers/react/context.md rename to src/platform/plugins/shared/kibana_utils/docs/state_containers/react/context.md diff --git a/src/plugins/kibana_utils/docs/state_containers/react/use_container.md b/src/platform/plugins/shared/kibana_utils/docs/state_containers/react/use_container.md similarity index 100% rename from src/plugins/kibana_utils/docs/state_containers/react/use_container.md rename to src/platform/plugins/shared/kibana_utils/docs/state_containers/react/use_container.md diff --git a/src/plugins/kibana_utils/docs/state_containers/react/use_selector.md b/src/platform/plugins/shared/kibana_utils/docs/state_containers/react/use_selector.md similarity index 100% rename from src/plugins/kibana_utils/docs/state_containers/react/use_selector.md rename to src/platform/plugins/shared/kibana_utils/docs/state_containers/react/use_selector.md diff --git a/src/plugins/kibana_utils/docs/state_containers/react/use_state.md b/src/platform/plugins/shared/kibana_utils/docs/state_containers/react/use_state.md similarity index 100% rename from src/plugins/kibana_utils/docs/state_containers/react/use_state.md rename to src/platform/plugins/shared/kibana_utils/docs/state_containers/react/use_state.md diff --git a/src/plugins/kibana_utils/docs/state_containers/react/use_transitions.md b/src/platform/plugins/shared/kibana_utils/docs/state_containers/react/use_transitions.md similarity index 100% rename from src/plugins/kibana_utils/docs/state_containers/react/use_transitions.md rename to src/platform/plugins/shared/kibana_utils/docs/state_containers/react/use_transitions.md diff --git a/src/plugins/kibana_utils/docs/state_containers/redux.md b/src/platform/plugins/shared/kibana_utils/docs/state_containers/redux.md similarity index 100% rename from src/plugins/kibana_utils/docs/state_containers/redux.md rename to src/platform/plugins/shared/kibana_utils/docs/state_containers/redux.md diff --git a/src/plugins/kibana_utils/docs/state_containers/transitions.md b/src/platform/plugins/shared/kibana_utils/docs/state_containers/transitions.md similarity index 95% rename from src/plugins/kibana_utils/docs/state_containers/transitions.md rename to src/platform/plugins/shared/kibana_utils/docs/state_containers/transitions.md index 51d52cdf3daaf..f54784692dd41 100644 --- a/src/plugins/kibana_utils/docs/state_containers/transitions.md +++ b/src/platform/plugins/shared/kibana_utils/docs/state_containers/transitions.md @@ -17,7 +17,7 @@ const setUiMode: PureTransition = state => uiMode => ({ ...state, uiMode }); You provide transitions as a second argument when you create your state container. ```ts -import { createStateContainer } from 'src/plugins/kibana_utils'; +import { createStateContainer } from 'src/platform/plugins/shared/kibana_utils'; const container = createStateContainer(0, { increment: (cnt: number) => (by: number) => cnt + by, diff --git a/src/plugins/kibana_utils/docs/state_sync/README.md b/src/platform/plugins/shared/kibana_utils/docs/state_sync/README.md similarity index 95% rename from src/plugins/kibana_utils/docs/state_sync/README.md rename to src/platform/plugins/shared/kibana_utils/docs/state_sync/README.md index 6b4eb0cb1749b..dbeda7982c6cb 100644 --- a/src/plugins/kibana_utils/docs/state_sync/README.md +++ b/src/platform/plugins/shared/kibana_utils/docs/state_sync/README.md @@ -34,7 +34,7 @@ import { createStateContainer, syncState, createKbnUrlStateStorage, -} from 'src/plugins/kibana_utils/public'; +} from 'src/platform/plugins/shared/kibana_utils/public'; const stateContainer = createStateContainer({ count: 0 }); const stateStorage = createKbnUrlStateStorage(); @@ -56,7 +56,7 @@ stop(); ## Demo Plugins -See demo plugins [here](../../../../../examples/state_containers_examples). +See demo plugins [here](../../../../../../../examples/state_containers_examples). To run them, start kibana with `--run-examples` flag. diff --git a/src/plugins/kibana_utils/docs/state_sync/data_plugin_helpers.md b/src/platform/plugins/shared/kibana_utils/docs/state_sync/data_plugin_helpers.md similarity index 100% rename from src/plugins/kibana_utils/docs/state_sync/data_plugin_helpers.md rename to src/platform/plugins/shared/kibana_utils/docs/state_sync/data_plugin_helpers.md diff --git a/src/plugins/kibana_utils/docs/state_sync/empty_or_incomplete_incoming_state.md b/src/platform/plugins/shared/kibana_utils/docs/state_sync/empty_or_incomplete_incoming_state.md similarity index 100% rename from src/plugins/kibana_utils/docs/state_sync/empty_or_incomplete_incoming_state.md rename to src/platform/plugins/shared/kibana_utils/docs/state_sync/empty_or_incomplete_incoming_state.md diff --git a/src/plugins/kibana_utils/docs/state_sync/error_handling.md b/src/platform/plugins/shared/kibana_utils/docs/state_sync/error_handling.md similarity index 100% rename from src/plugins/kibana_utils/docs/state_sync/error_handling.md rename to src/platform/plugins/shared/kibana_utils/docs/state_sync/error_handling.md diff --git a/src/plugins/kibana_utils/docs/state_sync/initial_state.md b/src/platform/plugins/shared/kibana_utils/docs/state_sync/initial_state.md similarity index 100% rename from src/plugins/kibana_utils/docs/state_sync/initial_state.md rename to src/platform/plugins/shared/kibana_utils/docs/state_sync/initial_state.md diff --git a/src/plugins/kibana_utils/docs/state_sync/no_state_containers.md b/src/platform/plugins/shared/kibana_utils/docs/state_sync/no_state_containers.md similarity index 92% rename from src/plugins/kibana_utils/docs/state_sync/no_state_containers.md rename to src/platform/plugins/shared/kibana_utils/docs/state_sync/no_state_containers.md index 7db04aa60b7ac..c051b6042f5dd 100644 --- a/src/plugins/kibana_utils/docs/state_sync/no_state_containers.md +++ b/src/platform/plugins/shared/kibana_utils/docs/state_sync/no_state_containers.md @@ -38,7 +38,7 @@ export class MyStateManager { ```ts // app.ts -import { syncState, createKbnUrlStateStorage } from 'src/plugins/kibana_utils/public'; +import { syncState, createKbnUrlStateStorage } from 'src/platform/plugins/shared/kibana_utils/public'; import { MyStateManager } from './my_state_manager'; const myStateManager = new MyStateManager(); diff --git a/src/plugins/kibana_utils/docs/state_sync/on_fly_state_migrations.md b/src/platform/plugins/shared/kibana_utils/docs/state_sync/on_fly_state_migrations.md similarity index 100% rename from src/plugins/kibana_utils/docs/state_sync/on_fly_state_migrations.md rename to src/platform/plugins/shared/kibana_utils/docs/state_sync/on_fly_state_migrations.md diff --git a/src/plugins/kibana_utils/docs/state_sync/storages/README.md b/src/platform/plugins/shared/kibana_utils/docs/state_sync/storages/README.md similarity index 100% rename from src/plugins/kibana_utils/docs/state_sync/storages/README.md rename to src/platform/plugins/shared/kibana_utils/docs/state_sync/storages/README.md diff --git a/src/plugins/kibana_utils/docs/state_sync/storages/kbn_url_storage.md b/src/platform/plugins/shared/kibana_utils/docs/state_sync/storages/kbn_url_storage.md similarity index 99% rename from src/plugins/kibana_utils/docs/state_sync/storages/kbn_url_storage.md rename to src/platform/plugins/shared/kibana_utils/docs/state_sync/storages/kbn_url_storage.md index 36c7d7119ffe5..cb0320019aaef 100644 --- a/src/plugins/kibana_utils/docs/state_sync/storages/kbn_url_storage.md +++ b/src/platform/plugins/shared/kibana_utils/docs/state_sync/storages/kbn_url_storage.md @@ -19,7 +19,7 @@ import { createStateContainer, syncState, createKbnUrlStateStorage, -} from 'src/plugins/kibana_utils/public'; +} from 'src/platform/plugins/shared/kibana_utils/public'; const stateContainer = createStateContainer({ count: 0 }); const stateStorage = createKbnUrlStateStorage(); diff --git a/src/plugins/kibana_utils/docs/state_sync/storages/session_storage.md b/src/platform/plugins/shared/kibana_utils/docs/state_sync/storages/session_storage.md similarity index 94% rename from src/plugins/kibana_utils/docs/state_sync/storages/session_storage.md rename to src/platform/plugins/shared/kibana_utils/docs/state_sync/storages/session_storage.md index cfefc6688f09d..384960309004b 100644 --- a/src/plugins/kibana_utils/docs/state_sync/storages/session_storage.md +++ b/src/platform/plugins/shared/kibana_utils/docs/state_sync/storages/session_storage.md @@ -7,7 +7,7 @@ import { createStateContainer, syncState, createSessionStorageStateStorage, -} from 'src/plugins/kibana_utils/public'; +} from 'src/platform/plugins/shared/kibana_utils/public'; const stateContainer = createStateContainer({ count: 0 }); const stateStorage = createSessionStorageStateStorage(); diff --git a/src/plugins/kibana_utils/docs/state_sync/sync_states.md b/src/platform/plugins/shared/kibana_utils/docs/state_sync/sync_states.md similarity index 93% rename from src/plugins/kibana_utils/docs/state_sync/sync_states.md rename to src/platform/plugins/shared/kibana_utils/docs/state_sync/sync_states.md index 9a040cb9ba405..e69aa4a528d92 100644 --- a/src/plugins/kibana_utils/docs/state_sync/sync_states.md +++ b/src/platform/plugins/shared/kibana_utils/docs/state_sync/sync_states.md @@ -9,7 +9,7 @@ import { syncStates, createKbnUrlStateStorage, createSessionStorageStateStorage, -} from 'src/plugins/kibana_utils/public'; +} from 'src/platform/plugins/shared/kibana_utils/public'; const stateContainer = createStateContainer({ count: 0 }); const urlStateStorage = createKbnUrlStateStorage(); diff --git a/src/platform/plugins/shared/kibana_utils/jest.config.js b/src/platform/plugins/shared/kibana_utils/jest.config.js new file mode 100644 index 0000000000000..89042a06758c7 --- /dev/null +++ b/src/platform/plugins/shared/kibana_utils/jest.config.js @@ -0,0 +1,20 @@ +/* + * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/kibana_utils'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/kibana_utils', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/kibana_utils/{common,demos,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/kibana_utils/kibana.jsonc b/src/platform/plugins/shared/kibana_utils/kibana.jsonc similarity index 100% rename from src/plugins/kibana_utils/kibana.jsonc rename to src/platform/plugins/shared/kibana_utils/kibana.jsonc diff --git a/src/plugins/kibana_utils/public/core/create_start_service_getter.test.ts b/src/platform/plugins/shared/kibana_utils/public/core/create_start_service_getter.test.ts similarity index 100% rename from src/plugins/kibana_utils/public/core/create_start_service_getter.test.ts rename to src/platform/plugins/shared/kibana_utils/public/core/create_start_service_getter.test.ts diff --git a/src/plugins/kibana_utils/public/core/create_start_service_getter.ts b/src/platform/plugins/shared/kibana_utils/public/core/create_start_service_getter.ts similarity index 100% rename from src/plugins/kibana_utils/public/core/create_start_service_getter.ts rename to src/platform/plugins/shared/kibana_utils/public/core/create_start_service_getter.ts diff --git a/src/plugins/kibana_utils/public/core/index.ts b/src/platform/plugins/shared/kibana_utils/public/core/index.ts similarity index 100% rename from src/plugins/kibana_utils/public/core/index.ts rename to src/platform/plugins/shared/kibana_utils/public/core/index.ts diff --git a/src/plugins/kibana_utils/public/history/get_query_params.test.ts b/src/platform/plugins/shared/kibana_utils/public/history/get_query_params.test.ts similarity index 100% rename from src/plugins/kibana_utils/public/history/get_query_params.test.ts rename to src/platform/plugins/shared/kibana_utils/public/history/get_query_params.test.ts diff --git a/src/plugins/kibana_utils/public/history/get_query_params.ts b/src/platform/plugins/shared/kibana_utils/public/history/get_query_params.ts similarity index 100% rename from src/plugins/kibana_utils/public/history/get_query_params.ts rename to src/platform/plugins/shared/kibana_utils/public/history/get_query_params.ts diff --git a/src/plugins/kibana_utils/public/history/history_observable.test.ts b/src/platform/plugins/shared/kibana_utils/public/history/history_observable.test.ts similarity index 100% rename from src/plugins/kibana_utils/public/history/history_observable.test.ts rename to src/platform/plugins/shared/kibana_utils/public/history/history_observable.test.ts diff --git a/src/plugins/kibana_utils/public/history/history_observable.ts b/src/platform/plugins/shared/kibana_utils/public/history/history_observable.ts similarity index 100% rename from src/plugins/kibana_utils/public/history/history_observable.ts rename to src/platform/plugins/shared/kibana_utils/public/history/history_observable.ts diff --git a/src/plugins/kibana_utils/public/history/index.ts b/src/platform/plugins/shared/kibana_utils/public/history/index.ts similarity index 100% rename from src/plugins/kibana_utils/public/history/index.ts rename to src/platform/plugins/shared/kibana_utils/public/history/index.ts diff --git a/src/plugins/kibana_utils/public/history/redirect_when_missing.tsx b/src/platform/plugins/shared/kibana_utils/public/history/redirect_when_missing.tsx similarity index 100% rename from src/plugins/kibana_utils/public/history/redirect_when_missing.tsx rename to src/platform/plugins/shared/kibana_utils/public/history/redirect_when_missing.tsx diff --git a/src/plugins/kibana_utils/public/history/remove_query_param.test.ts b/src/platform/plugins/shared/kibana_utils/public/history/remove_query_param.test.ts similarity index 100% rename from src/plugins/kibana_utils/public/history/remove_query_param.test.ts rename to src/platform/plugins/shared/kibana_utils/public/history/remove_query_param.test.ts diff --git a/src/plugins/kibana_utils/public/history/remove_query_param.ts b/src/platform/plugins/shared/kibana_utils/public/history/remove_query_param.ts similarity index 100% rename from src/plugins/kibana_utils/public/history/remove_query_param.ts rename to src/platform/plugins/shared/kibana_utils/public/history/remove_query_param.ts diff --git a/src/plugins/kibana_utils/public/index.test.ts b/src/platform/plugins/shared/kibana_utils/public/index.test.ts similarity index 100% rename from src/plugins/kibana_utils/public/index.test.ts rename to src/platform/plugins/shared/kibana_utils/public/index.test.ts diff --git a/src/plugins/kibana_utils/public/index.ts b/src/platform/plugins/shared/kibana_utils/public/index.ts similarity index 100% rename from src/plugins/kibana_utils/public/index.ts rename to src/platform/plugins/shared/kibana_utils/public/index.ts diff --git a/src/plugins/kibana_utils/public/mocks.ts b/src/platform/plugins/shared/kibana_utils/public/mocks.ts similarity index 100% rename from src/plugins/kibana_utils/public/mocks.ts rename to src/platform/plugins/shared/kibana_utils/public/mocks.ts diff --git a/src/plugins/kibana_utils/public/plugin.ts b/src/platform/plugins/shared/kibana_utils/public/plugin.ts similarity index 100% rename from src/plugins/kibana_utils/public/plugin.ts rename to src/platform/plugins/shared/kibana_utils/public/plugin.ts diff --git a/src/plugins/kibana_utils/public/render_complete/index.ts b/src/platform/plugins/shared/kibana_utils/public/render_complete/index.ts similarity index 100% rename from src/plugins/kibana_utils/public/render_complete/index.ts rename to src/platform/plugins/shared/kibana_utils/public/render_complete/index.ts diff --git a/src/plugins/kibana_utils/public/render_complete/render_complete_dispatcher.ts b/src/platform/plugins/shared/kibana_utils/public/render_complete/render_complete_dispatcher.ts similarity index 100% rename from src/plugins/kibana_utils/public/render_complete/render_complete_dispatcher.ts rename to src/platform/plugins/shared/kibana_utils/public/render_complete/render_complete_dispatcher.ts diff --git a/src/plugins/kibana_utils/public/render_complete/render_complete_listener.ts b/src/platform/plugins/shared/kibana_utils/public/render_complete/render_complete_listener.ts similarity index 100% rename from src/plugins/kibana_utils/public/render_complete/render_complete_listener.ts rename to src/platform/plugins/shared/kibana_utils/public/render_complete/render_complete_listener.ts diff --git a/src/plugins/kibana_utils/public/resize_checker/index.ts b/src/platform/plugins/shared/kibana_utils/public/resize_checker/index.ts similarity index 100% rename from src/plugins/kibana_utils/public/resize_checker/index.ts rename to src/platform/plugins/shared/kibana_utils/public/resize_checker/index.ts diff --git a/src/plugins/kibana_utils/public/resize_checker/resize_checker.test.ts b/src/platform/plugins/shared/kibana_utils/public/resize_checker/resize_checker.test.ts similarity index 100% rename from src/plugins/kibana_utils/public/resize_checker/resize_checker.test.ts rename to src/platform/plugins/shared/kibana_utils/public/resize_checker/resize_checker.test.ts diff --git a/src/plugins/kibana_utils/public/resize_checker/resize_checker.ts b/src/platform/plugins/shared/kibana_utils/public/resize_checker/resize_checker.ts similarity index 100% rename from src/plugins/kibana_utils/public/resize_checker/resize_checker.ts rename to src/platform/plugins/shared/kibana_utils/public/resize_checker/resize_checker.ts diff --git a/src/plugins/kibana_utils/public/state_management/state_encoder/encode_decode_state.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/state_encoder/encode_decode_state.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/state_encoder/encode_decode_state.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/state_encoder/encode_decode_state.ts diff --git a/src/plugins/kibana_utils/public/state_management/state_encoder/index.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/state_encoder/index.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/state_encoder/index.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/state_encoder/index.ts diff --git a/src/plugins/kibana_utils/public/state_management/state_hash/index.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/state_hash/index.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/state_hash/index.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/state_hash/index.ts diff --git a/src/plugins/kibana_utils/public/state_management/state_hash/state_hash.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/state_hash/state_hash.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/state_hash/state_hash.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/state_hash/state_hash.ts diff --git a/src/plugins/kibana_utils/public/state_management/url/errors.test.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/url/errors.test.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/url/errors.test.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/url/errors.test.ts diff --git a/src/plugins/kibana_utils/public/state_management/url/errors.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/url/errors.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/url/errors.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/url/errors.ts diff --git a/src/plugins/kibana_utils/public/state_management/url/hash_unhash_url.test.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/url/hash_unhash_url.test.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/url/hash_unhash_url.test.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/url/hash_unhash_url.test.ts diff --git a/src/plugins/kibana_utils/public/state_management/url/hash_unhash_url.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/url/hash_unhash_url.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/url/hash_unhash_url.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/url/hash_unhash_url.ts diff --git a/src/plugins/kibana_utils/public/state_management/url/index.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/url/index.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/url/index.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/url/index.ts diff --git a/src/plugins/kibana_utils/public/state_management/url/kbn_url_storage.test.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/url/kbn_url_storage.test.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/url/kbn_url_storage.test.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/url/kbn_url_storage.test.ts diff --git a/src/plugins/kibana_utils/public/state_management/url/kbn_url_storage.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/url/kbn_url_storage.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/url/kbn_url_storage.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/url/kbn_url_storage.ts diff --git a/src/plugins/kibana_utils/public/state_management/url/kbn_url_tracker.test.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/url/kbn_url_tracker.test.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/url/kbn_url_tracker.test.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/url/kbn_url_tracker.test.ts diff --git a/src/plugins/kibana_utils/public/state_management/url/kbn_url_tracker.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/url/kbn_url_tracker.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/url/kbn_url_tracker.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/url/kbn_url_tracker.ts diff --git a/src/plugins/kibana_utils/public/state_management/url/url_tracker.test.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/url/url_tracker.test.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/url/url_tracker.test.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/url/url_tracker.test.ts diff --git a/src/plugins/kibana_utils/public/state_management/url/url_tracker.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/url/url_tracker.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/url/url_tracker.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/url/url_tracker.ts diff --git a/src/plugins/kibana_utils/public/state_management/utils/diff_object.test.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/utils/diff_object.test.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/utils/diff_object.test.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/utils/diff_object.test.ts diff --git a/src/plugins/kibana_utils/public/state_management/utils/diff_object.ts b/src/platform/plugins/shared/kibana_utils/public/state_management/utils/diff_object.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_management/utils/diff_object.ts rename to src/platform/plugins/shared/kibana_utils/public/state_management/utils/diff_object.ts diff --git a/src/platform/plugins/shared/kibana_utils/public/state_sync/README.md b/src/platform/plugins/shared/kibana_utils/public/state_sync/README.md new file mode 100644 index 0000000000000..b96c88f2c058e --- /dev/null +++ b/src/platform/plugins/shared/kibana_utils/public/state_sync/README.md @@ -0,0 +1,3 @@ +- [docs](../../docs/state_sync) +- [demo plugins](../../../../../../../examples/state_containers_examples): run Kibana with `--run-examples` flag. +- [api reference](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/kibana_utils/docs/state_sync) diff --git a/src/plugins/kibana_utils/public/state_sync/index.ts b/src/platform/plugins/shared/kibana_utils/public/state_sync/index.ts similarity index 87% rename from src/plugins/kibana_utils/public/state_sync/index.ts rename to src/platform/plugins/shared/kibana_utils/public/state_sync/index.ts index 4c8624f82554e..76095990a6adc 100644 --- a/src/plugins/kibana_utils/public/state_sync/index.ts +++ b/src/platform/plugins/shared/kibana_utils/public/state_sync/index.ts @@ -11,7 +11,7 @@ * State syncing utilities are a set of helpers for syncing your application state * with browser URL or browser storage. * - * They are designed to work together with {@link https://github.com/elastic/kibana/tree/main/src/plugins/kibana_utils/docs/state_containers | state containers}. But state containers are not required. + * They are designed to work together with {@link https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/kibana_utils/docs/state_containers | state containers}. But state containers are not required. * * State syncing utilities include: * @@ -23,7 +23,7 @@ * Listens for state updates in the URL and pushes them back to state. * * {@link ISessionStorageStateStorage} - Serializes state and persists it to browser storage. * - * Refer {@link https://github.com/elastic/kibana/tree/main/src/plugins/kibana_utils/docs/state_sync | here} for a complete guide and examples. + * Refer {@link https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/kibana_utils/docs/state_sync | here} for a complete guide and examples. * @packageDocumentation */ diff --git a/src/plugins/kibana_utils/public/state_sync/state_sync.test.ts b/src/platform/plugins/shared/kibana_utils/public/state_sync/state_sync.test.ts similarity index 100% rename from src/plugins/kibana_utils/public/state_sync/state_sync.test.ts rename to src/platform/plugins/shared/kibana_utils/public/state_sync/state_sync.test.ts diff --git a/src/plugins/kibana_utils/public/state_sync/state_sync.ts b/src/platform/plugins/shared/kibana_utils/public/state_sync/state_sync.ts similarity index 97% rename from src/plugins/kibana_utils/public/state_sync/state_sync.ts rename to src/platform/plugins/shared/kibana_utils/public/state_sync/state_sync.ts index 9058eda3f0cf6..b358d5e2479a6 100644 --- a/src/plugins/kibana_utils/public/state_sync/state_sync.ts +++ b/src/platform/plugins/shared/kibana_utils/public/state_sync/state_sync.ts @@ -43,7 +43,7 @@ export interface ISyncStateRef/src/plugins/files'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/files', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/navigation'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/navigation', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/files/{common,public,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: ['/src/platform/plugins/shared/navigation/public/**/*.{ts,tsx}'], }; diff --git a/src/plugins/navigation/kibana.jsonc b/src/platform/plugins/shared/navigation/kibana.jsonc similarity index 100% rename from src/plugins/navigation/kibana.jsonc rename to src/platform/plugins/shared/navigation/kibana.jsonc diff --git a/src/plugins/navigation/public/analytics/index.ts b/src/platform/plugins/shared/navigation/public/analytics/index.ts similarity index 100% rename from src/plugins/navigation/public/analytics/index.ts rename to src/platform/plugins/shared/navigation/public/analytics/index.ts diff --git a/src/plugins/navigation/public/analytics/register_event_types.ts b/src/platform/plugins/shared/navigation/public/analytics/register_event_types.ts similarity index 100% rename from src/plugins/navigation/public/analytics/register_event_types.ts rename to src/platform/plugins/shared/navigation/public/analytics/register_event_types.ts diff --git a/src/plugins/navigation/public/index.scss b/src/platform/plugins/shared/navigation/public/index.scss similarity index 100% rename from src/plugins/navigation/public/index.scss rename to src/platform/plugins/shared/navigation/public/index.scss diff --git a/src/plugins/navigation/public/index.ts b/src/platform/plugins/shared/navigation/public/index.ts similarity index 100% rename from src/plugins/navigation/public/index.ts rename to src/platform/plugins/shared/navigation/public/index.ts diff --git a/src/plugins/navigation/public/mocks.tsx b/src/platform/plugins/shared/navigation/public/mocks.tsx similarity index 100% rename from src/plugins/navigation/public/mocks.tsx rename to src/platform/plugins/shared/navigation/public/mocks.tsx diff --git a/src/plugins/navigation/public/plugin.test.ts b/src/platform/plugins/shared/navigation/public/plugin.test.ts similarity index 100% rename from src/plugins/navigation/public/plugin.test.ts rename to src/platform/plugins/shared/navigation/public/plugin.test.ts diff --git a/src/plugins/navigation/public/plugin.tsx b/src/platform/plugins/shared/navigation/public/plugin.tsx similarity index 100% rename from src/plugins/navigation/public/plugin.tsx rename to src/platform/plugins/shared/navigation/public/plugin.tsx diff --git a/src/plugins/navigation/public/side_navigation/index.tsx b/src/platform/plugins/shared/navigation/public/side_navigation/index.tsx similarity index 100% rename from src/plugins/navigation/public/side_navigation/index.tsx rename to src/platform/plugins/shared/navigation/public/side_navigation/index.tsx diff --git a/src/plugins/navigation/public/side_navigation/side_navigation.tsx b/src/platform/plugins/shared/navigation/public/side_navigation/side_navigation.tsx similarity index 100% rename from src/plugins/navigation/public/side_navigation/side_navigation.tsx rename to src/platform/plugins/shared/navigation/public/side_navigation/side_navigation.tsx diff --git a/src/plugins/navigation/public/top_nav_menu/__snapshots__/top_nav_menu.test.tsx.snap b/src/platform/plugins/shared/navigation/public/top_nav_menu/__snapshots__/top_nav_menu.test.tsx.snap similarity index 100% rename from src/plugins/navigation/public/top_nav_menu/__snapshots__/top_nav_menu.test.tsx.snap rename to src/platform/plugins/shared/navigation/public/top_nav_menu/__snapshots__/top_nav_menu.test.tsx.snap diff --git a/src/plugins/navigation/public/top_nav_menu/__snapshots__/top_nav_menu_item.test.tsx.snap b/src/platform/plugins/shared/navigation/public/top_nav_menu/__snapshots__/top_nav_menu_item.test.tsx.snap similarity index 100% rename from src/plugins/navigation/public/top_nav_menu/__snapshots__/top_nav_menu_item.test.tsx.snap rename to src/platform/plugins/shared/navigation/public/top_nav_menu/__snapshots__/top_nav_menu_item.test.tsx.snap diff --git a/src/plugins/navigation/public/top_nav_menu/_index.scss b/src/platform/plugins/shared/navigation/public/top_nav_menu/_index.scss similarity index 100% rename from src/plugins/navigation/public/top_nav_menu/_index.scss rename to src/platform/plugins/shared/navigation/public/top_nav_menu/_index.scss diff --git a/src/plugins/navigation/public/top_nav_menu/create_top_nav_menu.tsx b/src/platform/plugins/shared/navigation/public/top_nav_menu/create_top_nav_menu.tsx similarity index 100% rename from src/plugins/navigation/public/top_nav_menu/create_top_nav_menu.tsx rename to src/platform/plugins/shared/navigation/public/top_nav_menu/create_top_nav_menu.tsx diff --git a/src/plugins/navigation/public/top_nav_menu/index.ts b/src/platform/plugins/shared/navigation/public/top_nav_menu/index.ts similarity index 100% rename from src/plugins/navigation/public/top_nav_menu/index.ts rename to src/platform/plugins/shared/navigation/public/top_nav_menu/index.ts diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu.test.tsx b/src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu.test.tsx similarity index 100% rename from src/plugins/navigation/public/top_nav_menu/top_nav_menu.test.tsx rename to src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu.test.tsx diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu.tsx b/src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu.tsx similarity index 100% rename from src/plugins/navigation/public/top_nav_menu/top_nav_menu.tsx rename to src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu.tsx diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu_badges.tsx b/src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu_badges.tsx similarity index 100% rename from src/plugins/navigation/public/top_nav_menu/top_nav_menu_badges.tsx rename to src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu_badges.tsx diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu_data.tsx b/src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu_data.tsx similarity index 100% rename from src/plugins/navigation/public/top_nav_menu/top_nav_menu_data.tsx rename to src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu_data.tsx diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu_extensions_registry.ts b/src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu_extensions_registry.ts similarity index 100% rename from src/plugins/navigation/public/top_nav_menu/top_nav_menu_extensions_registry.ts rename to src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu_extensions_registry.ts diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu_item.test.tsx b/src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu_item.test.tsx similarity index 100% rename from src/plugins/navigation/public/top_nav_menu/top_nav_menu_item.test.tsx rename to src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu_item.test.tsx diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu_item.tsx b/src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu_item.tsx similarity index 100% rename from src/plugins/navigation/public/top_nav_menu/top_nav_menu_item.tsx rename to src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu_item.tsx diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu_items.tsx b/src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu_items.tsx similarity index 100% rename from src/plugins/navigation/public/top_nav_menu/top_nav_menu_items.tsx rename to src/platform/plugins/shared/navigation/public/top_nav_menu/top_nav_menu_items.tsx diff --git a/src/plugins/navigation/public/types.ts b/src/platform/plugins/shared/navigation/public/types.ts similarity index 100% rename from src/plugins/navigation/public/types.ts rename to src/platform/plugins/shared/navigation/public/types.ts diff --git a/src/plugins/navigation/server/index.ts b/src/platform/plugins/shared/navigation/server/index.ts similarity index 100% rename from src/plugins/navigation/server/index.ts rename to src/platform/plugins/shared/navigation/server/index.ts diff --git a/src/plugins/navigation/server/plugin.ts b/src/platform/plugins/shared/navigation/server/plugin.ts similarity index 100% rename from src/plugins/navigation/server/plugin.ts rename to src/platform/plugins/shared/navigation/server/plugin.ts diff --git a/src/plugins/navigation/server/types.ts b/src/platform/plugins/shared/navigation/server/types.ts similarity index 100% rename from src/plugins/navigation/server/types.ts rename to src/platform/plugins/shared/navigation/server/types.ts diff --git a/src/plugins/navigation/server/ui_settings.test.ts b/src/platform/plugins/shared/navigation/server/ui_settings.test.ts similarity index 100% rename from src/plugins/navigation/server/ui_settings.test.ts rename to src/platform/plugins/shared/navigation/server/ui_settings.test.ts diff --git a/src/plugins/navigation/server/ui_settings.ts b/src/platform/plugins/shared/navigation/server/ui_settings.ts similarity index 100% rename from src/plugins/navigation/server/ui_settings.ts rename to src/platform/plugins/shared/navigation/server/ui_settings.ts diff --git a/src/plugins/navigation/tsconfig.json b/src/platform/plugins/shared/navigation/tsconfig.json similarity index 93% rename from src/plugins/navigation/tsconfig.json rename to src/platform/plugins/shared/navigation/tsconfig.json index 1ee0462330954..0ae4275042a36 100644 --- a/src/plugins/navigation/tsconfig.json +++ b/src/platform/plugins/shared/navigation/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/saved_objects/README.md b/src/platform/plugins/shared/saved_objects/README.md similarity index 100% rename from src/plugins/saved_objects/README.md rename to src/platform/plugins/shared/saved_objects/README.md diff --git a/src/platform/plugins/shared/saved_objects/jest.config.js b/src/platform/plugins/shared/saved_objects/jest.config.js new file mode 100644 index 0000000000000..5ba3aff7e4e58 --- /dev/null +++ b/src/platform/plugins/shared/saved_objects/jest.config.js @@ -0,0 +1,20 @@ +/* + * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/saved_objects'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/saved_objects', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/saved_objects/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/saved_objects/kibana.jsonc b/src/platform/plugins/shared/saved_objects/kibana.jsonc similarity index 100% rename from src/plugins/saved_objects/kibana.jsonc rename to src/platform/plugins/shared/saved_objects/kibana.jsonc diff --git a/src/plugins/saved_objects/public/constants.ts b/src/platform/plugins/shared/saved_objects/public/constants.ts similarity index 100% rename from src/plugins/saved_objects/public/constants.ts rename to src/platform/plugins/shared/saved_objects/public/constants.ts diff --git a/src/plugins/saved_objects/public/index.scss b/src/platform/plugins/shared/saved_objects/public/index.scss similarity index 100% rename from src/plugins/saved_objects/public/index.scss rename to src/platform/plugins/shared/saved_objects/public/index.scss diff --git a/src/plugins/saved_objects/public/index.ts b/src/platform/plugins/shared/saved_objects/public/index.ts similarity index 100% rename from src/plugins/saved_objects/public/index.ts rename to src/platform/plugins/shared/saved_objects/public/index.ts diff --git a/src/plugins/saved_objects/public/kibana_services.ts b/src/platform/plugins/shared/saved_objects/public/kibana_services.ts similarity index 100% rename from src/plugins/saved_objects/public/kibana_services.ts rename to src/platform/plugins/shared/saved_objects/public/kibana_services.ts diff --git a/src/plugins/saved_objects/public/mocks.ts b/src/platform/plugins/shared/saved_objects/public/mocks.ts similarity index 100% rename from src/plugins/saved_objects/public/mocks.ts rename to src/platform/plugins/shared/saved_objects/public/mocks.ts diff --git a/src/plugins/saved_objects/public/plugin.ts b/src/platform/plugins/shared/saved_objects/public/plugin.ts similarity index 100% rename from src/plugins/saved_objects/public/plugin.ts rename to src/platform/plugins/shared/saved_objects/public/plugin.ts diff --git a/src/plugins/saved_objects/public/save_modal/__snapshots__/saved_object_save_modal.test.tsx.snap b/src/platform/plugins/shared/saved_objects/public/save_modal/__snapshots__/saved_object_save_modal.test.tsx.snap similarity index 100% rename from src/plugins/saved_objects/public/save_modal/__snapshots__/saved_object_save_modal.test.tsx.snap rename to src/platform/plugins/shared/saved_objects/public/save_modal/__snapshots__/saved_object_save_modal.test.tsx.snap diff --git a/src/plugins/saved_objects/public/save_modal/_index.scss b/src/platform/plugins/shared/saved_objects/public/save_modal/_index.scss similarity index 100% rename from src/plugins/saved_objects/public/save_modal/_index.scss rename to src/platform/plugins/shared/saved_objects/public/save_modal/_index.scss diff --git a/src/plugins/saved_objects/public/save_modal/index.ts b/src/platform/plugins/shared/saved_objects/public/save_modal/index.ts similarity index 100% rename from src/plugins/saved_objects/public/save_modal/index.ts rename to src/platform/plugins/shared/saved_objects/public/save_modal/index.ts diff --git a/src/plugins/saved_objects/public/save_modal/saved_object_save_modal.scss b/src/platform/plugins/shared/saved_objects/public/save_modal/saved_object_save_modal.scss similarity index 100% rename from src/plugins/saved_objects/public/save_modal/saved_object_save_modal.scss rename to src/platform/plugins/shared/saved_objects/public/save_modal/saved_object_save_modal.scss diff --git a/src/plugins/saved_objects/public/save_modal/saved_object_save_modal.test.tsx b/src/platform/plugins/shared/saved_objects/public/save_modal/saved_object_save_modal.test.tsx similarity index 100% rename from src/plugins/saved_objects/public/save_modal/saved_object_save_modal.test.tsx rename to src/platform/plugins/shared/saved_objects/public/save_modal/saved_object_save_modal.test.tsx diff --git a/src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx b/src/platform/plugins/shared/saved_objects/public/save_modal/saved_object_save_modal.tsx similarity index 100% rename from src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx rename to src/platform/plugins/shared/saved_objects/public/save_modal/saved_object_save_modal.tsx diff --git a/src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx b/src/platform/plugins/shared/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx similarity index 100% rename from src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx rename to src/platform/plugins/shared/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx diff --git a/src/plugins/saved_objects/public/save_modal/show_saved_object_save_modal.tsx b/src/platform/plugins/shared/saved_objects/public/save_modal/show_saved_object_save_modal.tsx similarity index 100% rename from src/plugins/saved_objects/public/save_modal/show_saved_object_save_modal.tsx rename to src/platform/plugins/shared/saved_objects/public/save_modal/show_saved_object_save_modal.tsx diff --git a/src/plugins/saved_objects/public/saved_object/helpers/save_saved_object.ts b/src/platform/plugins/shared/saved_objects/public/saved_object/helpers/save_saved_object.ts similarity index 100% rename from src/plugins/saved_objects/public/saved_object/helpers/save_saved_object.ts rename to src/platform/plugins/shared/saved_objects/public/saved_object/helpers/save_saved_object.ts diff --git a/src/plugins/saved_objects/public/saved_object/index.ts b/src/platform/plugins/shared/saved_objects/public/saved_object/index.ts similarity index 100% rename from src/plugins/saved_objects/public/saved_object/index.ts rename to src/platform/plugins/shared/saved_objects/public/saved_object/index.ts diff --git a/src/plugins/saved_objects/public/types.ts b/src/platform/plugins/shared/saved_objects/public/types.ts similarity index 100% rename from src/plugins/saved_objects/public/types.ts rename to src/platform/plugins/shared/saved_objects/public/types.ts diff --git a/src/platform/plugins/shared/saved_objects/tsconfig.json b/src/platform/plugins/shared/saved_objects/tsconfig.json new file mode 100644 index 0000000000000..9931ac138a94c --- /dev/null +++ b/src/platform/plugins/shared/saved_objects/tsconfig.json @@ -0,0 +1,25 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*", + // Emotion theme typing + "../../../../../typings/emotion.d.ts" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/data-plugin", + "@kbn/i18n", + "@kbn/data-views-plugin", + "@kbn/i18n-react", + "@kbn/react-kibana-mount", + "@kbn/test-jest-helpers" + ], + "exclude": [ + "target/**/*" + ] +} diff --git a/src/plugins/saved_objects_tagging_oss/README.md b/src/platform/plugins/shared/saved_objects_tagging_oss/README.md similarity index 100% rename from src/plugins/saved_objects_tagging_oss/README.md rename to src/platform/plugins/shared/saved_objects_tagging_oss/README.md diff --git a/src/plugins/saved_objects_tagging_oss/common/index.ts b/src/platform/plugins/shared/saved_objects_tagging_oss/common/index.ts similarity index 100% rename from src/plugins/saved_objects_tagging_oss/common/index.ts rename to src/platform/plugins/shared/saved_objects_tagging_oss/common/index.ts diff --git a/src/plugins/saved_objects_tagging_oss/common/types.ts b/src/platform/plugins/shared/saved_objects_tagging_oss/common/types.ts similarity index 100% rename from src/plugins/saved_objects_tagging_oss/common/types.ts rename to src/platform/plugins/shared/saved_objects_tagging_oss/common/types.ts diff --git a/src/platform/plugins/shared/saved_objects_tagging_oss/jest.config.js b/src/platform/plugins/shared/saved_objects_tagging_oss/jest.config.js new file mode 100644 index 0000000000000..3f5e638b7f9ad --- /dev/null +++ b/src/platform/plugins/shared/saved_objects_tagging_oss/jest.config.js @@ -0,0 +1,20 @@ +/* + * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/saved_objects_tagging_oss'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/saved_objects_tagging_oss', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/saved_objects_tagging_oss/{common,public}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/saved_objects_tagging_oss/kibana.jsonc b/src/platform/plugins/shared/saved_objects_tagging_oss/kibana.jsonc similarity index 100% rename from src/plugins/saved_objects_tagging_oss/kibana.jsonc rename to src/platform/plugins/shared/saved_objects_tagging_oss/kibana.jsonc diff --git a/src/plugins/saved_objects_tagging_oss/public/api.mock.ts b/src/platform/plugins/shared/saved_objects_tagging_oss/public/api.mock.ts similarity index 100% rename from src/plugins/saved_objects_tagging_oss/public/api.mock.ts rename to src/platform/plugins/shared/saved_objects_tagging_oss/public/api.mock.ts diff --git a/src/plugins/saved_objects_tagging_oss/public/api.ts b/src/platform/plugins/shared/saved_objects_tagging_oss/public/api.ts similarity index 100% rename from src/plugins/saved_objects_tagging_oss/public/api.ts rename to src/platform/plugins/shared/saved_objects_tagging_oss/public/api.ts diff --git a/src/plugins/saved_objects_tagging_oss/public/index.ts b/src/platform/plugins/shared/saved_objects_tagging_oss/public/index.ts similarity index 100% rename from src/plugins/saved_objects_tagging_oss/public/index.ts rename to src/platform/plugins/shared/saved_objects_tagging_oss/public/index.ts diff --git a/src/plugins/saved_objects_tagging_oss/public/mocks.ts b/src/platform/plugins/shared/saved_objects_tagging_oss/public/mocks.ts similarity index 100% rename from src/plugins/saved_objects_tagging_oss/public/mocks.ts rename to src/platform/plugins/shared/saved_objects_tagging_oss/public/mocks.ts diff --git a/src/plugins/saved_objects_tagging_oss/public/plugin.test.ts b/src/platform/plugins/shared/saved_objects_tagging_oss/public/plugin.test.ts similarity index 100% rename from src/plugins/saved_objects_tagging_oss/public/plugin.test.ts rename to src/platform/plugins/shared/saved_objects_tagging_oss/public/plugin.test.ts diff --git a/src/plugins/saved_objects_tagging_oss/public/plugin.ts b/src/platform/plugins/shared/saved_objects_tagging_oss/public/plugin.ts similarity index 100% rename from src/plugins/saved_objects_tagging_oss/public/plugin.ts rename to src/platform/plugins/shared/saved_objects_tagging_oss/public/plugin.ts diff --git a/src/plugins/saved_objects_tagging_oss/public/types.ts b/src/platform/plugins/shared/saved_objects_tagging_oss/public/types.ts similarity index 100% rename from src/plugins/saved_objects_tagging_oss/public/types.ts rename to src/platform/plugins/shared/saved_objects_tagging_oss/public/types.ts diff --git a/src/plugins/saved_objects_tagging_oss/tsconfig.json b/src/platform/plugins/shared/saved_objects_tagging_oss/tsconfig.json similarity index 80% rename from src/plugins/saved_objects_tagging_oss/tsconfig.json rename to src/platform/plugins/shared/saved_objects_tagging_oss/tsconfig.json index fa0436bab9161..6014fefd3e670 100644 --- a/src/plugins/saved_objects_tagging_oss/tsconfig.json +++ b/src/platform/plugins/shared/saved_objects_tagging_oss/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/screenshot_mode/README.md b/src/platform/plugins/shared/screenshot_mode/README.md similarity index 100% rename from src/plugins/screenshot_mode/README.md rename to src/platform/plugins/shared/screenshot_mode/README.md diff --git a/src/plugins/screenshot_mode/common/constants.ts b/src/platform/plugins/shared/screenshot_mode/common/constants.ts similarity index 100% rename from src/plugins/screenshot_mode/common/constants.ts rename to src/platform/plugins/shared/screenshot_mode/common/constants.ts diff --git a/src/plugins/screenshot_mode/common/context.test.ts b/src/platform/plugins/shared/screenshot_mode/common/context.test.ts similarity index 100% rename from src/plugins/screenshot_mode/common/context.test.ts rename to src/platform/plugins/shared/screenshot_mode/common/context.test.ts diff --git a/src/plugins/screenshot_mode/common/context.ts b/src/platform/plugins/shared/screenshot_mode/common/context.ts similarity index 100% rename from src/plugins/screenshot_mode/common/context.ts rename to src/platform/plugins/shared/screenshot_mode/common/context.ts diff --git a/src/plugins/screenshot_mode/common/index.ts b/src/platform/plugins/shared/screenshot_mode/common/index.ts similarity index 100% rename from src/plugins/screenshot_mode/common/index.ts rename to src/platform/plugins/shared/screenshot_mode/common/index.ts diff --git a/src/plugins/screenshot_mode/common/mode.ts b/src/platform/plugins/shared/screenshot_mode/common/mode.ts similarity index 100% rename from src/plugins/screenshot_mode/common/mode.ts rename to src/platform/plugins/shared/screenshot_mode/common/mode.ts diff --git a/src/platform/plugins/shared/screenshot_mode/jest.config.js b/src/platform/plugins/shared/screenshot_mode/jest.config.js new file mode 100644 index 0000000000000..ce3f8efb23429 --- /dev/null +++ b/src/platform/plugins/shared/screenshot_mode/jest.config.js @@ -0,0 +1,20 @@ +/* + * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/screenshot_mode'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/screenshot_mode', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/screenshot_mode/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/screenshot_mode/kibana.jsonc b/src/platform/plugins/shared/screenshot_mode/kibana.jsonc similarity index 100% rename from src/plugins/screenshot_mode/kibana.jsonc rename to src/platform/plugins/shared/screenshot_mode/kibana.jsonc diff --git a/src/plugins/screenshot_mode/public/index.ts b/src/platform/plugins/shared/screenshot_mode/public/index.ts similarity index 100% rename from src/plugins/screenshot_mode/public/index.ts rename to src/platform/plugins/shared/screenshot_mode/public/index.ts diff --git a/src/plugins/screenshot_mode/public/mocks.ts b/src/platform/plugins/shared/screenshot_mode/public/mocks.ts similarity index 100% rename from src/plugins/screenshot_mode/public/mocks.ts rename to src/platform/plugins/shared/screenshot_mode/public/mocks.ts diff --git a/src/plugins/screenshot_mode/public/plugin.test.ts b/src/platform/plugins/shared/screenshot_mode/public/plugin.test.ts similarity index 100% rename from src/plugins/screenshot_mode/public/plugin.test.ts rename to src/platform/plugins/shared/screenshot_mode/public/plugin.test.ts diff --git a/src/plugins/screenshot_mode/public/plugin.ts b/src/platform/plugins/shared/screenshot_mode/public/plugin.ts similarity index 100% rename from src/plugins/screenshot_mode/public/plugin.ts rename to src/platform/plugins/shared/screenshot_mode/public/plugin.ts diff --git a/src/plugins/screenshot_mode/public/types.ts b/src/platform/plugins/shared/screenshot_mode/public/types.ts similarity index 100% rename from src/plugins/screenshot_mode/public/types.ts rename to src/platform/plugins/shared/screenshot_mode/public/types.ts diff --git a/src/plugins/screenshot_mode/server/index.ts b/src/platform/plugins/shared/screenshot_mode/server/index.ts similarity index 100% rename from src/plugins/screenshot_mode/server/index.ts rename to src/platform/plugins/shared/screenshot_mode/server/index.ts diff --git a/src/plugins/screenshot_mode/server/is_screenshot_mode.test.ts b/src/platform/plugins/shared/screenshot_mode/server/is_screenshot_mode.test.ts similarity index 100% rename from src/plugins/screenshot_mode/server/is_screenshot_mode.test.ts rename to src/platform/plugins/shared/screenshot_mode/server/is_screenshot_mode.test.ts diff --git a/src/plugins/screenshot_mode/server/is_screenshot_mode.ts b/src/platform/plugins/shared/screenshot_mode/server/is_screenshot_mode.ts similarity index 100% rename from src/plugins/screenshot_mode/server/is_screenshot_mode.ts rename to src/platform/plugins/shared/screenshot_mode/server/is_screenshot_mode.ts diff --git a/src/plugins/screenshot_mode/server/plugin.ts b/src/platform/plugins/shared/screenshot_mode/server/plugin.ts similarity index 100% rename from src/plugins/screenshot_mode/server/plugin.ts rename to src/platform/plugins/shared/screenshot_mode/server/plugin.ts diff --git a/src/plugins/screenshot_mode/server/types.ts b/src/platform/plugins/shared/screenshot_mode/server/types.ts similarity index 100% rename from src/plugins/screenshot_mode/server/types.ts rename to src/platform/plugins/shared/screenshot_mode/server/types.ts diff --git a/src/plugins/screenshot_mode/tsconfig.json b/src/platform/plugins/shared/screenshot_mode/tsconfig.json similarity index 83% rename from src/plugins/screenshot_mode/tsconfig.json rename to src/platform/plugins/shared/screenshot_mode/tsconfig.json index 24dfeef9ca2e5..b6e46ba16b485 100644 --- a/src/plugins/screenshot_mode/tsconfig.json +++ b/src/platform/plugins/shared/screenshot_mode/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/share/README.mdx b/src/platform/plugins/shared/share/README.mdx similarity index 100% rename from src/plugins/share/README.mdx rename to src/platform/plugins/shared/share/README.mdx diff --git a/src/plugins/share/common/anonymous_access/index.mock.ts b/src/platform/plugins/shared/share/common/anonymous_access/index.mock.ts similarity index 100% rename from src/plugins/share/common/anonymous_access/index.mock.ts rename to src/platform/plugins/shared/share/common/anonymous_access/index.mock.ts diff --git a/src/plugins/share/common/anonymous_access/index.ts b/src/platform/plugins/shared/share/common/anonymous_access/index.ts similarity index 100% rename from src/plugins/share/common/anonymous_access/index.ts rename to src/platform/plugins/shared/share/common/anonymous_access/index.ts diff --git a/src/plugins/share/common/anonymous_access/types.ts b/src/platform/plugins/shared/share/common/anonymous_access/types.ts similarity index 100% rename from src/plugins/share/common/anonymous_access/types.ts rename to src/platform/plugins/shared/share/common/anonymous_access/types.ts diff --git a/src/plugins/share/common/constants.ts b/src/platform/plugins/shared/share/common/constants.ts similarity index 100% rename from src/plugins/share/common/constants.ts rename to src/platform/plugins/shared/share/common/constants.ts diff --git a/src/plugins/share/common/index.ts b/src/platform/plugins/shared/share/common/index.ts similarity index 100% rename from src/plugins/share/common/index.ts rename to src/platform/plugins/shared/share/common/index.ts diff --git a/src/plugins/share/common/mocks.ts b/src/platform/plugins/shared/share/common/mocks.ts similarity index 100% rename from src/plugins/share/common/mocks.ts rename to src/platform/plugins/shared/share/common/mocks.ts diff --git a/src/plugins/share/common/short_url_routes.ts b/src/platform/plugins/shared/share/common/short_url_routes.ts similarity index 100% rename from src/plugins/share/common/short_url_routes.ts rename to src/platform/plugins/shared/share/common/short_url_routes.ts diff --git a/src/plugins/share/common/url_service/__tests__/locators.test.ts b/src/platform/plugins/shared/share/common/url_service/__tests__/locators.test.ts similarity index 100% rename from src/plugins/share/common/url_service/__tests__/locators.test.ts rename to src/platform/plugins/shared/share/common/url_service/__tests__/locators.test.ts diff --git a/src/plugins/share/common/url_service/__tests__/setup.ts b/src/platform/plugins/shared/share/common/url_service/__tests__/setup.ts similarity index 100% rename from src/plugins/share/common/url_service/__tests__/setup.ts rename to src/platform/plugins/shared/share/common/url_service/__tests__/setup.ts diff --git a/src/plugins/share/common/url_service/index.ts b/src/platform/plugins/shared/share/common/url_service/index.ts similarity index 100% rename from src/plugins/share/common/url_service/index.ts rename to src/platform/plugins/shared/share/common/url_service/index.ts diff --git a/src/plugins/share/common/url_service/locators/README.md b/src/platform/plugins/shared/share/common/url_service/locators/README.md similarity index 100% rename from src/plugins/share/common/url_service/locators/README.md rename to src/platform/plugins/shared/share/common/url_service/locators/README.md diff --git a/src/plugins/share/common/url_service/locators/index.ts b/src/platform/plugins/shared/share/common/url_service/locators/index.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/index.ts rename to src/platform/plugins/shared/share/common/url_service/locators/index.ts diff --git a/src/plugins/share/common/url_service/locators/legacy_short_url_locator.ts b/src/platform/plugins/shared/share/common/url_service/locators/legacy_short_url_locator.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/legacy_short_url_locator.ts rename to src/platform/plugins/shared/share/common/url_service/locators/legacy_short_url_locator.ts diff --git a/src/plugins/share/common/url_service/locators/locator.test.ts b/src/platform/plugins/shared/share/common/url_service/locators/locator.test.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/locator.test.ts rename to src/platform/plugins/shared/share/common/url_service/locators/locator.test.ts diff --git a/src/plugins/share/common/url_service/locators/locator.ts b/src/platform/plugins/shared/share/common/url_service/locators/locator.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/locator.ts rename to src/platform/plugins/shared/share/common/url_service/locators/locator.ts diff --git a/src/plugins/share/common/url_service/locators/locator_client.ts b/src/platform/plugins/shared/share/common/url_service/locators/locator_client.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/locator_client.ts rename to src/platform/plugins/shared/share/common/url_service/locators/locator_client.ts diff --git a/src/plugins/share/common/url_service/locators/redirect/format_search_params.test.ts b/src/platform/plugins/shared/share/common/url_service/locators/redirect/format_search_params.test.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/redirect/format_search_params.test.ts rename to src/platform/plugins/shared/share/common/url_service/locators/redirect/format_search_params.test.ts diff --git a/src/plugins/share/common/url_service/locators/redirect/format_search_params.ts b/src/platform/plugins/shared/share/common/url_service/locators/redirect/format_search_params.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/redirect/format_search_params.ts rename to src/platform/plugins/shared/share/common/url_service/locators/redirect/format_search_params.ts diff --git a/src/plugins/share/common/url_service/locators/redirect/index.ts b/src/platform/plugins/shared/share/common/url_service/locators/redirect/index.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/redirect/index.ts rename to src/platform/plugins/shared/share/common/url_service/locators/redirect/index.ts diff --git a/src/plugins/share/common/url_service/locators/redirect/parse_search_params.test.ts b/src/platform/plugins/shared/share/common/url_service/locators/redirect/parse_search_params.test.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/redirect/parse_search_params.test.ts rename to src/platform/plugins/shared/share/common/url_service/locators/redirect/parse_search_params.test.ts diff --git a/src/plugins/share/common/url_service/locators/redirect/parse_search_params.ts b/src/platform/plugins/shared/share/common/url_service/locators/redirect/parse_search_params.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/redirect/parse_search_params.ts rename to src/platform/plugins/shared/share/common/url_service/locators/redirect/parse_search_params.ts diff --git a/src/plugins/share/common/url_service/locators/redirect/space_url_parser.test.ts b/src/platform/plugins/shared/share/common/url_service/locators/redirect/space_url_parser.test.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/redirect/space_url_parser.test.ts rename to src/platform/plugins/shared/share/common/url_service/locators/redirect/space_url_parser.test.ts diff --git a/src/plugins/share/common/url_service/locators/redirect/space_url_parser.ts b/src/platform/plugins/shared/share/common/url_service/locators/redirect/space_url_parser.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/redirect/space_url_parser.ts rename to src/platform/plugins/shared/share/common/url_service/locators/redirect/space_url_parser.ts diff --git a/src/plugins/share/common/url_service/locators/redirect/types.ts b/src/platform/plugins/shared/share/common/url_service/locators/redirect/types.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/redirect/types.ts rename to src/platform/plugins/shared/share/common/url_service/locators/redirect/types.ts diff --git a/src/plugins/share/common/url_service/locators/short_url_assert_valid.test.ts b/src/platform/plugins/shared/share/common/url_service/locators/short_url_assert_valid.test.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/short_url_assert_valid.test.ts rename to src/platform/plugins/shared/share/common/url_service/locators/short_url_assert_valid.test.ts diff --git a/src/plugins/share/common/url_service/locators/short_url_assert_valid.ts b/src/platform/plugins/shared/share/common/url_service/locators/short_url_assert_valid.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/short_url_assert_valid.ts rename to src/platform/plugins/shared/share/common/url_service/locators/short_url_assert_valid.ts diff --git a/src/plugins/share/common/url_service/locators/short_url_redirect_locator.ts b/src/platform/plugins/shared/share/common/url_service/locators/short_url_redirect_locator.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/short_url_redirect_locator.ts rename to src/platform/plugins/shared/share/common/url_service/locators/short_url_redirect_locator.ts diff --git a/src/plugins/share/common/url_service/locators/types.ts b/src/platform/plugins/shared/share/common/url_service/locators/types.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/types.ts rename to src/platform/plugins/shared/share/common/url_service/locators/types.ts diff --git a/src/plugins/share/common/url_service/locators/use_locator_url.ts b/src/platform/plugins/shared/share/common/url_service/locators/use_locator_url.ts similarity index 100% rename from src/plugins/share/common/url_service/locators/use_locator_url.ts rename to src/platform/plugins/shared/share/common/url_service/locators/use_locator_url.ts diff --git a/src/plugins/share/common/url_service/mocks.ts b/src/platform/plugins/shared/share/common/url_service/mocks.ts similarity index 100% rename from src/plugins/share/common/url_service/mocks.ts rename to src/platform/plugins/shared/share/common/url_service/mocks.ts diff --git a/src/plugins/share/common/url_service/short_urls/index.ts b/src/platform/plugins/shared/share/common/url_service/short_urls/index.ts similarity index 100% rename from src/plugins/share/common/url_service/short_urls/index.ts rename to src/platform/plugins/shared/share/common/url_service/short_urls/index.ts diff --git a/src/plugins/share/common/url_service/short_urls/types.ts b/src/platform/plugins/shared/share/common/url_service/short_urls/types.ts similarity index 100% rename from src/plugins/share/common/url_service/short_urls/types.ts rename to src/platform/plugins/shared/share/common/url_service/short_urls/types.ts diff --git a/src/plugins/share/common/url_service/url_service.ts b/src/platform/plugins/shared/share/common/url_service/url_service.ts similarity index 100% rename from src/plugins/share/common/url_service/url_service.ts rename to src/platform/plugins/shared/share/common/url_service/url_service.ts diff --git a/src/plugins/guided_onboarding/jest.config.js b/src/platform/plugins/shared/share/jest.config.js similarity index 75% rename from src/plugins/guided_onboarding/jest.config.js rename to src/platform/plugins/shared/share/jest.config.js index f1bebac931ece..5d13a6d1bba63 100644 --- a/src/plugins/guided_onboarding/jest.config.js +++ b/src/platform/plugins/shared/share/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/guided_onboarding'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/guided_onboarding', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/share'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/share', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/guided_onboarding/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/share/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/share/kibana.jsonc b/src/platform/plugins/shared/share/kibana.jsonc similarity index 100% rename from src/plugins/share/kibana.jsonc rename to src/platform/plugins/shared/share/kibana.jsonc diff --git a/src/plugins/share/public/components/__snapshots__/share_context_menu.test.tsx.snap b/src/platform/plugins/shared/share/public/components/__snapshots__/share_context_menu.test.tsx.snap similarity index 100% rename from src/plugins/share/public/components/__snapshots__/share_context_menu.test.tsx.snap rename to src/platform/plugins/shared/share/public/components/__snapshots__/share_context_menu.test.tsx.snap diff --git a/src/plugins/share/public/components/_index.scss b/src/platform/plugins/shared/share/public/components/_index.scss similarity index 100% rename from src/plugins/share/public/components/_index.scss rename to src/platform/plugins/shared/share/public/components/_index.scss diff --git a/src/plugins/share/public/components/_share_context_menu.scss b/src/platform/plugins/shared/share/public/components/_share_context_menu.scss similarity index 100% rename from src/plugins/share/public/components/_share_context_menu.scss rename to src/platform/plugins/shared/share/public/components/_share_context_menu.scss diff --git a/src/plugins/share/public/components/context/index.test.tsx b/src/platform/plugins/shared/share/public/components/context/index.test.tsx similarity index 100% rename from src/plugins/share/public/components/context/index.test.tsx rename to src/platform/plugins/shared/share/public/components/context/index.test.tsx diff --git a/src/plugins/share/public/components/context/index.tsx b/src/platform/plugins/shared/share/public/components/context/index.tsx similarity index 100% rename from src/plugins/share/public/components/context/index.tsx rename to src/platform/plugins/shared/share/public/components/context/index.tsx diff --git a/src/plugins/share/public/components/share_context_menu.test.tsx b/src/platform/plugins/shared/share/public/components/share_context_menu.test.tsx similarity index 100% rename from src/plugins/share/public/components/share_context_menu.test.tsx rename to src/platform/plugins/shared/share/public/components/share_context_menu.test.tsx diff --git a/src/plugins/share/public/components/share_context_menu.tsx b/src/platform/plugins/shared/share/public/components/share_context_menu.tsx similarity index 100% rename from src/plugins/share/public/components/share_context_menu.tsx rename to src/platform/plugins/shared/share/public/components/share_context_menu.tsx diff --git a/src/plugins/share/public/components/share_tabs.test.tsx b/src/platform/plugins/shared/share/public/components/share_tabs.test.tsx similarity index 100% rename from src/plugins/share/public/components/share_tabs.test.tsx rename to src/platform/plugins/shared/share/public/components/share_tabs.test.tsx diff --git a/src/plugins/share/public/components/share_tabs.tsx b/src/platform/plugins/shared/share/public/components/share_tabs.tsx similarity index 100% rename from src/plugins/share/public/components/share_tabs.tsx rename to src/platform/plugins/shared/share/public/components/share_tabs.tsx diff --git a/src/plugins/share/public/components/tabs/embed/embed_content.test.tsx b/src/platform/plugins/shared/share/public/components/tabs/embed/embed_content.test.tsx similarity index 100% rename from src/plugins/share/public/components/tabs/embed/embed_content.test.tsx rename to src/platform/plugins/shared/share/public/components/tabs/embed/embed_content.test.tsx diff --git a/src/plugins/share/public/components/tabs/embed/embed_content.tsx b/src/platform/plugins/shared/share/public/components/tabs/embed/embed_content.tsx similarity index 100% rename from src/plugins/share/public/components/tabs/embed/embed_content.tsx rename to src/platform/plugins/shared/share/public/components/tabs/embed/embed_content.tsx diff --git a/src/plugins/share/public/components/tabs/embed/index.tsx b/src/platform/plugins/shared/share/public/components/tabs/embed/index.tsx similarity index 100% rename from src/plugins/share/public/components/tabs/embed/index.tsx rename to src/platform/plugins/shared/share/public/components/tabs/embed/index.tsx diff --git a/src/plugins/share/public/components/tabs/export/export_content.tsx b/src/platform/plugins/shared/share/public/components/tabs/export/export_content.tsx similarity index 100% rename from src/plugins/share/public/components/tabs/export/export_content.tsx rename to src/platform/plugins/shared/share/public/components/tabs/export/export_content.tsx diff --git a/src/plugins/share/public/components/tabs/export/index.tsx b/src/platform/plugins/shared/share/public/components/tabs/export/index.tsx similarity index 100% rename from src/plugins/share/public/components/tabs/export/index.tsx rename to src/platform/plugins/shared/share/public/components/tabs/export/index.tsx diff --git a/src/plugins/share/public/components/tabs/index.ts b/src/platform/plugins/shared/share/public/components/tabs/index.ts similarity index 100% rename from src/plugins/share/public/components/tabs/index.ts rename to src/platform/plugins/shared/share/public/components/tabs/index.ts diff --git a/src/plugins/share/public/components/tabs/link/index.tsx b/src/platform/plugins/shared/share/public/components/tabs/link/index.tsx similarity index 100% rename from src/plugins/share/public/components/tabs/link/index.tsx rename to src/platform/plugins/shared/share/public/components/tabs/link/index.tsx diff --git a/src/plugins/share/public/components/tabs/link/link_content.test.tsx b/src/platform/plugins/shared/share/public/components/tabs/link/link_content.test.tsx similarity index 100% rename from src/plugins/share/public/components/tabs/link/link_content.test.tsx rename to src/platform/plugins/shared/share/public/components/tabs/link/link_content.test.tsx diff --git a/src/plugins/share/public/components/tabs/link/link_content.tsx b/src/platform/plugins/shared/share/public/components/tabs/link/link_content.tsx similarity index 100% rename from src/plugins/share/public/components/tabs/link/link_content.tsx rename to src/platform/plugins/shared/share/public/components/tabs/link/link_content.tsx diff --git a/src/plugins/share/public/components/url_panel_content.tsx b/src/platform/plugins/shared/share/public/components/url_panel_content.tsx similarity index 100% rename from src/plugins/share/public/components/url_panel_content.tsx rename to src/platform/plugins/shared/share/public/components/url_panel_content.tsx diff --git a/src/plugins/share/public/index.scss b/src/platform/plugins/shared/share/public/index.scss similarity index 100% rename from src/plugins/share/public/index.scss rename to src/platform/plugins/shared/share/public/index.scss diff --git a/src/plugins/share/public/index.ts b/src/platform/plugins/shared/share/public/index.ts similarity index 100% rename from src/plugins/share/public/index.ts rename to src/platform/plugins/shared/share/public/index.ts diff --git a/src/plugins/share/public/kibana_url.ts b/src/platform/plugins/shared/share/public/kibana_url.ts similarity index 100% rename from src/plugins/share/public/kibana_url.ts rename to src/platform/plugins/shared/share/public/kibana_url.ts diff --git a/src/plugins/share/public/lib/download_as.ts b/src/platform/plugins/shared/share/public/lib/download_as.ts similarity index 100% rename from src/plugins/share/public/lib/download_as.ts rename to src/platform/plugins/shared/share/public/lib/download_as.ts diff --git a/src/plugins/share/public/lib/get_home_href.ts b/src/platform/plugins/shared/share/public/lib/get_home_href.ts similarity index 100% rename from src/plugins/share/public/lib/get_home_href.ts rename to src/platform/plugins/shared/share/public/lib/get_home_href.ts diff --git a/src/plugins/share/public/lib/registrations.ts b/src/platform/plugins/shared/share/public/lib/registrations.ts similarity index 100% rename from src/plugins/share/public/lib/registrations.ts rename to src/platform/plugins/shared/share/public/lib/registrations.ts diff --git a/src/plugins/share/public/mocks.ts b/src/platform/plugins/shared/share/public/mocks.ts similarity index 100% rename from src/plugins/share/public/mocks.ts rename to src/platform/plugins/shared/share/public/mocks.ts diff --git a/src/plugins/share/public/plugin.test.mocks.ts b/src/platform/plugins/shared/share/public/plugin.test.mocks.ts similarity index 100% rename from src/plugins/share/public/plugin.test.mocks.ts rename to src/platform/plugins/shared/share/public/plugin.test.mocks.ts diff --git a/src/plugins/share/public/plugin.test.ts b/src/platform/plugins/shared/share/public/plugin.test.ts similarity index 100% rename from src/plugins/share/public/plugin.test.ts rename to src/platform/plugins/shared/share/public/plugin.test.ts diff --git a/src/plugins/share/public/plugin.ts b/src/platform/plugins/shared/share/public/plugin.ts similarity index 100% rename from src/plugins/share/public/plugin.ts rename to src/platform/plugins/shared/share/public/plugin.ts diff --git a/src/plugins/share/public/services/index.ts b/src/platform/plugins/shared/share/public/services/index.ts similarity index 100% rename from src/plugins/share/public/services/index.ts rename to src/platform/plugins/shared/share/public/services/index.ts diff --git a/src/plugins/share/public/services/share_menu_manager.mock.ts b/src/platform/plugins/shared/share/public/services/share_menu_manager.mock.ts similarity index 100% rename from src/plugins/share/public/services/share_menu_manager.mock.ts rename to src/platform/plugins/shared/share/public/services/share_menu_manager.mock.ts diff --git a/src/plugins/share/public/services/share_menu_manager.tsx b/src/platform/plugins/shared/share/public/services/share_menu_manager.tsx similarity index 100% rename from src/plugins/share/public/services/share_menu_manager.tsx rename to src/platform/plugins/shared/share/public/services/share_menu_manager.tsx diff --git a/src/plugins/share/public/services/share_menu_registry.mock.ts b/src/platform/plugins/shared/share/public/services/share_menu_registry.mock.ts similarity index 100% rename from src/plugins/share/public/services/share_menu_registry.mock.ts rename to src/platform/plugins/shared/share/public/services/share_menu_registry.mock.ts diff --git a/src/plugins/share/public/services/share_menu_registry.test.ts b/src/platform/plugins/shared/share/public/services/share_menu_registry.test.ts similarity index 100% rename from src/plugins/share/public/services/share_menu_registry.test.ts rename to src/platform/plugins/shared/share/public/services/share_menu_registry.test.ts diff --git a/src/plugins/share/public/services/share_menu_registry.ts b/src/platform/plugins/shared/share/public/services/share_menu_registry.ts similarity index 100% rename from src/plugins/share/public/services/share_menu_registry.ts rename to src/platform/plugins/shared/share/public/services/share_menu_registry.ts diff --git a/src/plugins/share/public/types.ts b/src/platform/plugins/shared/share/public/types.ts similarity index 100% rename from src/plugins/share/public/types.ts rename to src/platform/plugins/shared/share/public/types.ts diff --git a/src/plugins/share/public/url_service/index.ts b/src/platform/plugins/shared/share/public/url_service/index.ts similarity index 100% rename from src/plugins/share/public/url_service/index.ts rename to src/platform/plugins/shared/share/public/url_service/index.ts diff --git a/src/plugins/share/public/url_service/redirect/README.md b/src/platform/plugins/shared/share/public/url_service/redirect/README.md similarity index 100% rename from src/plugins/share/public/url_service/redirect/README.md rename to src/platform/plugins/shared/share/public/url_service/redirect/README.md diff --git a/src/plugins/share/public/url_service/redirect/components/empty_prompt.tsx b/src/platform/plugins/shared/share/public/url_service/redirect/components/empty_prompt.tsx similarity index 100% rename from src/plugins/share/public/url_service/redirect/components/empty_prompt.tsx rename to src/platform/plugins/shared/share/public/url_service/redirect/components/empty_prompt.tsx diff --git a/src/plugins/share/public/url_service/redirect/components/page.tsx b/src/platform/plugins/shared/share/public/url_service/redirect/components/page.tsx similarity index 100% rename from src/plugins/share/public/url_service/redirect/components/page.tsx rename to src/platform/plugins/shared/share/public/url_service/redirect/components/page.tsx diff --git a/src/plugins/share/public/url_service/redirect/components/spinner.tsx b/src/platform/plugins/shared/share/public/url_service/redirect/components/spinner.tsx similarity index 100% rename from src/plugins/share/public/url_service/redirect/components/spinner.tsx rename to src/platform/plugins/shared/share/public/url_service/redirect/components/spinner.tsx diff --git a/src/plugins/share/public/url_service/redirect/index.ts b/src/platform/plugins/shared/share/public/url_service/redirect/index.ts similarity index 100% rename from src/plugins/share/public/url_service/redirect/index.ts rename to src/platform/plugins/shared/share/public/url_service/redirect/index.ts diff --git a/src/plugins/share/public/url_service/redirect/redirect_manager.test.ts b/src/platform/plugins/shared/share/public/url_service/redirect/redirect_manager.test.ts similarity index 100% rename from src/plugins/share/public/url_service/redirect/redirect_manager.test.ts rename to src/platform/plugins/shared/share/public/url_service/redirect/redirect_manager.test.ts diff --git a/src/plugins/share/public/url_service/redirect/redirect_manager.ts b/src/platform/plugins/shared/share/public/url_service/redirect/redirect_manager.ts similarity index 100% rename from src/plugins/share/public/url_service/redirect/redirect_manager.ts rename to src/platform/plugins/shared/share/public/url_service/redirect/redirect_manager.ts diff --git a/src/plugins/share/public/url_service/redirect/render.ts b/src/platform/plugins/shared/share/public/url_service/redirect/render.ts similarity index 100% rename from src/plugins/share/public/url_service/redirect/render.ts rename to src/platform/plugins/shared/share/public/url_service/redirect/render.ts diff --git a/src/plugins/share/public/url_service/short_urls/short_url_client.test.ts b/src/platform/plugins/shared/share/public/url_service/short_urls/short_url_client.test.ts similarity index 100% rename from src/plugins/share/public/url_service/short_urls/short_url_client.test.ts rename to src/platform/plugins/shared/share/public/url_service/short_urls/short_url_client.test.ts diff --git a/src/plugins/share/public/url_service/short_urls/short_url_client.ts b/src/platform/plugins/shared/share/public/url_service/short_urls/short_url_client.ts similarity index 100% rename from src/plugins/share/public/url_service/short_urls/short_url_client.ts rename to src/platform/plugins/shared/share/public/url_service/short_urls/short_url_client.ts diff --git a/src/plugins/share/public/url_service/short_urls/short_url_client_factory.ts b/src/platform/plugins/shared/share/public/url_service/short_urls/short_url_client_factory.ts similarity index 100% rename from src/plugins/share/public/url_service/short_urls/short_url_client_factory.ts rename to src/platform/plugins/shared/share/public/url_service/short_urls/short_url_client_factory.ts diff --git a/src/plugins/share/server/config.ts b/src/platform/plugins/shared/share/server/config.ts similarity index 100% rename from src/plugins/share/server/config.ts rename to src/platform/plugins/shared/share/server/config.ts diff --git a/src/plugins/share/server/index.ts b/src/platform/plugins/shared/share/server/index.ts similarity index 100% rename from src/plugins/share/server/index.ts rename to src/platform/plugins/shared/share/server/index.ts diff --git a/src/plugins/share/server/plugin.ts b/src/platform/plugins/shared/share/server/plugin.ts similarity index 100% rename from src/plugins/share/server/plugin.ts rename to src/platform/plugins/shared/share/server/plugin.ts diff --git a/src/plugins/share/server/url_service/error.ts b/src/platform/plugins/shared/share/server/url_service/error.ts similarity index 100% rename from src/plugins/share/server/url_service/error.ts rename to src/platform/plugins/shared/share/server/url_service/error.ts diff --git a/src/plugins/share/server/url_service/http/register_url_service_routes.ts b/src/platform/plugins/shared/share/server/url_service/http/register_url_service_routes.ts similarity index 100% rename from src/plugins/share/server/url_service/http/register_url_service_routes.ts rename to src/platform/plugins/shared/share/server/url_service/http/register_url_service_routes.ts diff --git a/src/plugins/share/server/url_service/http/short_urls/register_create_route.ts b/src/platform/plugins/shared/share/server/url_service/http/short_urls/register_create_route.ts similarity index 100% rename from src/plugins/share/server/url_service/http/short_urls/register_create_route.ts rename to src/platform/plugins/shared/share/server/url_service/http/short_urls/register_create_route.ts diff --git a/src/plugins/share/server/url_service/http/short_urls/register_delete_route.ts b/src/platform/plugins/shared/share/server/url_service/http/short_urls/register_delete_route.ts similarity index 100% rename from src/plugins/share/server/url_service/http/short_urls/register_delete_route.ts rename to src/platform/plugins/shared/share/server/url_service/http/short_urls/register_delete_route.ts diff --git a/src/plugins/share/server/url_service/http/short_urls/register_get_route.ts b/src/platform/plugins/shared/share/server/url_service/http/short_urls/register_get_route.ts similarity index 100% rename from src/plugins/share/server/url_service/http/short_urls/register_get_route.ts rename to src/platform/plugins/shared/share/server/url_service/http/short_urls/register_get_route.ts diff --git a/src/plugins/share/server/url_service/http/short_urls/register_goto_route.ts b/src/platform/plugins/shared/share/server/url_service/http/short_urls/register_goto_route.ts similarity index 100% rename from src/plugins/share/server/url_service/http/short_urls/register_goto_route.ts rename to src/platform/plugins/shared/share/server/url_service/http/short_urls/register_goto_route.ts diff --git a/src/plugins/share/server/url_service/http/short_urls/register_resolve_route.ts b/src/platform/plugins/shared/share/server/url_service/http/short_urls/register_resolve_route.ts similarity index 100% rename from src/plugins/share/server/url_service/http/short_urls/register_resolve_route.ts rename to src/platform/plugins/shared/share/server/url_service/http/short_urls/register_resolve_route.ts diff --git a/src/plugins/share/server/url_service/index.ts b/src/platform/plugins/shared/share/server/url_service/index.ts similarity index 100% rename from src/plugins/share/server/url_service/index.ts rename to src/platform/plugins/shared/share/server/url_service/index.ts diff --git a/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.test.ts b/src/platform/plugins/shared/share/server/url_service/saved_objects/register_url_service_saved_object_type.test.ts similarity index 100% rename from src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.test.ts rename to src/platform/plugins/shared/share/server/url_service/saved_objects/register_url_service_saved_object_type.test.ts diff --git a/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts b/src/platform/plugins/shared/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts similarity index 100% rename from src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts rename to src/platform/plugins/shared/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts diff --git a/src/plugins/share/server/url_service/short_urls/index.ts b/src/platform/plugins/shared/share/server/url_service/short_urls/index.ts similarity index 100% rename from src/plugins/share/server/url_service/short_urls/index.ts rename to src/platform/plugins/shared/share/server/url_service/short_urls/index.ts diff --git a/src/plugins/share/server/url_service/short_urls/short_url_client.test.ts b/src/platform/plugins/shared/share/server/url_service/short_urls/short_url_client.test.ts similarity index 100% rename from src/plugins/share/server/url_service/short_urls/short_url_client.test.ts rename to src/platform/plugins/shared/share/server/url_service/short_urls/short_url_client.test.ts diff --git a/src/plugins/share/server/url_service/short_urls/short_url_client.ts b/src/platform/plugins/shared/share/server/url_service/short_urls/short_url_client.ts similarity index 100% rename from src/plugins/share/server/url_service/short_urls/short_url_client.ts rename to src/platform/plugins/shared/share/server/url_service/short_urls/short_url_client.ts diff --git a/src/plugins/share/server/url_service/short_urls/short_url_client_factory.ts b/src/platform/plugins/shared/share/server/url_service/short_urls/short_url_client_factory.ts similarity index 100% rename from src/plugins/share/server/url_service/short_urls/short_url_client_factory.ts rename to src/platform/plugins/shared/share/server/url_service/short_urls/short_url_client_factory.ts diff --git a/src/plugins/share/server/url_service/short_urls/storage/memory_short_url_storage.test.ts b/src/platform/plugins/shared/share/server/url_service/short_urls/storage/memory_short_url_storage.test.ts similarity index 100% rename from src/plugins/share/server/url_service/short_urls/storage/memory_short_url_storage.test.ts rename to src/platform/plugins/shared/share/server/url_service/short_urls/storage/memory_short_url_storage.test.ts diff --git a/src/plugins/share/server/url_service/short_urls/storage/memory_short_url_storage.ts b/src/platform/plugins/shared/share/server/url_service/short_urls/storage/memory_short_url_storage.ts similarity index 100% rename from src/plugins/share/server/url_service/short_urls/storage/memory_short_url_storage.ts rename to src/platform/plugins/shared/share/server/url_service/short_urls/storage/memory_short_url_storage.ts diff --git a/src/plugins/share/server/url_service/short_urls/storage/saved_object_short_url_storage.ts b/src/platform/plugins/shared/share/server/url_service/short_urls/storage/saved_object_short_url_storage.ts similarity index 100% rename from src/plugins/share/server/url_service/short_urls/storage/saved_object_short_url_storage.ts rename to src/platform/plugins/shared/share/server/url_service/short_urls/storage/saved_object_short_url_storage.ts diff --git a/src/plugins/share/server/url_service/short_urls/types.ts b/src/platform/plugins/shared/share/server/url_service/short_urls/types.ts similarity index 100% rename from src/plugins/share/server/url_service/short_urls/types.ts rename to src/platform/plugins/shared/share/server/url_service/short_urls/types.ts diff --git a/src/plugins/share/server/url_service/short_urls/util.test.ts b/src/platform/plugins/shared/share/server/url_service/short_urls/util.test.ts similarity index 100% rename from src/plugins/share/server/url_service/short_urls/util.test.ts rename to src/platform/plugins/shared/share/server/url_service/short_urls/util.test.ts diff --git a/src/plugins/share/server/url_service/short_urls/util.ts b/src/platform/plugins/shared/share/server/url_service/short_urls/util.ts similarity index 100% rename from src/plugins/share/server/url_service/short_urls/util.ts rename to src/platform/plugins/shared/share/server/url_service/short_urls/util.ts diff --git a/src/plugins/share/server/url_service/types.ts b/src/platform/plugins/shared/share/server/url_service/types.ts similarity index 100% rename from src/plugins/share/server/url_service/types.ts rename to src/platform/plugins/shared/share/server/url_service/types.ts diff --git a/src/plugins/share/tsconfig.json b/src/platform/plugins/shared/share/tsconfig.json similarity index 94% rename from src/plugins/share/tsconfig.json rename to src/platform/plugins/shared/share/tsconfig.json index acd84ebc97a83..409549640ef7c 100644 --- a/src/plugins/share/tsconfig.json +++ b/src/platform/plugins/shared/share/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/ui_actions/README.asciidoc b/src/platform/plugins/shared/ui_actions/README.asciidoc similarity index 100% rename from src/plugins/ui_actions/README.asciidoc rename to src/platform/plugins/shared/ui_actions/README.asciidoc diff --git a/src/plugins/home/jest.config.js b/src/platform/plugins/shared/ui_actions/jest.config.js similarity index 73% rename from src/plugins/home/jest.config.js rename to src/platform/plugins/shared/ui_actions/jest.config.js index 1265080f41cf7..accead5bed120 100644 --- a/src/plugins/home/jest.config.js +++ b/src/platform/plugins/shared/ui_actions/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/home'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/home', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/ui_actions'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/ui_actions', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/home/{common,public,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: ['/src/platform/plugins/shared/ui_actions/public/**/*.{ts,tsx}'], }; diff --git a/src/plugins/ui_actions/kibana.jsonc b/src/platform/plugins/shared/ui_actions/kibana.jsonc similarity index 100% rename from src/plugins/ui_actions/kibana.jsonc rename to src/platform/plugins/shared/ui_actions/kibana.jsonc diff --git a/src/plugins/ui_actions/public/actions/action.test.ts b/src/platform/plugins/shared/ui_actions/public/actions/action.test.ts similarity index 100% rename from src/plugins/ui_actions/public/actions/action.test.ts rename to src/platform/plugins/shared/ui_actions/public/actions/action.test.ts diff --git a/src/plugins/ui_actions/public/actions/action.ts b/src/platform/plugins/shared/ui_actions/public/actions/action.ts similarity index 100% rename from src/plugins/ui_actions/public/actions/action.ts rename to src/platform/plugins/shared/ui_actions/public/actions/action.ts diff --git a/src/plugins/ui_actions/public/actions/action_internal.test.ts b/src/platform/plugins/shared/ui_actions/public/actions/action_internal.test.ts similarity index 100% rename from src/plugins/ui_actions/public/actions/action_internal.test.ts rename to src/platform/plugins/shared/ui_actions/public/actions/action_internal.test.ts diff --git a/src/plugins/ui_actions/public/actions/action_internal.ts b/src/platform/plugins/shared/ui_actions/public/actions/action_internal.ts similarity index 100% rename from src/plugins/ui_actions/public/actions/action_internal.ts rename to src/platform/plugins/shared/ui_actions/public/actions/action_internal.ts diff --git a/src/plugins/ui_actions/public/actions/create_action.ts b/src/platform/plugins/shared/ui_actions/public/actions/create_action.ts similarity index 100% rename from src/plugins/ui_actions/public/actions/create_action.ts rename to src/platform/plugins/shared/ui_actions/public/actions/create_action.ts diff --git a/src/plugins/ui_actions/public/actions/incompatible_action_error.ts b/src/platform/plugins/shared/ui_actions/public/actions/incompatible_action_error.ts similarity index 100% rename from src/plugins/ui_actions/public/actions/incompatible_action_error.ts rename to src/platform/plugins/shared/ui_actions/public/actions/incompatible_action_error.ts diff --git a/src/plugins/ui_actions/public/actions/index.ts b/src/platform/plugins/shared/ui_actions/public/actions/index.ts similarity index 100% rename from src/plugins/ui_actions/public/actions/index.ts rename to src/platform/plugins/shared/ui_actions/public/actions/index.ts diff --git a/src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.test.ts b/src/platform/plugins/shared/ui_actions/public/context_menu/build_eui_context_menu_panels.test.ts similarity index 100% rename from src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.test.ts rename to src/platform/plugins/shared/ui_actions/public/context_menu/build_eui_context_menu_panels.test.ts diff --git a/src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.tsx b/src/platform/plugins/shared/ui_actions/public/context_menu/build_eui_context_menu_panels.tsx similarity index 100% rename from src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.tsx rename to src/platform/plugins/shared/ui_actions/public/context_menu/build_eui_context_menu_panels.tsx diff --git a/src/plugins/ui_actions/public/context_menu/index.ts b/src/platform/plugins/shared/ui_actions/public/context_menu/index.ts similarity index 100% rename from src/plugins/ui_actions/public/context_menu/index.ts rename to src/platform/plugins/shared/ui_actions/public/context_menu/index.ts diff --git a/src/plugins/ui_actions/public/context_menu/open_context_menu.test.ts b/src/platform/plugins/shared/ui_actions/public/context_menu/open_context_menu.test.ts similarity index 100% rename from src/plugins/ui_actions/public/context_menu/open_context_menu.test.ts rename to src/platform/plugins/shared/ui_actions/public/context_menu/open_context_menu.test.ts diff --git a/src/plugins/ui_actions/public/context_menu/open_context_menu.tsx b/src/platform/plugins/shared/ui_actions/public/context_menu/open_context_menu.tsx similarity index 100% rename from src/plugins/ui_actions/public/context_menu/open_context_menu.tsx rename to src/platform/plugins/shared/ui_actions/public/context_menu/open_context_menu.tsx diff --git a/src/plugins/ui_actions/public/index.ts b/src/platform/plugins/shared/ui_actions/public/index.ts similarity index 100% rename from src/plugins/ui_actions/public/index.ts rename to src/platform/plugins/shared/ui_actions/public/index.ts diff --git a/src/plugins/ui_actions/public/mocks.ts b/src/platform/plugins/shared/ui_actions/public/mocks.ts similarity index 100% rename from src/plugins/ui_actions/public/mocks.ts rename to src/platform/plugins/shared/ui_actions/public/mocks.ts diff --git a/src/plugins/ui_actions/public/plugin.ts b/src/platform/plugins/shared/ui_actions/public/plugin.ts similarity index 100% rename from src/plugins/ui_actions/public/plugin.ts rename to src/platform/plugins/shared/ui_actions/public/plugin.ts diff --git a/src/plugins/ui_actions/public/service/index.ts b/src/platform/plugins/shared/ui_actions/public/service/index.ts similarity index 100% rename from src/plugins/ui_actions/public/service/index.ts rename to src/platform/plugins/shared/ui_actions/public/service/index.ts diff --git a/src/plugins/ui_actions/public/service/ui_actions_execution_service.ts b/src/platform/plugins/shared/ui_actions/public/service/ui_actions_execution_service.ts similarity index 100% rename from src/plugins/ui_actions/public/service/ui_actions_execution_service.ts rename to src/platform/plugins/shared/ui_actions/public/service/ui_actions_execution_service.ts diff --git a/src/plugins/ui_actions/public/service/ui_actions_service.test.ts b/src/platform/plugins/shared/ui_actions/public/service/ui_actions_service.test.ts similarity index 100% rename from src/plugins/ui_actions/public/service/ui_actions_service.test.ts rename to src/platform/plugins/shared/ui_actions/public/service/ui_actions_service.test.ts diff --git a/src/plugins/ui_actions/public/service/ui_actions_service.ts b/src/platform/plugins/shared/ui_actions/public/service/ui_actions_service.ts similarity index 100% rename from src/plugins/ui_actions/public/service/ui_actions_service.ts rename to src/platform/plugins/shared/ui_actions/public/service/ui_actions_service.ts diff --git a/src/plugins/ui_actions/public/services.ts b/src/platform/plugins/shared/ui_actions/public/services.ts similarity index 100% rename from src/plugins/ui_actions/public/services.ts rename to src/platform/plugins/shared/ui_actions/public/services.ts diff --git a/src/plugins/ui_actions/public/tests/README.md b/src/platform/plugins/shared/ui_actions/public/tests/README.md similarity index 100% rename from src/plugins/ui_actions/public/tests/README.md rename to src/platform/plugins/shared/ui_actions/public/tests/README.md diff --git a/src/plugins/ui_actions/public/tests/execute_trigger_actions.test.ts b/src/platform/plugins/shared/ui_actions/public/tests/execute_trigger_actions.test.ts similarity index 100% rename from src/plugins/ui_actions/public/tests/execute_trigger_actions.test.ts rename to src/platform/plugins/shared/ui_actions/public/tests/execute_trigger_actions.test.ts diff --git a/src/plugins/ui_actions/public/tests/get_trigger_actions.test.ts b/src/platform/plugins/shared/ui_actions/public/tests/get_trigger_actions.test.ts similarity index 100% rename from src/plugins/ui_actions/public/tests/get_trigger_actions.test.ts rename to src/platform/plugins/shared/ui_actions/public/tests/get_trigger_actions.test.ts diff --git a/src/plugins/ui_actions/public/tests/get_trigger_compatible_actions.test.ts b/src/platform/plugins/shared/ui_actions/public/tests/get_trigger_compatible_actions.test.ts similarity index 100% rename from src/plugins/ui_actions/public/tests/get_trigger_compatible_actions.test.ts rename to src/platform/plugins/shared/ui_actions/public/tests/get_trigger_compatible_actions.test.ts diff --git a/src/plugins/ui_actions/public/tests/index.ts b/src/platform/plugins/shared/ui_actions/public/tests/index.ts similarity index 100% rename from src/plugins/ui_actions/public/tests/index.ts rename to src/platform/plugins/shared/ui_actions/public/tests/index.ts diff --git a/src/plugins/ui_actions/public/tests/test_samples/hello_world_action.tsx b/src/platform/plugins/shared/ui_actions/public/tests/test_samples/hello_world_action.tsx similarity index 100% rename from src/plugins/ui_actions/public/tests/test_samples/hello_world_action.tsx rename to src/platform/plugins/shared/ui_actions/public/tests/test_samples/hello_world_action.tsx diff --git a/src/plugins/ui_actions/public/tests/test_samples/index.ts b/src/platform/plugins/shared/ui_actions/public/tests/test_samples/index.ts similarity index 100% rename from src/plugins/ui_actions/public/tests/test_samples/index.ts rename to src/platform/plugins/shared/ui_actions/public/tests/test_samples/index.ts diff --git a/src/plugins/ui_actions/public/triggers/index.ts b/src/platform/plugins/shared/ui_actions/public/triggers/index.ts similarity index 100% rename from src/plugins/ui_actions/public/triggers/index.ts rename to src/platform/plugins/shared/ui_actions/public/triggers/index.ts diff --git a/src/plugins/ui_actions/public/triggers/trigger_contract.ts b/src/platform/plugins/shared/ui_actions/public/triggers/trigger_contract.ts similarity index 100% rename from src/plugins/ui_actions/public/triggers/trigger_contract.ts rename to src/platform/plugins/shared/ui_actions/public/triggers/trigger_contract.ts diff --git a/src/plugins/ui_actions/public/triggers/trigger_internal.ts b/src/platform/plugins/shared/ui_actions/public/triggers/trigger_internal.ts similarity index 100% rename from src/plugins/ui_actions/public/triggers/trigger_internal.ts rename to src/platform/plugins/shared/ui_actions/public/triggers/trigger_internal.ts diff --git a/src/plugins/ui_actions/public/types.ts b/src/platform/plugins/shared/ui_actions/public/types.ts similarity index 100% rename from src/plugins/ui_actions/public/types.ts rename to src/platform/plugins/shared/ui_actions/public/types.ts diff --git a/src/plugins/ui_actions/tsconfig.json b/src/platform/plugins/shared/ui_actions/tsconfig.json similarity index 89% rename from src/plugins/ui_actions/tsconfig.json rename to src/platform/plugins/shared/ui_actions/tsconfig.json index 4601d4b2732e1..0363fbbeb0d7b 100644 --- a/src/plugins/ui_actions/tsconfig.json +++ b/src/platform/plugins/shared/ui_actions/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/ui_actions_enhanced/.storybook/main.js b/src/platform/plugins/shared/ui_actions_enhanced/.storybook/main.js similarity index 100% rename from src/plugins/ui_actions_enhanced/.storybook/main.js rename to src/platform/plugins/shared/ui_actions_enhanced/.storybook/main.js diff --git a/src/plugins/ui_actions_enhanced/README.md b/src/platform/plugins/shared/ui_actions_enhanced/README.md similarity index 100% rename from src/plugins/ui_actions_enhanced/README.md rename to src/platform/plugins/shared/ui_actions_enhanced/README.md diff --git a/src/plugins/ui_actions_enhanced/common/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/common/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/common/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/common/index.ts diff --git a/src/plugins/ui_actions_enhanced/common/types.ts b/src/platform/plugins/shared/ui_actions_enhanced/common/types.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/common/types.ts rename to src/platform/plugins/shared/ui_actions_enhanced/common/types.ts diff --git a/src/platform/plugins/shared/ui_actions_enhanced/jest.config.js b/src/platform/plugins/shared/ui_actions_enhanced/jest.config.js new file mode 100644 index 0000000000000..d7ead1ade8afb --- /dev/null +++ b/src/platform/plugins/shared/ui_actions_enhanced/jest.config.js @@ -0,0 +1,20 @@ +/* + * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/ui_actions_enhanced'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/ui_actions_enhanced', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/ui_actions_enhanced/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/ui_actions_enhanced/kibana.jsonc b/src/platform/plugins/shared/ui_actions_enhanced/kibana.jsonc similarity index 100% rename from src/plugins/ui_actions_enhanced/kibana.jsonc rename to src/platform/plugins/shared/ui_actions_enhanced/kibana.jsonc diff --git a/src/plugins/ui_actions_enhanced/public/components/action_factory_picker/action_factory_picker.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/components/action_factory_picker/action_factory_picker.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/action_factory_picker/action_factory_picker.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/action_factory_picker/action_factory_picker.tsx diff --git a/src/plugins/ui_actions_enhanced/public/components/action_factory_picker/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/components/action_factory_picker/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/action_factory_picker/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/action_factory_picker/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.scss b/src/platform/plugins/shared/ui_actions_enhanced/public/components/action_wizard/action_wizard.scss similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.scss rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/action_wizard/action_wizard.scss diff --git a/src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.stories.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/components/action_wizard/action_wizard.stories.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.stories.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/action_wizard/action_wizard.stories.tsx diff --git a/src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.test.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/components/action_wizard/action_wizard.test.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.test.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/action_wizard/action_wizard.test.tsx diff --git a/src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/components/action_wizard/action_wizard.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/action_wizard/action_wizard.tsx diff --git a/src/plugins/ui_actions_enhanced/public/components/action_wizard/i18n.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/components/action_wizard/i18n.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/action_wizard/i18n.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/action_wizard/i18n.ts diff --git a/src/plugins/ui_actions_enhanced/public/components/action_wizard/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/components/action_wizard/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/action_wizard/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/action_wizard/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/components/action_wizard/test_data.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/components/action_wizard/test_data.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/action_wizard/test_data.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/action_wizard/test_data.tsx diff --git a/src/plugins/ui_actions_enhanced/public/components/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/components/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/components/presentable_picker/i18n.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/components/presentable_picker/i18n.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/presentable_picker/i18n.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/presentable_picker/i18n.ts diff --git a/src/plugins/ui_actions_enhanced/public/components/presentable_picker/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/components/presentable_picker/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/presentable_picker/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/presentable_picker/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.stories.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.stories.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.stories.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.stories.tsx diff --git a/src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.tsx diff --git a/src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker_item.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/components/presentable_picker/presentable_picker_item.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker_item.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/presentable_picker/presentable_picker_item.tsx diff --git a/src/plugins/ui_actions_enhanced/public/components/presentable_picker/styles.scss b/src/platform/plugins/shared/ui_actions_enhanced/public/components/presentable_picker/styles.scss similarity index 100% rename from src/plugins/ui_actions_enhanced/public/components/presentable_picker/styles.scss rename to src/platform/plugins/shared/ui_actions_enhanced/public/components/presentable_picker/styles.scss diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_definition.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_definition.ts similarity index 98% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_definition.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_definition.ts index d6bfde5aa9d13..6f08f207b176f 100644 --- a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_definition.ts +++ b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_definition.ts @@ -78,7 +78,7 @@ export interface DrilldownDefinition< * * ```tsx * import React from 'react'; - * import { CollectConfigProps } from 'src/plugins/kibana_utils/public'; + * import { CollectConfigProps } from 'src/platform/plugins/shared/kibana_utils/public'; * * type Props = CollectConfigProps; * diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/README.md b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/README.md similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/README.md rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/README.md diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/action_factory.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/action_factory.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/action_factory.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/action_factory.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/button_submit.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/button_submit.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/button_submit.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/button_submit.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.stories.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.stories.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.stories.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.stories.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/index.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/index.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/index.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/index.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.stories.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.stories.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.stories.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.stories.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/i18n.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/i18n.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/i18n.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/i18n.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/index.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/index.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/index.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/index.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.stories.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.stories.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.stories.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.stories.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.test.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.test.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.test.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.test.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/i18n.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/i18n.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/i18n.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/i18n.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/index.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/index.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/index.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/index.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/drilldown_template_table.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/drilldown_template_table.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/drilldown_template_table.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/drilldown_template_table.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/i18n.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/i18n.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/i18n.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/i18n.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/index.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/index.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/index.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/index.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.stories.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.stories.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.stories.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.stories.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.test.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.test.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.test.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.test.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/i18n.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/i18n.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/i18n.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/i18n.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/index.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/index.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/index.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/index.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/index.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/index.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/index.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/index.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/text_with_icon.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/text_with_icon.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/text_with_icon.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/text_with_icon.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/index.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/index.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/index.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/index.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/trigger_line_item.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/trigger_line_item.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/trigger_line_item.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/trigger_line_item.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.stories.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.stories.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.stories.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.stories.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker_item.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker_item.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker_item.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker_item.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/types.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/types.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/types.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/types.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/action_factory_picker.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/action_factory_picker.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/action_factory_picker.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/action_factory_picker.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/action_factory_view.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/action_factory_view.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/action_factory_view.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/action_factory_view.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/context.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/context.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/context.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/context.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/create_drilldown_form.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/create_drilldown_form.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/create_drilldown_form.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/create_drilldown_form.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/cloning_notification.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/cloning_notification.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/cloning_notification.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/cloning_notification.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/drilldown_list.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/drilldown_list.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/drilldown_list.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/drilldown_list.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/create_public_drilldown_manager.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/create_public_drilldown_manager.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/create_public_drilldown_manager.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/create_public_drilldown_manager.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_content.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_content.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_content.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_content.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_with_provider.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_with_provider.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_with_provider.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_with_provider.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/drilldown_manager_footer.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/drilldown_manager_footer.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/drilldown_manager_footer.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/drilldown_manager_footer.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/drilldown_manager_title.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/drilldown_manager_title.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/drilldown_manager_title.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/drilldown_manager_title.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/drilldown_state_form.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/drilldown_state_form.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/drilldown_state_form.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/drilldown_state_form.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/edit_drilldown_form.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/edit_drilldown_form.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/edit_drilldown_form.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/edit_drilldown_form.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/create_drilldown_form.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/create_drilldown_form.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/create_drilldown_form.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/create_drilldown_form.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/edit_drilldown_form.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/edit_drilldown_form.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/edit_drilldown_form.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/edit_drilldown_form.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/form_drilldown_wizard.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/form_drilldown_wizard.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/form_drilldown_wizard.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/form_drilldown_wizard.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/i18n.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/i18n.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/i18n.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/i18n.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/hello_bar.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/hello_bar.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/hello_bar.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/hello_bar.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/tabs.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/tabs.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/tabs.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/tabs.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/i18n.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/i18n.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/i18n.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/i18n.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_list.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_list.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_list.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_list.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_picker.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_picker.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_picker.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_picker.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/hooks/use_sync_observable.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/hooks/use_sync_observable.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/hooks/use_sync_observable.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/hooks/use_sync_observable.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.test.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.test.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.test.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.test.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_state.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_state.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_state.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_state.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/i18n.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/i18n.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/i18n.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/i18n.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/types.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/types.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/types.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/drilldown_manager/types.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/README.md b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/README.md similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/README.md rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/README.md diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/i18n.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/i18n.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/i18n.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/i18n.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.scss b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.scss similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.scss rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.scss diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/lazy.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/lazy.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/lazy.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/lazy.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.story.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.story.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.story.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.story.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_options.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_options.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_options.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_options.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/i18n.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/i18n.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/i18n.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/i18n.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/index.tsx b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/index.tsx similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/index.tsx rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/index.tsx diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/constants.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/constants.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/constants.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/constants.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/handlebars.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/handlebars.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/handlebars.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/handlebars.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_drilldown_global_scope.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/url_drilldown_global_scope.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_drilldown_global_scope.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/url_drilldown_global_scope.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.test.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.test.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.test.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.test.ts diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.ts diff --git a/src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.test.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/action_factory.test.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.test.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/action_factory.test.ts diff --git a/src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/action_factory.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/action_factory.ts diff --git a/src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory_definition.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/action_factory_definition.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory_definition.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/action_factory_definition.ts diff --git a/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_enhancement.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/dynamic_action_enhancement.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_enhancement.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/dynamic_action_enhancement.ts diff --git a/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_grouping.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/dynamic_action_grouping.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_grouping.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/dynamic_action_grouping.ts diff --git a/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.test.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.test.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.test.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.test.ts diff --git a/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts diff --git a/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager_state.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager_state.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager_state.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager_state.ts diff --git a/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts diff --git a/src/plugins/ui_actions_enhanced/public/dynamic_actions/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/dynamic_actions/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/dynamic_actions/types.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/types.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/dynamic_actions/types.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/dynamic_actions/types.ts diff --git a/src/plugins/ui_actions_enhanced/public/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/mocks.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/mocks.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/mocks.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/mocks.ts diff --git a/src/plugins/ui_actions_enhanced/public/plugin.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/plugin.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/plugin.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/plugin.ts diff --git a/src/plugins/ui_actions_enhanced/public/services/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/services/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/services/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/services/index.ts diff --git a/src/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.test.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/services/ui_actions_service_enhancements.test.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.test.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/services/ui_actions_service_enhancements.test.ts diff --git a/src/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts diff --git a/src/plugins/ui_actions_enhanced/public/types.ts b/src/platform/plugins/shared/ui_actions_enhanced/public/types.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/public/types.ts rename to src/platform/plugins/shared/ui_actions_enhanced/public/types.ts diff --git a/src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts b/src/platform/plugins/shared/ui_actions_enhanced/server/dynamic_action_enhancement.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts rename to src/platform/plugins/shared/ui_actions_enhanced/server/dynamic_action_enhancement.ts diff --git a/src/plugins/ui_actions_enhanced/server/index.ts b/src/platform/plugins/shared/ui_actions_enhanced/server/index.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/server/index.ts rename to src/platform/plugins/shared/ui_actions_enhanced/server/index.ts diff --git a/src/plugins/ui_actions_enhanced/server/plugin.ts b/src/platform/plugins/shared/ui_actions_enhanced/server/plugin.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/server/plugin.ts rename to src/platform/plugins/shared/ui_actions_enhanced/server/plugin.ts diff --git a/src/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.test.ts b/src/platform/plugins/shared/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.test.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.test.ts rename to src/platform/plugins/shared/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.test.ts diff --git a/src/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.ts b/src/platform/plugins/shared/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.ts rename to src/platform/plugins/shared/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.ts diff --git a/src/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.test.ts b/src/platform/plugins/shared/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.test.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.test.ts rename to src/platform/plugins/shared/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.test.ts diff --git a/src/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.ts b/src/platform/plugins/shared/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.ts rename to src/platform/plugins/shared/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.ts diff --git a/src/plugins/ui_actions_enhanced/server/telemetry/get_metric_key.ts b/src/platform/plugins/shared/ui_actions_enhanced/server/telemetry/get_metric_key.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/server/telemetry/get_metric_key.ts rename to src/platform/plugins/shared/ui_actions_enhanced/server/telemetry/get_metric_key.ts diff --git a/src/plugins/ui_actions_enhanced/server/types.ts b/src/platform/plugins/shared/ui_actions_enhanced/server/types.ts similarity index 100% rename from src/plugins/ui_actions_enhanced/server/types.ts rename to src/platform/plugins/shared/ui_actions_enhanced/server/types.ts diff --git a/src/plugins/ui_actions_enhanced/tsconfig.json b/src/platform/plugins/shared/ui_actions_enhanced/tsconfig.json similarity index 87% rename from src/plugins/ui_actions_enhanced/tsconfig.json rename to src/platform/plugins/shared/ui_actions_enhanced/tsconfig.json index 9355eb5e1d65c..35a65c08a0cd7 100644 --- a/src/plugins/ui_actions_enhanced/tsconfig.json +++ b/src/platform/plugins/shared/ui_actions_enhanced/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -7,7 +7,7 @@ "public/**/*", "server/**/*", "common/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/src/plugins/kibana_overview/jest.config.js b/src/plugins/kibana_overview/jest.config.js deleted file mode 100644 index 60b81f5a105ad..0000000000000 --- a/src/plugins/kibana_overview/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/kibana_overview'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/kibana_overview', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/kibana_overview/{common,public}/**/*.{js,ts,tsx}'], -}; diff --git a/src/plugins/kibana_react/jest.config.js b/src/plugins/kibana_react/jest.config.js deleted file mode 100644 index 5b93b0dc3b612..0000000000000 --- a/src/plugins/kibana_react/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/kibana_react'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/kibana_react', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/kibana_react/{common,public}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/kibana_utils/public/state_sync/README.md b/src/plugins/kibana_utils/public/state_sync/README.md deleted file mode 100644 index 5003246c12857..0000000000000 --- a/src/plugins/kibana_utils/public/state_sync/README.md +++ /dev/null @@ -1,3 +0,0 @@ -- [docs](../../docs/state_sync) -- [demo plugins](../../../../../examples/state_containers_examples): run Kibana with `--run-examples` flag. -- [api reference](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_utils/docs/state_sync) diff --git a/src/plugins/navigation/jest.config.js b/src/plugins/navigation/jest.config.js deleted file mode 100644 index b3bcf88e9972a..0000000000000 --- a/src/plugins/navigation/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/navigation'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/navigation', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/navigation/public/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/no_data_page/jest.config.js b/src/plugins/no_data_page/jest.config.js deleted file mode 100644 index 958688afb9bc7..0000000000000 --- a/src/plugins/no_data_page/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/no_data_page'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/no_data_page', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/no_data_page/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/saved_objects/jest.config.js b/src/plugins/saved_objects/jest.config.js deleted file mode 100644 index 681080082512e..0000000000000 --- a/src/plugins/saved_objects/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/saved_objects'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/saved_objects', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/saved_objects/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/saved_objects/tsconfig.json b/src/plugins/saved_objects/tsconfig.json deleted file mode 100644 index 83e113a7e4e17..0000000000000 --- a/src/plugins/saved_objects/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": ["common/**/*", "public/**/*", "server/**/*"], - "kbn_references": [ - "@kbn/core", - "@kbn/data-plugin", - "@kbn/i18n", - "@kbn/data-views-plugin", - "@kbn/i18n-react", - "@kbn/ui-theme", - "@kbn/react-kibana-mount", - "@kbn/test-jest-helpers", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/screenshot_mode/jest.config.js b/src/plugins/screenshot_mode/jest.config.js deleted file mode 100644 index 4622c36213b93..0000000000000 --- a/src/plugins/screenshot_mode/jest.config.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/screenshot_mode'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/screenshot_mode', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/screenshot_mode/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/share/jest.config.js b/src/plugins/share/jest.config.js deleted file mode 100644 index 9e2e3664051c7..0000000000000 --- a/src/plugins/share/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/share'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/share', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/share/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/telemetry/schema/oss_platform.json b/src/plugins/telemetry/schema/oss_platform.json index d5f6d4427e0a0..9b5246d49d059 100644 --- a/src/plugins/telemetry/schema/oss_platform.json +++ b/src/plugins/telemetry/schema/oss_platform.json @@ -114,6 +114,83 @@ } } }, + "files": { + "properties": { + "countByExtension": { + "type": "array", + "items": { + "properties": { + "extension": { + "type": "keyword" + }, + "count": { + "type": "long" + } + } + } + }, + "countByStatus": { + "properties": { + "AWAITING_UPLOAD": { + "type": "long", + "_meta": { + "description": "Number of files awaiting upload" + } + }, + "DELETED": { + "type": "long", + "_meta": { + "description": "Number of files that are marked as deleted" + } + }, + "READY": { + "type": "long", + "_meta": { + "description": "Number of files that are ready for download" + } + }, + "UPLOADING": { + "type": "long", + "_meta": { + "description": "Number of files that are currently uploading" + } + }, + "UPLOAD_ERROR": { + "type": "long", + "_meta": { + "description": "Number of files that failed to upload" + } + } + } + }, + "storage": { + "properties": { + "esFixedSizeIndex": { + "properties": { + "capacity": { + "type": "long", + "_meta": { + "description": "Capacity of the fixed size index" + } + }, + "available": { + "type": "long", + "_meta": { + "description": "Available storage in bytes" + } + }, + "used": { + "type": "long", + "_meta": { + "description": "Used storage in bytes" + } + } + } + } + } + } + } + }, "index-patterns": { "properties": { "indexPatternsCount": { @@ -188,6 +265,34 @@ } } } + }, + "sample-data": { + "properties": { + "installed": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "last_install_date": { + "type": "date" + }, + "last_install_set": { + "type": "keyword" + }, + "last_uninstall_date": { + "type": "date" + }, + "last_uninstall_set": { + "type": "keyword" + }, + "uninstalled": { + "type": "array", + "items": { + "type": "keyword" + } + } + } } } } diff --git a/src/plugins/telemetry/schema/oss_plugins.json b/src/plugins/telemetry/schema/oss_plugins.json index 689c91d1423b6..118bf07af4476 100644 --- a/src/plugins/telemetry/schema/oss_plugins.json +++ b/src/plugins/telemetry/schema/oss_plugins.json @@ -9944,83 +9944,6 @@ } } }, - "files": { - "properties": { - "countByExtension": { - "type": "array", - "items": { - "properties": { - "extension": { - "type": "keyword" - }, - "count": { - "type": "long" - } - } - } - }, - "countByStatus": { - "properties": { - "AWAITING_UPLOAD": { - "type": "long", - "_meta": { - "description": "Number of files awaiting upload" - } - }, - "DELETED": { - "type": "long", - "_meta": { - "description": "Number of files that are marked as deleted" - } - }, - "READY": { - "type": "long", - "_meta": { - "description": "Number of files that are ready for download" - } - }, - "UPLOADING": { - "type": "long", - "_meta": { - "description": "Number of files that are currently uploading" - } - }, - "UPLOAD_ERROR": { - "type": "long", - "_meta": { - "description": "Number of files that failed to upload" - } - } - } - }, - "storage": { - "properties": { - "esFixedSizeIndex": { - "properties": { - "capacity": { - "type": "long", - "_meta": { - "description": "Capacity of the fixed size index" - } - }, - "available": { - "type": "long", - "_meta": { - "description": "Available storage in bytes" - } - }, - "used": { - "type": "long", - "_meta": { - "description": "Used storage in bytes" - } - } - } - } - } - } - } - }, "kibana": { "properties": { "index": { @@ -10120,34 +10043,6 @@ } } }, - "sample-data": { - "properties": { - "installed": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "last_install_date": { - "type": "date" - }, - "last_install_set": { - "type": "keyword" - }, - "last_uninstall_date": { - "type": "date" - }, - "last_uninstall_set": { - "type": "keyword" - }, - "uninstalled": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, "saved_objects_counts": { "properties": { "total": { diff --git a/src/plugins/ui_actions/jest.config.js b/src/plugins/ui_actions/jest.config.js deleted file mode 100644 index db8ed6f87871d..0000000000000 --- a/src/plugins/ui_actions/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/ui_actions'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/ui_actions', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/ui_actions/public/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/ui_actions_enhanced/jest.config.js b/src/plugins/ui_actions_enhanced/jest.config.js deleted file mode 100644 index 7797f7e4d7b0f..0000000000000 --- a/src/plugins/ui_actions_enhanced/jest.config.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * 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", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/ui_actions_enhanced'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/ui_actions_enhanced', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/ui_actions_enhanced/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/test/api_integration/apis/home/sample_data.ts b/test/api_integration/apis/home/sample_data.ts index d290f772fdec5..1f047eb64e35a 100644 --- a/test/api_integration/apis/home/sample_data.ts +++ b/test/api_integration/apis/home/sample_data.ts @@ -21,7 +21,7 @@ export default function ({ getService }: FtrProviderContext) { const SPACES = ['default', 'other']; /** * default ID of the flights overview dashboard - * @see {@link src/plugins/home/server/services/sample_data/data_sets/flights/index.ts} + * @see {@link src/platform/plugins/shared/home/server/services/sample_data/data_sets/flights/index.ts} */ const FLIGHTS_OVERVIEW_DASHBOARD_ID = '7adfa750-4c81-11e8-b3d7-01146121b73d'; const FLIGHTS_CANVAS_APPLINK_PATH = @@ -85,7 +85,7 @@ export default function ({ getService }: FtrProviderContext) { describe('dates', () => { // dates being compared are not arbitrary, but rather the dates of the earliest and latest timestamp of the flight sample data - // this can be verified in the flight data archive here {@link src/plugins/home/server/services/sample_data/data_sets/flights/flights.json.gz} + // this can be verified in the flight data archive here {@link src/platform/plugins/shared/home/server/services/sample_data/data_sets/flights/flights.json.gz} const sampleDataTimeIntervalInMS = differenceInMilliseconds( new Date('2018-02-11T14:54:34'), new Date('2018-01-01T00:00:00') diff --git a/tsconfig.base.json b/tsconfig.base.json index 46c4e88ef11d9..2607e39f4fc82 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -12,8 +12,8 @@ "@kbn/actions-simulators-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/actions_simulators/*"], "@kbn/actions-types": ["src/platform/packages/shared/kbn-actions-types"], "@kbn/actions-types/*": ["src/platform/packages/shared/kbn-actions-types/*"], - "@kbn/advanced-settings-plugin": ["src/plugins/advanced_settings"], - "@kbn/advanced-settings-plugin/*": ["src/plugins/advanced_settings/*"], + "@kbn/advanced-settings-plugin": ["src/platform/plugins/private/advanced_settings"], + "@kbn/advanced-settings-plugin/*": ["src/platform/plugins/private/advanced_settings/*"], "@kbn/ai-assistant": ["x-pack/platform/packages/shared/kbn-ai-assistant"], "@kbn/ai-assistant/*": ["x-pack/platform/packages/shared/kbn-ai-assistant/*"], "@kbn/ai-assistant-common": ["x-pack/platform/packages/shared/ai-assistant/common"], @@ -110,8 +110,8 @@ "@kbn/babel-register/*": ["packages/kbn-babel-register/*"], "@kbn/babel-transform": ["packages/kbn-babel-transform"], "@kbn/babel-transform/*": ["packages/kbn-babel-transform/*"], - "@kbn/banners-plugin": ["x-pack/plugins/banners"], - "@kbn/banners-plugin/*": ["x-pack/plugins/banners/*"], + "@kbn/banners-plugin": ["x-pack/platform/plugins/private/banners"], + "@kbn/banners-plugin/*": ["x-pack/platform/plugins/private/banners/*"], "@kbn/bazel-runner": ["packages/kbn-bazel-runner"], "@kbn/bazel-runner/*": ["packages/kbn-bazel-runner/*"], "@kbn/bfetch-error": ["packages/kbn-bfetch-error"], @@ -214,8 +214,8 @@ "@kbn/content-management-favorites-public/*": ["packages/content-management/favorites/favorites_public/*"], "@kbn/content-management-favorites-server": ["packages/content-management/favorites/favorites_server"], "@kbn/content-management-favorites-server/*": ["packages/content-management/favorites/favorites_server/*"], - "@kbn/content-management-plugin": ["src/plugins/content_management"], - "@kbn/content-management-plugin/*": ["src/plugins/content_management/*"], + "@kbn/content-management-plugin": ["src/platform/plugins/shared/content_management"], + "@kbn/content-management-plugin/*": ["src/platform/plugins/shared/content_management/*"], "@kbn/content-management-tabbed-table-list-view": ["packages/content-management/tabbed_table_list_view"], "@kbn/content-management-tabbed-table-list-view/*": ["packages/content-management/tabbed_table_list_view/*"], "@kbn/content-management-table-list-view": ["packages/content-management/table_list_view"], @@ -686,8 +686,8 @@ "@kbn/crypto/*": ["packages/kbn-crypto/*"], "@kbn/crypto-browser": ["packages/kbn-crypto-browser"], "@kbn/crypto-browser/*": ["packages/kbn-crypto-browser/*"], - "@kbn/custom-branding-plugin": ["x-pack/plugins/custom_branding"], - "@kbn/custom-branding-plugin/*": ["x-pack/plugins/custom_branding/*"], + "@kbn/custom-branding-plugin": ["x-pack/platform/plugins/private/custom_branding"], + "@kbn/custom-branding-plugin/*": ["x-pack/platform/plugins/private/custom_branding/*"], "@kbn/custom-icons": ["src/platform/packages/shared/kbn-custom-icons"], "@kbn/custom-icons/*": ["src/platform/packages/shared/kbn-custom-icons/*"], "@kbn/custom-integrations": ["x-pack/solutions/observability/packages/kbn-custom-integrations"], @@ -958,10 +958,10 @@ "@kbn/file-upload-plugin/*": ["x-pack/platform/plugins/private/file_upload/*"], "@kbn/files-example-plugin": ["examples/files_example"], "@kbn/files-example-plugin/*": ["examples/files_example/*"], - "@kbn/files-management-plugin": ["src/plugins/files_management"], - "@kbn/files-management-plugin/*": ["src/plugins/files_management/*"], - "@kbn/files-plugin": ["src/plugins/files"], - "@kbn/files-plugin/*": ["src/plugins/files/*"], + "@kbn/files-management-plugin": ["src/platform/plugins/private/files_management"], + "@kbn/files-management-plugin/*": ["src/platform/plugins/private/files_management/*"], + "@kbn/files-plugin": ["src/platform/plugins/shared/files"], + "@kbn/files-plugin/*": ["src/platform/plugins/shared/files/*"], "@kbn/find-used-node-modules": ["packages/kbn-find-used-node-modules"], "@kbn/find-used-node-modules/*": ["packages/kbn-find-used-node-modules/*"], "@kbn/fleet-plugin": ["x-pack/platform/plugins/shared/fleet"], @@ -994,12 +994,12 @@ "@kbn/generate-csv/*": ["packages/kbn-generate-csv/*"], "@kbn/get-repo-files": ["packages/kbn-get-repo-files"], "@kbn/get-repo-files/*": ["packages/kbn-get-repo-files/*"], - "@kbn/global-search-bar-plugin": ["x-pack/plugins/global_search_bar"], - "@kbn/global-search-bar-plugin/*": ["x-pack/plugins/global_search_bar/*"], - "@kbn/global-search-plugin": ["x-pack/plugins/global_search"], - "@kbn/global-search-plugin/*": ["x-pack/plugins/global_search/*"], - "@kbn/global-search-providers-plugin": ["x-pack/plugins/global_search_providers"], - "@kbn/global-search-providers-plugin/*": ["x-pack/plugins/global_search_providers/*"], + "@kbn/global-search-bar-plugin": ["x-pack/platform/plugins/private/global_search_bar"], + "@kbn/global-search-bar-plugin/*": ["x-pack/platform/plugins/private/global_search_bar/*"], + "@kbn/global-search-plugin": ["x-pack/platform/plugins/shared/global_search"], + "@kbn/global-search-plugin/*": ["x-pack/platform/plugins/shared/global_search/*"], + "@kbn/global-search-providers-plugin": ["x-pack/platform/plugins/private/global_search_providers"], + "@kbn/global-search-providers-plugin/*": ["x-pack/platform/plugins/private/global_search_providers/*"], "@kbn/global-search-test-plugin": ["x-pack/test/plugin_functional/plugins/global_search_test"], "@kbn/global-search-test-plugin/*": ["x-pack/test/plugin_functional/plugins/global_search_test/*"], "@kbn/graph-plugin": ["x-pack/plugins/graph"], @@ -1016,8 +1016,8 @@ "@kbn/guided-onboarding/*": ["packages/kbn-guided-onboarding/*"], "@kbn/guided-onboarding-example-plugin": ["examples/guided_onboarding_example"], "@kbn/guided-onboarding-example-plugin/*": ["examples/guided_onboarding_example/*"], - "@kbn/guided-onboarding-plugin": ["src/plugins/guided_onboarding"], - "@kbn/guided-onboarding-plugin/*": ["src/plugins/guided_onboarding/*"], + "@kbn/guided-onboarding-plugin": ["src/platform/plugins/shared/guided_onboarding"], + "@kbn/guided-onboarding-plugin/*": ["src/platform/plugins/shared/guided_onboarding/*"], "@kbn/handlebars": ["packages/kbn-handlebars"], "@kbn/handlebars/*": ["packages/kbn-handlebars/*"], "@kbn/hapi-mocks": ["packages/kbn-hapi-mocks"], @@ -1028,8 +1028,8 @@ "@kbn/health-gateway-server/*": ["packages/kbn-health-gateway-server/*"], "@kbn/hello-world-plugin": ["examples/hello_world"], "@kbn/hello-world-plugin/*": ["examples/hello_world/*"], - "@kbn/home-plugin": ["src/plugins/home"], - "@kbn/home-plugin/*": ["src/plugins/home/*"], + "@kbn/home-plugin": ["src/platform/plugins/shared/home"], + "@kbn/home-plugin/*": ["src/platform/plugins/shared/home/*"], "@kbn/home-sample-data-card": ["packages/home/sample_data_card"], "@kbn/home-sample-data-card/*": ["packages/home/sample_data_card/*"], "@kbn/home-sample-data-tab": ["packages/home/sample_data_tab"], @@ -1042,8 +1042,8 @@ "@kbn/i18n-react/*": ["packages/kbn-i18n-react/*"], "@kbn/iframe-embedded-plugin": ["x-pack/test/functional_embedded/plugins/iframe_embedded"], "@kbn/iframe-embedded-plugin/*": ["x-pack/test/functional_embedded/plugins/iframe_embedded/*"], - "@kbn/image-embeddable-plugin": ["src/plugins/image_embeddable"], - "@kbn/image-embeddable-plugin/*": ["src/plugins/image_embeddable/*"], + "@kbn/image-embeddable-plugin": ["src/platform/plugins/private/image_embeddable"], + "@kbn/image-embeddable-plugin/*": ["src/platform/plugins/private/image_embeddable/*"], "@kbn/import-locator": ["packages/kbn-import-locator"], "@kbn/import-locator/*": ["packages/kbn-import-locator/*"], "@kbn/import-resolver": ["packages/kbn-import-resolver"], @@ -1122,14 +1122,14 @@ "@kbn/kibana-cors-test-plugin/*": ["x-pack/test/functional_cors/plugins/kibana_cors_test/*"], "@kbn/kibana-manifest-schema": ["packages/kbn-kibana-manifest-schema"], "@kbn/kibana-manifest-schema/*": ["packages/kbn-kibana-manifest-schema/*"], - "@kbn/kibana-overview-plugin": ["src/plugins/kibana_overview"], - "@kbn/kibana-overview-plugin/*": ["src/plugins/kibana_overview/*"], - "@kbn/kibana-react-plugin": ["src/plugins/kibana_react"], - "@kbn/kibana-react-plugin/*": ["src/plugins/kibana_react/*"], + "@kbn/kibana-overview-plugin": ["src/platform/plugins/private/kibana_overview"], + "@kbn/kibana-overview-plugin/*": ["src/platform/plugins/private/kibana_overview/*"], + "@kbn/kibana-react-plugin": ["src/platform/plugins/shared/kibana_react"], + "@kbn/kibana-react-plugin/*": ["src/platform/plugins/shared/kibana_react/*"], "@kbn/kibana-usage-collection-plugin": ["src/plugins/kibana_usage_collection"], "@kbn/kibana-usage-collection-plugin/*": ["src/plugins/kibana_usage_collection/*"], - "@kbn/kibana-utils-plugin": ["src/plugins/kibana_utils"], - "@kbn/kibana-utils-plugin/*": ["src/plugins/kibana_utils/*"], + "@kbn/kibana-utils-plugin": ["src/platform/plugins/shared/kibana_utils"], + "@kbn/kibana-utils-plugin/*": ["src/platform/plugins/shared/kibana_utils/*"], "@kbn/kubernetes-security-plugin": ["x-pack/solutions/security/plugins/kubernetes_security"], "@kbn/kubernetes-security-plugin/*": ["x-pack/solutions/security/plugins/kubernetes_security/*"], "@kbn/langchain": ["x-pack/platform/packages/shared/kbn-langchain"], @@ -1302,16 +1302,16 @@ "@kbn/monitoring-collection-plugin/*": ["x-pack/platform/plugins/private/monitoring_collection/*"], "@kbn/monitoring-plugin": ["x-pack/platform/plugins/private/monitoring"], "@kbn/monitoring-plugin/*": ["x-pack/platform/plugins/private/monitoring/*"], - "@kbn/navigation-plugin": ["src/plugins/navigation"], - "@kbn/navigation-plugin/*": ["src/plugins/navigation/*"], + "@kbn/navigation-plugin": ["src/platform/plugins/shared/navigation"], + "@kbn/navigation-plugin/*": ["src/platform/plugins/shared/navigation/*"], "@kbn/newsfeed-plugin": ["src/plugins/newsfeed"], "@kbn/newsfeed-plugin/*": ["src/plugins/newsfeed/*"], "@kbn/newsfeed-test-plugin": ["test/common/plugins/newsfeed"], "@kbn/newsfeed-test-plugin/*": ["test/common/plugins/newsfeed/*"], - "@kbn/no-data-page-plugin": ["src/plugins/no_data_page"], - "@kbn/no-data-page-plugin/*": ["src/plugins/no_data_page/*"], - "@kbn/notifications-plugin": ["x-pack/plugins/notifications"], - "@kbn/notifications-plugin/*": ["x-pack/plugins/notifications/*"], + "@kbn/no-data-page-plugin": ["src/platform/plugins/private/no_data_page"], + "@kbn/no-data-page-plugin/*": ["src/platform/plugins/private/no_data_page/*"], + "@kbn/notifications-plugin": ["x-pack/platform/plugins/shared/notifications"], + "@kbn/notifications-plugin/*": ["x-pack/platform/plugins/shared/notifications/*"], "@kbn/object-versioning": ["packages/kbn-object-versioning"], "@kbn/object-versioning/*": ["packages/kbn-object-versioning/*"], "@kbn/object-versioning-utils": ["packages/kbn-object-versioning-utils"], @@ -1478,8 +1478,8 @@ "@kbn/reporting-export-types-png-common/*": ["packages/kbn-reporting/export_types/png_common/*"], "@kbn/reporting-mocks-server": ["packages/kbn-reporting/mocks_server"], "@kbn/reporting-mocks-server/*": ["packages/kbn-reporting/mocks_server/*"], - "@kbn/reporting-plugin": ["x-pack/plugins/reporting"], - "@kbn/reporting-plugin/*": ["x-pack/plugins/reporting/*"], + "@kbn/reporting-plugin": ["x-pack/platform/plugins/private/reporting"], + "@kbn/reporting-plugin/*": ["x-pack/platform/plugins/private/reporting/*"], "@kbn/reporting-public": ["packages/kbn-reporting/public"], "@kbn/reporting-public/*": ["packages/kbn-reporting/public/*"], "@kbn/reporting-server": ["packages/kbn-reporting/server"], @@ -1540,14 +1540,14 @@ "@kbn/saved-objects-hidden-type-plugin/*": ["test/plugin_functional/plugins/saved_objects_hidden_type/*"], "@kbn/saved-objects-management-plugin": ["src/plugins/saved_objects_management"], "@kbn/saved-objects-management-plugin/*": ["src/plugins/saved_objects_management/*"], - "@kbn/saved-objects-plugin": ["src/plugins/saved_objects"], - "@kbn/saved-objects-plugin/*": ["src/plugins/saved_objects/*"], + "@kbn/saved-objects-plugin": ["src/platform/plugins/shared/saved_objects"], + "@kbn/saved-objects-plugin/*": ["src/platform/plugins/shared/saved_objects/*"], "@kbn/saved-objects-settings": ["packages/kbn-saved-objects-settings"], "@kbn/saved-objects-settings/*": ["packages/kbn-saved-objects-settings/*"], - "@kbn/saved-objects-tagging-oss-plugin": ["src/plugins/saved_objects_tagging_oss"], - "@kbn/saved-objects-tagging-oss-plugin/*": ["src/plugins/saved_objects_tagging_oss/*"], - "@kbn/saved-objects-tagging-plugin": ["x-pack/plugins/saved_objects_tagging"], - "@kbn/saved-objects-tagging-plugin/*": ["x-pack/plugins/saved_objects_tagging/*"], + "@kbn/saved-objects-tagging-oss-plugin": ["src/platform/plugins/shared/saved_objects_tagging_oss"], + "@kbn/saved-objects-tagging-oss-plugin/*": ["src/platform/plugins/shared/saved_objects_tagging_oss/*"], + "@kbn/saved-objects-tagging-plugin": ["x-pack/platform/plugins/private/saved_objects_tagging"], + "@kbn/saved-objects-tagging-plugin/*": ["x-pack/platform/plugins/private/saved_objects_tagging/*"], "@kbn/saved-search-component": ["packages/kbn-saved-search-component"], "@kbn/saved-search-component/*": ["packages/kbn-saved-search-component/*"], "@kbn/saved-search-plugin": ["src/platform/plugins/shared/saved_search"], @@ -1560,8 +1560,8 @@ "@kbn/scout-reporting/*": ["packages/kbn-scout-reporting/*"], "@kbn/screenshot-mode-example-plugin": ["examples/screenshot_mode_example"], "@kbn/screenshot-mode-example-plugin/*": ["examples/screenshot_mode_example/*"], - "@kbn/screenshot-mode-plugin": ["src/plugins/screenshot_mode"], - "@kbn/screenshot-mode-plugin/*": ["src/plugins/screenshot_mode/*"], + "@kbn/screenshot-mode-plugin": ["src/platform/plugins/shared/screenshot_mode"], + "@kbn/screenshot-mode-plugin/*": ["src/platform/plugins/shared/screenshot_mode/*"], "@kbn/screenshotting-example-plugin": ["x-pack/examples/screenshotting_example"], "@kbn/screenshotting-example-plugin/*": ["x-pack/examples/screenshotting_example/*"], "@kbn/screenshotting-plugin": ["x-pack/platform/plugins/shared/screenshotting"], @@ -1700,8 +1700,8 @@ "@kbn/server-route-repository-client/*": ["src/platform/packages/shared/kbn-server-route-repository-client/*"], "@kbn/server-route-repository-utils": ["src/platform/packages/shared/kbn-server-route-repository-utils"], "@kbn/server-route-repository-utils/*": ["src/platform/packages/shared/kbn-server-route-repository-utils/*"], - "@kbn/serverless": ["x-pack/plugins/serverless"], - "@kbn/serverless/*": ["x-pack/plugins/serverless/*"], + "@kbn/serverless": ["x-pack/platform/plugins/shared/serverless"], + "@kbn/serverless/*": ["x-pack/platform/plugins/shared/serverless/*"], "@kbn/serverless-common-settings": ["packages/serverless/settings/common"], "@kbn/serverless-common-settings/*": ["packages/serverless/settings/common/*"], "@kbn/serverless-observability": ["x-pack/solutions/observability/plugins/serverless_observability"], @@ -1728,8 +1728,8 @@ "@kbn/set-map/*": ["packages/kbn-set-map/*"], "@kbn/share-examples-plugin": ["examples/share_examples"], "@kbn/share-examples-plugin/*": ["examples/share_examples/*"], - "@kbn/share-plugin": ["src/plugins/share"], - "@kbn/share-plugin/*": ["src/plugins/share/*"], + "@kbn/share-plugin": ["src/platform/plugins/shared/share"], + "@kbn/share-plugin/*": ["src/platform/plugins/shared/share/*"], "@kbn/shared-svg": ["src/platform/packages/shared/kbn-shared-svg"], "@kbn/shared-svg/*": ["src/platform/packages/shared/kbn-shared-svg/*"], "@kbn/shared-ux-avatar-solution": ["packages/shared-ux/avatar/solution"], @@ -1964,14 +1964,14 @@ "@kbn/ui-actions-browser/*": ["packages/kbn-ui-actions-browser/*"], "@kbn/ui-actions-enhanced-examples-plugin": ["x-pack/examples/ui_actions_enhanced_examples"], "@kbn/ui-actions-enhanced-examples-plugin/*": ["x-pack/examples/ui_actions_enhanced_examples/*"], - "@kbn/ui-actions-enhanced-plugin": ["src/plugins/ui_actions_enhanced"], - "@kbn/ui-actions-enhanced-plugin/*": ["src/plugins/ui_actions_enhanced/*"], + "@kbn/ui-actions-enhanced-plugin": ["src/platform/plugins/shared/ui_actions_enhanced"], + "@kbn/ui-actions-enhanced-plugin/*": ["src/platform/plugins/shared/ui_actions_enhanced/*"], "@kbn/ui-actions-examples-plugin": ["examples/ui_action_examples"], "@kbn/ui-actions-examples-plugin/*": ["examples/ui_action_examples/*"], "@kbn/ui-actions-explorer-plugin": ["examples/ui_actions_explorer"], "@kbn/ui-actions-explorer-plugin/*": ["examples/ui_actions_explorer/*"], - "@kbn/ui-actions-plugin": ["src/plugins/ui_actions"], - "@kbn/ui-actions-plugin/*": ["src/plugins/ui_actions/*"], + "@kbn/ui-actions-plugin": ["src/platform/plugins/shared/ui_actions"], + "@kbn/ui-actions-plugin/*": ["src/platform/plugins/shared/ui_actions/*"], "@kbn/ui-settings-plugin": ["test/plugin_functional/plugins/ui_settings_plugin"], "@kbn/ui-settings-plugin/*": ["test/plugin_functional/plugins/ui_settings_plugin/*"], "@kbn/ui-shared-deps-npm": ["src/platform/packages/private/kbn-ui-shared-deps-npm"], diff --git a/x-pack/.gitignore b/x-pack/.gitignore index 918a6a7d1c388..97c03015b3330 100644 --- a/x-pack/.gitignore +++ b/x-pack/.gitignore @@ -5,9 +5,15 @@ /test/functional/screenshots /test/functional/apps/**/reports/session /test/reporting/configs/failure_debug/ -/plugins/reporting/.chromium/ + +# TODO remove once all of the modules have been relocated +# we keep them around to avoid conflicts derived of merge commits, +# suddenly adding a huge amount of files due to these rules being outdated +/platform/plugins/private/reporting/.chromium/ +/platform/plugins/private/reporting/.phantom/ +/platform/plugins/shared/screenshotting/.chromium/ /platform/plugins/shared/screenshotting/chromium/ -/plugins/reporting/.phantom/ + /.aws-config.json /.env /.kibana-plugin-helpers.dev.* diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index cbc96f3b4dc11..70c0ef27d4e77 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -16,7 +16,7 @@ "xpack.stackConnectors": "platform/plugins/shared/stack_connectors", "xpack.apm": "solutions/observability/plugins/apm", "xpack.apmDataAccess": "solutions/observability/plugins/apm_data_access", - "xpack.banners": "plugins/banners", + "xpack.banners": "platform/plugins/private/banners", "xpack.canvas": "platform/plugins/private/canvas", "xpack.cases": "platform/plugins/shared/cases", "xpack.cloud": "plugins/cloud", @@ -28,7 +28,7 @@ "packages/kbn-cloud-security-posture-common", "packages/kbn-cloud-security-posture" ], - "xpack.customBranding": "plugins/custom_branding", + "xpack.customBranding": "platform/plugins/private/custom_branding", "xpack.dashboard": "platform/plugins/shared/dashboard_enhanced", "xpack.dataQuality": "platform/plugins/shared/data_quality", "xpack.datasetQuality": "platform/plugins/shared/observability_solution/dataset_quality", @@ -46,9 +46,15 @@ "xpack.dataVisualizer": "platform/plugins/private/data_visualizer", "xpack.exploratoryView": "solutions/observability/plugins/exploratory_view", "xpack.fileUpload": "platform/plugins/private/file_upload", - "xpack.globalSearch": ["plugins/global_search"], - "xpack.globalSearchBar": ["plugins/global_search_bar"], - "xpack.graph": ["plugins/graph"], + "xpack.globalSearch": [ + "platform/plugins/shared/global_search" + ], + "xpack.globalSearchBar": [ + "platform/plugins/private/global_search_bar" + ], + "xpack.graph": [ + "plugins/graph" + ], "xpack.grokDebugger": "platform/plugins/private/grokdebugger", "xpack.idxMgmt": "platform/plugins/shared/index_management", "xpack.idxMgmtPackage": "packages/index-management", @@ -109,8 +115,13 @@ "solutions/observability/plugins/profiling" ], "xpack.remoteClusters": "platform/plugins/private/remote_clusters", - "xpack.reporting": ["plugins/reporting"], - "xpack.rollupJobs": ["platform/packages/private/rollup", "platform/plugins/private/rollup"], + "xpack.reporting": [ + "platform/plugins/private/reporting" + ], + "xpack.rollupJobs": [ + "platform/packages/private/rollup", + "platform/plugins/private/rollup" + ], "xpack.runtimeFields": "platform/plugins/private/runtime_fields", "xpack.screenshotting": "platform/plugins/shared/screenshotting", "xpack.searchSharedUI": "solutions/search/packages/search/shared_ui", @@ -124,7 +135,7 @@ "xpack.searchProfiler": "platform/plugins/shared/searchprofiler", "xpack.security": ["plugins/security", "packages/security"], "xpack.server": "legacy/server", - "xpack.serverless": "plugins/serverless", + "xpack.serverless": "platform/plugins/shared/serverless", "xpack.serverlessSearch": "solutions/search/plugins/serverless_search", "xpack.serverlessObservability": "solutions/observability/plugins/serverless_observability", "xpack.securitySolution": "solutions/security/plugins/security_solution", @@ -136,7 +147,7 @@ "xpack.snapshotRestore": "platform/plugins/private/snapshot_restore", "xpack.spaces": "plugins/spaces", "xpack.savedObjectsTagging": [ - "plugins/saved_objects_tagging" + "platform/plugins/private/saved_objects_tagging" ], "xpack.taskManager": "legacy/platform/plugins/shared/task_manager", "xpack.threatIntelligence": "solutions/security/plugins/threat_intelligence", diff --git a/x-pack/build_chromium/README.md b/x-pack/build_chromium/README.md index 5f9e2bb06317d..bd5b576de193e 100644 --- a/x-pack/build_chromium/README.md +++ b/x-pack/build_chromium/README.md @@ -65,7 +65,7 @@ node scripts/chromium_version.js [PuppeteerVersion] ``` When bumping the Puppeteer version, make sure you also update the `ChromiumArchivePaths.revision` variable in -`x-pack/plugins/reporting/server/browsers/chromium/paths.ts`. +`x-pack/platform/plugins/private/reporting/server/browsers/chromium/paths.ts`. In some cases the revision number might not be available for the darwin or windows builds in `https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html`. For example, 1181205 was not available for darwin arm64 or windows. In that case, the next available revision numbers 1181286 and 1181280 were used. @@ -119,7 +119,7 @@ Here's the steps on how to test a Puppeteer upgrade, run these tests on Mac, Win - Make sure the Reporting plugin is fetching the correct version of the browser at start-up time, and that it can successfully unzip it and copy the files to - `x-pack/plugins/reporting/chromium` + `x-pack/platform/plugins/private/reporting/chromium` - Make sure there are no errors when using the **Reporting diagnostic tool** - All functional and API tests that generate PDF and PNG files should pass. - Use a VM to run Kibana in a low-memory environment and try to generate a PNG of a dashboard that outputs as a 4MB file. Document the minimum requirements in the PR. diff --git a/x-pack/plugins/banners/README.md b/x-pack/platform/plugins/private/banners/README.md similarity index 100% rename from x-pack/plugins/banners/README.md rename to x-pack/platform/plugins/private/banners/README.md diff --git a/x-pack/plugins/banners/common/index.ts b/x-pack/platform/plugins/private/banners/common/index.ts similarity index 100% rename from x-pack/plugins/banners/common/index.ts rename to x-pack/platform/plugins/private/banners/common/index.ts diff --git a/x-pack/plugins/banners/common/types.ts b/x-pack/platform/plugins/private/banners/common/types.ts similarity index 100% rename from x-pack/plugins/banners/common/types.ts rename to x-pack/platform/plugins/private/banners/common/types.ts diff --git a/x-pack/plugins/global_search/jest.config.js b/x-pack/platform/plugins/private/banners/jest.config.js similarity index 55% rename from x-pack/plugins/global_search/jest.config.js rename to x-pack/platform/plugins/private/banners/jest.config.js index ba4c8130c375c..1932d23e374ca 100644 --- a/x-pack/plugins/global_search/jest.config.js +++ b/x-pack/platform/plugins/private/banners/jest.config.js @@ -7,11 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/global_search'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/global_search', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/banners'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/banners', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/global_search/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/private/banners/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/banners/kibana.jsonc b/x-pack/platform/plugins/private/banners/kibana.jsonc similarity index 100% rename from x-pack/plugins/banners/kibana.jsonc rename to x-pack/platform/plugins/private/banners/kibana.jsonc diff --git a/x-pack/plugins/banners/public/components/banner.scss b/x-pack/platform/plugins/private/banners/public/components/banner.scss similarity index 100% rename from x-pack/plugins/banners/public/components/banner.scss rename to x-pack/platform/plugins/private/banners/public/components/banner.scss diff --git a/x-pack/plugins/banners/public/components/banner.tsx b/x-pack/platform/plugins/private/banners/public/components/banner.tsx similarity index 100% rename from x-pack/plugins/banners/public/components/banner.tsx rename to x-pack/platform/plugins/private/banners/public/components/banner.tsx diff --git a/x-pack/plugins/banners/public/components/index.ts b/x-pack/platform/plugins/private/banners/public/components/index.ts similarity index 100% rename from x-pack/plugins/banners/public/components/index.ts rename to x-pack/platform/plugins/private/banners/public/components/index.ts diff --git a/x-pack/plugins/banners/public/get_banner_info.test.ts b/x-pack/platform/plugins/private/banners/public/get_banner_info.test.ts similarity index 100% rename from x-pack/plugins/banners/public/get_banner_info.test.ts rename to x-pack/platform/plugins/private/banners/public/get_banner_info.test.ts diff --git a/x-pack/plugins/banners/public/get_banner_info.ts b/x-pack/platform/plugins/private/banners/public/get_banner_info.ts similarity index 100% rename from x-pack/plugins/banners/public/get_banner_info.ts rename to x-pack/platform/plugins/private/banners/public/get_banner_info.ts diff --git a/x-pack/plugins/banners/public/index.ts b/x-pack/platform/plugins/private/banners/public/index.ts similarity index 100% rename from x-pack/plugins/banners/public/index.ts rename to x-pack/platform/plugins/private/banners/public/index.ts diff --git a/x-pack/plugins/banners/public/plugin.test.mocks.ts b/x-pack/platform/plugins/private/banners/public/plugin.test.mocks.ts similarity index 100% rename from x-pack/plugins/banners/public/plugin.test.mocks.ts rename to x-pack/platform/plugins/private/banners/public/plugin.test.mocks.ts diff --git a/x-pack/plugins/banners/public/plugin.test.tsx b/x-pack/platform/plugins/private/banners/public/plugin.test.tsx similarity index 100% rename from x-pack/plugins/banners/public/plugin.test.tsx rename to x-pack/platform/plugins/private/banners/public/plugin.test.tsx diff --git a/x-pack/plugins/banners/public/plugin.tsx b/x-pack/platform/plugins/private/banners/public/plugin.tsx similarity index 100% rename from x-pack/plugins/banners/public/plugin.tsx rename to x-pack/platform/plugins/private/banners/public/plugin.tsx diff --git a/x-pack/plugins/banners/public/types.ts b/x-pack/platform/plugins/private/banners/public/types.ts similarity index 100% rename from x-pack/plugins/banners/public/types.ts rename to x-pack/platform/plugins/private/banners/public/types.ts diff --git a/x-pack/plugins/banners/server/config.ts b/x-pack/platform/plugins/private/banners/server/config.ts similarity index 100% rename from x-pack/plugins/banners/server/config.ts rename to x-pack/platform/plugins/private/banners/server/config.ts diff --git a/x-pack/plugins/banners/server/index.ts b/x-pack/platform/plugins/private/banners/server/index.ts similarity index 100% rename from x-pack/plugins/banners/server/index.ts rename to x-pack/platform/plugins/private/banners/server/index.ts diff --git a/x-pack/plugins/banners/server/plugin.test.mocks.ts b/x-pack/platform/plugins/private/banners/server/plugin.test.mocks.ts similarity index 100% rename from x-pack/plugins/banners/server/plugin.test.mocks.ts rename to x-pack/platform/plugins/private/banners/server/plugin.test.mocks.ts diff --git a/x-pack/plugins/banners/server/plugin.test.ts b/x-pack/platform/plugins/private/banners/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/banners/server/plugin.test.ts rename to x-pack/platform/plugins/private/banners/server/plugin.test.ts diff --git a/x-pack/plugins/banners/server/plugin.ts b/x-pack/platform/plugins/private/banners/server/plugin.ts similarity index 100% rename from x-pack/plugins/banners/server/plugin.ts rename to x-pack/platform/plugins/private/banners/server/plugin.ts diff --git a/x-pack/plugins/banners/server/routes/index.ts b/x-pack/platform/plugins/private/banners/server/routes/index.ts similarity index 100% rename from x-pack/plugins/banners/server/routes/index.ts rename to x-pack/platform/plugins/private/banners/server/routes/index.ts diff --git a/x-pack/plugins/banners/server/routes/info.ts b/x-pack/platform/plugins/private/banners/server/routes/info.ts similarity index 100% rename from x-pack/plugins/banners/server/routes/info.ts rename to x-pack/platform/plugins/private/banners/server/routes/info.ts diff --git a/x-pack/plugins/banners/server/types.ts b/x-pack/platform/plugins/private/banners/server/types.ts similarity index 100% rename from x-pack/plugins/banners/server/types.ts rename to x-pack/platform/plugins/private/banners/server/types.ts diff --git a/x-pack/plugins/banners/server/ui_settings.test.ts b/x-pack/platform/plugins/private/banners/server/ui_settings.test.ts similarity index 100% rename from x-pack/plugins/banners/server/ui_settings.test.ts rename to x-pack/platform/plugins/private/banners/server/ui_settings.test.ts diff --git a/x-pack/plugins/banners/server/ui_settings.ts b/x-pack/platform/plugins/private/banners/server/ui_settings.ts similarity index 100% rename from x-pack/plugins/banners/server/ui_settings.ts rename to x-pack/platform/plugins/private/banners/server/ui_settings.ts diff --git a/x-pack/plugins/banners/server/utils.test.ts b/x-pack/platform/plugins/private/banners/server/utils.test.ts similarity index 100% rename from x-pack/plugins/banners/server/utils.test.ts rename to x-pack/platform/plugins/private/banners/server/utils.test.ts diff --git a/x-pack/plugins/banners/server/utils.ts b/x-pack/platform/plugins/private/banners/server/utils.ts similarity index 100% rename from x-pack/plugins/banners/server/utils.ts rename to x-pack/platform/plugins/private/banners/server/utils.ts diff --git a/x-pack/plugins/banners/tsconfig.json b/x-pack/platform/plugins/private/banners/tsconfig.json similarity index 83% rename from x-pack/plugins/banners/tsconfig.json rename to x-pack/platform/plugins/private/banners/tsconfig.json index 978c977d0fe2c..758c323379482 100644 --- a/x-pack/plugins/banners/tsconfig.json +++ b/x-pack/platform/plugins/private/banners/tsconfig.json @@ -1,9 +1,9 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, - "include": ["public/**/*", "server/**/*", "common/**/*", "../../../typings/**/*"], + "include": ["public/**/*", "server/**/*", "common/**/*", "../../../../../typings/**/*"], "kbn_references": [ "@kbn/core", "@kbn/screenshot-mode-plugin", diff --git a/x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts b/x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts index 8fa9109fa922f..751f30cb6cfb9 100644 --- a/x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts +++ b/x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts @@ -50,7 +50,7 @@ export const canvasWebpack = { KIBANA_ROOT, 'x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout' ), - resolve(KIBANA_ROOT, 'x-pack/plugins/reporting/public'), + resolve(KIBANA_ROOT, 'x-pack/platform/plugins/private/reporting/public'), ], use: 'null-loader', }, diff --git a/x-pack/plugins/custom_branding/README.md b/x-pack/platform/plugins/private/custom_branding/README.md similarity index 100% rename from x-pack/plugins/custom_branding/README.md rename to x-pack/platform/plugins/private/custom_branding/README.md diff --git a/x-pack/plugins/custom_branding/architecture_diagram.png b/x-pack/platform/plugins/private/custom_branding/architecture_diagram.png similarity index 100% rename from x-pack/plugins/custom_branding/architecture_diagram.png rename to x-pack/platform/plugins/private/custom_branding/architecture_diagram.png diff --git a/x-pack/plugins/custom_branding/common/constants.ts b/x-pack/platform/plugins/private/custom_branding/common/constants.ts similarity index 100% rename from x-pack/plugins/custom_branding/common/constants.ts rename to x-pack/platform/plugins/private/custom_branding/common/constants.ts diff --git a/x-pack/plugins/custom_branding/common/types.ts b/x-pack/platform/plugins/private/custom_branding/common/types.ts similarity index 100% rename from x-pack/plugins/custom_branding/common/types.ts rename to x-pack/platform/plugins/private/custom_branding/common/types.ts diff --git a/x-pack/plugins/custom_branding/kibana.jsonc b/x-pack/platform/plugins/private/custom_branding/kibana.jsonc similarity index 100% rename from x-pack/plugins/custom_branding/kibana.jsonc rename to x-pack/platform/plugins/private/custom_branding/kibana.jsonc diff --git a/x-pack/plugins/custom_branding/public/index.ts b/x-pack/platform/plugins/private/custom_branding/public/index.ts similarity index 100% rename from x-pack/plugins/custom_branding/public/index.ts rename to x-pack/platform/plugins/private/custom_branding/public/index.ts diff --git a/x-pack/plugins/custom_branding/public/plugin.ts b/x-pack/platform/plugins/private/custom_branding/public/plugin.ts similarity index 100% rename from x-pack/plugins/custom_branding/public/plugin.ts rename to x-pack/platform/plugins/private/custom_branding/public/plugin.ts diff --git a/x-pack/plugins/custom_branding/public/types.ts b/x-pack/platform/plugins/private/custom_branding/public/types.ts similarity index 100% rename from x-pack/plugins/custom_branding/public/types.ts rename to x-pack/platform/plugins/private/custom_branding/public/types.ts diff --git a/x-pack/plugins/custom_branding/server/index.ts b/x-pack/platform/plugins/private/custom_branding/server/index.ts similarity index 100% rename from x-pack/plugins/custom_branding/server/index.ts rename to x-pack/platform/plugins/private/custom_branding/server/index.ts diff --git a/x-pack/plugins/custom_branding/server/plugin.ts b/x-pack/platform/plugins/private/custom_branding/server/plugin.ts similarity index 100% rename from x-pack/plugins/custom_branding/server/plugin.ts rename to x-pack/platform/plugins/private/custom_branding/server/plugin.ts diff --git a/x-pack/plugins/custom_branding/server/routes/index.ts b/x-pack/platform/plugins/private/custom_branding/server/routes/index.ts similarity index 100% rename from x-pack/plugins/custom_branding/server/routes/index.ts rename to x-pack/platform/plugins/private/custom_branding/server/routes/index.ts diff --git a/x-pack/plugins/custom_branding/server/routes/info.ts b/x-pack/platform/plugins/private/custom_branding/server/routes/info.ts similarity index 100% rename from x-pack/plugins/custom_branding/server/routes/info.ts rename to x-pack/platform/plugins/private/custom_branding/server/routes/info.ts diff --git a/x-pack/plugins/custom_branding/server/types.ts b/x-pack/platform/plugins/private/custom_branding/server/types.ts similarity index 100% rename from x-pack/plugins/custom_branding/server/types.ts rename to x-pack/platform/plugins/private/custom_branding/server/types.ts diff --git a/x-pack/plugins/custom_branding/server/ui_settings.ts b/x-pack/platform/plugins/private/custom_branding/server/ui_settings.ts similarity index 100% rename from x-pack/plugins/custom_branding/server/ui_settings.ts rename to x-pack/platform/plugins/private/custom_branding/server/ui_settings.ts diff --git a/x-pack/plugins/custom_branding/tsconfig.json b/x-pack/platform/plugins/private/custom_branding/tsconfig.json similarity index 91% rename from x-pack/plugins/custom_branding/tsconfig.json rename to x-pack/platform/plugins/private/custom_branding/tsconfig.json index ac146c78954fc..f90de70193452 100644 --- a/x-pack/plugins/custom_branding/tsconfig.json +++ b/x-pack/platform/plugins/private/custom_branding/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true, diff --git a/x-pack/plugins/global_search_bar/README.md b/x-pack/platform/plugins/private/global_search_bar/README.md similarity index 100% rename from x-pack/plugins/global_search_bar/README.md rename to x-pack/platform/plugins/private/global_search_bar/README.md diff --git a/x-pack/plugins/saved_objects_tagging/jest.config.js b/x-pack/platform/plugins/private/global_search_bar/jest.config.js similarity index 54% rename from x-pack/plugins/saved_objects_tagging/jest.config.js rename to x-pack/platform/plugins/private/global_search_bar/jest.config.js index 2a2d0371267e3..a3cc6fe2092ac 100644 --- a/x-pack/plugins/saved_objects_tagging/jest.config.js +++ b/x-pack/platform/plugins/private/global_search_bar/jest.config.js @@ -7,11 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/saved_objects_tagging'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/saved_objects_tagging', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/global_search_bar'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/global_search_bar', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/saved_objects_tagging/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/private/global_search_bar/public/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/global_search_bar/kibana.jsonc b/x-pack/platform/plugins/private/global_search_bar/kibana.jsonc similarity index 100% rename from x-pack/plugins/global_search_bar/kibana.jsonc rename to x-pack/platform/plugins/private/global_search_bar/kibana.jsonc diff --git a/x-pack/plugins/global_search_bar/public/assets/illustration_product_no_search_results_dark.svg b/x-pack/platform/plugins/private/global_search_bar/public/assets/illustration_product_no_search_results_dark.svg similarity index 100% rename from x-pack/plugins/global_search_bar/public/assets/illustration_product_no_search_results_dark.svg rename to x-pack/platform/plugins/private/global_search_bar/public/assets/illustration_product_no_search_results_dark.svg diff --git a/x-pack/plugins/global_search_bar/public/assets/illustration_product_no_search_results_light.svg b/x-pack/platform/plugins/private/global_search_bar/public/assets/illustration_product_no_search_results_light.svg similarity index 100% rename from x-pack/plugins/global_search_bar/public/assets/illustration_product_no_search_results_light.svg rename to x-pack/platform/plugins/private/global_search_bar/public/assets/illustration_product_no_search_results_light.svg diff --git a/x-pack/plugins/global_search_bar/public/components/index.ts b/x-pack/platform/plugins/private/global_search_bar/public/components/index.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/components/index.ts rename to x-pack/platform/plugins/private/global_search_bar/public/components/index.ts diff --git a/x-pack/plugins/global_search_bar/public/components/popover_footer.tsx b/x-pack/platform/plugins/private/global_search_bar/public/components/popover_footer.tsx similarity index 100% rename from x-pack/plugins/global_search_bar/public/components/popover_footer.tsx rename to x-pack/platform/plugins/private/global_search_bar/public/components/popover_footer.tsx diff --git a/x-pack/plugins/global_search_bar/public/components/popover_placeholder.tsx b/x-pack/platform/plugins/private/global_search_bar/public/components/popover_placeholder.tsx similarity index 100% rename from x-pack/plugins/global_search_bar/public/components/popover_placeholder.tsx rename to x-pack/platform/plugins/private/global_search_bar/public/components/popover_placeholder.tsx diff --git a/x-pack/plugins/global_search_bar/public/components/result_tag_list.tsx b/x-pack/platform/plugins/private/global_search_bar/public/components/result_tag_list.tsx similarity index 100% rename from x-pack/plugins/global_search_bar/public/components/result_tag_list.tsx rename to x-pack/platform/plugins/private/global_search_bar/public/components/result_tag_list.tsx diff --git a/x-pack/plugins/global_search_bar/public/components/search_bar.scss b/x-pack/platform/plugins/private/global_search_bar/public/components/search_bar.scss similarity index 100% rename from x-pack/plugins/global_search_bar/public/components/search_bar.scss rename to x-pack/platform/plugins/private/global_search_bar/public/components/search_bar.scss diff --git a/x-pack/plugins/global_search_bar/public/components/search_bar.test.tsx b/x-pack/platform/plugins/private/global_search_bar/public/components/search_bar.test.tsx similarity index 100% rename from x-pack/plugins/global_search_bar/public/components/search_bar.test.tsx rename to x-pack/platform/plugins/private/global_search_bar/public/components/search_bar.test.tsx diff --git a/x-pack/plugins/global_search_bar/public/components/search_bar.tsx b/x-pack/platform/plugins/private/global_search_bar/public/components/search_bar.tsx similarity index 100% rename from x-pack/plugins/global_search_bar/public/components/search_bar.tsx rename to x-pack/platform/plugins/private/global_search_bar/public/components/search_bar.tsx diff --git a/x-pack/plugins/global_search_bar/public/components/types.ts b/x-pack/platform/plugins/private/global_search_bar/public/components/types.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/components/types.ts rename to x-pack/platform/plugins/private/global_search_bar/public/components/types.ts diff --git a/x-pack/plugins/global_search_bar/public/index.ts b/x-pack/platform/plugins/private/global_search_bar/public/index.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/index.ts rename to x-pack/platform/plugins/private/global_search_bar/public/index.ts diff --git a/x-pack/plugins/global_search_bar/public/lib/index.ts b/x-pack/platform/plugins/private/global_search_bar/public/lib/index.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/lib/index.ts rename to x-pack/platform/plugins/private/global_search_bar/public/lib/index.ts diff --git a/x-pack/plugins/global_search_bar/public/lib/result_to_option.test.ts b/x-pack/platform/plugins/private/global_search_bar/public/lib/result_to_option.test.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/lib/result_to_option.test.ts rename to x-pack/platform/plugins/private/global_search_bar/public/lib/result_to_option.test.ts diff --git a/x-pack/plugins/global_search_bar/public/lib/result_to_option.tsx b/x-pack/platform/plugins/private/global_search_bar/public/lib/result_to_option.tsx similarity index 100% rename from x-pack/plugins/global_search_bar/public/lib/result_to_option.tsx rename to x-pack/platform/plugins/private/global_search_bar/public/lib/result_to_option.tsx diff --git a/x-pack/plugins/global_search_bar/public/lib/suggestion_to_option.ts b/x-pack/platform/plugins/private/global_search_bar/public/lib/suggestion_to_option.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/lib/suggestion_to_option.ts rename to x-pack/platform/plugins/private/global_search_bar/public/lib/suggestion_to_option.ts diff --git a/x-pack/plugins/global_search_bar/public/plugin.test.ts b/x-pack/platform/plugins/private/global_search_bar/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/plugin.test.ts rename to x-pack/platform/plugins/private/global_search_bar/public/plugin.test.ts diff --git a/x-pack/plugins/global_search_bar/public/plugin.tsx b/x-pack/platform/plugins/private/global_search_bar/public/plugin.tsx similarity index 100% rename from x-pack/plugins/global_search_bar/public/plugin.tsx rename to x-pack/platform/plugins/private/global_search_bar/public/plugin.tsx diff --git a/x-pack/plugins/global_search_bar/public/search_syntax/index.ts b/x-pack/platform/plugins/private/global_search_bar/public/search_syntax/index.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/search_syntax/index.ts rename to x-pack/platform/plugins/private/global_search_bar/public/search_syntax/index.ts diff --git a/x-pack/plugins/global_search_bar/public/search_syntax/parse_search_params.test.ts b/x-pack/platform/plugins/private/global_search_bar/public/search_syntax/parse_search_params.test.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/search_syntax/parse_search_params.test.ts rename to x-pack/platform/plugins/private/global_search_bar/public/search_syntax/parse_search_params.test.ts diff --git a/x-pack/plugins/global_search_bar/public/search_syntax/parse_search_params.ts b/x-pack/platform/plugins/private/global_search_bar/public/search_syntax/parse_search_params.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/search_syntax/parse_search_params.ts rename to x-pack/platform/plugins/private/global_search_bar/public/search_syntax/parse_search_params.ts diff --git a/x-pack/plugins/global_search_bar/public/search_syntax/query_utils.test.ts b/x-pack/platform/plugins/private/global_search_bar/public/search_syntax/query_utils.test.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/search_syntax/query_utils.test.ts rename to x-pack/platform/plugins/private/global_search_bar/public/search_syntax/query_utils.test.ts diff --git a/x-pack/plugins/global_search_bar/public/search_syntax/query_utils.ts b/x-pack/platform/plugins/private/global_search_bar/public/search_syntax/query_utils.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/search_syntax/query_utils.ts rename to x-pack/platform/plugins/private/global_search_bar/public/search_syntax/query_utils.ts diff --git a/x-pack/plugins/global_search_bar/public/search_syntax/types.ts b/x-pack/platform/plugins/private/global_search_bar/public/search_syntax/types.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/search_syntax/types.ts rename to x-pack/platform/plugins/private/global_search_bar/public/search_syntax/types.ts diff --git a/x-pack/plugins/global_search_bar/public/strings.ts b/x-pack/platform/plugins/private/global_search_bar/public/strings.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/strings.ts rename to x-pack/platform/plugins/private/global_search_bar/public/strings.ts diff --git a/x-pack/plugins/global_search_bar/public/suggestions/get_suggestions.test.ts b/x-pack/platform/plugins/private/global_search_bar/public/suggestions/get_suggestions.test.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/suggestions/get_suggestions.test.ts rename to x-pack/platform/plugins/private/global_search_bar/public/suggestions/get_suggestions.test.ts diff --git a/x-pack/plugins/global_search_bar/public/suggestions/get_suggestions.ts b/x-pack/platform/plugins/private/global_search_bar/public/suggestions/get_suggestions.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/suggestions/get_suggestions.ts rename to x-pack/platform/plugins/private/global_search_bar/public/suggestions/get_suggestions.ts diff --git a/x-pack/plugins/global_search_bar/public/suggestions/index.ts b/x-pack/platform/plugins/private/global_search_bar/public/suggestions/index.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/suggestions/index.ts rename to x-pack/platform/plugins/private/global_search_bar/public/suggestions/index.ts diff --git a/x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts b/x-pack/platform/plugins/private/global_search_bar/public/telemetry/event_reporter.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts rename to x-pack/platform/plugins/private/global_search_bar/public/telemetry/event_reporter.ts diff --git a/x-pack/plugins/global_search_bar/public/telemetry/event_types.ts b/x-pack/platform/plugins/private/global_search_bar/public/telemetry/event_types.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/telemetry/event_types.ts rename to x-pack/platform/plugins/private/global_search_bar/public/telemetry/event_types.ts diff --git a/x-pack/plugins/global_search_bar/public/telemetry/index.ts b/x-pack/platform/plugins/private/global_search_bar/public/telemetry/index.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/telemetry/index.ts rename to x-pack/platform/plugins/private/global_search_bar/public/telemetry/index.ts diff --git a/x-pack/plugins/global_search_bar/public/telemetry/telemetry.test.tsx b/x-pack/platform/plugins/private/global_search_bar/public/telemetry/telemetry.test.tsx similarity index 100% rename from x-pack/plugins/global_search_bar/public/telemetry/telemetry.test.tsx rename to x-pack/platform/plugins/private/global_search_bar/public/telemetry/telemetry.test.tsx diff --git a/x-pack/plugins/global_search_bar/public/types.ts b/x-pack/platform/plugins/private/global_search_bar/public/types.ts similarity index 100% rename from x-pack/plugins/global_search_bar/public/types.ts rename to x-pack/platform/plugins/private/global_search_bar/public/types.ts diff --git a/x-pack/plugins/global_search_bar/server/config.ts b/x-pack/platform/plugins/private/global_search_bar/server/config.ts similarity index 100% rename from x-pack/plugins/global_search_bar/server/config.ts rename to x-pack/platform/plugins/private/global_search_bar/server/config.ts diff --git a/x-pack/plugins/global_search_bar/server/index.ts b/x-pack/platform/plugins/private/global_search_bar/server/index.ts similarity index 100% rename from x-pack/plugins/global_search_bar/server/index.ts rename to x-pack/platform/plugins/private/global_search_bar/server/index.ts diff --git a/x-pack/plugins/global_search_bar/server/plugin.ts b/x-pack/platform/plugins/private/global_search_bar/server/plugin.ts similarity index 100% rename from x-pack/plugins/global_search_bar/server/plugin.ts rename to x-pack/platform/plugins/private/global_search_bar/server/plugin.ts diff --git a/x-pack/plugins/global_search_bar/tsconfig.json b/x-pack/platform/plugins/private/global_search_bar/tsconfig.json similarity index 91% rename from x-pack/plugins/global_search_bar/tsconfig.json rename to x-pack/platform/plugins/private/global_search_bar/tsconfig.json index 188f9e005c893..296d66f9d5f2f 100644 --- a/x-pack/plugins/global_search_bar/tsconfig.json +++ b/x-pack/platform/plugins/private/global_search_bar/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/global_search_providers/README.md b/x-pack/platform/plugins/private/global_search_providers/README.md similarity index 100% rename from x-pack/plugins/global_search_providers/README.md rename to x-pack/platform/plugins/private/global_search_providers/README.md diff --git a/x-pack/platform/plugins/private/global_search_providers/jest.config.js b/x-pack/platform/plugins/private/global_search_providers/jest.config.js new file mode 100644 index 0000000000000..4420e0f426c22 --- /dev/null +++ b/x-pack/platform/plugins/private/global_search_providers/jest.config.js @@ -0,0 +1,18 @@ +/* + * 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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/global_search_providers'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/global_search_providers', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/global_search_providers/{public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/global_search_providers/kibana.jsonc b/x-pack/platform/plugins/private/global_search_providers/kibana.jsonc similarity index 100% rename from x-pack/plugins/global_search_providers/kibana.jsonc rename to x-pack/platform/plugins/private/global_search_providers/kibana.jsonc diff --git a/x-pack/plugins/global_search_providers/public/index.ts b/x-pack/platform/plugins/private/global_search_providers/public/index.ts similarity index 100% rename from x-pack/plugins/global_search_providers/public/index.ts rename to x-pack/platform/plugins/private/global_search_providers/public/index.ts diff --git a/x-pack/plugins/global_search_providers/public/plugin.test.ts b/x-pack/platform/plugins/private/global_search_providers/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/global_search_providers/public/plugin.test.ts rename to x-pack/platform/plugins/private/global_search_providers/public/plugin.test.ts diff --git a/x-pack/plugins/global_search_providers/public/plugin.ts b/x-pack/platform/plugins/private/global_search_providers/public/plugin.ts similarity index 100% rename from x-pack/plugins/global_search_providers/public/plugin.ts rename to x-pack/platform/plugins/private/global_search_providers/public/plugin.ts diff --git a/x-pack/plugins/global_search_providers/public/providers/application.test.mocks.ts b/x-pack/platform/plugins/private/global_search_providers/public/providers/application.test.mocks.ts similarity index 100% rename from x-pack/plugins/global_search_providers/public/providers/application.test.mocks.ts rename to x-pack/platform/plugins/private/global_search_providers/public/providers/application.test.mocks.ts diff --git a/x-pack/plugins/global_search_providers/public/providers/application.test.ts b/x-pack/platform/plugins/private/global_search_providers/public/providers/application.test.ts similarity index 100% rename from x-pack/plugins/global_search_providers/public/providers/application.test.ts rename to x-pack/platform/plugins/private/global_search_providers/public/providers/application.test.ts diff --git a/x-pack/plugins/global_search_providers/public/providers/application.ts b/x-pack/platform/plugins/private/global_search_providers/public/providers/application.ts similarity index 100% rename from x-pack/plugins/global_search_providers/public/providers/application.ts rename to x-pack/platform/plugins/private/global_search_providers/public/providers/application.ts diff --git a/x-pack/plugins/global_search_providers/public/providers/get_app_results.test.ts b/x-pack/platform/plugins/private/global_search_providers/public/providers/get_app_results.test.ts similarity index 100% rename from x-pack/plugins/global_search_providers/public/providers/get_app_results.test.ts rename to x-pack/platform/plugins/private/global_search_providers/public/providers/get_app_results.test.ts diff --git a/x-pack/plugins/global_search_providers/public/providers/get_app_results.ts b/x-pack/platform/plugins/private/global_search_providers/public/providers/get_app_results.ts similarity index 100% rename from x-pack/plugins/global_search_providers/public/providers/get_app_results.ts rename to x-pack/platform/plugins/private/global_search_providers/public/providers/get_app_results.ts diff --git a/x-pack/plugins/global_search_providers/public/providers/index.ts b/x-pack/platform/plugins/private/global_search_providers/public/providers/index.ts similarity index 100% rename from x-pack/plugins/global_search_providers/public/providers/index.ts rename to x-pack/platform/plugins/private/global_search_providers/public/providers/index.ts diff --git a/x-pack/plugins/global_search_providers/server/index.ts b/x-pack/platform/plugins/private/global_search_providers/server/index.ts similarity index 100% rename from x-pack/plugins/global_search_providers/server/index.ts rename to x-pack/platform/plugins/private/global_search_providers/server/index.ts diff --git a/x-pack/plugins/global_search_providers/server/plugin.test.ts b/x-pack/platform/plugins/private/global_search_providers/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/global_search_providers/server/plugin.test.ts rename to x-pack/platform/plugins/private/global_search_providers/server/plugin.test.ts diff --git a/x-pack/plugins/global_search_providers/server/plugin.ts b/x-pack/platform/plugins/private/global_search_providers/server/plugin.ts similarity index 100% rename from x-pack/plugins/global_search_providers/server/plugin.ts rename to x-pack/platform/plugins/private/global_search_providers/server/plugin.ts diff --git a/x-pack/plugins/global_search_providers/server/providers/index.ts b/x-pack/platform/plugins/private/global_search_providers/server/providers/index.ts similarity index 100% rename from x-pack/plugins/global_search_providers/server/providers/index.ts rename to x-pack/platform/plugins/private/global_search_providers/server/providers/index.ts diff --git a/x-pack/plugins/global_search_providers/server/providers/saved_objects/get_searchable_types.test.ts b/x-pack/platform/plugins/private/global_search_providers/server/providers/saved_objects/get_searchable_types.test.ts similarity index 100% rename from x-pack/plugins/global_search_providers/server/providers/saved_objects/get_searchable_types.test.ts rename to x-pack/platform/plugins/private/global_search_providers/server/providers/saved_objects/get_searchable_types.test.ts diff --git a/x-pack/plugins/global_search_providers/server/providers/saved_objects/get_searchable_types.ts b/x-pack/platform/plugins/private/global_search_providers/server/providers/saved_objects/get_searchable_types.ts similarity index 100% rename from x-pack/plugins/global_search_providers/server/providers/saved_objects/get_searchable_types.ts rename to x-pack/platform/plugins/private/global_search_providers/server/providers/saved_objects/get_searchable_types.ts diff --git a/x-pack/plugins/global_search_providers/server/providers/saved_objects/index.ts b/x-pack/platform/plugins/private/global_search_providers/server/providers/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/global_search_providers/server/providers/saved_objects/index.ts rename to x-pack/platform/plugins/private/global_search_providers/server/providers/saved_objects/index.ts diff --git a/x-pack/plugins/global_search_providers/server/providers/saved_objects/map_object_to_result.test.ts b/x-pack/platform/plugins/private/global_search_providers/server/providers/saved_objects/map_object_to_result.test.ts similarity index 100% rename from x-pack/plugins/global_search_providers/server/providers/saved_objects/map_object_to_result.test.ts rename to x-pack/platform/plugins/private/global_search_providers/server/providers/saved_objects/map_object_to_result.test.ts diff --git a/x-pack/plugins/global_search_providers/server/providers/saved_objects/map_object_to_result.ts b/x-pack/platform/plugins/private/global_search_providers/server/providers/saved_objects/map_object_to_result.ts similarity index 100% rename from x-pack/plugins/global_search_providers/server/providers/saved_objects/map_object_to_result.ts rename to x-pack/platform/plugins/private/global_search_providers/server/providers/saved_objects/map_object_to_result.ts diff --git a/x-pack/plugins/global_search_providers/server/providers/saved_objects/provider.test.ts b/x-pack/platform/plugins/private/global_search_providers/server/providers/saved_objects/provider.test.ts similarity index 100% rename from x-pack/plugins/global_search_providers/server/providers/saved_objects/provider.test.ts rename to x-pack/platform/plugins/private/global_search_providers/server/providers/saved_objects/provider.test.ts diff --git a/x-pack/plugins/global_search_providers/server/providers/saved_objects/provider.ts b/x-pack/platform/plugins/private/global_search_providers/server/providers/saved_objects/provider.ts similarity index 100% rename from x-pack/plugins/global_search_providers/server/providers/saved_objects/provider.ts rename to x-pack/platform/plugins/private/global_search_providers/server/providers/saved_objects/provider.ts diff --git a/x-pack/plugins/global_search_providers/tsconfig.json b/x-pack/platform/plugins/private/global_search_providers/tsconfig.json similarity index 73% rename from x-pack/plugins/global_search_providers/tsconfig.json rename to x-pack/platform/plugins/private/global_search_providers/tsconfig.json index 45c5e2865f500..9a084c6356c5a 100644 --- a/x-pack/plugins/global_search_providers/tsconfig.json +++ b/x-pack/platform/plugins/private/global_search_providers/tsconfig.json @@ -1,12 +1,12 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, "include": [ "public/**/*", "server/**/*", - "../../../typings/**/*", + "../../../../../typings/**/*", ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/platform/plugins/private/reporting/.gitignore b/x-pack/platform/plugins/private/reporting/.gitignore new file mode 100644 index 0000000000000..71edd798b86b5 --- /dev/null +++ b/x-pack/platform/plugins/private/reporting/.gitignore @@ -0,0 +1,3 @@ +/chromium/ +/.chromium/ +/.phantom/ diff --git a/x-pack/plugins/reporting/README.md b/x-pack/platform/plugins/private/reporting/README.md similarity index 100% rename from x-pack/plugins/reporting/README.md rename to x-pack/platform/plugins/private/reporting/README.md diff --git a/x-pack/plugins/reporting/common/constants.ts b/x-pack/platform/plugins/private/reporting/common/constants.ts similarity index 100% rename from x-pack/plugins/reporting/common/constants.ts rename to x-pack/platform/plugins/private/reporting/common/constants.ts diff --git a/x-pack/plugins/reporting/common/errors/map_to_reporting_error.test.ts b/x-pack/platform/plugins/private/reporting/common/errors/map_to_reporting_error.test.ts similarity index 100% rename from x-pack/plugins/reporting/common/errors/map_to_reporting_error.test.ts rename to x-pack/platform/plugins/private/reporting/common/errors/map_to_reporting_error.test.ts diff --git a/x-pack/plugins/reporting/common/errors/map_to_reporting_error.ts b/x-pack/platform/plugins/private/reporting/common/errors/map_to_reporting_error.ts similarity index 97% rename from x-pack/plugins/reporting/common/errors/map_to_reporting_error.ts rename to x-pack/platform/plugins/private/reporting/common/errors/map_to_reporting_error.ts index e55082e4ce3db..8a1c61a283632 100644 --- a/x-pack/plugins/reporting/common/errors/map_to_reporting_error.ts +++ b/x-pack/platform/plugins/private/reporting/common/errors/map_to_reporting_error.ts @@ -37,7 +37,7 @@ function getErrorName(error: ExecutionError | unknown): string | undefined { * Map an error object from the Screenshotting plugin into an error type of the Reporting domain. * * NOTE: each type of ReportingError code must be referenced in each applicable `errorCodesSchema*` object in - * x-pack/plugins/reporting/server/usage/schema.ts + * x-pack/platform/plugins/private/reporting/server/usage/schema.ts * * @param {unknown} error - a kind of error object * @returns {ReportingError} - the converted error object diff --git a/x-pack/plugins/reporting/common/job_utils.ts b/x-pack/platform/plugins/private/reporting/common/job_utils.ts similarity index 100% rename from x-pack/plugins/reporting/common/job_utils.ts rename to x-pack/platform/plugins/private/reporting/common/job_utils.ts diff --git a/x-pack/plugins/reporting/common/poller.ts b/x-pack/platform/plugins/private/reporting/common/poller.ts similarity index 100% rename from x-pack/plugins/reporting/common/poller.ts rename to x-pack/platform/plugins/private/reporting/common/poller.ts diff --git a/x-pack/plugins/reporting/common/test/fixtures.ts b/x-pack/platform/plugins/private/reporting/common/test/fixtures.ts similarity index 100% rename from x-pack/plugins/reporting/common/test/fixtures.ts rename to x-pack/platform/plugins/private/reporting/common/test/fixtures.ts diff --git a/x-pack/plugins/reporting/common/test/index.ts b/x-pack/platform/plugins/private/reporting/common/test/index.ts similarity index 100% rename from x-pack/plugins/reporting/common/test/index.ts rename to x-pack/platform/plugins/private/reporting/common/test/index.ts diff --git a/x-pack/plugins/reporting/common/test/types.ts b/x-pack/platform/plugins/private/reporting/common/test/types.ts similarity index 100% rename from x-pack/plugins/reporting/common/test/types.ts rename to x-pack/platform/plugins/private/reporting/common/test/types.ts diff --git a/x-pack/plugins/reporting/common/types.ts b/x-pack/platform/plugins/private/reporting/common/types.ts similarity index 100% rename from x-pack/plugins/reporting/common/types.ts rename to x-pack/platform/plugins/private/reporting/common/types.ts diff --git a/x-pack/plugins/reporting/jest.config.js b/x-pack/platform/plugins/private/reporting/jest.config.js similarity index 54% rename from x-pack/plugins/reporting/jest.config.js rename to x-pack/platform/plugins/private/reporting/jest.config.js index 4354377fc26cd..790fa6c90c155 100644 --- a/x-pack/plugins/reporting/jest.config.js +++ b/x-pack/platform/plugins/private/reporting/jest.config.js @@ -7,11 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/reporting'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/reporting', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/reporting'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/reporting', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/reporting/{common,public,server}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/private/reporting/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/plugins/reporting/jest.integration.config.js b/x-pack/platform/plugins/private/reporting/jest.integration.config.js similarity index 76% rename from x-pack/plugins/reporting/jest.integration.config.js rename to x-pack/platform/plugins/private/reporting/jest.integration.config.js index 7f43fa6b4464a..54a75e566f4de 100644 --- a/x-pack/plugins/reporting/jest.integration.config.js +++ b/x-pack/platform/plugins/private/reporting/jest.integration.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/x-pack/plugins/reporting'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/reporting'], }; diff --git a/x-pack/plugins/reporting/kibana.jsonc b/x-pack/platform/plugins/private/reporting/kibana.jsonc similarity index 100% rename from x-pack/plugins/reporting/kibana.jsonc rename to x-pack/platform/plugins/private/reporting/kibana.jsonc diff --git a/x-pack/plugins/reporting/public/index.ts b/x-pack/platform/plugins/private/reporting/public/index.ts similarity index 100% rename from x-pack/plugins/reporting/public/index.ts rename to x-pack/platform/plugins/private/reporting/public/index.ts diff --git a/x-pack/plugins/reporting/public/lib/__snapshots__/stream_handler.test.ts.snap b/x-pack/platform/plugins/private/reporting/public/lib/__snapshots__/stream_handler.test.ts.snap similarity index 100% rename from x-pack/plugins/reporting/public/lib/__snapshots__/stream_handler.test.ts.snap rename to x-pack/platform/plugins/private/reporting/public/lib/__snapshots__/stream_handler.test.ts.snap diff --git a/x-pack/plugins/reporting/public/lib/default_status_context.tsx b/x-pack/platform/plugins/private/reporting/public/lib/default_status_context.tsx similarity index 100% rename from x-pack/plugins/reporting/public/lib/default_status_context.tsx rename to x-pack/platform/plugins/private/reporting/public/lib/default_status_context.tsx diff --git a/x-pack/plugins/reporting/public/lib/ilm_policy_status_context.tsx b/x-pack/platform/plugins/private/reporting/public/lib/ilm_policy_status_context.tsx similarity index 100% rename from x-pack/plugins/reporting/public/lib/ilm_policy_status_context.tsx rename to x-pack/platform/plugins/private/reporting/public/lib/ilm_policy_status_context.tsx diff --git a/x-pack/plugins/reporting/public/lib/job.test.ts b/x-pack/platform/plugins/private/reporting/public/lib/job.test.ts similarity index 100% rename from x-pack/plugins/reporting/public/lib/job.test.ts rename to x-pack/platform/plugins/private/reporting/public/lib/job.test.ts diff --git a/x-pack/plugins/reporting/public/lib/job_queue_client.test.mocks.ts b/x-pack/platform/plugins/private/reporting/public/lib/job_queue_client.test.mocks.ts similarity index 100% rename from x-pack/plugins/reporting/public/lib/job_queue_client.test.mocks.ts rename to x-pack/platform/plugins/private/reporting/public/lib/job_queue_client.test.mocks.ts diff --git a/x-pack/plugins/reporting/public/lib/stream_handler.test.ts b/x-pack/platform/plugins/private/reporting/public/lib/stream_handler.test.ts similarity index 100% rename from x-pack/plugins/reporting/public/lib/stream_handler.test.ts rename to x-pack/platform/plugins/private/reporting/public/lib/stream_handler.test.ts diff --git a/x-pack/plugins/reporting/public/lib/stream_handler.ts b/x-pack/platform/plugins/private/reporting/public/lib/stream_handler.ts similarity index 100% rename from x-pack/plugins/reporting/public/lib/stream_handler.ts rename to x-pack/platform/plugins/private/reporting/public/lib/stream_handler.ts diff --git a/x-pack/plugins/reporting/public/management/__test__/index.ts b/x-pack/platform/plugins/private/reporting/public/management/__test__/index.ts similarity index 100% rename from x-pack/plugins/reporting/public/management/__test__/index.ts rename to x-pack/platform/plugins/private/reporting/public/management/__test__/index.ts diff --git a/x-pack/plugins/reporting/public/management/__test__/report_listing.test.helpers.tsx b/x-pack/platform/plugins/private/reporting/public/management/__test__/report_listing.test.helpers.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/__test__/report_listing.test.helpers.tsx rename to x-pack/platform/plugins/private/reporting/public/management/__test__/report_listing.test.helpers.tsx diff --git a/x-pack/plugins/reporting/public/management/components/ilm_policy_link.tsx b/x-pack/platform/plugins/private/reporting/public/management/components/ilm_policy_link.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/components/ilm_policy_link.tsx rename to x-pack/platform/plugins/private/reporting/public/management/components/ilm_policy_link.tsx diff --git a/x-pack/plugins/reporting/public/management/components/index.ts b/x-pack/platform/plugins/private/reporting/public/management/components/index.ts similarity index 100% rename from x-pack/plugins/reporting/public/management/components/index.ts rename to x-pack/platform/plugins/private/reporting/public/management/components/index.ts diff --git a/x-pack/plugins/reporting/public/management/components/inspect_in_console_button/get_console_text_pit.ts b/x-pack/platform/plugins/private/reporting/public/management/components/inspect_in_console_button/get_console_text_pit.ts similarity index 100% rename from x-pack/plugins/reporting/public/management/components/inspect_in_console_button/get_console_text_pit.ts rename to x-pack/platform/plugins/private/reporting/public/management/components/inspect_in_console_button/get_console_text_pit.ts diff --git a/x-pack/plugins/reporting/public/management/components/inspect_in_console_button/get_console_text_scroll.ts b/x-pack/platform/plugins/private/reporting/public/management/components/inspect_in_console_button/get_console_text_scroll.ts similarity index 100% rename from x-pack/plugins/reporting/public/management/components/inspect_in_console_button/get_console_text_scroll.ts rename to x-pack/platform/plugins/private/reporting/public/management/components/inspect_in_console_button/get_console_text_scroll.ts diff --git a/x-pack/plugins/reporting/public/management/components/inspect_in_console_button/inspect_in_console_button.tsx b/x-pack/platform/plugins/private/reporting/public/management/components/inspect_in_console_button/inspect_in_console_button.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/components/inspect_in_console_button/inspect_in_console_button.tsx rename to x-pack/platform/plugins/private/reporting/public/management/components/inspect_in_console_button/inspect_in_console_button.tsx diff --git a/x-pack/plugins/reporting/public/management/components/migrate_ilm_policy_callout/ilm_policy_migration_needed_callout.tsx b/x-pack/platform/plugins/private/reporting/public/management/components/migrate_ilm_policy_callout/ilm_policy_migration_needed_callout.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/components/migrate_ilm_policy_callout/ilm_policy_migration_needed_callout.tsx rename to x-pack/platform/plugins/private/reporting/public/management/components/migrate_ilm_policy_callout/ilm_policy_migration_needed_callout.tsx diff --git a/x-pack/plugins/reporting/public/management/components/migrate_ilm_policy_callout/index.tsx b/x-pack/platform/plugins/private/reporting/public/management/components/migrate_ilm_policy_callout/index.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/components/migrate_ilm_policy_callout/index.tsx rename to x-pack/platform/plugins/private/reporting/public/management/components/migrate_ilm_policy_callout/index.tsx diff --git a/x-pack/plugins/reporting/public/management/components/report_delete_button.test.tsx b/x-pack/platform/plugins/private/reporting/public/management/components/report_delete_button.test.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/components/report_delete_button.test.tsx rename to x-pack/platform/plugins/private/reporting/public/management/components/report_delete_button.test.tsx diff --git a/x-pack/plugins/reporting/public/management/components/report_delete_button.tsx b/x-pack/platform/plugins/private/reporting/public/management/components/report_delete_button.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/components/report_delete_button.tsx rename to x-pack/platform/plugins/private/reporting/public/management/components/report_delete_button.tsx diff --git a/x-pack/plugins/reporting/public/management/components/report_diagnostic.test.tsx b/x-pack/platform/plugins/private/reporting/public/management/components/report_diagnostic.test.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/components/report_diagnostic.test.tsx rename to x-pack/platform/plugins/private/reporting/public/management/components/report_diagnostic.test.tsx diff --git a/x-pack/plugins/reporting/public/management/components/report_diagnostic.tsx b/x-pack/platform/plugins/private/reporting/public/management/components/report_diagnostic.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/components/report_diagnostic.tsx rename to x-pack/platform/plugins/private/reporting/public/management/components/report_diagnostic.tsx diff --git a/x-pack/plugins/reporting/public/management/components/report_info_button.tsx b/x-pack/platform/plugins/private/reporting/public/management/components/report_info_button.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/components/report_info_button.tsx rename to x-pack/platform/plugins/private/reporting/public/management/components/report_info_button.tsx diff --git a/x-pack/plugins/reporting/public/management/components/report_info_flyout.tsx b/x-pack/platform/plugins/private/reporting/public/management/components/report_info_flyout.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/components/report_info_flyout.tsx rename to x-pack/platform/plugins/private/reporting/public/management/components/report_info_flyout.tsx diff --git a/x-pack/plugins/reporting/public/management/components/report_info_flyout_content.tsx b/x-pack/platform/plugins/private/reporting/public/management/components/report_info_flyout_content.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/components/report_info_flyout_content.tsx rename to x-pack/platform/plugins/private/reporting/public/management/components/report_info_flyout_content.tsx diff --git a/x-pack/plugins/reporting/public/management/components/report_status_indicator.tsx b/x-pack/platform/plugins/private/reporting/public/management/components/report_status_indicator.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/components/report_status_indicator.tsx rename to x-pack/platform/plugins/private/reporting/public/management/components/report_status_indicator.tsx diff --git a/x-pack/plugins/reporting/public/management/default/report_listing_default.tsx b/x-pack/platform/plugins/private/reporting/public/management/default/report_listing_default.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/default/report_listing_default.tsx rename to x-pack/platform/plugins/private/reporting/public/management/default/report_listing_default.tsx diff --git a/x-pack/plugins/reporting/public/management/index.ts b/x-pack/platform/plugins/private/reporting/public/management/index.ts similarity index 100% rename from x-pack/plugins/reporting/public/management/index.ts rename to x-pack/platform/plugins/private/reporting/public/management/index.ts diff --git a/x-pack/plugins/reporting/public/management/mount_management_section.tsx b/x-pack/platform/plugins/private/reporting/public/management/mount_management_section.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/mount_management_section.tsx rename to x-pack/platform/plugins/private/reporting/public/management/mount_management_section.tsx diff --git a/x-pack/plugins/reporting/public/management/report_listing.scss b/x-pack/platform/plugins/private/reporting/public/management/report_listing.scss similarity index 100% rename from x-pack/plugins/reporting/public/management/report_listing.scss rename to x-pack/platform/plugins/private/reporting/public/management/report_listing.scss diff --git a/x-pack/plugins/reporting/public/management/report_listing.test.ts b/x-pack/platform/plugins/private/reporting/public/management/report_listing.test.ts similarity index 100% rename from x-pack/plugins/reporting/public/management/report_listing.test.ts rename to x-pack/platform/plugins/private/reporting/public/management/report_listing.test.ts diff --git a/x-pack/plugins/reporting/public/management/report_listing.tsx b/x-pack/platform/plugins/private/reporting/public/management/report_listing.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/report_listing.tsx rename to x-pack/platform/plugins/private/reporting/public/management/report_listing.tsx diff --git a/x-pack/plugins/reporting/public/management/report_listing_table.tsx b/x-pack/platform/plugins/private/reporting/public/management/report_listing_table.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/report_listing_table.tsx rename to x-pack/platform/plugins/private/reporting/public/management/report_listing_table.tsx diff --git a/x-pack/plugins/reporting/public/management/stateful/report_listing_stateful.tsx b/x-pack/platform/plugins/private/reporting/public/management/stateful/report_listing_stateful.tsx similarity index 100% rename from x-pack/plugins/reporting/public/management/stateful/report_listing_stateful.tsx rename to x-pack/platform/plugins/private/reporting/public/management/stateful/report_listing_stateful.tsx diff --git a/x-pack/plugins/reporting/public/management/utils.ts b/x-pack/platform/plugins/private/reporting/public/management/utils.ts similarity index 100% rename from x-pack/plugins/reporting/public/management/utils.ts rename to x-pack/platform/plugins/private/reporting/public/management/utils.ts diff --git a/x-pack/plugins/reporting/public/mocks.ts b/x-pack/platform/plugins/private/reporting/public/mocks.ts similarity index 100% rename from x-pack/plugins/reporting/public/mocks.ts rename to x-pack/platform/plugins/private/reporting/public/mocks.ts diff --git a/x-pack/plugins/reporting/public/notifier/general_error.tsx b/x-pack/platform/plugins/private/reporting/public/notifier/general_error.tsx similarity index 100% rename from x-pack/plugins/reporting/public/notifier/general_error.tsx rename to x-pack/platform/plugins/private/reporting/public/notifier/general_error.tsx diff --git a/x-pack/plugins/reporting/public/notifier/index.ts b/x-pack/platform/plugins/private/reporting/public/notifier/index.ts similarity index 100% rename from x-pack/plugins/reporting/public/notifier/index.ts rename to x-pack/platform/plugins/private/reporting/public/notifier/index.ts diff --git a/x-pack/plugins/reporting/public/notifier/job_download_button.tsx b/x-pack/platform/plugins/private/reporting/public/notifier/job_download_button.tsx similarity index 100% rename from x-pack/plugins/reporting/public/notifier/job_download_button.tsx rename to x-pack/platform/plugins/private/reporting/public/notifier/job_download_button.tsx diff --git a/x-pack/plugins/reporting/public/notifier/job_failure.tsx b/x-pack/platform/plugins/private/reporting/public/notifier/job_failure.tsx similarity index 100% rename from x-pack/plugins/reporting/public/notifier/job_failure.tsx rename to x-pack/platform/plugins/private/reporting/public/notifier/job_failure.tsx diff --git a/x-pack/plugins/reporting/public/notifier/job_success.tsx b/x-pack/platform/plugins/private/reporting/public/notifier/job_success.tsx similarity index 100% rename from x-pack/plugins/reporting/public/notifier/job_success.tsx rename to x-pack/platform/plugins/private/reporting/public/notifier/job_success.tsx diff --git a/x-pack/plugins/reporting/public/notifier/job_warning.tsx b/x-pack/platform/plugins/private/reporting/public/notifier/job_warning.tsx similarity index 100% rename from x-pack/plugins/reporting/public/notifier/job_warning.tsx rename to x-pack/platform/plugins/private/reporting/public/notifier/job_warning.tsx diff --git a/x-pack/plugins/reporting/public/notifier/job_warning_formulas.tsx b/x-pack/platform/plugins/private/reporting/public/notifier/job_warning_formulas.tsx similarity index 100% rename from x-pack/plugins/reporting/public/notifier/job_warning_formulas.tsx rename to x-pack/platform/plugins/private/reporting/public/notifier/job_warning_formulas.tsx diff --git a/x-pack/plugins/reporting/public/notifier/job_warning_max_size.tsx b/x-pack/platform/plugins/private/reporting/public/notifier/job_warning_max_size.tsx similarity index 100% rename from x-pack/plugins/reporting/public/notifier/job_warning_max_size.tsx rename to x-pack/platform/plugins/private/reporting/public/notifier/job_warning_max_size.tsx diff --git a/x-pack/plugins/reporting/public/notifier/report_link.tsx b/x-pack/platform/plugins/private/reporting/public/notifier/report_link.tsx similarity index 100% rename from x-pack/plugins/reporting/public/notifier/report_link.tsx rename to x-pack/platform/plugins/private/reporting/public/notifier/report_link.tsx diff --git a/x-pack/plugins/reporting/public/plugin.ts b/x-pack/platform/plugins/private/reporting/public/plugin.ts similarity index 100% rename from x-pack/plugins/reporting/public/plugin.ts rename to x-pack/platform/plugins/private/reporting/public/plugin.ts diff --git a/x-pack/plugins/reporting/public/redirect/index.ts b/x-pack/platform/plugins/private/reporting/public/redirect/index.ts similarity index 100% rename from x-pack/plugins/reporting/public/redirect/index.ts rename to x-pack/platform/plugins/private/reporting/public/redirect/index.ts diff --git a/x-pack/plugins/reporting/public/redirect/mount_redirect_app.tsx b/x-pack/platform/plugins/private/reporting/public/redirect/mount_redirect_app.tsx similarity index 100% rename from x-pack/plugins/reporting/public/redirect/mount_redirect_app.tsx rename to x-pack/platform/plugins/private/reporting/public/redirect/mount_redirect_app.tsx diff --git a/x-pack/plugins/reporting/public/redirect/redirect_app.scss b/x-pack/platform/plugins/private/reporting/public/redirect/redirect_app.scss similarity index 100% rename from x-pack/plugins/reporting/public/redirect/redirect_app.scss rename to x-pack/platform/plugins/private/reporting/public/redirect/redirect_app.scss diff --git a/x-pack/plugins/reporting/public/redirect/redirect_app.tsx b/x-pack/platform/plugins/private/reporting/public/redirect/redirect_app.tsx similarity index 100% rename from x-pack/plugins/reporting/public/redirect/redirect_app.tsx rename to x-pack/platform/plugins/private/reporting/public/redirect/redirect_app.tsx diff --git a/x-pack/plugins/reporting/public/shared_i18n_texts.tsx b/x-pack/platform/plugins/private/reporting/public/shared_i18n_texts.tsx similarity index 100% rename from x-pack/plugins/reporting/public/shared_i18n_texts.tsx rename to x-pack/platform/plugins/private/reporting/public/shared_i18n_texts.tsx diff --git a/x-pack/plugins/reporting/public/shared_imports.ts b/x-pack/platform/plugins/private/reporting/public/shared_imports.ts similarity index 100% rename from x-pack/plugins/reporting/public/shared_imports.ts rename to x-pack/platform/plugins/private/reporting/public/shared_imports.ts diff --git a/x-pack/plugins/reporting/public/types.ts b/x-pack/platform/plugins/private/reporting/public/types.ts similarity index 100% rename from x-pack/plugins/reporting/public/types.ts rename to x-pack/platform/plugins/private/reporting/public/types.ts diff --git a/x-pack/plugins/reporting/server/config/create_config.test.ts b/x-pack/platform/plugins/private/reporting/server/config/create_config.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/config/create_config.test.ts rename to x-pack/platform/plugins/private/reporting/server/config/create_config.test.ts diff --git a/x-pack/plugins/reporting/server/config/create_config.ts b/x-pack/platform/plugins/private/reporting/server/config/create_config.ts similarity index 100% rename from x-pack/plugins/reporting/server/config/create_config.ts rename to x-pack/platform/plugins/private/reporting/server/config/create_config.ts diff --git a/x-pack/plugins/reporting/server/config/index.ts b/x-pack/platform/plugins/private/reporting/server/config/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/config/index.ts rename to x-pack/platform/plugins/private/reporting/server/config/index.ts diff --git a/x-pack/plugins/reporting/server/config/ui_settings.test.ts b/x-pack/platform/plugins/private/reporting/server/config/ui_settings.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/config/ui_settings.test.ts rename to x-pack/platform/plugins/private/reporting/server/config/ui_settings.test.ts diff --git a/x-pack/plugins/reporting/server/config/ui_settings.ts b/x-pack/platform/plugins/private/reporting/server/config/ui_settings.ts similarity index 100% rename from x-pack/plugins/reporting/server/config/ui_settings.ts rename to x-pack/platform/plugins/private/reporting/server/config/ui_settings.ts diff --git a/x-pack/plugins/reporting/server/core.ts b/x-pack/platform/plugins/private/reporting/server/core.ts similarity index 100% rename from x-pack/plugins/reporting/server/core.ts rename to x-pack/platform/plugins/private/reporting/server/core.ts diff --git a/x-pack/plugins/reporting/server/deprecations/index.ts b/x-pack/platform/plugins/private/reporting/server/deprecations/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/deprecations/index.ts rename to x-pack/platform/plugins/private/reporting/server/deprecations/index.ts diff --git a/x-pack/plugins/reporting/server/deprecations/migrate_existing_indices_ilm_policy.test.ts b/x-pack/platform/plugins/private/reporting/server/deprecations/migrate_existing_indices_ilm_policy.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/deprecations/migrate_existing_indices_ilm_policy.test.ts rename to x-pack/platform/plugins/private/reporting/server/deprecations/migrate_existing_indices_ilm_policy.test.ts diff --git a/x-pack/plugins/reporting/server/deprecations/migrate_existing_indices_ilm_policy.ts b/x-pack/platform/plugins/private/reporting/server/deprecations/migrate_existing_indices_ilm_policy.ts similarity index 100% rename from x-pack/plugins/reporting/server/deprecations/migrate_existing_indices_ilm_policy.ts rename to x-pack/platform/plugins/private/reporting/server/deprecations/migrate_existing_indices_ilm_policy.ts diff --git a/x-pack/plugins/reporting/server/features.ts b/x-pack/platform/plugins/private/reporting/server/features.ts similarity index 100% rename from x-pack/plugins/reporting/server/features.ts rename to x-pack/platform/plugins/private/reporting/server/features.ts diff --git a/x-pack/plugins/reporting/server/index.ts b/x-pack/platform/plugins/private/reporting/server/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/index.ts rename to x-pack/platform/plugins/private/reporting/server/index.ts diff --git a/x-pack/plugins/reporting/server/lib/check_params_version.ts b/x-pack/platform/plugins/private/reporting/server/lib/check_params_version.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/check_params_version.ts rename to x-pack/platform/plugins/private/reporting/server/lib/check_params_version.ts diff --git a/x-pack/plugins/reporting/server/lib/content_stream.test.ts b/x-pack/platform/plugins/private/reporting/server/lib/content_stream.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/content_stream.test.ts rename to x-pack/platform/plugins/private/reporting/server/lib/content_stream.test.ts diff --git a/x-pack/plugins/reporting/server/lib/content_stream.ts b/x-pack/platform/plugins/private/reporting/server/lib/content_stream.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/content_stream.ts rename to x-pack/platform/plugins/private/reporting/server/lib/content_stream.ts diff --git a/x-pack/plugins/reporting/server/lib/deprecations/index.ts b/x-pack/platform/plugins/private/reporting/server/lib/deprecations/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/deprecations/index.ts rename to x-pack/platform/plugins/private/reporting/server/lib/deprecations/index.ts diff --git a/x-pack/plugins/reporting/server/lib/deprecations/types.ts b/x-pack/platform/plugins/private/reporting/server/lib/deprecations/types.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/deprecations/types.ts rename to x-pack/platform/plugins/private/reporting/server/lib/deprecations/types.ts diff --git a/x-pack/plugins/reporting/server/lib/event_logger/adapter.test.ts b/x-pack/platform/plugins/private/reporting/server/lib/event_logger/adapter.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/event_logger/adapter.test.ts rename to x-pack/platform/plugins/private/reporting/server/lib/event_logger/adapter.test.ts diff --git a/x-pack/plugins/reporting/server/lib/event_logger/adapter.ts b/x-pack/platform/plugins/private/reporting/server/lib/event_logger/adapter.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/event_logger/adapter.ts rename to x-pack/platform/plugins/private/reporting/server/lib/event_logger/adapter.ts diff --git a/x-pack/plugins/reporting/server/lib/event_logger/index.ts b/x-pack/platform/plugins/private/reporting/server/lib/event_logger/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/event_logger/index.ts rename to x-pack/platform/plugins/private/reporting/server/lib/event_logger/index.ts diff --git a/x-pack/plugins/reporting/server/lib/event_logger/logger.test.ts b/x-pack/platform/plugins/private/reporting/server/lib/event_logger/logger.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/event_logger/logger.test.ts rename to x-pack/platform/plugins/private/reporting/server/lib/event_logger/logger.test.ts diff --git a/x-pack/plugins/reporting/server/lib/event_logger/logger.ts b/x-pack/platform/plugins/private/reporting/server/lib/event_logger/logger.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/event_logger/logger.ts rename to x-pack/platform/plugins/private/reporting/server/lib/event_logger/logger.ts diff --git a/x-pack/plugins/reporting/server/lib/event_logger/types.ts b/x-pack/platform/plugins/private/reporting/server/lib/event_logger/types.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/event_logger/types.ts rename to x-pack/platform/plugins/private/reporting/server/lib/event_logger/types.ts diff --git a/x-pack/plugins/reporting/server/lib/export_types_registry.test.js b/x-pack/platform/plugins/private/reporting/server/lib/export_types_registry.test.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/export_types_registry.test.js rename to x-pack/platform/plugins/private/reporting/server/lib/export_types_registry.test.js diff --git a/x-pack/plugins/reporting/server/lib/index.ts b/x-pack/platform/plugins/private/reporting/server/lib/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/index.ts rename to x-pack/platform/plugins/private/reporting/server/lib/index.ts diff --git a/x-pack/plugins/reporting/server/lib/passthrough_stream.test.ts b/x-pack/platform/plugins/private/reporting/server/lib/passthrough_stream.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/passthrough_stream.test.ts rename to x-pack/platform/plugins/private/reporting/server/lib/passthrough_stream.test.ts diff --git a/x-pack/plugins/reporting/server/lib/passthrough_stream.ts b/x-pack/platform/plugins/private/reporting/server/lib/passthrough_stream.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/passthrough_stream.ts rename to x-pack/platform/plugins/private/reporting/server/lib/passthrough_stream.ts diff --git a/x-pack/plugins/reporting/server/lib/store/ilm_policy_manager/ilm_policy_manager.ts b/x-pack/platform/plugins/private/reporting/server/lib/store/ilm_policy_manager/ilm_policy_manager.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/store/ilm_policy_manager/ilm_policy_manager.ts rename to x-pack/platform/plugins/private/reporting/server/lib/store/ilm_policy_manager/ilm_policy_manager.ts diff --git a/x-pack/plugins/reporting/server/lib/store/ilm_policy_manager/index.ts b/x-pack/platform/plugins/private/reporting/server/lib/store/ilm_policy_manager/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/store/ilm_policy_manager/index.ts rename to x-pack/platform/plugins/private/reporting/server/lib/store/ilm_policy_manager/index.ts diff --git a/x-pack/plugins/reporting/server/lib/store/index.ts b/x-pack/platform/plugins/private/reporting/server/lib/store/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/store/index.ts rename to x-pack/platform/plugins/private/reporting/server/lib/store/index.ts diff --git a/x-pack/plugins/reporting/server/lib/store/report.test.ts b/x-pack/platform/plugins/private/reporting/server/lib/store/report.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/store/report.test.ts rename to x-pack/platform/plugins/private/reporting/server/lib/store/report.test.ts diff --git a/x-pack/plugins/reporting/server/lib/store/report.ts b/x-pack/platform/plugins/private/reporting/server/lib/store/report.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/store/report.ts rename to x-pack/platform/plugins/private/reporting/server/lib/store/report.ts diff --git a/x-pack/plugins/reporting/server/lib/store/runtime_fields.ts b/x-pack/platform/plugins/private/reporting/server/lib/store/runtime_fields.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/store/runtime_fields.ts rename to x-pack/platform/plugins/private/reporting/server/lib/store/runtime_fields.ts diff --git a/x-pack/plugins/reporting/server/lib/store/saved_report.test.ts b/x-pack/platform/plugins/private/reporting/server/lib/store/saved_report.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/store/saved_report.test.ts rename to x-pack/platform/plugins/private/reporting/server/lib/store/saved_report.test.ts diff --git a/x-pack/plugins/reporting/server/lib/store/saved_report.ts b/x-pack/platform/plugins/private/reporting/server/lib/store/saved_report.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/store/saved_report.ts rename to x-pack/platform/plugins/private/reporting/server/lib/store/saved_report.ts diff --git a/x-pack/plugins/reporting/server/lib/store/store.test.ts b/x-pack/platform/plugins/private/reporting/server/lib/store/store.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/store/store.test.ts rename to x-pack/platform/plugins/private/reporting/server/lib/store/store.test.ts diff --git a/x-pack/plugins/reporting/server/lib/store/store.ts b/x-pack/platform/plugins/private/reporting/server/lib/store/store.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/store/store.ts rename to x-pack/platform/plugins/private/reporting/server/lib/store/store.ts diff --git a/x-pack/plugins/reporting/server/lib/tasks/error_logger.test.ts b/x-pack/platform/plugins/private/reporting/server/lib/tasks/error_logger.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/tasks/error_logger.test.ts rename to x-pack/platform/plugins/private/reporting/server/lib/tasks/error_logger.test.ts diff --git a/x-pack/plugins/reporting/server/lib/tasks/error_logger.ts b/x-pack/platform/plugins/private/reporting/server/lib/tasks/error_logger.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/tasks/error_logger.ts rename to x-pack/platform/plugins/private/reporting/server/lib/tasks/error_logger.ts diff --git a/x-pack/plugins/reporting/server/lib/tasks/execute_report.test.ts b/x-pack/platform/plugins/private/reporting/server/lib/tasks/execute_report.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/tasks/execute_report.test.ts rename to x-pack/platform/plugins/private/reporting/server/lib/tasks/execute_report.test.ts diff --git a/x-pack/plugins/reporting/server/lib/tasks/execute_report.ts b/x-pack/platform/plugins/private/reporting/server/lib/tasks/execute_report.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/tasks/execute_report.ts rename to x-pack/platform/plugins/private/reporting/server/lib/tasks/execute_report.ts diff --git a/x-pack/plugins/reporting/server/lib/tasks/index.ts b/x-pack/platform/plugins/private/reporting/server/lib/tasks/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/tasks/index.ts rename to x-pack/platform/plugins/private/reporting/server/lib/tasks/index.ts diff --git a/x-pack/plugins/reporting/server/lib/trace.ts b/x-pack/platform/plugins/private/reporting/server/lib/trace.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/trace.ts rename to x-pack/platform/plugins/private/reporting/server/lib/trace.ts diff --git a/x-pack/plugins/reporting/server/mocks/index.ts b/x-pack/platform/plugins/private/reporting/server/mocks/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/mocks/index.ts rename to x-pack/platform/plugins/private/reporting/server/mocks/index.ts diff --git a/x-pack/plugins/reporting/server/plugin.test.ts b/x-pack/platform/plugins/private/reporting/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/plugin.test.ts rename to x-pack/platform/plugins/private/reporting/server/plugin.test.ts diff --git a/x-pack/plugins/reporting/server/plugin.ts b/x-pack/platform/plugins/private/reporting/server/plugin.ts similarity index 100% rename from x-pack/plugins/reporting/server/plugin.ts rename to x-pack/platform/plugins/private/reporting/server/plugin.ts diff --git a/x-pack/plugins/reporting/server/routes/common/authorized_user_pre_routing.test.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/authorized_user_pre_routing.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/authorized_user_pre_routing.test.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/authorized_user_pre_routing.test.ts diff --git a/x-pack/plugins/reporting/server/routes/common/authorized_user_pre_routing.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/authorized_user_pre_routing.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/authorized_user_pre_routing.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/authorized_user_pre_routing.ts diff --git a/x-pack/plugins/reporting/server/routes/common/generate/index.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/generate/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/generate/index.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/generate/index.ts diff --git a/x-pack/plugins/reporting/server/routes/common/generate/request_handler.test.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/generate/request_handler.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/generate/request_handler.test.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/generate/request_handler.test.ts diff --git a/x-pack/plugins/reporting/server/routes/common/generate/request_handler.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/generate/request_handler.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/generate/request_handler.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/generate/request_handler.ts diff --git a/x-pack/plugins/reporting/server/routes/common/get_counter.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/get_counter.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/get_counter.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/get_counter.ts diff --git a/x-pack/plugins/reporting/server/routes/common/get_user.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/get_user.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/get_user.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/get_user.ts diff --git a/x-pack/plugins/reporting/server/routes/common/index.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/index.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/index.ts diff --git a/x-pack/plugins/reporting/server/routes/common/jobs/constants.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/jobs/constants.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/jobs/constants.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/jobs/constants.ts diff --git a/x-pack/plugins/reporting/server/routes/common/jobs/get_document_payload.test.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/jobs/get_document_payload.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/jobs/get_document_payload.test.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/jobs/get_document_payload.test.ts diff --git a/x-pack/plugins/reporting/server/routes/common/jobs/get_document_payload.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/jobs/get_document_payload.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/jobs/get_document_payload.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/jobs/get_document_payload.ts diff --git a/x-pack/plugins/reporting/server/routes/common/jobs/get_job_routes.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/jobs/get_job_routes.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/jobs/get_job_routes.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/jobs/get_job_routes.ts diff --git a/x-pack/plugins/reporting/server/routes/common/jobs/index.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/jobs/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/jobs/index.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/jobs/index.ts diff --git a/x-pack/plugins/reporting/server/routes/common/jobs/job_management_pre_routing.test.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/jobs/job_management_pre_routing.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/jobs/job_management_pre_routing.test.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/jobs/job_management_pre_routing.test.ts diff --git a/x-pack/plugins/reporting/server/routes/common/jobs/job_management_pre_routing.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/jobs/job_management_pre_routing.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/jobs/job_management_pre_routing.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/jobs/job_management_pre_routing.ts diff --git a/x-pack/plugins/reporting/server/routes/common/jobs/jobs_query.test.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/jobs/jobs_query.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/jobs/jobs_query.test.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/jobs/jobs_query.test.ts diff --git a/x-pack/plugins/reporting/server/routes/common/jobs/jobs_query.ts b/x-pack/platform/plugins/private/reporting/server/routes/common/jobs/jobs_query.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/common/jobs/jobs_query.ts rename to x-pack/platform/plugins/private/reporting/server/routes/common/jobs/jobs_query.ts diff --git a/x-pack/plugins/reporting/server/routes/index.ts b/x-pack/platform/plugins/private/reporting/server/routes/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/index.ts rename to x-pack/platform/plugins/private/reporting/server/routes/index.ts diff --git a/x-pack/plugins/reporting/server/routes/internal/deprecations/deprecations.ts b/x-pack/platform/plugins/private/reporting/server/routes/internal/deprecations/deprecations.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/internal/deprecations/deprecations.ts rename to x-pack/platform/plugins/private/reporting/server/routes/internal/deprecations/deprecations.ts diff --git a/x-pack/plugins/reporting/server/routes/internal/deprecations/integration_tests/deprecations.test.ts b/x-pack/platform/plugins/private/reporting/server/routes/internal/deprecations/integration_tests/deprecations.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/internal/deprecations/integration_tests/deprecations.test.ts rename to x-pack/platform/plugins/private/reporting/server/routes/internal/deprecations/integration_tests/deprecations.test.ts diff --git a/x-pack/plugins/reporting/server/routes/internal/diagnostic/browser.ts b/x-pack/platform/plugins/private/reporting/server/routes/internal/diagnostic/browser.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/internal/diagnostic/browser.ts rename to x-pack/platform/plugins/private/reporting/server/routes/internal/diagnostic/browser.ts diff --git a/x-pack/plugins/reporting/server/routes/internal/diagnostic/index.ts b/x-pack/platform/plugins/private/reporting/server/routes/internal/diagnostic/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/internal/diagnostic/index.ts rename to x-pack/platform/plugins/private/reporting/server/routes/internal/diagnostic/index.ts diff --git a/x-pack/plugins/reporting/server/routes/internal/diagnostic/integration_tests/browser.test.ts b/x-pack/platform/plugins/private/reporting/server/routes/internal/diagnostic/integration_tests/browser.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/internal/diagnostic/integration_tests/browser.test.ts rename to x-pack/platform/plugins/private/reporting/server/routes/internal/diagnostic/integration_tests/browser.test.ts diff --git a/x-pack/plugins/reporting/server/routes/internal/generate/generate_from_jobparams.ts b/x-pack/platform/plugins/private/reporting/server/routes/internal/generate/generate_from_jobparams.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/internal/generate/generate_from_jobparams.ts rename to x-pack/platform/plugins/private/reporting/server/routes/internal/generate/generate_from_jobparams.ts diff --git a/x-pack/plugins/reporting/server/routes/internal/generate/integration_tests/generation_from_jobparams.test.ts b/x-pack/platform/plugins/private/reporting/server/routes/internal/generate/integration_tests/generation_from_jobparams.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/internal/generate/integration_tests/generation_from_jobparams.test.ts rename to x-pack/platform/plugins/private/reporting/server/routes/internal/generate/integration_tests/generation_from_jobparams.test.ts diff --git a/x-pack/plugins/reporting/server/routes/internal/management/integration_tests/jobs.test.ts b/x-pack/platform/plugins/private/reporting/server/routes/internal/management/integration_tests/jobs.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/internal/management/integration_tests/jobs.test.ts rename to x-pack/platform/plugins/private/reporting/server/routes/internal/management/integration_tests/jobs.test.ts diff --git a/x-pack/plugins/reporting/server/routes/internal/management/jobs.ts b/x-pack/platform/plugins/private/reporting/server/routes/internal/management/jobs.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/internal/management/jobs.ts rename to x-pack/platform/plugins/private/reporting/server/routes/internal/management/jobs.ts diff --git a/x-pack/plugins/reporting/server/routes/public/generate_from_jobparams.ts b/x-pack/platform/plugins/private/reporting/server/routes/public/generate_from_jobparams.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/public/generate_from_jobparams.ts rename to x-pack/platform/plugins/private/reporting/server/routes/public/generate_from_jobparams.ts diff --git a/x-pack/plugins/reporting/server/routes/public/integration_tests/generation_from_jobparams.test.ts b/x-pack/platform/plugins/private/reporting/server/routes/public/integration_tests/generation_from_jobparams.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/public/integration_tests/generation_from_jobparams.test.ts rename to x-pack/platform/plugins/private/reporting/server/routes/public/integration_tests/generation_from_jobparams.test.ts diff --git a/x-pack/plugins/reporting/server/routes/public/integration_tests/jobs.test.ts b/x-pack/platform/plugins/private/reporting/server/routes/public/integration_tests/jobs.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/public/integration_tests/jobs.test.ts rename to x-pack/platform/plugins/private/reporting/server/routes/public/integration_tests/jobs.test.ts diff --git a/x-pack/plugins/reporting/server/routes/public/jobs.ts b/x-pack/platform/plugins/private/reporting/server/routes/public/jobs.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/public/jobs.ts rename to x-pack/platform/plugins/private/reporting/server/routes/public/jobs.ts diff --git a/x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts b/x-pack/platform/plugins/private/reporting/server/test_helpers/create_mock_reportingplugin.ts similarity index 100% rename from x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts rename to x-pack/platform/plugins/private/reporting/server/test_helpers/create_mock_reportingplugin.ts diff --git a/x-pack/plugins/reporting/server/test_helpers/index.ts b/x-pack/platform/plugins/private/reporting/server/test_helpers/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/test_helpers/index.ts rename to x-pack/platform/plugins/private/reporting/server/test_helpers/index.ts diff --git a/x-pack/plugins/reporting/server/types.ts b/x-pack/platform/plugins/private/reporting/server/types.ts similarity index 100% rename from x-pack/plugins/reporting/server/types.ts rename to x-pack/platform/plugins/private/reporting/server/types.ts diff --git a/x-pack/plugins/reporting/server/usage/collection_schema.test.ts b/x-pack/platform/plugins/private/reporting/server/usage/collection_schema.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/usage/collection_schema.test.ts rename to x-pack/platform/plugins/private/reporting/server/usage/collection_schema.test.ts diff --git a/x-pack/plugins/reporting/server/usage/collection_schema.ts b/x-pack/platform/plugins/private/reporting/server/usage/collection_schema.ts similarity index 100% rename from x-pack/plugins/reporting/server/usage/collection_schema.ts rename to x-pack/platform/plugins/private/reporting/server/usage/collection_schema.ts diff --git a/x-pack/plugins/reporting/server/usage/event_tracker.ts b/x-pack/platform/plugins/private/reporting/server/usage/event_tracker.ts similarity index 100% rename from x-pack/plugins/reporting/server/usage/event_tracker.ts rename to x-pack/platform/plugins/private/reporting/server/usage/event_tracker.ts diff --git a/x-pack/plugins/reporting/server/usage/index.ts b/x-pack/platform/plugins/private/reporting/server/usage/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/usage/index.ts rename to x-pack/platform/plugins/private/reporting/server/usage/index.ts diff --git a/x-pack/plugins/reporting/server/usage/register_event_types.ts b/x-pack/platform/plugins/private/reporting/server/usage/register_event_types.ts similarity index 100% rename from x-pack/plugins/reporting/server/usage/register_event_types.ts rename to x-pack/platform/plugins/private/reporting/server/usage/register_event_types.ts diff --git a/x-pack/plugins/reporting/server/usage/reporting_usage_collector.test.ts b/x-pack/platform/plugins/private/reporting/server/usage/reporting_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/usage/reporting_usage_collector.test.ts rename to x-pack/platform/plugins/private/reporting/server/usage/reporting_usage_collector.test.ts diff --git a/x-pack/plugins/reporting/server/usage/reporting_usage_collector.ts b/x-pack/platform/plugins/private/reporting/server/usage/reporting_usage_collector.ts similarity index 100% rename from x-pack/plugins/reporting/server/usage/reporting_usage_collector.ts rename to x-pack/platform/plugins/private/reporting/server/usage/reporting_usage_collector.ts diff --git a/x-pack/plugins/reporting/tsconfig.json b/x-pack/platform/plugins/private/reporting/tsconfig.json similarity index 95% rename from x-pack/plugins/reporting/tsconfig.json rename to x-pack/platform/plugins/private/reporting/tsconfig.json index 68a7ded4ee1e8..72af93e2a1029 100644 --- a/x-pack/plugins/reporting/tsconfig.json +++ b/x-pack/platform/plugins/private/reporting/tsconfig.json @@ -1,9 +1,9 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, - "include": ["common/**/*", "public/**/*", "server/**/*", "../../../typings/**/*"], + "include": ["common/**/*", "public/**/*", "server/**/*", "../../../../../typings/**/*"], "kbn_references": [ "@kbn/core", "@kbn/data-plugin", diff --git a/x-pack/platform/plugins/private/runtime_fields/README.md b/x-pack/platform/plugins/private/runtime_fields/README.md index c4e657fdb3b44..d2a041bc1cbbc 100644 --- a/x-pack/platform/plugins/private/runtime_fields/README.md +++ b/x-pack/platform/plugins/private/runtime_fields/README.md @@ -152,7 +152,7 @@ import React, { useRef } from 'react'; import { EuiButton } from '@elastic/eui'; import { OverlayRef } from 'src/core/public'; -import { createKibanaReactContext, toMountPoint } from '../../../../src/plugins/kibana_react/public'; +import { createKibanaReactContext, toMountPoint } from '../../../../src/platform/plugins/shared/kibana_react/public'; import { RuntimeFieldEditorFlyoutContent, RuntimeField } from '../runtime_fields/public'; const MyComponent = () => { diff --git a/x-pack/plugins/saved_objects_tagging/README.md b/x-pack/platform/plugins/private/saved_objects_tagging/README.md similarity index 85% rename from x-pack/plugins/saved_objects_tagging/README.md rename to x-pack/platform/plugins/private/saved_objects_tagging/README.md index 93747639ef3bb..68ac5fe507767 100644 --- a/x-pack/plugins/saved_objects_tagging/README.md +++ b/x-pack/platform/plugins/private/saved_objects_tagging/README.md @@ -38,7 +38,7 @@ features.registerKibanaFeature({ ### Update the SOT telemetry collector schema to add the new type -The schema is located here: `x-pack/plugins/saved_objects_tagging/server/usage/schema.ts`. You +The schema is located here: `x-pack/platform/plugins/private/saved_objects_tagging/server/usage/schema.ts`. You just need to add the name of the SO type you are adding. ```ts @@ -54,5 +54,5 @@ export const tagUsageCollectorSchema: MakeSchemaFrom = { ### Update the `taggableTypes` constant to add your type -Edit the `taggableTypes` list in `x-pack/plugins/saved_objects_tagging/common/constants.ts` to add +Edit the `taggableTypes` list in `x-pack/platform/plugins/private/saved_objects_tagging/common/constants.ts` to add the name of the type you are adding. diff --git a/x-pack/plugins/saved_objects_tagging/common/assignments.ts b/x-pack/platform/plugins/private/saved_objects_tagging/common/assignments.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/common/assignments.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/common/assignments.ts diff --git a/x-pack/plugins/saved_objects_tagging/common/capabilities.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/common/capabilities.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/common/capabilities.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/common/capabilities.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/common/capabilities.ts b/x-pack/platform/plugins/private/saved_objects_tagging/common/capabilities.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/common/capabilities.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/common/capabilities.ts diff --git a/x-pack/plugins/saved_objects_tagging/common/constants.ts b/x-pack/platform/plugins/private/saved_objects_tagging/common/constants.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/common/constants.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/common/constants.ts diff --git a/x-pack/plugins/saved_objects_tagging/common/http_api_types.ts b/x-pack/platform/plugins/private/saved_objects_tagging/common/http_api_types.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/common/http_api_types.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/common/http_api_types.ts diff --git a/x-pack/plugins/saved_objects_tagging/common/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/common/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/common/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/common/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/common/references.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/common/references.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/common/references.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/common/references.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/common/references.ts b/x-pack/platform/plugins/private/saved_objects_tagging/common/references.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/common/references.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/common/references.ts diff --git a/x-pack/plugins/saved_objects_tagging/common/test_utils/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/common/test_utils/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/common/test_utils/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/common/test_utils/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/common/types.ts b/x-pack/platform/plugins/private/saved_objects_tagging/common/types.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/common/types.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/common/types.ts diff --git a/x-pack/plugins/saved_objects_tagging/common/validation.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/common/validation.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/common/validation.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/common/validation.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/common/validation.ts b/x-pack/platform/plugins/private/saved_objects_tagging/common/validation.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/common/validation.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/common/validation.ts diff --git a/x-pack/platform/plugins/private/saved_objects_tagging/jest.config.js b/x-pack/platform/plugins/private/saved_objects_tagging/jest.config.js new file mode 100644 index 0000000000000..c2e776e813317 --- /dev/null +++ b/x-pack/platform/plugins/private/saved_objects_tagging/jest.config.js @@ -0,0 +1,18 @@ +/* + * 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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/saved_objects_tagging'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/saved_objects_tagging', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/saved_objects_tagging/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/saved_objects_tagging/kibana.jsonc b/x-pack/platform/plugins/private/saved_objects_tagging/kibana.jsonc similarity index 100% rename from x-pack/plugins/saved_objects_tagging/kibana.jsonc rename to x-pack/platform/plugins/private/saved_objects_tagging/kibana.jsonc diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/assign_flyout.scss b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/assign_flyout.scss similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/assign_flyout.scss rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/assign_flyout.scss diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/assign_flyout.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/assign_flyout.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/assign_flyout.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/assign_flyout.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/components/action_bar.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/action_bar.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/components/action_bar.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/action_bar.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/components/footer.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/footer.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/components/footer.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/footer.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/components/header.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/header.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/components/header.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/header.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/components/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/components/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/components/result_list.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/result_list.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/components/result_list.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/result_list.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/components/search_bar.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/search_bar.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/components/search_bar.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/components/search_bar.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/lib/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/lib/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/open_assign_flyout.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/open_assign_flyout.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/open_assign_flyout.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/open_assign_flyout.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/types.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/types.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/types.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/types.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/utils.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/utils.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/utils.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/utils.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/utils.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/utils.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/utils.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/assign_flyout/utils.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/base/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/base/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/base/tag_badge.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_badge.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/base/tag_badge.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_badge.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/base/tag_list.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_list.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/base/tag_list.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_list.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/base/tag_searchbar_option.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_searchbar_option.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/base/tag_searchbar_option.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_searchbar_option.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/base/tag_selector.test.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_selector.test.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/base/tag_selector.test.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_selector.test.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/base/tag_selector.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_selector.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/base/tag_selector.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/base/tag_selector.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/connected/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/connected/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/connected/saved_object_save_modal_tag_selector.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/saved_object_save_modal_tag_selector.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/connected/saved_object_save_modal_tag_selector.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/saved_object_save_modal_tag_selector.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/connected/tag_list.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/tag_list.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/connected/tag_list.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/tag_list.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/connected/tag_selector.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/tag_selector.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/connected/tag_selector.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/connected/tag_selector.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/edition_modal/create_modal.test.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/create_modal.test.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/edition_modal/create_modal.test.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/create_modal.test.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/edition_modal/create_modal.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/create_modal.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/edition_modal/create_modal.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/create_modal.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/edition_modal/create_or_edit_modal.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/create_or_edit_modal.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/edition_modal/create_or_edit_modal.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/create_or_edit_modal.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/edition_modal/edit_modal.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/edit_modal.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/edition_modal/edit_modal.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/edit_modal.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/edition_modal/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/edition_modal/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/edition_modal/open_modal.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/open_modal.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/edition_modal/open_modal.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/open_modal.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/components/edition_modal/use_validation.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/use_validation.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/edition_modal/use_validation.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/use_validation.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/edition_modal/utils.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/utils.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/edition_modal/utils.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/edition_modal/utils.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/components/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/components/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/components/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/components/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/config.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/config.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/config.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/config.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/actions/assign.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/assign.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/actions/assign.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/assign.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/actions/delete.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/delete.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/actions/delete.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/delete.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/actions/edit.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/edit.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/actions/edit.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/edit.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/actions/index.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/index.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/actions/index.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/index.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/actions/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/actions/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/actions/types.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/types.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/actions/types.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/actions/types.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/bulk_actions/bulk_assign.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/bulk_assign.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/bulk_actions/bulk_assign.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/bulk_assign.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/bulk_actions/bulk_delete.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/bulk_delete.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/bulk_actions/bulk_delete.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/bulk_delete.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/bulk_actions/bulk_delete.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/bulk_delete.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/bulk_actions/bulk_delete.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/bulk_delete.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/bulk_actions/clear_selection.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/clear_selection.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/bulk_actions/clear_selection.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/clear_selection.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/bulk_actions/index.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/index.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/bulk_actions/index.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/index.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/bulk_actions/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/bulk_actions/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/bulk_actions/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/components/_action_bar.scss b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/_action_bar.scss similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/components/_action_bar.scss rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/_action_bar.scss diff --git a/x-pack/plugins/saved_objects_tagging/public/management/components/action_bar.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/action_bar.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/components/action_bar.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/action_bar.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/management/components/header.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/header.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/components/header.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/header.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/management/components/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/components/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/components/table.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/table.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/components/table.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/components/table.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/management/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/mount_section.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/mount_section.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/mount_section.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/mount_section.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/management/tag_management_page.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/tag_management_page.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/tag_management_page.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/tag_management_page.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/management/types.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/types.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/types.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/types.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/utils/get_tag_connections_url.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/utils/get_tag_connections_url.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/utils/get_tag_connections_url.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/utils/get_tag_connections_url.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/utils/get_tag_connections_url.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/utils/get_tag_connections_url.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/utils/get_tag_connections_url.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/utils/get_tag_connections_url.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/management/utils/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/management/utils/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/management/utils/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/management/utils/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/mocks.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/mocks.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/mocks.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/mocks.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/plugin.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/plugin.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/plugin.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/plugin.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/plugin.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/plugin.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/plugin.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/services/assignments/assignment_service.mock.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/assignment_service.mock.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/services/assignments/assignment_service.mock.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/assignment_service.mock.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/services/assignments/assignment_service.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/assignment_service.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/services/assignments/assignment_service.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/assignment_service.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/services/assignments/assignment_service.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/assignment_service.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/services/assignments/assignment_service.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/assignment_service.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/services/assignments/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/services/assignments/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/services/assignments/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/services/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/services/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/services/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/services/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/services/tags/errors.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/errors.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/services/tags/errors.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/errors.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/services/tags/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/services/tags/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/services/tags/tags_cache.mock.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_cache.mock.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/services/tags/tags_cache.mock.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_cache.mock.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/services/tags/tags_cache.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_cache.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/services/tags/tags_cache.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_cache.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/services/tags/tags_cache.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_cache.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/services/tags/tags_cache.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_cache.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/services/tags/tags_client.mock.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_client.mock.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/services/tags/tags_client.mock.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_client.mock.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/services/tags/tags_client.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_client.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/services/tags/tags_client.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_client.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/services/tags/tags_client.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_client.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/services/tags/tags_client.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/services/tags/tags_client.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/types.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/types.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/types.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/types.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/ui_api/components.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/components.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/ui_api/components.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/components.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/ui_api/convert_name_to_reference.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/convert_name_to_reference.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/ui_api/convert_name_to_reference.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/convert_name_to_reference.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/ui_api/get_search_bar_filter.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_search_bar_filter.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/ui_api/get_search_bar_filter.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_search_bar_filter.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/ui_api/get_search_bar_filter.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_search_bar_filter.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/ui_api/get_search_bar_filter.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_search_bar_filter.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/ui_api/get_table_column_definition.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_table_column_definition.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/ui_api/get_table_column_definition.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_table_column_definition.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/ui_api/get_table_column_definition.tsx b/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_table_column_definition.tsx similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/ui_api/get_table_column_definition.tsx rename to x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_table_column_definition.tsx diff --git a/x-pack/plugins/saved_objects_tagging/public/ui_api/get_tag_list.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_tag_list.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/ui_api/get_tag_list.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_tag_list.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/ui_api/get_tag_list.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_tag_list.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/ui_api/get_tag_list.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/get_tag_list.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/ui_api/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/ui_api/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/ui_api/parse_search_query.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/parse_search_query.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/ui_api/parse_search_query.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/parse_search_query.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/ui_api/parse_search_query.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/parse_search_query.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/ui_api/parse_search_query.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/ui_api/parse_search_query.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/utils.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/utils.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/utils.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/utils.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/public/utils.ts b/x-pack/platform/plugins/private/saved_objects_tagging/public/utils.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/public/utils.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/public/utils.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/config.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/config.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/config.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/config.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/features.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/features.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/features.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/features.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/mocks.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/mocks.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/mocks.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/mocks.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/plugin.test.mocks.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/plugin.test.mocks.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/plugin.test.mocks.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/plugin.test.mocks.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/plugin.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/plugin.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/plugin.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/plugin.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/plugin.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/plugin.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/plugin.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/request_handler_context.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/request_handler_context.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/request_handler_context.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/request_handler_context.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/assignments/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/assignments/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/internal/bulk_delete.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/internal/bulk_delete.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/internal/bulk_delete.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/internal/bulk_delete.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/internal/find_tags.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/internal/find_tags.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/internal/find_tags.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/internal/find_tags.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/internal/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/internal/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/internal/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/internal/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/lib/get_connection_count.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/lib/get_connection_count.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/lib/get_connection_count.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/lib/get_connection_count.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/lib/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/lib/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/lib/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/lib/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/tags/create_tag.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/create_tag.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/tags/create_tag.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/create_tag.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/tags/delete_tag.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/delete_tag.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/tags/delete_tag.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/delete_tag.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/tags/get_all_tags.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/get_all_tags.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/tags/get_all_tags.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/get_all_tags.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/tags/get_tag.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/get_tag.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/tags/get_tag.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/get_tag.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/tags/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/tags/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/routes/tags/update_tag.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/update_tag.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/routes/tags/update_tag.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/routes/tags/update_tag.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/saved_objects/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/saved_objects/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/saved_objects/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/saved_objects/tag.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/saved_objects/tag.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/saved_objects/tag.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/saved_objects/tag.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/assignments/assignment_service.mock.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.mock.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/assignments/assignment_service.mock.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.mock.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/assignments/assignment_service.test.mocks.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.test.mocks.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/assignments/assignment_service.test.mocks.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.test.mocks.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/assignments/assignment_service.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/assignments/assignment_service.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/assignments/assignment_service.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/assignments/assignment_service.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/assignment_service.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/assignments/errors.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/errors.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/assignments/errors.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/errors.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/assignments/errors.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/errors.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/assignments/errors.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/errors.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/assignments/get_updatable_types.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/get_updatable_types.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/assignments/get_updatable_types.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/get_updatable_types.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/assignments/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/assignments/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/assignments/utils.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/utils.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/assignments/utils.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/utils.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/assignments/utils.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/utils.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/assignments/utils.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/assignments/utils.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/tags/errors.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/errors.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/tags/errors.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/errors.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/tags/errors.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/errors.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/tags/errors.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/errors.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/tags/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/tags/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/tags/tags_client.mock.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.mock.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/tags/tags_client.mock.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.mock.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/tags/tags_client.test.mocks.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.test.mocks.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/tags/tags_client.test.mocks.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.test.mocks.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/tags/tags_client.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/tags/tags_client.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/tags/tags_client.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/tags/tags_client.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/tags_client.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/tags/utils.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/utils.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/tags/utils.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/utils.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/tags/validate_tag.test.mocks.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/validate_tag.test.mocks.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/tags/validate_tag.test.mocks.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/validate_tag.test.mocks.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/tags/validate_tag.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/validate_tag.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/tags/validate_tag.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/validate_tag.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/services/tags/validate_tag.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/validate_tag.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/services/tags/validate_tag.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/services/tags/validate_tag.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/types.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/types.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/types.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/types.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/usage/fetch_tag_usage_data.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/usage/fetch_tag_usage_data.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/usage/fetch_tag_usage_data.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/usage/fetch_tag_usage_data.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/usage/index.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/usage/index.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/usage/index.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/usage/index.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/usage/schema.test.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/usage/schema.test.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/usage/schema.test.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/usage/schema.test.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/usage/schema.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/usage/schema.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/usage/schema.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/usage/schema.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/usage/tag_usage_collector.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/usage/tag_usage_collector.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/usage/tag_usage_collector.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/usage/tag_usage_collector.ts diff --git a/x-pack/plugins/saved_objects_tagging/server/usage/types.ts b/x-pack/platform/plugins/private/saved_objects_tagging/server/usage/types.ts similarity index 100% rename from x-pack/plugins/saved_objects_tagging/server/usage/types.ts rename to x-pack/platform/plugins/private/saved_objects_tagging/server/usage/types.ts diff --git a/x-pack/plugins/saved_objects_tagging/tsconfig.json b/x-pack/platform/plugins/private/saved_objects_tagging/tsconfig.json similarity index 93% rename from x-pack/plugins/saved_objects_tagging/tsconfig.json rename to x-pack/platform/plugins/private/saved_objects_tagging/tsconfig.json index b5202917aa4ef..dc3610caf93b7 100644 --- a/x-pack/plugins/saved_objects_tagging/tsconfig.json +++ b/x-pack/platform/plugins/private/saved_objects_tagging/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/global_search/README.md b/x-pack/platform/plugins/shared/global_search/README.md similarity index 93% rename from x-pack/plugins/global_search/README.md rename to x-pack/platform/plugins/shared/global_search/README.md index db72f4901c778..a6078ea1fdbd0 100644 --- a/x-pack/plugins/global_search/README.md +++ b/x-pack/platform/plugins/shared/global_search/README.md @@ -39,7 +39,7 @@ Results from providers registered from the client-side `registerResultProvider` not be available when performing a search from the server-side. For this reason, prefer registering providers using the server-side API when possible. -Refer to the [RFC](../../../rfcs/text/0011_global_search.md#result_provider_registration) for more details +Refer to the [RFC](../../../../../rfcs/text/0011_global_search.md#result_provider_registration) for more details ### Search completion cause diff --git a/x-pack/plugins/global_search/common/constants.ts b/x-pack/platform/plugins/shared/global_search/common/constants.ts similarity index 100% rename from x-pack/plugins/global_search/common/constants.ts rename to x-pack/platform/plugins/shared/global_search/common/constants.ts diff --git a/x-pack/plugins/global_search/common/errors.test.ts b/x-pack/platform/plugins/shared/global_search/common/errors.test.ts similarity index 100% rename from x-pack/plugins/global_search/common/errors.test.ts rename to x-pack/platform/plugins/shared/global_search/common/errors.test.ts diff --git a/x-pack/plugins/global_search/common/errors.ts b/x-pack/platform/plugins/shared/global_search/common/errors.ts similarity index 100% rename from x-pack/plugins/global_search/common/errors.ts rename to x-pack/platform/plugins/shared/global_search/common/errors.ts diff --git a/x-pack/plugins/global_search/common/license_checker.mock.ts b/x-pack/platform/plugins/shared/global_search/common/license_checker.mock.ts similarity index 100% rename from x-pack/plugins/global_search/common/license_checker.mock.ts rename to x-pack/platform/plugins/shared/global_search/common/license_checker.mock.ts diff --git a/x-pack/plugins/global_search/common/license_checker.test.ts b/x-pack/platform/plugins/shared/global_search/common/license_checker.test.ts similarity index 100% rename from x-pack/plugins/global_search/common/license_checker.test.ts rename to x-pack/platform/plugins/shared/global_search/common/license_checker.test.ts diff --git a/x-pack/plugins/global_search/common/license_checker.ts b/x-pack/platform/plugins/shared/global_search/common/license_checker.ts similarity index 100% rename from x-pack/plugins/global_search/common/license_checker.ts rename to x-pack/platform/plugins/shared/global_search/common/license_checker.ts diff --git a/x-pack/plugins/global_search/common/operators/index.ts b/x-pack/platform/plugins/shared/global_search/common/operators/index.ts similarity index 100% rename from x-pack/plugins/global_search/common/operators/index.ts rename to x-pack/platform/plugins/shared/global_search/common/operators/index.ts diff --git a/x-pack/plugins/global_search/common/operators/take_in_array.test.ts b/x-pack/platform/plugins/shared/global_search/common/operators/take_in_array.test.ts similarity index 100% rename from x-pack/plugins/global_search/common/operators/take_in_array.test.ts rename to x-pack/platform/plugins/shared/global_search/common/operators/take_in_array.test.ts diff --git a/x-pack/plugins/global_search/common/operators/take_in_array.ts b/x-pack/platform/plugins/shared/global_search/common/operators/take_in_array.ts similarity index 100% rename from x-pack/plugins/global_search/common/operators/take_in_array.ts rename to x-pack/platform/plugins/shared/global_search/common/operators/take_in_array.ts diff --git a/x-pack/plugins/global_search/common/process_result.test.mocks.ts b/x-pack/platform/plugins/shared/global_search/common/process_result.test.mocks.ts similarity index 100% rename from x-pack/plugins/global_search/common/process_result.test.mocks.ts rename to x-pack/platform/plugins/shared/global_search/common/process_result.test.mocks.ts diff --git a/x-pack/plugins/global_search/common/process_result.test.ts b/x-pack/platform/plugins/shared/global_search/common/process_result.test.ts similarity index 100% rename from x-pack/plugins/global_search/common/process_result.test.ts rename to x-pack/platform/plugins/shared/global_search/common/process_result.test.ts diff --git a/x-pack/plugins/global_search/common/process_result.ts b/x-pack/platform/plugins/shared/global_search/common/process_result.ts similarity index 100% rename from x-pack/plugins/global_search/common/process_result.ts rename to x-pack/platform/plugins/shared/global_search/common/process_result.ts diff --git a/x-pack/plugins/global_search/common/types.ts b/x-pack/platform/plugins/shared/global_search/common/types.ts similarity index 100% rename from x-pack/plugins/global_search/common/types.ts rename to x-pack/platform/plugins/shared/global_search/common/types.ts diff --git a/x-pack/plugins/global_search/common/utils.test.ts b/x-pack/platform/plugins/shared/global_search/common/utils.test.ts similarity index 100% rename from x-pack/plugins/global_search/common/utils.test.ts rename to x-pack/platform/plugins/shared/global_search/common/utils.test.ts diff --git a/x-pack/plugins/global_search/common/utils.ts b/x-pack/platform/plugins/shared/global_search/common/utils.ts similarity index 100% rename from x-pack/plugins/global_search/common/utils.ts rename to x-pack/platform/plugins/shared/global_search/common/utils.ts diff --git a/x-pack/platform/plugins/shared/global_search/jest.config.js b/x-pack/platform/plugins/shared/global_search/jest.config.js new file mode 100644 index 0000000000000..139414e1da85a --- /dev/null +++ b/x-pack/platform/plugins/shared/global_search/jest.config.js @@ -0,0 +1,18 @@ +/* + * 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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/global_search'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/global_search', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/global_search/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/global_search/jest.integration.config.js b/x-pack/platform/plugins/shared/global_search/jest.integration.config.js similarity index 76% rename from x-pack/plugins/global_search/jest.integration.config.js rename to x-pack/platform/plugins/shared/global_search/jest.integration.config.js index 6fb4e4bfe6d68..623bdd46246cc 100644 --- a/x-pack/plugins/global_search/jest.integration.config.js +++ b/x-pack/platform/plugins/shared/global_search/jest.integration.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/x-pack/plugins/global_search'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/global_search'], }; diff --git a/x-pack/plugins/global_search/kibana.jsonc b/x-pack/platform/plugins/shared/global_search/kibana.jsonc similarity index 100% rename from x-pack/plugins/global_search/kibana.jsonc rename to x-pack/platform/plugins/shared/global_search/kibana.jsonc diff --git a/x-pack/plugins/global_search/public/config.ts b/x-pack/platform/plugins/shared/global_search/public/config.ts similarity index 100% rename from x-pack/plugins/global_search/public/config.ts rename to x-pack/platform/plugins/shared/global_search/public/config.ts diff --git a/x-pack/plugins/global_search/public/index.ts b/x-pack/platform/plugins/shared/global_search/public/index.ts similarity index 100% rename from x-pack/plugins/global_search/public/index.ts rename to x-pack/platform/plugins/shared/global_search/public/index.ts diff --git a/x-pack/plugins/global_search/public/mocks.ts b/x-pack/platform/plugins/shared/global_search/public/mocks.ts similarity index 100% rename from x-pack/plugins/global_search/public/mocks.ts rename to x-pack/platform/plugins/shared/global_search/public/mocks.ts diff --git a/x-pack/plugins/global_search/public/plugin.ts b/x-pack/platform/plugins/shared/global_search/public/plugin.ts similarity index 100% rename from x-pack/plugins/global_search/public/plugin.ts rename to x-pack/platform/plugins/shared/global_search/public/plugin.ts diff --git a/x-pack/plugins/global_search/public/services/fetch_server_results.test.ts b/x-pack/platform/plugins/shared/global_search/public/services/fetch_server_results.test.ts similarity index 100% rename from x-pack/plugins/global_search/public/services/fetch_server_results.test.ts rename to x-pack/platform/plugins/shared/global_search/public/services/fetch_server_results.test.ts diff --git a/x-pack/plugins/global_search/public/services/fetch_server_results.ts b/x-pack/platform/plugins/shared/global_search/public/services/fetch_server_results.ts similarity index 100% rename from x-pack/plugins/global_search/public/services/fetch_server_results.ts rename to x-pack/platform/plugins/shared/global_search/public/services/fetch_server_results.ts diff --git a/x-pack/plugins/global_search/public/services/fetch_server_searchable_types.test.ts b/x-pack/platform/plugins/shared/global_search/public/services/fetch_server_searchable_types.test.ts similarity index 100% rename from x-pack/plugins/global_search/public/services/fetch_server_searchable_types.test.ts rename to x-pack/platform/plugins/shared/global_search/public/services/fetch_server_searchable_types.test.ts diff --git a/x-pack/plugins/global_search/public/services/fetch_server_searchable_types.ts b/x-pack/platform/plugins/shared/global_search/public/services/fetch_server_searchable_types.ts similarity index 100% rename from x-pack/plugins/global_search/public/services/fetch_server_searchable_types.ts rename to x-pack/platform/plugins/shared/global_search/public/services/fetch_server_searchable_types.ts diff --git a/x-pack/plugins/global_search/public/services/index.ts b/x-pack/platform/plugins/shared/global_search/public/services/index.ts similarity index 100% rename from x-pack/plugins/global_search/public/services/index.ts rename to x-pack/platform/plugins/shared/global_search/public/services/index.ts diff --git a/x-pack/plugins/global_search/public/services/search_service.mock.ts b/x-pack/platform/plugins/shared/global_search/public/services/search_service.mock.ts similarity index 100% rename from x-pack/plugins/global_search/public/services/search_service.mock.ts rename to x-pack/platform/plugins/shared/global_search/public/services/search_service.mock.ts diff --git a/x-pack/plugins/global_search/public/services/search_service.test.mocks.ts b/x-pack/platform/plugins/shared/global_search/public/services/search_service.test.mocks.ts similarity index 100% rename from x-pack/plugins/global_search/public/services/search_service.test.mocks.ts rename to x-pack/platform/plugins/shared/global_search/public/services/search_service.test.mocks.ts diff --git a/x-pack/plugins/global_search/public/services/search_service.test.ts b/x-pack/platform/plugins/shared/global_search/public/services/search_service.test.ts similarity index 100% rename from x-pack/plugins/global_search/public/services/search_service.test.ts rename to x-pack/platform/plugins/shared/global_search/public/services/search_service.test.ts diff --git a/x-pack/plugins/global_search/public/services/search_service.ts b/x-pack/platform/plugins/shared/global_search/public/services/search_service.ts similarity index 100% rename from x-pack/plugins/global_search/public/services/search_service.ts rename to x-pack/platform/plugins/shared/global_search/public/services/search_service.ts diff --git a/x-pack/plugins/global_search/public/services/types.ts b/x-pack/platform/plugins/shared/global_search/public/services/types.ts similarity index 100% rename from x-pack/plugins/global_search/public/services/types.ts rename to x-pack/platform/plugins/shared/global_search/public/services/types.ts diff --git a/x-pack/plugins/global_search/public/services/utils.test.ts b/x-pack/platform/plugins/shared/global_search/public/services/utils.test.ts similarity index 100% rename from x-pack/plugins/global_search/public/services/utils.test.ts rename to x-pack/platform/plugins/shared/global_search/public/services/utils.test.ts diff --git a/x-pack/plugins/global_search/public/services/utils.ts b/x-pack/platform/plugins/shared/global_search/public/services/utils.ts similarity index 100% rename from x-pack/plugins/global_search/public/services/utils.ts rename to x-pack/platform/plugins/shared/global_search/public/services/utils.ts diff --git a/x-pack/plugins/global_search/public/types.ts b/x-pack/platform/plugins/shared/global_search/public/types.ts similarity index 100% rename from x-pack/plugins/global_search/public/types.ts rename to x-pack/platform/plugins/shared/global_search/public/types.ts diff --git a/x-pack/plugins/global_search/server/config.ts b/x-pack/platform/plugins/shared/global_search/server/config.ts similarity index 100% rename from x-pack/plugins/global_search/server/config.ts rename to x-pack/platform/plugins/shared/global_search/server/config.ts diff --git a/x-pack/plugins/global_search/server/index.ts b/x-pack/platform/plugins/shared/global_search/server/index.ts similarity index 100% rename from x-pack/plugins/global_search/server/index.ts rename to x-pack/platform/plugins/shared/global_search/server/index.ts diff --git a/x-pack/plugins/global_search/server/mocks.ts b/x-pack/platform/plugins/shared/global_search/server/mocks.ts similarity index 100% rename from x-pack/plugins/global_search/server/mocks.ts rename to x-pack/platform/plugins/shared/global_search/server/mocks.ts diff --git a/x-pack/plugins/global_search/server/plugin.test.mocks.ts b/x-pack/platform/plugins/shared/global_search/server/plugin.test.mocks.ts similarity index 100% rename from x-pack/plugins/global_search/server/plugin.test.mocks.ts rename to x-pack/platform/plugins/shared/global_search/server/plugin.test.mocks.ts diff --git a/x-pack/plugins/global_search/server/plugin.test.ts b/x-pack/platform/plugins/shared/global_search/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/global_search/server/plugin.test.ts rename to x-pack/platform/plugins/shared/global_search/server/plugin.test.ts diff --git a/x-pack/plugins/global_search/server/plugin.ts b/x-pack/platform/plugins/shared/global_search/server/plugin.ts similarity index 100% rename from x-pack/plugins/global_search/server/plugin.ts rename to x-pack/platform/plugins/shared/global_search/server/plugin.ts diff --git a/x-pack/plugins/global_search/server/routes/find.ts b/x-pack/platform/plugins/shared/global_search/server/routes/find.ts similarity index 100% rename from x-pack/plugins/global_search/server/routes/find.ts rename to x-pack/platform/plugins/shared/global_search/server/routes/find.ts diff --git a/x-pack/plugins/global_search/server/routes/get_searchable_types.ts b/x-pack/platform/plugins/shared/global_search/server/routes/get_searchable_types.ts similarity index 100% rename from x-pack/plugins/global_search/server/routes/get_searchable_types.ts rename to x-pack/platform/plugins/shared/global_search/server/routes/get_searchable_types.ts diff --git a/x-pack/plugins/global_search/server/routes/index.test.ts b/x-pack/platform/plugins/shared/global_search/server/routes/index.test.ts similarity index 100% rename from x-pack/plugins/global_search/server/routes/index.test.ts rename to x-pack/platform/plugins/shared/global_search/server/routes/index.test.ts diff --git a/x-pack/plugins/global_search/server/routes/index.ts b/x-pack/platform/plugins/shared/global_search/server/routes/index.ts similarity index 100% rename from x-pack/plugins/global_search/server/routes/index.ts rename to x-pack/platform/plugins/shared/global_search/server/routes/index.ts diff --git a/x-pack/plugins/global_search/server/routes/integration_tests/find.test.ts b/x-pack/platform/plugins/shared/global_search/server/routes/integration_tests/find.test.ts similarity index 100% rename from x-pack/plugins/global_search/server/routes/integration_tests/find.test.ts rename to x-pack/platform/plugins/shared/global_search/server/routes/integration_tests/find.test.ts diff --git a/x-pack/plugins/global_search/server/routes/integration_tests/get_searchable_types.test.ts b/x-pack/platform/plugins/shared/global_search/server/routes/integration_tests/get_searchable_types.test.ts similarity index 100% rename from x-pack/plugins/global_search/server/routes/integration_tests/get_searchable_types.test.ts rename to x-pack/platform/plugins/shared/global_search/server/routes/integration_tests/get_searchable_types.test.ts diff --git a/x-pack/plugins/global_search/server/services/context.mock.ts b/x-pack/platform/plugins/shared/global_search/server/services/context.mock.ts similarity index 100% rename from x-pack/plugins/global_search/server/services/context.mock.ts rename to x-pack/platform/plugins/shared/global_search/server/services/context.mock.ts diff --git a/x-pack/plugins/global_search/server/services/context.test.ts b/x-pack/platform/plugins/shared/global_search/server/services/context.test.ts similarity index 100% rename from x-pack/plugins/global_search/server/services/context.test.ts rename to x-pack/platform/plugins/shared/global_search/server/services/context.test.ts diff --git a/x-pack/plugins/global_search/server/services/context.ts b/x-pack/platform/plugins/shared/global_search/server/services/context.ts similarity index 100% rename from x-pack/plugins/global_search/server/services/context.ts rename to x-pack/platform/plugins/shared/global_search/server/services/context.ts diff --git a/x-pack/plugins/global_search/server/services/index.ts b/x-pack/platform/plugins/shared/global_search/server/services/index.ts similarity index 100% rename from x-pack/plugins/global_search/server/services/index.ts rename to x-pack/platform/plugins/shared/global_search/server/services/index.ts diff --git a/x-pack/plugins/global_search/server/services/search_service.mock.ts b/x-pack/platform/plugins/shared/global_search/server/services/search_service.mock.ts similarity index 100% rename from x-pack/plugins/global_search/server/services/search_service.mock.ts rename to x-pack/platform/plugins/shared/global_search/server/services/search_service.mock.ts diff --git a/x-pack/plugins/global_search/server/services/search_service.test.ts b/x-pack/platform/plugins/shared/global_search/server/services/search_service.test.ts similarity index 100% rename from x-pack/plugins/global_search/server/services/search_service.test.ts rename to x-pack/platform/plugins/shared/global_search/server/services/search_service.test.ts diff --git a/x-pack/plugins/global_search/server/services/search_service.ts b/x-pack/platform/plugins/shared/global_search/server/services/search_service.ts similarity index 100% rename from x-pack/plugins/global_search/server/services/search_service.ts rename to x-pack/platform/plugins/shared/global_search/server/services/search_service.ts diff --git a/x-pack/plugins/global_search/server/services/utils.test.ts b/x-pack/platform/plugins/shared/global_search/server/services/utils.test.ts similarity index 100% rename from x-pack/plugins/global_search/server/services/utils.test.ts rename to x-pack/platform/plugins/shared/global_search/server/services/utils.test.ts diff --git a/x-pack/plugins/global_search/server/services/utils.ts b/x-pack/platform/plugins/shared/global_search/server/services/utils.ts similarity index 100% rename from x-pack/plugins/global_search/server/services/utils.ts rename to x-pack/platform/plugins/shared/global_search/server/services/utils.ts diff --git a/x-pack/plugins/global_search/server/types.ts b/x-pack/platform/plugins/shared/global_search/server/types.ts similarity index 100% rename from x-pack/plugins/global_search/server/types.ts rename to x-pack/platform/plugins/shared/global_search/server/types.ts diff --git a/x-pack/plugins/global_search/tsconfig.json b/x-pack/platform/plugins/shared/global_search/tsconfig.json similarity index 82% rename from x-pack/plugins/global_search/tsconfig.json rename to x-pack/platform/plugins/shared/global_search/tsconfig.json index 0c63083590437..5f01cb6d574ed 100644 --- a/x-pack/plugins/global_search/tsconfig.json +++ b/x-pack/platform/plugins/shared/global_search/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -7,7 +7,7 @@ "public/**/*", "server/**/*", "common/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/plugins/notifications/README.mdx b/x-pack/platform/plugins/shared/notifications/README.mdx similarity index 100% rename from x-pack/plugins/notifications/README.mdx rename to x-pack/platform/plugins/shared/notifications/README.mdx diff --git a/x-pack/plugins/notifications/common/index.ts b/x-pack/platform/plugins/shared/notifications/common/index.ts similarity index 100% rename from x-pack/plugins/notifications/common/index.ts rename to x-pack/platform/plugins/shared/notifications/common/index.ts diff --git a/x-pack/plugins/notifications/jest.config.js b/x-pack/platform/plugins/shared/notifications/jest.config.js similarity index 51% rename from x-pack/plugins/notifications/jest.config.js rename to x-pack/platform/plugins/shared/notifications/jest.config.js index b19a8f2efe334..f6b49b598beba 100644 --- a/x-pack/plugins/notifications/jest.config.js +++ b/x-pack/platform/plugins/shared/notifications/jest.config.js @@ -7,9 +7,12 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../..', - roots: ['/x-pack/plugins/notifications'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/notifications', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/notifications'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/notifications', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/notifications/{common,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/notifications/{common,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/x-pack/plugins/notifications/kibana.jsonc b/x-pack/platform/plugins/shared/notifications/kibana.jsonc similarity index 100% rename from x-pack/plugins/notifications/kibana.jsonc rename to x-pack/platform/plugins/shared/notifications/kibana.jsonc diff --git a/x-pack/plugins/notifications/server/config/config.ts b/x-pack/platform/plugins/shared/notifications/server/config/config.ts similarity index 100% rename from x-pack/plugins/notifications/server/config/config.ts rename to x-pack/platform/plugins/shared/notifications/server/config/config.ts diff --git a/x-pack/plugins/notifications/server/config/index.ts b/x-pack/platform/plugins/shared/notifications/server/config/index.ts similarity index 100% rename from x-pack/plugins/notifications/server/config/index.ts rename to x-pack/platform/plugins/shared/notifications/server/config/index.ts diff --git a/x-pack/plugins/notifications/server/index.ts b/x-pack/platform/plugins/shared/notifications/server/index.ts similarity index 100% rename from x-pack/plugins/notifications/server/index.ts rename to x-pack/platform/plugins/shared/notifications/server/index.ts diff --git a/x-pack/plugins/notifications/server/mocks.ts b/x-pack/platform/plugins/shared/notifications/server/mocks.ts similarity index 100% rename from x-pack/plugins/notifications/server/mocks.ts rename to x-pack/platform/plugins/shared/notifications/server/mocks.ts diff --git a/x-pack/plugins/notifications/server/plugin.test.ts b/x-pack/platform/plugins/shared/notifications/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/notifications/server/plugin.test.ts rename to x-pack/platform/plugins/shared/notifications/server/plugin.test.ts diff --git a/x-pack/plugins/notifications/server/plugin.ts b/x-pack/platform/plugins/shared/notifications/server/plugin.ts similarity index 100% rename from x-pack/plugins/notifications/server/plugin.ts rename to x-pack/platform/plugins/shared/notifications/server/plugin.ts diff --git a/x-pack/plugins/notifications/server/services/connectors_email_service.test.ts b/x-pack/platform/plugins/shared/notifications/server/services/connectors_email_service.test.ts similarity index 100% rename from x-pack/plugins/notifications/server/services/connectors_email_service.test.ts rename to x-pack/platform/plugins/shared/notifications/server/services/connectors_email_service.test.ts diff --git a/x-pack/plugins/notifications/server/services/connectors_email_service.ts b/x-pack/platform/plugins/shared/notifications/server/services/connectors_email_service.ts similarity index 100% rename from x-pack/plugins/notifications/server/services/connectors_email_service.ts rename to x-pack/platform/plugins/shared/notifications/server/services/connectors_email_service.ts diff --git a/x-pack/plugins/notifications/server/services/connectors_email_service_provider.test.ts b/x-pack/platform/plugins/shared/notifications/server/services/connectors_email_service_provider.test.ts similarity index 100% rename from x-pack/plugins/notifications/server/services/connectors_email_service_provider.test.ts rename to x-pack/platform/plugins/shared/notifications/server/services/connectors_email_service_provider.test.ts diff --git a/x-pack/plugins/notifications/server/services/connectors_email_service_provider.ts b/x-pack/platform/plugins/shared/notifications/server/services/connectors_email_service_provider.ts similarity index 100% rename from x-pack/plugins/notifications/server/services/connectors_email_service_provider.ts rename to x-pack/platform/plugins/shared/notifications/server/services/connectors_email_service_provider.ts diff --git a/x-pack/plugins/notifications/server/services/index.ts b/x-pack/platform/plugins/shared/notifications/server/services/index.ts similarity index 100% rename from x-pack/plugins/notifications/server/services/index.ts rename to x-pack/platform/plugins/shared/notifications/server/services/index.ts diff --git a/x-pack/plugins/notifications/server/services/licensed_email_service.test.ts b/x-pack/platform/plugins/shared/notifications/server/services/licensed_email_service.test.ts similarity index 100% rename from x-pack/plugins/notifications/server/services/licensed_email_service.test.ts rename to x-pack/platform/plugins/shared/notifications/server/services/licensed_email_service.test.ts diff --git a/x-pack/plugins/notifications/server/services/licensed_email_service.ts b/x-pack/platform/plugins/shared/notifications/server/services/licensed_email_service.ts similarity index 100% rename from x-pack/plugins/notifications/server/services/licensed_email_service.ts rename to x-pack/platform/plugins/shared/notifications/server/services/licensed_email_service.ts diff --git a/x-pack/plugins/notifications/server/services/types.ts b/x-pack/platform/plugins/shared/notifications/server/services/types.ts similarity index 100% rename from x-pack/plugins/notifications/server/services/types.ts rename to x-pack/platform/plugins/shared/notifications/server/services/types.ts diff --git a/x-pack/plugins/notifications/server/types.ts b/x-pack/platform/plugins/shared/notifications/server/types.ts similarity index 100% rename from x-pack/plugins/notifications/server/types.ts rename to x-pack/platform/plugins/shared/notifications/server/types.ts diff --git a/x-pack/plugins/notifications/tsconfig.json b/x-pack/platform/plugins/shared/notifications/tsconfig.json similarity index 90% rename from x-pack/plugins/notifications/tsconfig.json rename to x-pack/platform/plugins/shared/notifications/tsconfig.json index a3230dfa321b1..e30c81d43c7c2 100644 --- a/x-pack/plugins/notifications/tsconfig.json +++ b/x-pack/platform/plugins/shared/notifications/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/serverless/README.mdx b/x-pack/platform/plugins/shared/serverless/README.mdx similarity index 100% rename from x-pack/plugins/serverless/README.mdx rename to x-pack/platform/plugins/shared/serverless/README.mdx diff --git a/x-pack/plugins/serverless/assets/diagram.png b/x-pack/platform/plugins/shared/serverless/assets/diagram.png similarity index 100% rename from x-pack/plugins/serverless/assets/diagram.png rename to x-pack/platform/plugins/shared/serverless/assets/diagram.png diff --git a/x-pack/plugins/serverless/common/index.ts b/x-pack/platform/plugins/shared/serverless/common/index.ts similarity index 100% rename from x-pack/plugins/serverless/common/index.ts rename to x-pack/platform/plugins/shared/serverless/common/index.ts diff --git a/x-pack/plugins/global_search_providers/jest.config.js b/x-pack/platform/plugins/shared/serverless/jest.config.js similarity index 55% rename from x-pack/plugins/global_search_providers/jest.config.js rename to x-pack/platform/plugins/shared/serverless/jest.config.js index 231b444585b03..a7a61917fed25 100644 --- a/x-pack/plugins/global_search_providers/jest.config.js +++ b/x-pack/platform/plugins/shared/serverless/jest.config.js @@ -7,11 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/global_search_providers'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/global_search_providers', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/serverless'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/serverless', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/global_search_providers/{public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/shared/serverless/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/serverless/kibana.jsonc b/x-pack/platform/plugins/shared/serverless/kibana.jsonc similarity index 100% rename from x-pack/plugins/serverless/kibana.jsonc rename to x-pack/platform/plugins/shared/serverless/kibana.jsonc diff --git a/x-pack/plugins/serverless/package.json b/x-pack/platform/plugins/shared/serverless/package.json similarity index 61% rename from x-pack/plugins/serverless/package.json rename to x-pack/platform/plugins/shared/serverless/package.json index ec457f89fbcaa..296ce7dc2e90e 100644 --- a/x-pack/plugins/serverless/package.json +++ b/x-pack/platform/plugins/shared/serverless/package.json @@ -5,7 +5,7 @@ "private": true, "scripts": { "build": "yarn plugin-helpers build", - "plugin-helpers": "node ../../scripts/plugin_helpers", - "kbn": "node ../../scripts/kbn" + "plugin-helpers": "node ../../../../scripts/plugin_helpers", + "kbn": "node ../../../../scripts/kbn" } } \ No newline at end of file diff --git a/x-pack/plugins/serverless/public/config.ts b/x-pack/platform/plugins/shared/serverless/public/config.ts similarity index 100% rename from x-pack/plugins/serverless/public/config.ts rename to x-pack/platform/plugins/shared/serverless/public/config.ts diff --git a/x-pack/plugins/serverless/public/index.ts b/x-pack/platform/plugins/shared/serverless/public/index.ts similarity index 100% rename from x-pack/plugins/serverless/public/index.ts rename to x-pack/platform/plugins/shared/serverless/public/index.ts diff --git a/x-pack/plugins/serverless/public/mocks.ts b/x-pack/platform/plugins/shared/serverless/public/mocks.ts similarity index 100% rename from x-pack/plugins/serverless/public/mocks.ts rename to x-pack/platform/plugins/shared/serverless/public/mocks.ts diff --git a/x-pack/plugins/serverless/public/navigation/index.tsx b/x-pack/platform/plugins/shared/serverless/public/navigation/index.tsx similarity index 100% rename from x-pack/plugins/serverless/public/navigation/index.tsx rename to x-pack/platform/plugins/shared/serverless/public/navigation/index.tsx diff --git a/x-pack/plugins/serverless/public/navigation/nav_cards.ts b/x-pack/platform/plugins/shared/serverless/public/navigation/nav_cards.ts similarity index 100% rename from x-pack/plugins/serverless/public/navigation/nav_cards.ts rename to x-pack/platform/plugins/shared/serverless/public/navigation/nav_cards.ts diff --git a/x-pack/plugins/serverless/public/navigation/navigation.tsx b/x-pack/platform/plugins/shared/serverless/public/navigation/navigation.tsx similarity index 100% rename from x-pack/plugins/serverless/public/navigation/navigation.tsx rename to x-pack/platform/plugins/shared/serverless/public/navigation/navigation.tsx diff --git a/x-pack/plugins/serverless/public/plugin.tsx b/x-pack/platform/plugins/shared/serverless/public/plugin.tsx similarity index 100% rename from x-pack/plugins/serverless/public/plugin.tsx rename to x-pack/platform/plugins/shared/serverless/public/plugin.tsx diff --git a/x-pack/plugins/serverless/public/types.ts b/x-pack/platform/plugins/shared/serverless/public/types.ts similarity index 100% rename from x-pack/plugins/serverless/public/types.ts rename to x-pack/platform/plugins/shared/serverless/public/types.ts diff --git a/x-pack/plugins/serverless/server/config.ts b/x-pack/platform/plugins/shared/serverless/server/config.ts similarity index 100% rename from x-pack/plugins/serverless/server/config.ts rename to x-pack/platform/plugins/shared/serverless/server/config.ts diff --git a/x-pack/plugins/serverless/server/index.ts b/x-pack/platform/plugins/shared/serverless/server/index.ts similarity index 100% rename from x-pack/plugins/serverless/server/index.ts rename to x-pack/platform/plugins/shared/serverless/server/index.ts diff --git a/x-pack/plugins/serverless/server/mocks.ts b/x-pack/platform/plugins/shared/serverless/server/mocks.ts similarity index 100% rename from x-pack/plugins/serverless/server/mocks.ts rename to x-pack/platform/plugins/shared/serverless/server/mocks.ts diff --git a/x-pack/plugins/serverless/server/plugin.test.ts b/x-pack/platform/plugins/shared/serverless/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/serverless/server/plugin.test.ts rename to x-pack/platform/plugins/shared/serverless/server/plugin.test.ts diff --git a/x-pack/plugins/serverless/server/plugin.ts b/x-pack/platform/plugins/shared/serverless/server/plugin.ts similarity index 100% rename from x-pack/plugins/serverless/server/plugin.ts rename to x-pack/platform/plugins/shared/serverless/server/plugin.ts diff --git a/x-pack/plugins/serverless/server/types.ts b/x-pack/platform/plugins/shared/serverless/server/types.ts similarity index 100% rename from x-pack/plugins/serverless/server/types.ts rename to x-pack/platform/plugins/shared/serverless/server/types.ts diff --git a/x-pack/plugins/serverless/tsconfig.json b/x-pack/platform/plugins/shared/serverless/tsconfig.json similarity index 93% rename from x-pack/plugins/serverless/tsconfig.json rename to x-pack/platform/plugins/shared/serverless/tsconfig.json index ce60d39bef0f0..988e3f7a693aa 100644 --- a/x-pack/plugins/serverless/tsconfig.json +++ b/x-pack/platform/plugins/shared/serverless/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/x-pack/plugins/banners/jest.config.js b/x-pack/plugins/banners/jest.config.js deleted file mode 100644 index 291bdb3436295..0000000000000 --- a/x-pack/plugins/banners/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * 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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/banners'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/banners', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/banners/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/global_search_bar/jest.config.js b/x-pack/plugins/global_search_bar/jest.config.js deleted file mode 100644 index e00903df125c9..0000000000000 --- a/x-pack/plugins/global_search_bar/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * 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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/global_search_bar'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/global_search_bar', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/global_search_bar/public/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/reporting/server/config/index.test.ts b/x-pack/plugins/reporting/server/config/index.test.ts deleted file mode 100644 index a517affac54e6..0000000000000 --- a/x-pack/plugins/reporting/server/config/index.test.ts +++ /dev/null @@ -1,74 +0,0 @@ -/* - * 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. - */ - -import { config } from '.'; -import { applyDeprecations, configDeprecationFactory } from '@kbn/config'; -import { configDeprecationsMock } from '@kbn/core/server/mocks'; - -const CONFIG_PATH = 'xpack.reporting'; - -const deprecationContext = configDeprecationsMock.createContext(); - -const applyReportingDeprecations = (settings: Record = {}) => { - const deprecations = config.deprecations!(configDeprecationFactory); - const deprecationMessages: string[] = []; - const _config: any = {}; - _config[CONFIG_PATH] = settings; - const { config: migrated } = applyDeprecations( - _config, - deprecations.map((deprecation) => ({ - deprecation, - path: CONFIG_PATH, - context: deprecationContext, - })), - () => - ({ message }) => - deprecationMessages.push(message) - ); - return { - messages: deprecationMessages, - migrated, - }; -}; - -describe('deprecations', () => { - it('logs a warning of roles.enabled for defaults', () => { - const { messages } = applyReportingDeprecations({}); - expect(messages).toMatchInlineSnapshot(` - Array [ - "The default mechanism for Reporting privileges will work differently in future versions, which will affect the behavior of this cluster. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", - ] - `); - }); - - it('logs a warning if roles.enabled: true is set', () => { - const { messages } = applyReportingDeprecations({ roles: { enabled: true } }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "The default mechanism for Reporting privileges will work differently in future versions, which will affect the behavior of this cluster. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", - ] - `); - }); - - it('logs a warning if csv.enablePanelActionDownload: true is set', () => { - const { messages } = applyReportingDeprecations({ csv: { enablePanelActionDownload: true } }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "The default mechanism for Reporting privileges will work differently in future versions, which will affect the behavior of this cluster. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", - "The \\"xpack.reporting.csv.enablePanelActionDownload\\" setting is deprecated.", - ] - `); - }); - - it('does not log a warning recommended settings are used', () => { - const { messages } = applyReportingDeprecations({ - csv: { enablePanelActionDownload: false }, - roles: { enabled: false }, - }); - expect(messages).toMatchInlineSnapshot(`Array []`); - }); -}); diff --git a/x-pack/plugins/reporting/server/deprecations/__snapshots__/reporting_role.test.ts.snap b/x-pack/plugins/reporting/server/deprecations/__snapshots__/reporting_role.test.ts.snap deleted file mode 100644 index 92456f9eec706..0000000000000 --- a/x-pack/plugins/reporting/server/deprecations/__snapshots__/reporting_role.test.ts.snap +++ /dev/null @@ -1,119 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`roles mapped to a deprecated role includes steps to remove the incompatible config, when applicable 1`] = ` -Array [ - Object { - "correctiveActions": Object { - "manualSteps": Array [ - "Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" in kibana.yml.", - "Remove \\"xpack.reporting.roles.allow\\" in kibana.yml, if present.", - "Go to Management > Security > Roles to create one or more roles that grant the Kibana application privilege for Reporting.", - "Grant Reporting privileges to users by assigning one of the new roles.", - "Remove the \\"reporting_user\\" role from all users and add the custom role. The affected users are: reportron[reporting_user].", - ], - }, - "deprecationType": "feature", - "documentationUrl": "https://www.elastic.co/guide/en/kibana/branch/kibana-privileges.html", - "level": "warning", - "message": "The default mechanism for Reporting privileges will work differently in future versions, and this cluster has users who have a deprecated role for this privilege. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", - "title": "The \\"reporting_user\\" role is deprecated: check user roles", - }, -] -`; - -exports[`roles mapped to a deprecated role logs a deprecation when a role was found that maps to a deprecated custom role from the roles.allow setting 1`] = ` -Array [ - Object { - "correctiveActions": Object { - "manualSteps": Array [ - "Go to Management > Security > Roles to create one or more roles that grant the Kibana application privilege for Reporting.", - "Grant Reporting privileges to users by assigning one of the new roles.", - "Remove the \\"reporting_user\\" role from all role mappings and add the custom role. The affected role mappings are: dungeon_master[my_test_reporting_user].", - ], - }, - "deprecationType": "feature", - "documentationUrl": "https://www.elastic.co/guide/en/kibana/branch/kibana-privileges.html", - "level": "warning", - "message": "The default mechanism for Reporting privileges will work differently in future versions, and this cluster has role mappings that are mapped to a deprecated role for this privilege. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", - "title": "The \\"reporting_user\\" role is deprecated: check role mappings", - }, -] -`; - -exports[`roles mapped to a deprecated role logs a deprecation when a role was found that maps to the deprecated reporting_user role 1`] = ` -Array [ - Object { - "correctiveActions": Object { - "manualSteps": Array [ - "Go to Management > Security > Roles to create one or more roles that grant the Kibana application privilege for Reporting.", - "Grant Reporting privileges to users by assigning one of the new roles.", - "Remove the \\"reporting_user\\" role from all role mappings and add the custom role. The affected role mappings are: dungeon_master[reporting_user].", - ], - }, - "deprecationType": "feature", - "documentationUrl": "https://www.elastic.co/guide/en/kibana/branch/kibana-privileges.html", - "level": "warning", - "message": "The default mechanism for Reporting privileges will work differently in future versions, and this cluster has role mappings that are mapped to a deprecated role for this privilege. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", - "title": "The \\"reporting_user\\" role is deprecated: check role mappings", - }, -] -`; - -exports[`users assigned to a deprecated role includes steps to remove the incompatible config, when applicable 1`] = ` -Array [ - Object { - "correctiveActions": Object { - "manualSteps": Array [ - "Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" in kibana.yml.", - "Remove \\"xpack.reporting.roles.allow\\" in kibana.yml, if present.", - "Go to Management > Security > Roles to create one or more roles that grant the Kibana application privilege for Reporting.", - "Grant Reporting privileges to users by assigning one of the new roles.", - "Remove the \\"reporting_user\\" role from all users and add the custom role. The affected users are: reportron[reporting_user].", - ], - }, - "deprecationType": "feature", - "documentationUrl": "https://www.elastic.co/guide/en/kibana/branch/kibana-privileges.html", - "level": "warning", - "message": "The default mechanism for Reporting privileges will work differently in future versions, and this cluster has users who have a deprecated role for this privilege. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", - "title": "The \\"reporting_user\\" role is deprecated: check user roles", - }, -] -`; - -exports[`users assigned to a deprecated role logs a deprecation when a user was found with a deprecated custom role from the roles.allow setting 1`] = ` -Array [ - Object { - "correctiveActions": Object { - "manualSteps": Array [ - "Go to Management > Security > Roles to create one or more roles that grant the Kibana application privilege for Reporting.", - "Grant Reporting privileges to users by assigning one of the new roles.", - "Remove the \\"reporting_user\\" role from all users and add the custom role. The affected users are: reportron[my_test_reporting_user].", - ], - }, - "deprecationType": "feature", - "documentationUrl": "https://www.elastic.co/guide/en/kibana/branch/kibana-privileges.html", - "level": "warning", - "message": "The default mechanism for Reporting privileges will work differently in future versions, and this cluster has users who have a deprecated role for this privilege. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", - "title": "The \\"reporting_user\\" role is deprecated: check user roles", - }, -] -`; - -exports[`users assigned to a deprecated role logs a deprecation when a user was found with a deprecated reporting_user role 1`] = ` -Array [ - Object { - "correctiveActions": Object { - "manualSteps": Array [ - "Go to Management > Security > Roles to create one or more roles that grant the Kibana application privilege for Reporting.", - "Grant Reporting privileges to users by assigning one of the new roles.", - "Remove the \\"reporting_user\\" role from all users and add the custom role. The affected users are: reportron[reporting_user].", - ], - }, - "deprecationType": "feature", - "documentationUrl": "https://www.elastic.co/guide/en/kibana/branch/kibana-privileges.html", - "level": "warning", - "message": "The default mechanism for Reporting privileges will work differently in future versions, and this cluster has users who have a deprecated role for this privilege. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", - "title": "The \\"reporting_user\\" role is deprecated: check user roles", - }, -] -`; diff --git a/x-pack/plugins/reporting/server/deprecations/reporting_role.test.ts b/x-pack/plugins/reporting/server/deprecations/reporting_role.test.ts deleted file mode 100644 index 4f58767e78b06..0000000000000 --- a/x-pack/plugins/reporting/server/deprecations/reporting_role.test.ts +++ /dev/null @@ -1,177 +0,0 @@ -/* - * 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. - */ - -import { GetDeprecationsContext, IScopedClusterClient } from '@kbn/core/server'; -import { elasticsearchServiceMock } from '@kbn/core/server/mocks'; -import { createMockConfigSchema } from '@kbn/reporting-mocks-server'; -import { ReportingCore } from '..'; -import { createMockPluginSetup, createMockReportingCore } from '../test_helpers'; -import { getDeprecationsInfo } from './reporting_role'; - -let reportingCore: ReportingCore; -let context: GetDeprecationsContext; -let esClient: jest.Mocked; - -beforeEach(async () => { - reportingCore = await createMockReportingCore( - createMockConfigSchema({ roles: { enabled: false } }) - ); - - esClient = elasticsearchServiceMock.createScopedClusterClient(); - esClient.asCurrentUser.security.getUser = jest.fn().mockResolvedValue({ - xyz: { username: 'normal_user', roles: ['data_analyst'] }, - }); - esClient.asCurrentUser.security.getRoleMapping = jest.fn().mockResolvedValue({}); - - context = { esClient } as unknown as GetDeprecationsContext; -}); - -test('logs no deprecations when setup has no issues', async () => { - expect(await getDeprecationsInfo(context, { reportingCore })).toMatchInlineSnapshot(`Array []`); -}); - -describe('users assigned to a deprecated role', () => { - test('logs a deprecation when a user was found with a deprecated reporting_user role', async () => { - esClient.asCurrentUser.security.getUser = jest.fn().mockResolvedValue({ - reportron: { - username: 'reportron', - roles: ['kibana_admin', 'reporting_user'], - }, - }); - - reportingCore = await createMockReportingCore(createMockConfigSchema()); - - expect(await getDeprecationsInfo(context, { reportingCore })).toMatchSnapshot(); - }); - - test('logs a deprecation when a user was found with a deprecated custom role from the roles.allow setting', async () => { - reportingCore = await createMockReportingCore( - createMockConfigSchema({ roles: { allow: ['my_test_reporting_user'] } }) - ); - esClient.asCurrentUser.security.getUser = jest.fn().mockResolvedValue({ - reportron: { username: 'reportron', roles: ['kibana_admin', 'my_test_reporting_user'] }, - }); - - expect(await getDeprecationsInfo(context, { reportingCore })).toMatchSnapshot(); - }); - - test('includes steps to remove the incompatible config, when applicable', async () => { - esClient.asCurrentUser.security.getUser = jest.fn().mockResolvedValue({ - reportron: { - username: 'reportron', - roles: ['kibana_admin', 'reporting_user'], - }, - }); - - reportingCore = await createMockReportingCore( - createMockConfigSchema({ roles: { enabled: true } }) - ); - - expect(await getDeprecationsInfo(context, { reportingCore })).toMatchSnapshot(); - }); -}); - -describe('roles mapped to a deprecated role', () => { - test('logs a deprecation when a role was found that maps to the deprecated reporting_user role', async () => { - esClient.asCurrentUser.security.getRoleMapping = jest - .fn() - .mockResolvedValue({ dungeon_master: { roles: ['reporting_user'] } }); - - reportingCore = await createMockReportingCore(createMockConfigSchema()); - - expect(await getDeprecationsInfo(context, { reportingCore })).toMatchSnapshot(); - }); - - test('logs a deprecation when a role was found that maps to a deprecated custom role from the roles.allow setting', async () => { - reportingCore = await createMockReportingCore( - createMockConfigSchema({ roles: { allow: ['my_test_reporting_user'] } }) - ); - esClient.asCurrentUser.security.getRoleMapping = jest - .fn() - .mockResolvedValue({ dungeon_master: { roles: ['my_test_reporting_user'] } }); - - expect(await getDeprecationsInfo(context, { reportingCore })).toMatchSnapshot(); - }); - - test('includes steps to remove the incompatible config, when applicable', async () => { - esClient.asCurrentUser.security.getUser = jest.fn().mockResolvedValue({ - reportron: { - username: 'reportron', - roles: ['kibana_admin', 'reporting_user'], - }, - }); - - reportingCore = await createMockReportingCore( - createMockConfigSchema({ roles: { enabled: true } }) - ); - - expect(await getDeprecationsInfo(context, { reportingCore })).toMatchSnapshot(); - }); -}); - -describe('check deprecations when security is disabled', () => { - test('logs no deprecations: roles not enabled', async () => { - reportingCore = await createMockReportingCore( - createMockConfigSchema({ roles: { enabled: false } }), - createMockPluginSetup({ security: null }) - ); - expect(await getDeprecationsInfo(context, { reportingCore })).toMatchInlineSnapshot(`Array []`); - }); - - test('logs no deprecations: roles enabled', async () => { - const mockReportingConfig = createMockConfigSchema(); // roles.enabled: true is default in 7.x / 8.0 - reportingCore = await createMockReportingCore( - mockReportingConfig, - createMockPluginSetup({ security: null }) - ); - - expect(await getDeprecationsInfo(context, { reportingCore })).toMatchInlineSnapshot(`Array []`); - }); - - test('logs no deprecations on serverless', async () => { - reportingCore = await createMockReportingCore( - createMockConfigSchema({ statefulSettings: { enabled: false } }) - ); - expect(await getDeprecationsInfo(context, { reportingCore })).toMatchInlineSnapshot(`Array []`); - }); -}); - -it('insufficient permissions', async () => { - const permissionsError = new Error('you shall not pass'); - (permissionsError as unknown as { statusCode: number }).statusCode = 403; - esClient.asCurrentUser.security.getUser = jest.fn().mockRejectedValue(permissionsError); - esClient.asCurrentUser.security.getRoleMapping = jest.fn().mockRejectedValue(permissionsError); - - expect(await getDeprecationsInfo(context, { reportingCore })).toMatchInlineSnapshot(` - Array [ - Object { - "correctiveActions": Object { - "manualSteps": Array [ - "Make sure you have a \\"manage_security\\" cluster privilege assigned.", - ], - }, - "deprecationType": "feature", - "documentationUrl": "https://www.elastic.co/guide/en/kibana/test-branch/xpack-security.html#_required_permissions_7", - "level": "fetch_error", - "message": "You do not have enough permissions to fix this deprecation.", - "title": "The \\"reporting_user\\" role is deprecated: check user roles", - }, - Object { - "correctiveActions": Object { - "manualSteps": Array [ - "Make sure you have a \\"manage_security\\" cluster privilege assigned.", - ], - }, - "deprecationType": "feature", - "documentationUrl": "https://www.elastic.co/guide/en/kibana/test-branch/xpack-security.html#_required_permissions_7", - "level": "fetch_error", - "message": "You do not have enough permissions to fix this deprecation.", - "title": "The \\"reporting_user\\" role is deprecated: check role mappings", - }, - ] - `); -}); diff --git a/x-pack/plugins/reporting/server/deprecations/reporting_role.ts b/x-pack/plugins/reporting/server/deprecations/reporting_role.ts deleted file mode 100644 index 31633760aeb84..0000000000000 --- a/x-pack/plugins/reporting/server/deprecations/reporting_role.ts +++ /dev/null @@ -1,239 +0,0 @@ -/* - * 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. - */ - -import { - SecurityGetRoleMappingResponse, - SecurityGetUserResponse, -} from '@elastic/elasticsearch/lib/api/types'; -import { i18n } from '@kbn/i18n'; -import type { - DeprecationsDetails, - DocLinksServiceSetup, - ElasticsearchClient, - GetDeprecationsContext, -} from '@kbn/core/server'; -import { ReportingCore } from '..'; -import { deprecations } from '../lib/deprecations'; - -const REPORTING_USER_ROLE_NAME = 'reporting_user'; -const getDocumentationUrl = (branch: string) => { - // TODO: remove when docs support "main" - const docBranch = branch === 'main' ? 'master' : branch; - return `https://www.elastic.co/guide/en/kibana/${docBranch}/kibana-privileges.html`; -}; - -interface ExtraDependencies { - reportingCore: ReportingCore; -} - -export async function getDeprecationsInfo( - { esClient }: GetDeprecationsContext, - { reportingCore }: ExtraDependencies -): Promise { - const client = esClient.asCurrentUser; - const { security, docLinks } = reportingCore.getPluginSetupDeps(); - - // Nothing to do if security is disabled - if (!security?.license.isEnabled()) { - return []; - } - - const config = reportingCore.getConfig(); - const deprecatedRoles = config.roles.allow || ['reporting_user']; - - return [ - ...(await getUsersDeprecations(client, reportingCore, deprecatedRoles, docLinks)), - ...(await getRoleMappingsDeprecations(client, reportingCore, deprecatedRoles, docLinks)), - ]; -} - -async function getUsersDeprecations( - client: ElasticsearchClient, - reportingCore: ReportingCore, - deprecatedRoles: string[], - docLinks: DocLinksServiceSetup -): Promise { - const usingDeprecatedConfig = !reportingCore.getContract().usesUiCapabilities(); - const strings = { - title: i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.title', { - defaultMessage: `The "{reportingUserRoleName}" role is deprecated: check user roles`, - values: { reportingUserRoleName: REPORTING_USER_ROLE_NAME }, - }), - message: i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.description', { - defaultMessage: - `The default mechanism for Reporting privileges will work differently in future versions, and` + - ` this cluster has users who have a deprecated role for this privilege.` + - ` Set "xpack.reporting.roles.enabled" to "false" to adopt the future behavior before upgrading.`, - }), - manualSteps: (usersRoles: string) => [ - ...(usingDeprecatedConfig - ? [ - i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.manualStepOne', { - defaultMessage: `Set "xpack.reporting.roles.enabled" to "false" in kibana.yml.`, - }), - i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.manualStepTwo', { - defaultMessage: `Remove "xpack.reporting.roles.allow" in kibana.yml, if present.`, - }), - ] - : []), - - i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.manualStepThree', { - defaultMessage: - `Go to Management > Security > Roles to create one or more roles that grant` + - ` the Kibana application privilege for Reporting.`, - }), - i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.manualStepFour', { - defaultMessage: `Grant Reporting privileges to users by assigning one of the new roles.`, - }), - i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.manualStepFive', { - defaultMessage: - `Remove the "reporting_user" role from all users and add the custom role.` + - ` The affected users are: {usersRoles}.`, - values: { usersRoles }, - }), - ], - }; - - let users: SecurityGetUserResponse; - try { - users = await client.security.getUser(); - } catch (err) { - const { logger } = reportingCore.getPluginSetupDeps(); - if (deprecations.getErrorStatusCode(err) === 403) { - logger.warn( - `Failed to retrieve users when checking for deprecations:` + - ` the "manage_security" cluster privilege is required.` - ); - } else { - logger.error( - `Failed to retrieve users when checking for deprecations,` + - ` unexpected error: ${deprecations.getDetailedErrorMessage(err)}.` - ); - } - return deprecations.deprecationError(strings.title, err, docLinks); - } - - const reportingUsers = Object.entries(users).reduce((userSet, current) => { - const [userName, user] = current; - const foundRole = user.roles.find((role) => deprecatedRoles.includes(role)); - if (foundRole) { - userSet.push(`${userName}[${foundRole}]`); - } - return userSet; - }, [] as string[]); - - if (reportingUsers.length === 0) { - return []; - } - - return [ - { - title: strings.title, - message: strings.message, - correctiveActions: { manualSteps: strings.manualSteps(reportingUsers.join(', ')) }, - level: 'warning', - deprecationType: 'feature', - documentationUrl: getDocumentationUrl(reportingCore.getKibanaPackageInfo().branch), - }, - ]; -} - -async function getRoleMappingsDeprecations( - client: ElasticsearchClient, - reportingCore: ReportingCore, - deprecatedRoles: string[], - docLinks: DocLinksServiceSetup -): Promise { - const usingDeprecatedConfig = !reportingCore.getContract().usesUiCapabilities(); - const strings = { - title: i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.title', { - defaultMessage: `The "{reportingUserRoleName}" role is deprecated: check role mappings`, - values: { reportingUserRoleName: REPORTING_USER_ROLE_NAME }, - }), - message: i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.description', { - defaultMessage: - `The default mechanism for Reporting privileges will work differently in future versions, and` + - ` this cluster has role mappings that are mapped to a deprecated role for this privilege.` + - ` Set "xpack.reporting.roles.enabled" to "false" to adopt the future behavior before upgrading.`, - }), - manualSteps: (roleMappings: string) => [ - ...(usingDeprecatedConfig - ? [ - i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.manualStepOne', { - defaultMessage: `Set "xpack.reporting.roles.enabled" to "false" in kibana.yml.`, - }), - i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.manualStepTwo', { - defaultMessage: `Remove "xpack.reporting.roles.allow" in kibana.yml, if present.`, - }), - ] - : []), - - i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.manualStepThree', { - defaultMessage: - `Go to Management > Security > Roles to create one or more roles that grant` + - ` the Kibana application privilege for Reporting.`, - }), - i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.manualStepFour', { - defaultMessage: `Grant Reporting privileges to users by assigning one of the new roles.`, - }), - i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.manualStepFive', { - defaultMessage: - `Remove the "reporting_user" role from all role mappings and add the custom role.` + - ` The affected role mappings are: {roleMappings}.`, - values: { roleMappings }, - }), - ], - }; - - let roleMappings: SecurityGetRoleMappingResponse; - try { - roleMappings = await client.security.getRoleMapping(); - } catch (err) { - const { logger } = reportingCore.getPluginSetupDeps(); - if (deprecations.getErrorStatusCode(err) === 403) { - logger.warn( - `Failed to retrieve role mappings when checking for deprecations:` + - ` the "manage_security" cluster privilege is required.` - ); - } else { - logger.error( - `Failed to retrieve role mappings when checking for deprecations,` + - ` unexpected error: ${deprecations.getDetailedErrorMessage(err)}.` - ); - } - return deprecations.deprecationError(strings.title, err, docLinks); - } - - const roleMappingsWithReportingRole: string[] = Object.entries(roleMappings).reduce( - (roleSet, current) => { - const [roleName, role] = current; - const foundMapping = role.roles?.find((roll) => deprecatedRoles.includes(roll)); - if (foundMapping) { - roleSet.push(`${roleName}[${foundMapping}]`); - } - return roleSet; - }, - [] as string[] - ); - - if (roleMappingsWithReportingRole.length === 0) { - return []; - } - - return [ - { - title: strings.title, - message: strings.message, - correctiveActions: { - manualSteps: strings.manualSteps(roleMappingsWithReportingRole.join(', ')), - }, - level: 'warning', - deprecationType: 'feature', - documentationUrl: getDocumentationUrl(reportingCore.getKibanaPackageInfo().branch), - }, - ]; -} diff --git a/x-pack/plugins/reporting/server/routes/internal/generate/csv_searchsource_immediate.ts b/x-pack/plugins/reporting/server/routes/internal/generate/csv_searchsource_immediate.ts deleted file mode 100644 index cc9ad946d84ef..0000000000000 --- a/x-pack/plugins/reporting/server/routes/internal/generate/csv_searchsource_immediate.ts +++ /dev/null @@ -1,137 +0,0 @@ -/* - * 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. - */ - -import Boom from '@hapi/boom'; -import moment from 'moment'; - -import { schema } from '@kbn/config-schema'; -import type { KibanaRequest, Logger } from '@kbn/core/server'; -import { INTERNAL_ROUTES } from '@kbn/reporting-common'; -import { - CSV_SEARCHSOURCE_IMMEDIATE_TYPE, - JobParamsDownloadCSV, -} from '@kbn/reporting-export-types-csv-common'; -import type { ReportingCore } from '../../..'; -import { PassThroughStream } from '../../../lib'; -import { authorizedUserPreRouting, getCounters } from '../../common'; - -const path = INTERNAL_ROUTES.DOWNLOAD_CSV; - -export type CsvFromSavedObjectRequest = KibanaRequest; - -/* - * This function registers API Endpoints for immediate Reporting jobs. The API inputs are: - * - saved object type and ID - * - time range and time zone - * - application state: - * - filters - * - query bar - * - local (transient) changes the user made to the saved object - */ -export function registerGenerateCsvFromSavedObjectImmediate( - reporting: ReportingCore, - parentLogger: Logger -) { - const setupDeps = reporting.getPluginSetupDeps(); - const { router } = setupDeps; - - const useKibanaAccessControl = reporting.getDeprecatedAllowedRoles() === false; // true if deprecated config is turned off - const kibanaAccessControlTags = useKibanaAccessControl ? ['access:downloadCsv'] : []; - - // This API calls run the SearchSourceImmediate export type's runTaskFn directly - router.post( - { - path, - validate: { - body: schema.object({ - columns: schema.maybe(schema.arrayOf(schema.string())), - searchSource: schema.object({}, { unknowns: 'allow' }), - browserTimezone: schema.string({ - defaultValue: 'UTC', - validate: (value) => - moment.tz.zone(value) ? undefined : `Invalid timezone "${typeof value}".`, - }), - title: schema.string(), - version: schema.maybe(schema.string()), - }), - }, - options: { tags: kibanaAccessControlTags, access: 'internal' }, - }, - authorizedUserPreRouting( - reporting, - async (user, context, req: CsvFromSavedObjectRequest, res) => { - const counters = getCounters(req.route.method, path, reporting.getUsageCounter()); - - const logger = parentLogger.get(CSV_SEARCHSOURCE_IMMEDIATE_TYPE); - const csvSearchSourceImmediateExport = await reporting.getCsvSearchSourceImmediate(); - - const stream = new PassThroughStream(); - const eventLog = reporting.getEventLogger({ - jobtype: CSV_SEARCHSOURCE_IMMEDIATE_TYPE, - created_by: user && user.username, - payload: { browserTimezone: req.body.browserTimezone }, - }); - const logError = (error: Error) => { - logger.error(error); - eventLog.logError(error); - }; - - try { - eventLog.logExecutionStart(); - - const taskPromise = csvSearchSourceImmediateExport - .runTask(null, req.body, context, stream, req) - .then((output) => { - logger.info(`Job output size: ${stream.bytesWritten} bytes.`); - - if (!stream.bytesWritten) { - logger.warn('CSV Job Execution created empty content result'); - } - - eventLog.logExecutionComplete({ - ...(output.metrics ?? {}), - byteSize: stream.bytesWritten, - }); - }) - .finally(() => stream.end()); - - await Promise.race([stream.firstBytePromise, taskPromise]); - - taskPromise.catch(logError); - - counters.usageCounter(); - - return res.ok({ - body: stream, - headers: { - 'content-type': 'text/csv;charset=utf-8', - 'accept-ranges': 'none', - }, - }); - } catch (error) { - logError(error); - - if (error instanceof Boom.Boom) { - const statusCode = error.output.statusCode; - counters.errorCounter(undefined, statusCode); - - return res.customError({ - statusCode, - body: error.output.payload.message, - }); - } - - counters.errorCounter(undefined, 500); - - return res.customError({ - statusCode: 500, - }); - } - } - ) - ); -} diff --git a/x-pack/plugins/serverless/jest.config.js b/x-pack/plugins/serverless/jest.config.js deleted file mode 100644 index 1b7860b8f3d78..0000000000000 --- a/x-pack/plugins/serverless/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * 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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/serverless'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/serverless', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/serverless/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json index aa693f84db120..5d0c6fc38cb12 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json @@ -5404,6 +5404,16 @@ } } }, + "reporting": { + "properties": { + "available": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + } + } + }, "rollups": { "properties": { "index_patterns": { @@ -5460,6 +5470,100 @@ } } }, + "saved_objects_tagging": { + "properties": { + "usedTags": { + "type": "integer" + }, + "taggedObjects": { + "type": "integer" + }, + "types": { + "properties": { + "dashboard": { + "properties": { + "usedTags": { + "type": "integer" + }, + "taggedObjects": { + "type": "integer" + } + } + }, + "lens": { + "properties": { + "usedTags": { + "type": "integer" + }, + "taggedObjects": { + "type": "integer" + } + } + }, + "visualization": { + "properties": { + "usedTags": { + "type": "integer" + }, + "taggedObjects": { + "type": "integer" + } + } + }, + "map": { + "properties": { + "usedTags": { + "type": "integer" + }, + "taggedObjects": { + "type": "integer" + } + } + }, + "search": { + "properties": { + "usedTags": { + "type": "integer" + }, + "taggedObjects": { + "type": "integer" + } + } + }, + "osquery-pack": { + "properties": { + "usedTags": { + "type": "integer" + }, + "taggedObjects": { + "type": "integer" + } + } + }, + "osquery-pack-asset": { + "properties": { + "usedTags": { + "type": "integer" + }, + "taggedObjects": { + "type": "integer" + } + } + }, + "osquery-saved-query": { + "properties": { + "usedTags": { + "type": "integer" + }, + "taggedObjects": { + "type": "integer" + } + } + } + } + } + } + }, "task_manager": { "properties": { "ephemeral_tasks_enabled": { diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index 8fc4524b00f73..63c7bfcf3f33a 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -83,110 +83,6 @@ } } }, - "reporting": { - "properties": { - "available": { - "type": "boolean" - }, - "enabled": { - "type": "boolean" - } - } - }, - "saved_objects_tagging": { - "properties": { - "usedTags": { - "type": "integer" - }, - "taggedObjects": { - "type": "integer" - }, - "types": { - "properties": { - "dashboard": { - "properties": { - "usedTags": { - "type": "integer" - }, - "taggedObjects": { - "type": "integer" - } - } - }, - "lens": { - "properties": { - "usedTags": { - "type": "integer" - }, - "taggedObjects": { - "type": "integer" - } - } - }, - "visualization": { - "properties": { - "usedTags": { - "type": "integer" - }, - "taggedObjects": { - "type": "integer" - } - } - }, - "map": { - "properties": { - "usedTags": { - "type": "integer" - }, - "taggedObjects": { - "type": "integer" - } - } - }, - "search": { - "properties": { - "usedTags": { - "type": "integer" - }, - "taggedObjects": { - "type": "integer" - } - } - }, - "osquery-pack": { - "properties": { - "usedTags": { - "type": "integer" - }, - "taggedObjects": { - "type": "integer" - } - } - }, - "osquery-pack-asset": { - "properties": { - "usedTags": { - "type": "integer" - }, - "taggedObjects": { - "type": "integer" - } - } - }, - "osquery-saved-query": { - "properties": { - "usedTags": { - "type": "integer" - }, - "taggedObjects": { - "type": "integer" - } - } - } - } - } - } - }, "security": { "properties": { "auditLoggingEnabled": { diff --git a/x-pack/solutions/security/plugins/security_solution/scripts/endpoint/common/response_actions.ts b/x-pack/solutions/security/plugins/security_solution/scripts/endpoint/common/response_actions.ts index d54df140b3b4c..3a96ac8ad98ce 100644 --- a/x-pack/solutions/security/plugins/security_solution/scripts/endpoint/common/response_actions.ts +++ b/x-pack/solutions/security/plugins/security_solution/scripts/endpoint/common/response_actions.ts @@ -240,7 +240,7 @@ export const sendEndpointActionResponse = async ( // Index the file content (just one chunk) // call to `.index()` copied from File plugin here: - // https://github.com/elastic/kibana/blob/main/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts#L195 + // https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts#L195 await esClient .index( { diff --git a/x-pack/solutions/security/plugins/threat_intelligence/public/mocks/mock_kibana_ui_settings_service.ts b/x-pack/solutions/security/plugins/threat_intelligence/public/mocks/mock_kibana_ui_settings_service.ts index be6d3483ae0c0..e2c1785bd2aec 100644 --- a/x-pack/solutions/security/plugins/threat_intelligence/public/mocks/mock_kibana_ui_settings_service.ts +++ b/x-pack/solutions/security/plugins/threat_intelligence/public/mocks/mock_kibana_ui_settings_service.ts @@ -9,7 +9,7 @@ import { IUiSettingsClient } from '@kbn/core/public'; import { DEFAULT_DATE_FORMAT, DEFAULT_DATE_FORMAT_TZ } from '../constants/common'; /** - * Creates an object to pass to the uiSettings property when creating a KibanaReacrContext (see src/plugins/kibana_react/public/context/context.tsx). + * Creates an object to pass to the uiSettings property when creating a KibanaReacrContext (see src/platform/plugins/shared/kibana_react/public/context/context.tsx). * @param dateFormat defaults to '' * @param timezone defaults to 'UTC * @returns the object {@link IUiSettingsClient} diff --git a/yarn.lock b/yarn.lock index e2f25f8e328bd..8e2b996ed644e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3831,7 +3831,7 @@ version "0.0.0" uid "" -"@kbn/advanced-settings-plugin@link:src/plugins/advanced_settings": +"@kbn/advanced-settings-plugin@link:src/platform/plugins/private/advanced_settings": version "0.0.0" uid "" @@ -4027,7 +4027,7 @@ version "0.0.0" uid "" -"@kbn/banners-plugin@link:x-pack/plugins/banners": +"@kbn/banners-plugin@link:x-pack/platform/plugins/private/banners": version "0.0.0" uid "" @@ -4235,7 +4235,7 @@ version "0.0.0" uid "" -"@kbn/content-management-plugin@link:src/plugins/content_management": +"@kbn/content-management-plugin@link:src/platform/plugins/shared/content_management": version "0.0.0" uid "" @@ -5179,7 +5179,7 @@ version "0.0.0" uid "" -"@kbn/custom-branding-plugin@link:x-pack/plugins/custom_branding": +"@kbn/custom-branding-plugin@link:x-pack/platform/plugins/private/custom_branding": version "0.0.0" uid "" @@ -5723,11 +5723,11 @@ version "0.0.0" uid "" -"@kbn/files-management-plugin@link:src/plugins/files_management": +"@kbn/files-management-plugin@link:src/platform/plugins/private/files_management": version "0.0.0" uid "" -"@kbn/files-plugin@link:src/plugins/files": +"@kbn/files-plugin@link:src/platform/plugins/shared/files": version "0.0.0" uid "" @@ -5795,15 +5795,15 @@ version "0.0.0" uid "" -"@kbn/global-search-bar-plugin@link:x-pack/plugins/global_search_bar": +"@kbn/global-search-bar-plugin@link:x-pack/platform/plugins/private/global_search_bar": version "0.0.0" uid "" -"@kbn/global-search-plugin@link:x-pack/plugins/global_search": +"@kbn/global-search-plugin@link:x-pack/platform/plugins/shared/global_search": version "0.0.0" uid "" -"@kbn/global-search-providers-plugin@link:x-pack/plugins/global_search_providers": +"@kbn/global-search-providers-plugin@link:x-pack/platform/plugins/private/global_search_providers": version "0.0.0" uid "" @@ -5835,7 +5835,7 @@ version "0.0.0" uid "" -"@kbn/guided-onboarding-plugin@link:src/plugins/guided_onboarding": +"@kbn/guided-onboarding-plugin@link:src/platform/plugins/shared/guided_onboarding": version "0.0.0" uid "" @@ -5863,7 +5863,7 @@ version "0.0.0" uid "" -"@kbn/home-plugin@link:src/plugins/home": +"@kbn/home-plugin@link:src/platform/plugins/shared/home": version "0.0.0" uid "" @@ -5891,7 +5891,7 @@ version "0.0.0" uid "" -"@kbn/image-embeddable-plugin@link:src/plugins/image_embeddable": +"@kbn/image-embeddable-plugin@link:src/platform/plugins/private/image_embeddable": version "0.0.0" uid "" @@ -6051,11 +6051,11 @@ version "0.0.0" uid "" -"@kbn/kibana-overview-plugin@link:src/plugins/kibana_overview": +"@kbn/kibana-overview-plugin@link:src/platform/plugins/private/kibana_overview": version "0.0.0" uid "" -"@kbn/kibana-react-plugin@link:src/plugins/kibana_react": +"@kbn/kibana-react-plugin@link:src/platform/plugins/shared/kibana_react": version "0.0.0" uid "" @@ -6063,7 +6063,7 @@ version "0.0.0" uid "" -"@kbn/kibana-utils-plugin@link:src/plugins/kibana_utils": +"@kbn/kibana-utils-plugin@link:src/platform/plugins/shared/kibana_utils": version "0.0.0" uid "" @@ -6411,7 +6411,7 @@ version "0.0.0" uid "" -"@kbn/navigation-plugin@link:src/plugins/navigation": +"@kbn/navigation-plugin@link:src/platform/plugins/shared/navigation": version "0.0.0" uid "" @@ -6423,11 +6423,11 @@ version "0.0.0" uid "" -"@kbn/no-data-page-plugin@link:src/plugins/no_data_page": +"@kbn/no-data-page-plugin@link:src/platform/plugins/private/no_data_page": version "0.0.0" uid "" -"@kbn/notifications-plugin@link:x-pack/plugins/notifications": +"@kbn/notifications-plugin@link:x-pack/platform/plugins/shared/notifications": version "0.0.0" uid "" @@ -6763,7 +6763,7 @@ version "0.0.0" uid "" -"@kbn/reporting-plugin@link:x-pack/plugins/reporting": +"@kbn/reporting-plugin@link:x-pack/platform/plugins/private/reporting": version "0.0.0" uid "" @@ -6887,7 +6887,7 @@ version "0.0.0" uid "" -"@kbn/saved-objects-plugin@link:src/plugins/saved_objects": +"@kbn/saved-objects-plugin@link:src/platform/plugins/shared/saved_objects": version "0.0.0" uid "" @@ -6895,11 +6895,11 @@ version "0.0.0" uid "" -"@kbn/saved-objects-tagging-oss-plugin@link:src/plugins/saved_objects_tagging_oss": +"@kbn/saved-objects-tagging-oss-plugin@link:src/platform/plugins/shared/saved_objects_tagging_oss": version "0.0.0" uid "" -"@kbn/saved-objects-tagging-plugin@link:x-pack/plugins/saved_objects_tagging": +"@kbn/saved-objects-tagging-plugin@link:x-pack/platform/plugins/private/saved_objects_tagging": version "0.0.0" uid "" @@ -6927,7 +6927,7 @@ version "0.0.0" uid "" -"@kbn/screenshot-mode-plugin@link:src/plugins/screenshot_mode": +"@kbn/screenshot-mode-plugin@link:src/platform/plugins/shared/screenshot_mode": version "0.0.0" uid "" @@ -7243,7 +7243,7 @@ version "0.0.0" uid "" -"@kbn/serverless@link:x-pack/plugins/serverless": +"@kbn/serverless@link:x-pack/platform/plugins/shared/serverless": version "0.0.0" uid "" @@ -7263,7 +7263,7 @@ version "0.0.0" uid "" -"@kbn/share-plugin@link:src/plugins/share": +"@kbn/share-plugin@link:src/platform/plugins/shared/share": version "0.0.0" uid "" @@ -7735,7 +7735,7 @@ version "0.0.0" uid "" -"@kbn/ui-actions-enhanced-plugin@link:src/plugins/ui_actions_enhanced": +"@kbn/ui-actions-enhanced-plugin@link:src/platform/plugins/shared/ui_actions_enhanced": version "0.0.0" uid "" @@ -7747,7 +7747,7 @@ version "0.0.0" uid "" -"@kbn/ui-actions-plugin@link:src/plugins/ui_actions": +"@kbn/ui-actions-plugin@link:src/platform/plugins/shared/ui_actions": version "0.0.0" uid "" From eb51616ae112457fde1d63e7bb1465d7fbc9ef0e Mon Sep 17 00:00:00 2001 From: Anton Dosov Date: Fri, 3 Jan 2025 16:36:43 +0100 Subject: [PATCH 2/7] revert codeowners change --- .github/CODEOWNERS | 433 +-------------------------------------------- 1 file changed, 1 insertion(+), 432 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ae2cf896c7a63..e8a72269aa04a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -995,93 +995,11 @@ src/platform/packages/private/kbn-ui-shared-deps-src @elastic/kibana-operations src/platform/packages/shared/kbn-ui-theme @elastic/kibana-operations src/platform/packages/shared/kbn-unified-data-table @elastic/kibana-data-discovery @elastic/security-threat-hunting-investigations src/platform/packages/shared/kbn-unified-doc-viewer @elastic/kibana-data-discovery -src/platform/packages/shared/kbn-unified-field-list @elastic/kibana-data-discovery -src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management -src/platform/packages/shared/kbn-utility-types-jest @elastic/kibana-operations -src/platform/packages/shared/kbn-utils @elastic/kibana-operations -src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team -src/platform/packages/shared/kbn-zod-helpers @elastic/security-detection-rule-management -src/platform/packages/shared/presentation/presentation_containers @elastic/kibana-presentation -src/platform/packages/shared/presentation/presentation_publishing @elastic/kibana-presentation -src/platform/packages/shared/response-ops/rule_params @elastic/response-ops -src/platform/packages/shared/serverless/settings/search_project @elastic/search-kibana @elastic/kibana-management -src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management -src/platform/plugins/private/advanced_settings @elastic/appex-sharedux @elastic/kibana-management -src/platform/plugins/private/files_management @elastic/appex-sharedux -src/platform/plugins/private/image_embeddable @elastic/appex-sharedux -src/platform/plugins/private/input_control_vis @elastic/kibana-presentation -src/platform/plugins/private/kibana_overview @elastic/appex-sharedux -src/platform/plugins/private/links @elastic/kibana-presentation -src/platform/plugins/private/maps_ems @elastic/kibana-presentation -src/platform/plugins/private/no_data_page @elastic/appex-sharedux -src/platform/plugins/private/presentation_panel @elastic/kibana-presentation -src/platform/plugins/private/vis_type_markdown @elastic/kibana-presentation -src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant -src/platform/plugins/shared/console @elastic/kibana-management -src/platform/plugins/shared/content_management @elastic/appex-sharedux -src/platform/plugins/shared/controls @elastic/kibana-presentation -src/platform/plugins/shared/custom_integrations @elastic/fleet -src/platform/plugins/shared/dashboard @elastic/kibana-presentation -src/platform/plugins/shared/data_view_editor @elastic/kibana-data-discovery -src/platform/plugins/shared/data_view_field_editor @elastic/kibana-data-discovery -src/platform/plugins/shared/data_view_management @elastic/kibana-data-discovery -src/platform/plugins/shared/data_views @elastic/kibana-data-discovery -src/platform/plugins/shared/dev_tools @elastic/kibana-management -src/platform/plugins/shared/discover @elastic/kibana-data-discovery -src/platform/plugins/shared/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team -src/platform/plugins/shared/embeddable @elastic/kibana-presentation -src/platform/plugins/shared/es_ui_shared @elastic/kibana-management -src/platform/plugins/shared/esql @elastic/kibana-esql -src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql -src/platform/plugins/shared/expression_error @elastic/kibana-presentation -src/platform/plugins/shared/expression_image @elastic/kibana-presentation -src/platform/plugins/shared/expression_metric @elastic/kibana-presentation -src/platform/plugins/shared/expression_repeat_image @elastic/kibana-presentation -src/platform/plugins/shared/expression_reveal_image @elastic/kibana-presentation -src/platform/plugins/shared/expression_shape @elastic/kibana-presentation -src/platform/plugins/shared/field_formats @elastic/kibana-data-discovery -src/platform/plugins/shared/files @elastic/appex-sharedux -src/platform/plugins/shared/guided_onboarding @elastic/appex-sharedux -src/platform/plugins/shared/home @elastic/appex-sharedux -src/platform/plugins/shared/inspector @elastic/kibana-presentation -src/platform/plugins/shared/kibana_react @elastic/appex-sharedux -src/platform/plugins/shared/kibana_utils @elastic/appex-sharedux -src/platform/plugins/shared/management @elastic/kibana-management -src/platform/plugins/shared/navigation @elastic/appex-sharedux -src/platform/plugins/shared/presentation_util @elastic/kibana-presentation -src/platform/plugins/shared/saved_objects @elastic/appex-sharedux -src/platform/plugins/shared/saved_objects_finder @elastic/kibana-data-discovery -src/platform/plugins/shared/saved_objects_tagging_oss @elastic/appex-sharedux -src/platform/plugins/shared/saved_search @elastic/kibana-data-discovery -src/platform/plugins/shared/screenshot_mode @elastic/appex-sharedux -src/platform/plugins/shared/share @elastic/appex-sharedux -src/platform/plugins/shared/ui_actions @elastic/appex-sharedux -src/platform/plugins/shared/ui_actions_enhanced @elastic/appex-sharedux +examples/unified_doc_viewer @elastic/kibana-core src/platform/plugins/shared/unified_doc_viewer @elastic/kibana-data-discovery src/platform/packages/shared/kbn-unified-field-list @elastic/kibana-data-discovery examples/unified_field_list_examples @elastic/kibana-data-discovery src/platform/plugins/shared/unified_histogram @elastic/kibana-data-discovery -src/plugins/chart_expressions/common @elastic/kibana-visualizations -src/plugins/chart_expressions/expression_gauge @elastic/kibana-visualizations -src/plugins/chart_expressions/expression_heatmap @elastic/kibana-visualizations -src/plugins/chart_expressions/expression_legacy_metric @elastic/kibana-visualizations -src/plugins/chart_expressions/expression_metric @elastic/kibana-visualizations -src/plugins/chart_expressions/expression_partition_vis @elastic/kibana-visualizations -src/plugins/chart_expressions/expression_tagcloud @elastic/kibana-visualizations -src/plugins/chart_expressions/expression_xy @elastic/kibana-visualizations -src/plugins/charts @elastic/kibana-visualizations -src/plugins/data @elastic/kibana-visualizations @elastic/kibana-data-discovery -src/plugins/event_annotation @elastic/kibana-visualizations -src/plugins/event_annotation_listing @elastic/kibana-visualizations -src/plugins/expressions @elastic/kibana-visualizations -src/plugins/ftr_apis @elastic/kibana-core -src/plugins/interactive_setup @elastic/kibana-security -src/plugins/kibana_usage_collection @elastic/kibana-core -src/plugins/newsfeed @elastic/kibana-core -src/plugins/saved_objects_management @elastic/kibana-core -src/plugins/telemetry @elastic/kibana-core -src/plugins/telemetry_collection_manager @elastic/kibana-core -src/plugins/telemetry_management_section @elastic/kibana-core src/plugins/unified_search @elastic/kibana-visualizations src/platform/packages/private/kbn-unsaved-changes-badge @elastic/kibana-data-discovery src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management @@ -1117,356 +1035,7 @@ src/plugins/vis_types/xy @elastic/kibana-visualizations packages/kbn-visualization-ui-components @elastic/kibana-visualizations packages/kbn-visualization-utils @elastic/kibana-visualizations src/plugins/visualizations @elastic/kibana-visualizations -test -test/analytics/plugins/analytics_ftr_helpers @elastic/kibana-core -test/analytics/plugins/analytics_plugin_a @elastic/kibana-core -test/common/plugins/newsfeed @elastic/kibana-core -test/common/plugins/otel_metrics @elastic/obs-ux-infra_services-team -test/health_gateway/plugins/status @elastic/kibana-core -test/interactive_setup_api_integration/plugins/test_endpoints @elastic/kibana-security -test/interpreter_functional/plugins/kbn_tp_run_pipeline @elastic/kibana-core -test/node_roles_functional/plugins/core_plugin_initializer_context @elastic/kibana-core -test/plugin_functional/plugins/app_link_test @elastic/kibana-core -test/plugin_functional/plugins/core_app_status @elastic/kibana-core -test/plugin_functional/plugins/core_dynamic_resolving_a @elastic/kibana-core -test/plugin_functional/plugins/core_dynamic_resolving_b @elastic/kibana-core -test/plugin_functional/plugins/core_history_block @elastic/kibana-core -test/plugin_functional/plugins/core_http @elastic/kibana-core -test/plugin_functional/plugins/core_plugin_a @elastic/kibana-core -test/plugin_functional/plugins/core_plugin_appleave @elastic/kibana-core -test/plugin_functional/plugins/core_plugin_b @elastic/kibana-core -test/plugin_functional/plugins/core_plugin_chromeless @elastic/kibana-core -test/plugin_functional/plugins/core_plugin_deep_links @elastic/kibana-core -test/plugin_functional/plugins/core_plugin_deprecations @elastic/kibana-core -test/plugin_functional/plugins/core_plugin_execution_context @elastic/kibana-core -test/plugin_functional/plugins/core_plugin_helpmenu @elastic/kibana-core -test/plugin_functional/plugins/core_plugin_route_timeouts @elastic/kibana-core -test/plugin_functional/plugins/core_plugin_static_assets @elastic/kibana-core -test/plugin_functional/plugins/core_provider_plugin @elastic/kibana-core -test/plugin_functional/plugins/data_search @elastic/kibana-data-discovery -test/plugin_functional/plugins/elasticsearch_client_plugin @elastic/kibana-core -test/plugin_functional/plugins/eui_provider_dev_warning @elastic/appex-sharedux -test/plugin_functional/plugins/hardening @elastic/kibana-security -test/plugin_functional/plugins/index_patterns @elastic/kibana-data-discovery -test/plugin_functional/plugins/kbn_sample_panel_action @elastic/appex-sharedux -test/plugin_functional/plugins/kbn_top_nav @elastic/kibana-core -test/plugin_functional/plugins/kbn_tp_custom_visualizations @elastic/kibana-visualizations -test/plugin_functional/plugins/management_test_plugin @elastic/kibana-management -test/plugin_functional/plugins/rendering_plugin @elastic/kibana-core -test/plugin_functional/plugins/saved_object_export_transforms @elastic/kibana-core -test/plugin_functional/plugins/saved_object_import_warnings @elastic/kibana-core -test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type @elastic/kibana-core -test/plugin_functional/plugins/saved_objects_hidden_type @elastic/kibana-core -test/plugin_functional/plugins/session_notifications @elastic/kibana-core -test/plugin_functional/plugins/telemetry @elastic/kibana-core -test/plugin_functional/plugins/ui_settings_plugin @elastic/kibana-core -test/plugin_functional/plugins/usage_collection @elastic/kibana-core -test/server_integration/plugins/status_plugin_a @elastic/kibana-core -test/server_integration/plugins/status_plugin_b @elastic/kibana-core -x-pack/examples/alerting_example @elastic/response-ops -x-pack/examples/embedded_lens_example @elastic/kibana-visualizations -x-pack/examples/exploratory_view_example @elastic/obs-ux-infra_services-team -x-pack/examples/gen_ai_streaming_response_example @elastic/response-ops -x-pack/examples/lens_config_builder_example @elastic/kibana-visualizations -x-pack/examples/lens_embeddable_inline_editing_example @elastic/kibana-visualizations -x-pack/examples/screenshotting_example @elastic/appex-sharedux -x-pack/examples/testing_embedded_lens @elastic/kibana-visualizations -x-pack/examples/third_party_lens_navigation_prompt @elastic/kibana-visualizations -x-pack/examples/third_party_maps_source_example @elastic/kibana-presentation -x-pack/examples/third_party_vis_lens_example @elastic/kibana-visualizations -x-pack/examples/triggers_actions_ui_example @elastic/response-ops -x-pack/examples/ui_actions_enhanced_examples @elastic/appex-sharedux -x-pack/packages/ai-infra/product-doc-artifact-builder @elastic/appex-ai-infra -x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations -x-pack/packages/kbn-streams-schema @elastic/streams-program-team -x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team -x-pack/packages/security/api_key_management @elastic/kibana-security -x-pack/packages/security/authorization_core @elastic/kibana-security -x-pack/packages/security/authorization_core_common @elastic/kibana-security -x-pack/packages/security/form_components @elastic/kibana-security -x-pack/packages/security/plugin_types_common @elastic/kibana-security -x-pack/packages/security/plugin_types_public @elastic/kibana-security -x-pack/packages/security/plugin_types_server @elastic/kibana-security -x-pack/packages/security/role_management_model @elastic/kibana-security -x-pack/packages/security/ui_components @elastic/kibana-security -x-pack/performance @elastic/appex-qa -x-pack/platform/packages/private/kbn-alerting-state-types @elastic/response-ops -x-pack/platform/packages/private/kbn-infra-forge @elastic/obs-ux-management-team -x-pack/platform/packages/private/maps/vector_tile_utils @elastic/kibana-presentation -x-pack/platform/packages/private/ml/agg_utils @elastic/ml-ui -x-pack/platform/packages/private/ml/aiops_change_point_detection @elastic/ml-ui -x-pack/platform/packages/private/ml/aiops_components @elastic/ml-ui -x-pack/platform/packages/private/ml/aiops_test_utils @elastic/ml-ui -x-pack/platform/packages/private/ml/cancellable_search @elastic/ml-ui -x-pack/platform/packages/private/ml/category_validator @elastic/ml-ui -x-pack/platform/packages/private/ml/creation_wizard_utils @elastic/ml-ui -x-pack/platform/packages/private/ml/data_frame_analytics_utils @elastic/ml-ui -x-pack/platform/packages/private/ml/data_grid @elastic/ml-ui -x-pack/platform/packages/private/ml/data_view_utils @elastic/ml-ui -x-pack/platform/packages/private/ml/date_picker @elastic/ml-ui -x-pack/platform/packages/private/ml/date_utils @elastic/ml-ui -x-pack/platform/packages/private/ml/field_stats_flyout @elastic/ml-ui -x-pack/platform/packages/private/ml/in_memory_table @elastic/ml-ui -x-pack/platform/packages/private/ml/inference_integration_flyout @elastic/ml-ui -x-pack/platform/packages/private/ml/is_defined @elastic/ml-ui -x-pack/platform/packages/private/ml/is_populated_object @elastic/ml-ui -x-pack/platform/packages/private/ml/json_schemas @elastic/ml-ui -x-pack/platform/packages/private/ml/kibana_theme @elastic/ml-ui -x-pack/platform/packages/private/ml/local_storage @elastic/ml-ui -x-pack/platform/packages/private/ml/nested_property @elastic/ml-ui -x-pack/platform/packages/private/ml/number_utils @elastic/ml-ui -x-pack/platform/packages/private/ml/parse_interval @elastic/ml-ui -x-pack/platform/packages/private/ml/query_utils @elastic/ml-ui -x-pack/platform/packages/private/ml/route_utils @elastic/ml-ui -x-pack/platform/packages/private/ml/string_hash @elastic/ml-ui -x-pack/platform/packages/private/ml/time_buckets @elastic/ml-ui -x-pack/platform/packages/private/ml/ui_actions @elastic/ml-ui -x-pack/platform/packages/private/ml/url_state @elastic/ml-ui -x-pack/platform/packages/private/ml/validators @elastic/ml-ui -x-pack/platform/packages/private/rollup @elastic/kibana-management -x-pack/platform/packages/shared/ai-assistant/common @elastic/search-kibana -x-pack/platform/packages/shared/ai-assistant/icon @elastic/appex-sharedux -x-pack/platform/packages/shared/ai-infra/inference-common @elastic/appex-ai-infra -x-pack/platform/packages/shared/ai-infra/product-doc-common @elastic/appex-ai-infra -x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared @elastic/kibana-management -x-pack/platform/packages/shared/index-management/index_management_shared_types @elastic/kibana-management -x-pack/platform/packages/shared/kbn-ai-assistant @elastic/search-kibana -x-pack/platform/packages/shared/kbn-alerting-comparators @elastic/response-ops -x-pack/platform/packages/shared/kbn-cloud-security-posture/common @elastic/kibana-cloud-security-posture -x-pack/platform/packages/shared/kbn-data-forge @elastic/obs-ux-management-team -x-pack/platform/packages/shared/kbn-elastic-assistant @elastic/security-generative-ai -x-pack/platform/packages/shared/kbn-elastic-assistant-common @elastic/security-generative-ai -x-pack/platform/packages/shared/kbn-entities-schema @elastic/obs-entities -x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common @elastic/response-ops @elastic/appex-ai-infra @elastic/obs-ai-assistant @elastic/security-generative-ai -x-pack/platform/packages/shared/kbn-langchain @elastic/security-generative-ai -x-pack/platform/packages/shared/kbn-slo-schema @elastic/obs-ux-management-team -x-pack/platform/packages/shared/ml/aiops_common @elastic/ml-ui -x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis @elastic/ml-ui -x-pack/platform/packages/shared/ml/aiops_log_rate_analysis @elastic/ml-ui -x-pack/platform/packages/shared/ml/anomaly_utils @elastic/ml-ui -x-pack/platform/packages/shared/ml/chi2test @elastic/ml-ui -x-pack/platform/packages/shared/ml/error_utils @elastic/ml-ui -x-pack/platform/packages/shared/ml/random_sampler_utils @elastic/ml-ui -x-pack/platform/packages/shared/ml/response_stream @elastic/ml-ui -x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui -x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui -x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team -x-pack/platform/packages/shared/observability/logs_overview @elastic/obs-ux-logs-team -x-pack/platform/plugins/private/banners @elastic/appex-sharedux -x-pack/platform/plugins/private/canvas @elastic/kibana-presentation -x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration @elastic/kibana-management -x-pack/platform/plugins/private/cross_cluster_replication @elastic/kibana-management -x-pack/platform/plugins/private/custom_branding @elastic/appex-sharedux -x-pack/platform/plugins/private/data_usage @elastic/obs-ai-assistant @elastic/security-solution -x-pack/platform/plugins/private/data_visualizer @elastic/ml-ui -x-pack/platform/plugins/private/discover_enhanced @elastic/kibana-data-discovery -x-pack/platform/plugins/private/file_upload @elastic/kibana-presentation @elastic/ml-ui -x-pack/platform/plugins/private/global_search_bar @elastic/appex-sharedux -x-pack/platform/plugins/private/global_search_providers @elastic/appex-sharedux -x-pack/platform/plugins/private/grokdebugger @elastic/kibana-management -x-pack/platform/plugins/private/index_lifecycle_management @elastic/kibana-management -x-pack/platform/plugins/private/license_api_guard @elastic/kibana-management -x-pack/platform/plugins/private/logstash @elastic/logstash -x-pack/platform/plugins/private/monitoring @elastic/stack-monitoring -x-pack/platform/plugins/private/monitoring_collection @elastic/stack-monitoring -x-pack/platform/plugins/private/painless_lab @elastic/kibana-management -x-pack/platform/plugins/private/remote_clusters @elastic/kibana-management -x-pack/platform/plugins/private/reporting @elastic/appex-sharedux -x-pack/platform/plugins/private/rollup @elastic/kibana-management -x-pack/platform/plugins/private/runtime_fields @elastic/kibana-management -x-pack/platform/plugins/private/saved_objects_tagging @elastic/appex-sharedux -x-pack/platform/plugins/private/snapshot_restore @elastic/kibana-management -x-pack/platform/plugins/private/transform @elastic/ml-ui -x-pack/platform/plugins/private/translations @elastic/kibana-localization x-pack/platform/plugins/private/watcher @elastic/kibana-management -x-pack/platform/plugins/shared/actions @elastic/response-ops -x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra -x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra -x-pack/platform/plugins/shared/aiops @elastic/ml-ui -x-pack/platform/plugins/shared/alerting @elastic/response-ops -x-pack/platform/plugins/shared/cases @elastic/response-ops -x-pack/platform/plugins/shared/dashboard_enhanced @elastic/kibana-presentation -x-pack/platform/plugins/shared/data_quality @elastic/obs-ux-logs-team -x-pack/platform/plugins/shared/dataset_quality @elastic/obs-ux-logs-team -x-pack/platform/plugins/shared/embeddable_enhanced @elastic/kibana-presentation -x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities -x-pack/platform/plugins/shared/event_log @elastic/response-ops -x-pack/platform/plugins/shared/fields_metadata @elastic/obs-ux-logs-team -x-pack/platform/plugins/shared/fleet @elastic/fleet -x-pack/platform/plugins/shared/global_search @elastic/appex-sharedux -x-pack/platform/plugins/shared/index_management @elastic/kibana-management -x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra -x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management -x-pack/platform/plugins/shared/integration_assistant @elastic/security-scalability -x-pack/platform/plugins/shared/license_management @elastic/kibana-management -x-pack/platform/plugins/shared/logs_data_access @elastic/obs-ux-logs-team -x-pack/platform/plugins/shared/logs_shared @elastic/obs-ux-logs-team -x-pack/platform/plugins/shared/maps @elastic/kibana-presentation -x-pack/platform/plugins/shared/ml @elastic/ml-ui -x-pack/platform/plugins/shared/notifications @elastic/appex-sharedux -x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant @elastic/obs-ai-assistant -x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows -x-pack/platform/plugins/shared/rule_registry @elastic/response-ops @elastic/obs-ux-management-team -x-pack/platform/plugins/shared/screenshotting @elastic/kibana-reporting-services -x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management -x-pack/platform/plugins/shared/serverless @elastic/appex-sharedux -x-pack/platform/plugins/shared/stack_alerts @elastic/response-ops -x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops -x-pack/platform/plugins/shared/task_manager @elastic/response-ops -x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops -x-pack/plugins/cloud @elastic/kibana-core -x-pack/plugins/cloud_integrations/cloud_chat @elastic/kibana-core -x-pack/plugins/cloud_integrations/cloud_experiments @elastic/kibana-core -x-pack/plugins/cloud_integrations/cloud_full_story @elastic/kibana-core -x-pack/plugins/cloud_integrations/cloud_links @elastic/kibana-core -x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux -x-pack/plugins/encrypted_saved_objects @elastic/kibana-security -x-pack/plugins/features @elastic/kibana-core -x-pack/plugins/graph @elastic/kibana-visualizations -x-pack/plugins/lens @elastic/kibana-visualizations -x-pack/plugins/licensing @elastic/kibana-core -x-pack/plugins/security @elastic/kibana-security -x-pack/plugins/spaces @elastic/kibana-security -x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core -x-pack/plugins/upgrade_assistant @elastic/kibana-core -x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team -x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team -x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team -x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops -x-pack/solutions/observability/packages/kbn-apm-types @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team -x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team -x-pack/solutions/observability/packages/observability_ai/observability_ai_common @elastic/obs-ai-assistant -x-pack/solutions/observability/packages/observability_ai/observability_ai_server @elastic/obs-ai-assistant -x-pack/solutions/observability/packages/synthetics_test_data @elastic/obs-ux-management-team -x-pack/solutions/observability/packages/utils_browser @elastic/observability-ui -x-pack/solutions/observability/packages/utils_common @elastic/observability-ui -x-pack/solutions/observability/packages/utils_server @elastic/observability-ui -x-pack/solutions/observability/plugins/apm @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/apm_data_access @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/apm/ftr_e2e @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/exploratory_view @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/inventory @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/inventory/e2e @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/investigate @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/investigate_app @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/logs_explorer @elastic/obs-ux-logs-team -x-pack/solutions/observability/plugins/metrics_data_access @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/observability @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/observability_ai_assistant_app @elastic/obs-ai-assistant -x-pack/solutions/observability/plugins/observability_ai_assistant_management @elastic/obs-ai-assistant -x-pack/solutions/observability/plugins/observability_logs_explorer @elastic/obs-ux-logs-team -x-pack/solutions/observability/plugins/observability_onboarding @elastic/obs-ux-logs-team -x-pack/solutions/observability/plugins/observability_onboarding/e2e @elastic/obs-ux-logs-team -x-pack/solutions/observability/plugins/observability_shared @elastic/observability-ui -x-pack/solutions/observability/plugins/observability_solution/entities_data_access @elastic/obs-entities -x-pack/solutions/observability/plugins/observability_solution/entity_manager_app @elastic/obs-entities -x-pack/solutions/observability/plugins/profiling @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/profiling_data_access @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/serverless_observability @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/slo @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/streams @elastic/streams-program-team -x-pack/solutions/observability/plugins/streams_app @elastic/streams-program-team -x-pack/solutions/observability/plugins/synthetics @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/synthetics/e2e @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/uptime @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/ux @elastic/obs-ux-management-team -x-pack/solutions/search/packages/kbn-ipynb @elastic/search-kibana -x-pack/solutions/search/packages/kbn-search-api-keys-components @elastic/search-kibana -x-pack/solutions/search/packages/kbn-search-api-keys-server @elastic/search-kibana -x-pack/solutions/search/packages/kbn-search-index-documents @elastic/search-kibana -x-pack/solutions/search/packages/search/shared_ui @elastic/search-kibana -x-pack/solutions/search/plugins/enterprise_search @elastic/search-kibana -x-pack/solutions/search/plugins/search_assistant @elastic/search-kibana -x-pack/solutions/search/plugins/search_connectors @elastic/search-kibana -x-pack/solutions/search/plugins/search_homepage @elastic/search-kibana -x-pack/solutions/search/plugins/search_indices @elastic/search-kibana -x-pack/solutions/search/plugins/search_inference_endpoints @elastic/search-kibana -x-pack/solutions/search/plugins/search_notebooks @elastic/search-kibana -x-pack/solutions/search/plugins/search_playground @elastic/search-kibana -x-pack/solutions/search/plugins/search_solution/search_navigation @elastic/search-kibana -x-pack/solutions/search/plugins/serverless_search @elastic/search-kibana -x-pack/solutions/security/packages/data_table @elastic/security-threat-hunting-investigations -x-pack/solutions/security/packages/data-stream-adapter @elastic/security-threat-hunting -x-pack/solutions/security/packages/distribution_bar @elastic/kibana-cloud-security-posture -x-pack/solutions/security/packages/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore -x-pack/solutions/security/packages/expandable-flyout @elastic/security-threat-hunting-investigations -x-pack/solutions/security/packages/features @elastic/security-threat-hunting-explore -x-pack/solutions/security/packages/index-adapter @elastic/security-threat-hunting -x-pack/solutions/security/packages/kbn-cloud-security-posture/graph @elastic/kibana-cloud-security-posture -x-pack/solutions/security/packages/kbn-cloud-security-posture/public @elastic/kibana-cloud-security-posture -x-pack/solutions/security/packages/kbn-securitysolution-autocomplete @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-hook-utils @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-list-api @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-list-constants @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-list-hooks @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-list-utils @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-lists-common @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-t-grid @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-utils @elastic/security-detection-engine -x-pack/solutions/security/packages/navigation @elastic/security-threat-hunting-explore -x-pack/solutions/security/packages/side_nav @elastic/security-threat-hunting-explore -x-pack/solutions/security/packages/storybook/config @elastic/security-threat-hunting-explore -x-pack/solutions/security/packages/upselling @elastic/security-threat-hunting-explore -x-pack/solutions/security/plugins/asset_inventory @elastic/kibana-cloud-security-posture -x-pack/solutions/security/plugins/cloud_defend @elastic/kibana-cloud-security-posture -x-pack/solutions/security/plugins/cloud_security_posture @elastic/kibana-cloud-security-posture -x-pack/solutions/security/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore -x-pack/solutions/security/plugins/elastic_assistant @elastic/security-generative-ai -x-pack/solutions/security/plugins/kubernetes_security @elastic/kibana-cloud-security-posture -x-pack/solutions/security/plugins/lists @elastic/security-detection-engine -x-pack/solutions/security/plugins/security_solution @elastic/security-solution -x-pack/solutions/security/plugins/security_solution_ess @elastic/security-solution -x-pack/solutions/security/plugins/security_solution_serverless @elastic/security-solution -x-pack/solutions/security/plugins/session_view @elastic/kibana-cloud-security-posture -x-pack/solutions/security/plugins/threat_intelligence @elastic/security-threat-hunting-investigations -x-pack/solutions/security/plugins/timelines @elastic/security-threat-hunting-investigations -x-pack/test -x-pack/test_serverless -x-pack/test/alerting_api_integration/common/plugins/aad @elastic/response-ops -x-pack/test/alerting_api_integration/common/plugins/actions_simulators @elastic/response-ops -x-pack/test/alerting_api_integration/common/plugins/alerts @elastic/response-ops -x-pack/test/alerting_api_integration/common/plugins/alerts_restricted @elastic/response-ops -x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture @elastic/response-ops -x-pack/test/alerting_api_integration/packages/helpers @elastic/response-ops -x-pack/test/api_integration/apis/entity_manager/fixture_plugin @elastic/obs-entities -x-pack/test/cases_api_integration/common/plugins/cases @elastic/response-ops -x-pack/test/cases_api_integration/common/plugins/observability @elastic/response-ops -x-pack/test/cases_api_integration/common/plugins/security_solution @elastic/response-ops -x-pack/test/cloud_integration/plugins/saml_provider @elastic/kibana-core -x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin @elastic/kibana-security -x-pack/test/functional_cors/plugins/kibana_cors_test @elastic/kibana-security -x-pack/test/functional_embedded/plugins/iframe_embedded @elastic/kibana-core -x-pack/test/functional_execution_context/plugins/alerts @elastic/kibana-core -x-pack/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops -x-pack/test/functional_with_es_ssl/plugins/cases @elastic/response-ops -x-pack/test/licensing_plugin/plugins/test_feature_usage @elastic/kibana-security -x-pack/test/plugin_api_integration/plugins/elasticsearch_client @elastic/kibana-core -x-pack/test/plugin_api_integration/plugins/event_log @elastic/response-ops -x-pack/test/plugin_api_integration/plugins/feature_usage_test @elastic/kibana-security -x-pack/test/plugin_api_integration/plugins/sample_task_plugin @elastic/response-ops -x-pack/test/plugin_api_perf/plugins/task_manager_performance @elastic/response-ops -x-pack/test/plugin_functional/plugins/global_search_test @elastic/kibana-core -x-pack/test/plugin_functional/plugins/resolver_test @elastic/security-solution -x-pack/test/saved_object_api_integration/common/plugins/saved_object_test_plugin @elastic/kibana-security -x-pack/test/security_api_integration/packages/helpers @elastic/kibana-security -x-pack/test/security_api_integration/plugins/audit_log @elastic/kibana-security -x-pack/test/security_api_integration/plugins/features_provider @elastic/kibana-security -x-pack/test/security_api_integration/plugins/oidc_provider @elastic/kibana-security -x-pack/test/security_api_integration/plugins/saml_provider @elastic/kibana-security -x-pack/test/security_api_integration/plugins/user_profiles_consumer @elastic/kibana-security -x-pack/test/security_functional/plugins/test_endpoints @elastic/kibana-security -x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin @elastic/kibana-security -x-pack/test/task_manager_claimer_update_by_query/plugins/sample_task_plugin_mget @elastic/response-ops -x-pack/test/ui_capabilities/common/plugins/foo_plugin @elastic/kibana-security -x-pack/test/usage_collection/plugins/application_usage_test @elastic/kibana-core -x-pack/test/usage_collection/plugins/stack_management_usage_test @elastic/kibana-management packages/kbn-web-worker-stub @elastic/kibana-operations packages/kbn-whereis-pkg-cli @elastic/kibana-operations src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team From ab52ede27dc754d835284301ee3688e5b66ca421 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Fri, 3 Jan 2025 15:46:45 +0000 Subject: [PATCH 3/7] [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs' --- .github/CODEOWNERS | 54 +++++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e8a72269aa04a..a50549f3677e5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -9,7 +9,7 @@ x-pack/test/alerting_api_integration/common/plugins/aad @elastic/response-ops x-pack/platform/plugins/shared/actions @elastic/response-ops x-pack/test/alerting_api_integration/common/plugins/actions_simulators @elastic/response-ops src/platform/packages/shared/kbn-actions-types @elastic/response-ops -src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management +src/platform/plugins/private/advanced_settings @elastic/appex-sharedux @elastic/kibana-management x-pack/platform/packages/shared/kbn-ai-assistant @elastic/search-kibana x-pack/platform/packages/shared/ai-assistant/common @elastic/search-kibana x-pack/platform/packages/shared/ai-assistant/icon @elastic/appex-sharedux @@ -58,7 +58,7 @@ packages/kbn-axe-config @elastic/kibana-qa packages/kbn-babel-preset @elastic/kibana-operations packages/kbn-babel-register @elastic/kibana-operations packages/kbn-babel-transform @elastic/kibana-operations -x-pack/plugins/banners @elastic/appex-sharedux +x-pack/platform/plugins/private/banners @elastic/appex-sharedux packages/kbn-bazel-runner @elastic/kibana-operations packages/kbn-bfetch-error @elastic/appex-sharedux examples/bfetch_explorer @elastic/appex-sharedux @@ -110,7 +110,7 @@ examples/content_management_examples @elastic/appex-sharedux packages/content-management/favorites/favorites_common @elastic/appex-sharedux packages/content-management/favorites/favorites_public @elastic/appex-sharedux packages/content-management/favorites/favorites_server @elastic/appex-sharedux -src/plugins/content_management @elastic/appex-sharedux +src/platform/plugins/shared/content_management @elastic/appex-sharedux packages/content-management/tabbed_table_list_view @elastic/appex-sharedux packages/content-management/table_list_view @elastic/appex-sharedux packages/content-management/table_list_view_common @elastic/appex-sharedux @@ -346,7 +346,7 @@ packages/core/user-settings/core-user-settings-server-mocks @elastic/kibana-secu x-pack/platform/plugins/private/cross_cluster_replication @elastic/kibana-management packages/kbn-crypto @elastic/kibana-security packages/kbn-crypto-browser @elastic/kibana-core -x-pack/plugins/custom_branding @elastic/appex-sharedux +x-pack/platform/plugins/private/custom_branding @elastic/appex-sharedux src/platform/packages/shared/kbn-custom-icons @elastic/obs-ux-logs-team x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team src/platform/plugins/shared/custom_integrations @elastic/fleet @@ -482,8 +482,8 @@ src/platform/packages/shared/kbn-field-utils @elastic/kibana-data-discovery x-pack/platform/plugins/shared/fields_metadata @elastic/obs-ux-logs-team x-pack/platform/plugins/private/file_upload @elastic/kibana-presentation @elastic/ml-ui examples/files_example @elastic/appex-sharedux -src/plugins/files_management @elastic/appex-sharedux -src/plugins/files @elastic/appex-sharedux +src/platform/plugins/private/files_management @elastic/appex-sharedux +src/platform/plugins/shared/files @elastic/appex-sharedux packages/kbn-find-used-node-modules @elastic/kibana-operations x-pack/platform/plugins/shared/fleet @elastic/fleet packages/kbn-flot-charts @elastic/kibana-operations @@ -500,9 +500,9 @@ packages/kbn-generate @elastic/kibana-operations packages/kbn-generate-console-definitions @elastic/kibana-management packages/kbn-generate-csv @elastic/appex-sharedux packages/kbn-get-repo-files @elastic/kibana-operations -x-pack/plugins/global_search_bar @elastic/appex-sharedux -x-pack/plugins/global_search @elastic/appex-sharedux -x-pack/plugins/global_search_providers @elastic/appex-sharedux +x-pack/platform/plugins/private/global_search_bar @elastic/appex-sharedux +x-pack/platform/plugins/shared/global_search @elastic/appex-sharedux +x-pack/platform/plugins/private/global_search_providers @elastic/appex-sharedux x-pack/test/plugin_functional/plugins/global_search_test @elastic/kibana-core x-pack/plugins/graph @elastic/kibana-visualizations examples/grid_example @elastic/kibana-presentation @@ -511,20 +511,20 @@ x-pack/platform/plugins/private/grokdebugger @elastic/kibana-management src/platform/packages/shared/kbn-grouping @elastic/response-ops packages/kbn-guided-onboarding @elastic/appex-sharedux examples/guided_onboarding_example @elastic/appex-sharedux -src/plugins/guided_onboarding @elastic/appex-sharedux +src/platform/plugins/shared/guided_onboarding @elastic/appex-sharedux packages/kbn-handlebars @elastic/kibana-security packages/kbn-hapi-mocks @elastic/kibana-core test/plugin_functional/plugins/hardening @elastic/kibana-security packages/kbn-health-gateway-server @elastic/kibana-core examples/hello_world @elastic/kibana-core -src/plugins/home @elastic/kibana-core +src/platform/plugins/shared/home @elastic/kibana-core packages/home/sample_data_card @elastic/appex-sharedux packages/home/sample_data_tab @elastic/appex-sharedux packages/home/sample_data_types @elastic/appex-sharedux packages/kbn-i18n @elastic/kibana-core packages/kbn-i18n-react @elastic/kibana-core x-pack/test/functional_embedded/plugins/iframe_embedded @elastic/kibana-core -src/plugins/image_embeddable @elastic/appex-sharedux +src/platform/plugins/private/image_embeddable @elastic/appex-sharedux packages/kbn-import-locator @elastic/kibana-operations packages/kbn-import-resolver @elastic/kibana-operations x-pack/solutions/security/packages/index-adapter @elastic/security-threat-hunting @@ -564,10 +564,10 @@ test/plugin_functional/plugins/kbn_tp_custom_visualizations @elastic/kibana-visu test/interpreter_functional/plugins/kbn_tp_run_pipeline @elastic/kibana-core x-pack/test/functional_cors/plugins/kibana_cors_test @elastic/kibana-security packages/kbn-kibana-manifest-schema @elastic/kibana-operations -src/plugins/kibana_overview @elastic/appex-sharedux -src/plugins/kibana_react @elastic/appex-sharedux +src/platform/plugins/private/kibana_overview @elastic/appex-sharedux +src/platform/plugins/shared/kibana_react @elastic/appex-sharedux src/plugins/kibana_usage_collection @elastic/kibana-core -src/plugins/kibana_utils @elastic/appex-sharedux +src/platform/plugins/shared/kibana_utils @elastic/appex-sharedux x-pack/solutions/security/plugins/kubernetes_security @elastic/kibana-cloud-security-posture x-pack/platform/packages/shared/kbn-langchain @elastic/security-generative-ai src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql @@ -654,11 +654,11 @@ packages/kbn-mock-idp-utils @elastic/kibana-security packages/kbn-monaco @elastic/appex-sharedux x-pack/platform/plugins/private/monitoring_collection @elastic/stack-monitoring x-pack/platform/plugins/private/monitoring @elastic/stack-monitoring -src/plugins/navigation @elastic/appex-sharedux +src/platform/plugins/shared/navigation @elastic/appex-sharedux src/plugins/newsfeed @elastic/kibana-core test/common/plugins/newsfeed @elastic/kibana-core -src/plugins/no_data_page @elastic/appex-sharedux -x-pack/plugins/notifications @elastic/appex-sharedux +src/platform/plugins/private/no_data_page @elastic/appex-sharedux +x-pack/platform/plugins/shared/notifications @elastic/appex-sharedux packages/kbn-object-versioning @elastic/appex-sharedux packages/kbn-object-versioning-utils @elastic/appex-sharedux x-pack/solutions/observability/plugins/observability_ai_assistant_app @elastic/obs-ai-assistant @@ -742,7 +742,7 @@ packages/kbn-reporting/export_types/pdf_common @elastic/appex-sharedux packages/kbn-reporting/export_types/png @elastic/appex-sharedux packages/kbn-reporting/export_types/png_common @elastic/appex-sharedux packages/kbn-reporting/mocks_server @elastic/appex-sharedux -x-pack/plugins/reporting @elastic/appex-sharedux +x-pack/platform/plugins/private/reporting @elastic/appex-sharedux packages/kbn-reporting/public @elastic/appex-sharedux packages/kbn-reporting/server @elastic/appex-sharedux src/platform/packages/shared/kbn-resizable-layout @elastic/kibana-data-discovery @@ -773,17 +773,17 @@ src/platform/plugins/shared/saved_objects_finder @elastic/kibana-data-discovery test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type @elastic/kibana-core test/plugin_functional/plugins/saved_objects_hidden_type @elastic/kibana-core src/plugins/saved_objects_management @elastic/kibana-core -src/plugins/saved_objects @elastic/kibana-core +src/platform/plugins/shared/saved_objects @elastic/kibana-core packages/kbn-saved-objects-settings @elastic/appex-sharedux -src/plugins/saved_objects_tagging_oss @elastic/appex-sharedux -x-pack/plugins/saved_objects_tagging @elastic/appex-sharedux +src/platform/plugins/shared/saved_objects_tagging_oss @elastic/appex-sharedux +x-pack/platform/plugins/private/saved_objects_tagging @elastic/appex-sharedux packages/kbn-saved-search-component @elastic/obs-ux-logs-team src/platform/plugins/shared/saved_search @elastic/kibana-data-discovery packages/kbn-scout @elastic/appex-qa packages/kbn-scout-info @elastic/appex-qa packages/kbn-scout-reporting @elastic/appex-qa examples/screenshot_mode_example @elastic/appex-sharedux -src/plugins/screenshot_mode @elastic/appex-sharedux +src/platform/plugins/shared/screenshot_mode @elastic/appex-sharedux x-pack/examples/screenshotting_example @elastic/appex-sharedux x-pack/platform/plugins/shared/screenshotting @elastic/kibana-reporting-services packages/kbn-screenshotting-server @elastic/appex-sharedux @@ -853,7 +853,7 @@ packages/kbn-server-http-tools @elastic/kibana-core src/platform/packages/shared/kbn-server-route-repository @elastic/obs-knowledge-team src/platform/packages/shared/kbn-server-route-repository-client @elastic/obs-knowledge-team src/platform/packages/shared/kbn-server-route-repository-utils @elastic/obs-knowledge-team -x-pack/plugins/serverless @elastic/appex-sharedux +x-pack/platform/plugins/shared/serverless @elastic/appex-sharedux packages/serverless/settings/common @elastic/appex-sharedux @elastic/kibana-management x-pack/solutions/observability/plugins/serverless_observability @elastic/obs-ux-management-team packages/serverless/settings/observability_project @elastic/appex-sharedux @elastic/kibana-management @elastic/obs-ux-management-team @@ -867,7 +867,7 @@ test/plugin_functional/plugins/session_notifications @elastic/kibana-core x-pack/solutions/security/plugins/session_view @elastic/kibana-cloud-security-posture packages/kbn-set-map @elastic/kibana-operations examples/share_examples @elastic/appex-sharedux -src/plugins/share @elastic/appex-sharedux +src/platform/plugins/shared/share @elastic/appex-sharedux src/platform/packages/shared/kbn-shared-svg @elastic/obs-ux-infra_services-team packages/shared-ux/avatar/solution @elastic/appex-sharedux packages/shared-ux/button/exit_full_screen @elastic/appex-sharedux @@ -985,10 +985,10 @@ packages/kbn-ts-type-check-cli @elastic/kibana-operations src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-management-team packages/kbn-ui-actions-browser @elastic/appex-sharedux x-pack/examples/ui_actions_enhanced_examples @elastic/appex-sharedux -src/plugins/ui_actions_enhanced @elastic/appex-sharedux +src/platform/plugins/shared/ui_actions_enhanced @elastic/appex-sharedux examples/ui_action_examples @elastic/appex-sharedux examples/ui_actions_explorer @elastic/appex-sharedux -src/plugins/ui_actions @elastic/appex-sharedux +src/platform/plugins/shared/ui_actions @elastic/appex-sharedux test/plugin_functional/plugins/ui_settings_plugin @elastic/kibana-core src/platform/packages/private/kbn-ui-shared-deps-npm @elastic/kibana-operations src/platform/packages/private/kbn-ui-shared-deps-src @elastic/kibana-operations From f4934cd6e558c08b54ec71d1e3ba8e84a064a6b3 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Fri, 3 Jan 2025 15:56:44 +0000 Subject: [PATCH 4/7] [CI] Auto-commit changed files from 'node scripts/notice' --- src/platform/plugins/shared/saved_objects/tsconfig.json | 3 ++- x-pack/platform/plugins/private/reporting/tsconfig.json | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/plugins/shared/saved_objects/tsconfig.json b/src/platform/plugins/shared/saved_objects/tsconfig.json index 9931ac138a94c..6743ac400c85d 100644 --- a/src/platform/plugins/shared/saved_objects/tsconfig.json +++ b/src/platform/plugins/shared/saved_objects/tsconfig.json @@ -17,7 +17,8 @@ "@kbn/data-views-plugin", "@kbn/i18n-react", "@kbn/react-kibana-mount", - "@kbn/test-jest-helpers" + "@kbn/test-jest-helpers", + "@kbn/ui-theme" ], "exclude": [ "target/**/*" diff --git a/x-pack/platform/plugins/private/reporting/tsconfig.json b/x-pack/platform/plugins/private/reporting/tsconfig.json index 72af93e2a1029..f0b105990b7a1 100644 --- a/x-pack/platform/plugins/private/reporting/tsconfig.json +++ b/x-pack/platform/plugins/private/reporting/tsconfig.json @@ -30,7 +30,6 @@ "@kbn/test-jest-helpers", "@kbn/rison", "@kbn/task-manager-plugin", - "@kbn/config", "@kbn/core-http-server", "@kbn/core-test-helpers-test-utils", "@kbn/safer-lodash-set", From b71381e4391164ca9bcde6f62662be53042c3f39 Mon Sep 17 00:00:00 2001 From: Anton Dosov Date: Fri, 3 Jan 2025 19:27:44 +0100 Subject: [PATCH 5/7] fix reporting related differences --- .../reporting/server/deprecations/index.ts | 6 +- .../generate/csv_searchsource_immediate.ts | 137 ++++++++++++++++++ .../translations/translations/fr-FR.json | 14 -- .../translations/translations/ja-JP.json | 13 -- .../translations/translations/zh-CN.json | 14 -- 5 files changed, 138 insertions(+), 46 deletions(-) create mode 100644 x-pack/platform/plugins/private/reporting/server/routes/internal/generate/csv_searchsource_immediate.ts diff --git a/x-pack/platform/plugins/private/reporting/server/deprecations/index.ts b/x-pack/platform/plugins/private/reporting/server/deprecations/index.ts index bca439532b3b0..e8742175a7087 100644 --- a/x-pack/platform/plugins/private/reporting/server/deprecations/index.ts +++ b/x-pack/platform/plugins/private/reporting/server/deprecations/index.ts @@ -8,7 +8,6 @@ import { CoreSetup } from '@kbn/core/server'; import { ReportingCore } from '../core'; import { getDeprecationsInfo as getIlmPolicyDeprecationsInfo } from './migrate_existing_indices_ilm_policy'; -import { getDeprecationsInfo as getReportingRoleDeprecationsInfo } from './reporting_role'; export const registerDeprecations = ({ core, @@ -19,10 +18,7 @@ export const registerDeprecations = ({ }) => { core.deprecations.registerDeprecations({ getDeprecations: async (ctx) => { - return [ - ...(await getIlmPolicyDeprecationsInfo(ctx)), - ...(await getReportingRoleDeprecationsInfo(ctx, { reportingCore })), - ]; + return [...(await getIlmPolicyDeprecationsInfo(ctx))]; }, }); }; diff --git a/x-pack/platform/plugins/private/reporting/server/routes/internal/generate/csv_searchsource_immediate.ts b/x-pack/platform/plugins/private/reporting/server/routes/internal/generate/csv_searchsource_immediate.ts new file mode 100644 index 0000000000000..cc9ad946d84ef --- /dev/null +++ b/x-pack/platform/plugins/private/reporting/server/routes/internal/generate/csv_searchsource_immediate.ts @@ -0,0 +1,137 @@ +/* + * 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. + */ + +import Boom from '@hapi/boom'; +import moment from 'moment'; + +import { schema } from '@kbn/config-schema'; +import type { KibanaRequest, Logger } from '@kbn/core/server'; +import { INTERNAL_ROUTES } from '@kbn/reporting-common'; +import { + CSV_SEARCHSOURCE_IMMEDIATE_TYPE, + JobParamsDownloadCSV, +} from '@kbn/reporting-export-types-csv-common'; +import type { ReportingCore } from '../../..'; +import { PassThroughStream } from '../../../lib'; +import { authorizedUserPreRouting, getCounters } from '../../common'; + +const path = INTERNAL_ROUTES.DOWNLOAD_CSV; + +export type CsvFromSavedObjectRequest = KibanaRequest; + +/* + * This function registers API Endpoints for immediate Reporting jobs. The API inputs are: + * - saved object type and ID + * - time range and time zone + * - application state: + * - filters + * - query bar + * - local (transient) changes the user made to the saved object + */ +export function registerGenerateCsvFromSavedObjectImmediate( + reporting: ReportingCore, + parentLogger: Logger +) { + const setupDeps = reporting.getPluginSetupDeps(); + const { router } = setupDeps; + + const useKibanaAccessControl = reporting.getDeprecatedAllowedRoles() === false; // true if deprecated config is turned off + const kibanaAccessControlTags = useKibanaAccessControl ? ['access:downloadCsv'] : []; + + // This API calls run the SearchSourceImmediate export type's runTaskFn directly + router.post( + { + path, + validate: { + body: schema.object({ + columns: schema.maybe(schema.arrayOf(schema.string())), + searchSource: schema.object({}, { unknowns: 'allow' }), + browserTimezone: schema.string({ + defaultValue: 'UTC', + validate: (value) => + moment.tz.zone(value) ? undefined : `Invalid timezone "${typeof value}".`, + }), + title: schema.string(), + version: schema.maybe(schema.string()), + }), + }, + options: { tags: kibanaAccessControlTags, access: 'internal' }, + }, + authorizedUserPreRouting( + reporting, + async (user, context, req: CsvFromSavedObjectRequest, res) => { + const counters = getCounters(req.route.method, path, reporting.getUsageCounter()); + + const logger = parentLogger.get(CSV_SEARCHSOURCE_IMMEDIATE_TYPE); + const csvSearchSourceImmediateExport = await reporting.getCsvSearchSourceImmediate(); + + const stream = new PassThroughStream(); + const eventLog = reporting.getEventLogger({ + jobtype: CSV_SEARCHSOURCE_IMMEDIATE_TYPE, + created_by: user && user.username, + payload: { browserTimezone: req.body.browserTimezone }, + }); + const logError = (error: Error) => { + logger.error(error); + eventLog.logError(error); + }; + + try { + eventLog.logExecutionStart(); + + const taskPromise = csvSearchSourceImmediateExport + .runTask(null, req.body, context, stream, req) + .then((output) => { + logger.info(`Job output size: ${stream.bytesWritten} bytes.`); + + if (!stream.bytesWritten) { + logger.warn('CSV Job Execution created empty content result'); + } + + eventLog.logExecutionComplete({ + ...(output.metrics ?? {}), + byteSize: stream.bytesWritten, + }); + }) + .finally(() => stream.end()); + + await Promise.race([stream.firstBytePromise, taskPromise]); + + taskPromise.catch(logError); + + counters.usageCounter(); + + return res.ok({ + body: stream, + headers: { + 'content-type': 'text/csv;charset=utf-8', + 'accept-ranges': 'none', + }, + }); + } catch (error) { + logError(error); + + if (error instanceof Boom.Boom) { + const statusCode = error.output.statusCode; + counters.errorCounter(undefined, statusCode); + + return res.customError({ + statusCode, + body: error.output.payload.message, + }); + } + + counters.errorCounter(undefined, 500); + + return res.customError({ + statusCode: 500, + }); + } + } + ) + ); +} diff --git a/x-pack/platform/plugins/private/translations/translations/fr-FR.json b/x-pack/platform/plugins/private/translations/translations/fr-FR.json index 2e5b6580be979..a980d56d11d05 100644 --- a/x-pack/platform/plugins/private/translations/translations/fr-FR.json +++ b/x-pack/platform/plugins/private/translations/translations/fr-FR.json @@ -35238,26 +35238,12 @@ "xpack.reporting.deprecations.reportingRole.forbiddenErrorMessage": "Vous n’avez pas les autorisations requises pour remédier à ce déclassement.", "xpack.reporting.deprecations.reportingRole.unknownErrorCorrectiveAction": "Pour plus d'informations, veuillez consulter les logs Kibana.", "xpack.reporting.deprecations.reportingRole.unknownErrorMessage": "Impossible d'exécuter la vérification de déclassement. Pour plus d'informations, veuillez consulter les logs Kibana.", - "xpack.reporting.deprecations.reportingRoleMappings.description": "Le mécanisme par défaut pour les privilèges de Reporting fonctionnera différemment dans les versions futures, et ce cluster a des mappings de rôle associés à un rôle déclassé pour ces privilèges. Définissez \"xpack.reporting.roles.enabled\" sur \"false\" pour adopter le comportement futur avant la mise à niveau.", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepFive": "Supprimez le rôle \"reporting_user\" pour tous les mappings de rôle et ajoutez le rôle personnalisé. Les mappings de rôle concernés sont les suivants : {roleMappings}.", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepFour": "Accordez les privilèges de Reporting aux utilisateurs en leur affectant l’un des nouveaux rôles.", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepOne": "Définissez \"xpack.reporting.roles.enabled\" sur \"false\" dans le fichier kibana.yml.", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepThree": "Sous Gestion > Sécurité > Rôles, créez un ou plusieurs rôles permettant d'accorder le privilège de l'application Kibana à Reporting.", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepTwo": "Supprimez le paramètre \"xpack.reporting.roles.allow\" du fichier kibana.yml, le cas échéant.", - "xpack.reporting.deprecations.reportingRoleMappings.title": "Le rôle \"{reportingUserRoleName}\" est déclassé : vérifiez les mappings de rôle.", "xpack.reporting.deprecations.reportingRoles.description": "Le mécanisme par défaut pour les privilèges de Reporting fonctionnera différemment dans les versions futures, ce qui affectera le comportement de ce cluster. Définissez \"xpack.reporting.roles.enabled\" sur \"false\" pour adopter le comportement futur avant la mise à niveau.", "xpack.reporting.deprecations.reportingRoles.manualStepFour": "Accordez les privilèges de Reporting aux utilisateurs en leur affectant l’un des nouveaux rôles.", "xpack.reporting.deprecations.reportingRoles.manualStepOne": "Définissez \"xpack.reporting.roles.enabled\" sur \"false\" dans le fichier kibana.yml.", "xpack.reporting.deprecations.reportingRoles.manualStepThree": "Sous Gestion > Sécurité > Rôles, créez un ou plusieurs rôles permettant d'accorder le privilège de l'application Kibana à Reporting.", "xpack.reporting.deprecations.reportingRoles.manualStepTwo": "Supprimez le paramètre \"xpack.reporting.roles.allow\" du fichier kibana.yml, le cas échéant.", "xpack.reporting.deprecations.reportingRoles.title": "Le paramètre \"{fromPath}.roles\" est déclassé.", - "xpack.reporting.deprecations.reportingRoleUsers.description": "Le mécanisme par défaut pour les privilèges de Reporting fonctionnera différemment dans les versions futures, et ce cluster a des utilisateurs associés à un rôle déclassé pour ces privilèges. Définissez \"xpack.reporting.roles.enabled\" sur \"false\" pour adopter le comportement futur avant la mise à niveau.", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepFive": "Supprimez le rôle \"reporting_user\" pour tous les utilisateurs et ajoutez le rôle personnalisé. Les utilisateurs concernés sont les suivants : {usersRoles}.", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepFour": "Accordez les privilèges de Reporting aux utilisateurs en leur affectant l’un des nouveaux rôles.", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepOne": "Définissez \"xpack.reporting.roles.enabled\" sur \"false\" dans le fichier kibana.yml.", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepThree": "Sous Gestion > Sécurité > Rôles, créez un ou plusieurs rôles permettant d'accorder le privilège de l'application Kibana à Reporting.", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepTwo": "Supprimez le paramètre \"xpack.reporting.roles.allow\" du fichier kibana.yml, le cas échéant.", - "xpack.reporting.deprecations.reportingRoleUsers.title": "Le rôle \"{reportingUserRoleName}\" est déclassé : vérifiez les rôles utilisateur.", "xpack.reporting.diagnostic.browserMissingDependency": "Le navigateur n'a pas pu démarrer correctement en raison de dépendances système manquantes. Veuillez consulter {url}", "xpack.reporting.diagnostic.browserMissingFonts": "Le navigateur n'a pas réussi à localiser de police par défaut. Consultez {url} pour corriger le problème.", "xpack.reporting.diagnostic.fontconfigError": "Le navigateur n'a pas pu démarrer correctement en raison de dépendances de polices système manquantes. Veuillez consulter {url}", diff --git a/x-pack/platform/plugins/private/translations/translations/ja-JP.json b/x-pack/platform/plugins/private/translations/translations/ja-JP.json index 925fddcd444b7..2aaa920d560b7 100644 --- a/x-pack/platform/plugins/private/translations/translations/ja-JP.json +++ b/x-pack/platform/plugins/private/translations/translations/ja-JP.json @@ -35097,12 +35097,6 @@ "xpack.reporting.deprecations.reportingRole.forbiddenErrorMessage": "この廃止予定を修正する十分な権限がありません。", "xpack.reporting.deprecations.reportingRole.unknownErrorCorrectiveAction": "詳細については、Kibanaログを確認してください。", "xpack.reporting.deprecations.reportingRole.unknownErrorMessage": "廃止予定チェックを実行できませんでした。詳細については、Kibanaログを確認してください。", - "xpack.reporting.deprecations.reportingRoleMappings.description": "将来のバージョンでは、レポート権限のデフォルトメカニズムの動作が変更されます。また、このクラスターには、この権限の廃止予定のロールにマッピングされたロールマッピングが存在します。「xpack.reporting.roles.enabled」を「false」に設定すると、アップグレード前に将来の動作を導入できます。", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepFive": "すべてのロールマッピングから\"reporting_user\"ロールを削除し、カスタムロールを追加します。影響を受けるロールマッピング:{roleMappings}。", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepFour": "新しいロールのいずれかを割り当てて、レポート権限をユーザーに付与します。", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepOne": "kibana.ymlで「xpack.reporting.roles.enabled」をfalseに設定します。", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepThree": "[管理]>[セキュリティ]>[ロール]から、レポートのKibanaアプリケーション権限を付与する1つ以上のロールを作成します。", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepTwo": "存在する場合は、kibana.ymlで「xpack.reporting.roles.allow」を削除します。", "xpack.reporting.deprecations.reportingRoleMappings.title": "\"{reportingUserRoleName}\"ロールは廃止予定です。ロールマッピングを確認してください", "xpack.reporting.deprecations.reportingRoles.description": "将来のバージョンでは、レポート権限のデフォルトメカニズムが変更されます。これはこのクラスターの動作に影響します。「xpack.reporting.roles.enabled」を「false」に設定すると、アップグレード前に将来の動作を導入できます。", "xpack.reporting.deprecations.reportingRoles.manualStepFour": "新しいロールのいずれかを割り当てて、レポート権限をユーザーに付与します。", @@ -35110,13 +35104,6 @@ "xpack.reporting.deprecations.reportingRoles.manualStepThree": "[管理]>[セキュリティ]>[ロール]から、レポートのKibanaアプリケーション権限を付与する1つ以上のロールを作成します。", "xpack.reporting.deprecations.reportingRoles.manualStepTwo": "存在する場合は、kibana.ymlで「xpack.reporting.roles.allow」を削除します。", "xpack.reporting.deprecations.reportingRoles.title": "\"{fromPath}.roles\"設定は廃止予定です", - "xpack.reporting.deprecations.reportingRoleUsers.description": "将来のバージョンでは、レポート権限のデフォルトメカニズムの動作が変更されます。また、このクラスターには、この権限の廃止予定のロールが割り当てられたユーザーが存在します。「xpack.reporting.roles.enabled」を「false」に設定すると、アップグレード前に将来の動作を導入できます。", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepFive": "すべてのユーザーから「reporting_user」ロールを削除し、カスタムロールを追加します。影響を受けるユーザー:{usersRoles}。", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepFour": "新しいロールのいずれかを割り当てて、レポート権限をユーザーに付与します。", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepOne": "kibana.ymlで「xpack.reporting.roles.enabled」をfalseに設定します。", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepThree": "[管理]>[セキュリティ]>[ロール]から、レポートのKibanaアプリケーション権限を付与する1つ以上のロールを作成します。", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepTwo": "存在する場合は、kibana.ymlで「xpack.reporting.roles.allow」を削除します。", - "xpack.reporting.deprecations.reportingRoleUsers.title": "\"{reportingUserRoleName}\"ロールは廃止予定です。ユーザーロールを確認してください", "xpack.reporting.diagnostic.browserMissingDependency": "システム依存関係が不足しているため、ブラウザーを正常に起動できませんでした。{url}を参照してください", "xpack.reporting.diagnostic.browserMissingFonts": "ブラウザーはデフォルトフォントを検索できませんでした。この問題を修正するには、{url}を参照してください。", "xpack.reporting.diagnostic.fontconfigError": "システムフォント依存関係が不足しているため、ブラウザーを正常に起動できませんでした。{url}を参照してください", diff --git a/x-pack/platform/plugins/private/translations/translations/zh-CN.json b/x-pack/platform/plugins/private/translations/translations/zh-CN.json index 5ae09ee569d5d..7fe0a01ca4d84 100644 --- a/x-pack/platform/plugins/private/translations/translations/zh-CN.json +++ b/x-pack/platform/plugins/private/translations/translations/zh-CN.json @@ -35191,26 +35191,12 @@ "xpack.reporting.deprecations.reportingRole.forbiddenErrorMessage": "您没有足够的权限来修复此弃用。", "xpack.reporting.deprecations.reportingRole.unknownErrorCorrectiveAction": "请检查 Kibana 日志了解更多详情。", "xpack.reporting.deprecations.reportingRole.unknownErrorMessage": "无法执行弃用检查。请检查 Kibana 日志了解更多详情。", - "xpack.reporting.deprecations.reportingRoleMappings.description": "在未来版本中,报告权限的默认工作机制会有所不同,并且此集群具有映射到该权限的过时角色的角色映射。在升级之前,请将“xpack.reporting.roles.enabled”设置为“false”以采用未来的行为。", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepFive": "从所有角色映射中移除“reporting_user”角色,然后添加定制角色。受影响的角色映射为:{roleMappings}。", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepFour": "通过分配新角色之一向用户授予报告权限。", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepOne": "在 kibana.yml 中将“xpack.reporting.roles.enabled”设置为“false”。", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepThree": "前往“管理”>“安全性”>“角色”以创建一个或多个针对 Reporting 授予 Kibana 应用程序权限的角色。", - "xpack.reporting.deprecations.reportingRoleMappings.manualStepTwo": "移除 kibana.yml 中的“xpack.reporting.roles.allow”(如果存在)。", - "xpack.reporting.deprecations.reportingRoleMappings.title": "“{reportingUserRoleName}”角色已过时:检查角色映射", "xpack.reporting.deprecations.reportingRoles.description": "在未来版本中,报告权限的默认工作机制会有所不同,这将影响此集群的行为。在升级之前,请将“xpack.reporting.roles.enabled”设置为“false”以采用未来的行为。", "xpack.reporting.deprecations.reportingRoles.manualStepFour": "通过分配新角色之一向用户授予报告权限。", "xpack.reporting.deprecations.reportingRoles.manualStepOne": "在 kibana.yml 中将“xpack.reporting.roles.enabled”设置为“false”。", "xpack.reporting.deprecations.reportingRoles.manualStepThree": "前往“管理”>“安全性”>“角色”以创建一个或多个针对 Reporting 授予 Kibana 应用程序权限的角色。", "xpack.reporting.deprecations.reportingRoles.manualStepTwo": "移除 kibana.yml 中的“xpack.reporting.roles.allow”(如果存在)。", "xpack.reporting.deprecations.reportingRoles.title": "“{fromPath}.roles”设置已过时", - "xpack.reporting.deprecations.reportingRoleUsers.description": "在未来版本中,报告权限的默认工作机制会有所不同,并且此集群的用户具有用于该权限的过时角色。在升级之前,请将“xpack.reporting.roles.enabled”设置为“false”以采用未来的行为。", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepFive": "从所有用户中移除“reporting_user”角色,然后添加定制角色。受影响的用户为:{usersRoles}。", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepFour": "通过分配新角色之一向用户授予报告权限。", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepOne": "在 kibana.yml 中将“xpack.reporting.roles.enabled”设置为“false”。", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepThree": "前往“管理”>“安全性”>“角色”以创建一个或多个针对 Reporting 授予 Kibana 应用程序权限的角色。", - "xpack.reporting.deprecations.reportingRoleUsers.manualStepTwo": "移除 kibana.yml 中的“xpack.reporting.roles.allow”(如果存在)。", - "xpack.reporting.deprecations.reportingRoleUsers.title": "“{reportingUserRoleName}”角色已过时:检查用户角色", "xpack.reporting.diagnostic.browserMissingDependency": "由于缺少系统依赖项,浏览器无法正常启动。请参见 {url}", "xpack.reporting.diagnostic.browserMissingFonts": "浏览器找不到默认字体。请参见 {url} 以解决此问题。", "xpack.reporting.diagnostic.fontconfigError": "由于缺少系统字体依赖项,浏览器无法正常启动。请参见 {url}", From d9a5f3979655dd84af8b6e62feee5543f1d430ee Mon Sep 17 00:00:00 2001 From: Timothy Sullivan Date: Fri, 3 Jan 2025 12:53:58 -0700 Subject: [PATCH 6/7] Restore 8.x-only Reporting files --- .../reporting/server/config/index.test.ts | 74 ++++++ .../__snapshots__/reporting_role.test.ts.snap | 119 +++++++++ .../reporting/server/deprecations/index.ts | 6 +- .../deprecations/reporting_role.test.ts | 177 +++++++++++++ .../server/deprecations/reporting_role.ts | 239 ++++++++++++++++++ .../plugins/private/reporting/tsconfig.json | 1 + .../translations/translations/fr-FR.json | 14 + .../translations/translations/ja-JP.json | 13 + .../translations/translations/zh-CN.json | 14 + 9 files changed, 656 insertions(+), 1 deletion(-) create mode 100644 x-pack/platform/plugins/private/reporting/server/config/index.test.ts create mode 100644 x-pack/platform/plugins/private/reporting/server/deprecations/__snapshots__/reporting_role.test.ts.snap create mode 100644 x-pack/platform/plugins/private/reporting/server/deprecations/reporting_role.test.ts create mode 100644 x-pack/platform/plugins/private/reporting/server/deprecations/reporting_role.ts diff --git a/x-pack/platform/plugins/private/reporting/server/config/index.test.ts b/x-pack/platform/plugins/private/reporting/server/config/index.test.ts new file mode 100644 index 0000000000000..a517affac54e6 --- /dev/null +++ b/x-pack/platform/plugins/private/reporting/server/config/index.test.ts @@ -0,0 +1,74 @@ +/* + * 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. + */ + +import { config } from '.'; +import { applyDeprecations, configDeprecationFactory } from '@kbn/config'; +import { configDeprecationsMock } from '@kbn/core/server/mocks'; + +const CONFIG_PATH = 'xpack.reporting'; + +const deprecationContext = configDeprecationsMock.createContext(); + +const applyReportingDeprecations = (settings: Record = {}) => { + const deprecations = config.deprecations!(configDeprecationFactory); + const deprecationMessages: string[] = []; + const _config: any = {}; + _config[CONFIG_PATH] = settings; + const { config: migrated } = applyDeprecations( + _config, + deprecations.map((deprecation) => ({ + deprecation, + path: CONFIG_PATH, + context: deprecationContext, + })), + () => + ({ message }) => + deprecationMessages.push(message) + ); + return { + messages: deprecationMessages, + migrated, + }; +}; + +describe('deprecations', () => { + it('logs a warning of roles.enabled for defaults', () => { + const { messages } = applyReportingDeprecations({}); + expect(messages).toMatchInlineSnapshot(` + Array [ + "The default mechanism for Reporting privileges will work differently in future versions, which will affect the behavior of this cluster. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", + ] + `); + }); + + it('logs a warning if roles.enabled: true is set', () => { + const { messages } = applyReportingDeprecations({ roles: { enabled: true } }); + expect(messages).toMatchInlineSnapshot(` + Array [ + "The default mechanism for Reporting privileges will work differently in future versions, which will affect the behavior of this cluster. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", + ] + `); + }); + + it('logs a warning if csv.enablePanelActionDownload: true is set', () => { + const { messages } = applyReportingDeprecations({ csv: { enablePanelActionDownload: true } }); + expect(messages).toMatchInlineSnapshot(` + Array [ + "The default mechanism for Reporting privileges will work differently in future versions, which will affect the behavior of this cluster. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", + "The \\"xpack.reporting.csv.enablePanelActionDownload\\" setting is deprecated.", + ] + `); + }); + + it('does not log a warning recommended settings are used', () => { + const { messages } = applyReportingDeprecations({ + csv: { enablePanelActionDownload: false }, + roles: { enabled: false }, + }); + expect(messages).toMatchInlineSnapshot(`Array []`); + }); +}); diff --git a/x-pack/platform/plugins/private/reporting/server/deprecations/__snapshots__/reporting_role.test.ts.snap b/x-pack/platform/plugins/private/reporting/server/deprecations/__snapshots__/reporting_role.test.ts.snap new file mode 100644 index 0000000000000..92456f9eec706 --- /dev/null +++ b/x-pack/platform/plugins/private/reporting/server/deprecations/__snapshots__/reporting_role.test.ts.snap @@ -0,0 +1,119 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`roles mapped to a deprecated role includes steps to remove the incompatible config, when applicable 1`] = ` +Array [ + Object { + "correctiveActions": Object { + "manualSteps": Array [ + "Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" in kibana.yml.", + "Remove \\"xpack.reporting.roles.allow\\" in kibana.yml, if present.", + "Go to Management > Security > Roles to create one or more roles that grant the Kibana application privilege for Reporting.", + "Grant Reporting privileges to users by assigning one of the new roles.", + "Remove the \\"reporting_user\\" role from all users and add the custom role. The affected users are: reportron[reporting_user].", + ], + }, + "deprecationType": "feature", + "documentationUrl": "https://www.elastic.co/guide/en/kibana/branch/kibana-privileges.html", + "level": "warning", + "message": "The default mechanism for Reporting privileges will work differently in future versions, and this cluster has users who have a deprecated role for this privilege. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", + "title": "The \\"reporting_user\\" role is deprecated: check user roles", + }, +] +`; + +exports[`roles mapped to a deprecated role logs a deprecation when a role was found that maps to a deprecated custom role from the roles.allow setting 1`] = ` +Array [ + Object { + "correctiveActions": Object { + "manualSteps": Array [ + "Go to Management > Security > Roles to create one or more roles that grant the Kibana application privilege for Reporting.", + "Grant Reporting privileges to users by assigning one of the new roles.", + "Remove the \\"reporting_user\\" role from all role mappings and add the custom role. The affected role mappings are: dungeon_master[my_test_reporting_user].", + ], + }, + "deprecationType": "feature", + "documentationUrl": "https://www.elastic.co/guide/en/kibana/branch/kibana-privileges.html", + "level": "warning", + "message": "The default mechanism for Reporting privileges will work differently in future versions, and this cluster has role mappings that are mapped to a deprecated role for this privilege. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", + "title": "The \\"reporting_user\\" role is deprecated: check role mappings", + }, +] +`; + +exports[`roles mapped to a deprecated role logs a deprecation when a role was found that maps to the deprecated reporting_user role 1`] = ` +Array [ + Object { + "correctiveActions": Object { + "manualSteps": Array [ + "Go to Management > Security > Roles to create one or more roles that grant the Kibana application privilege for Reporting.", + "Grant Reporting privileges to users by assigning one of the new roles.", + "Remove the \\"reporting_user\\" role from all role mappings and add the custom role. The affected role mappings are: dungeon_master[reporting_user].", + ], + }, + "deprecationType": "feature", + "documentationUrl": "https://www.elastic.co/guide/en/kibana/branch/kibana-privileges.html", + "level": "warning", + "message": "The default mechanism for Reporting privileges will work differently in future versions, and this cluster has role mappings that are mapped to a deprecated role for this privilege. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", + "title": "The \\"reporting_user\\" role is deprecated: check role mappings", + }, +] +`; + +exports[`users assigned to a deprecated role includes steps to remove the incompatible config, when applicable 1`] = ` +Array [ + Object { + "correctiveActions": Object { + "manualSteps": Array [ + "Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" in kibana.yml.", + "Remove \\"xpack.reporting.roles.allow\\" in kibana.yml, if present.", + "Go to Management > Security > Roles to create one or more roles that grant the Kibana application privilege for Reporting.", + "Grant Reporting privileges to users by assigning one of the new roles.", + "Remove the \\"reporting_user\\" role from all users and add the custom role. The affected users are: reportron[reporting_user].", + ], + }, + "deprecationType": "feature", + "documentationUrl": "https://www.elastic.co/guide/en/kibana/branch/kibana-privileges.html", + "level": "warning", + "message": "The default mechanism for Reporting privileges will work differently in future versions, and this cluster has users who have a deprecated role for this privilege. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", + "title": "The \\"reporting_user\\" role is deprecated: check user roles", + }, +] +`; + +exports[`users assigned to a deprecated role logs a deprecation when a user was found with a deprecated custom role from the roles.allow setting 1`] = ` +Array [ + Object { + "correctiveActions": Object { + "manualSteps": Array [ + "Go to Management > Security > Roles to create one or more roles that grant the Kibana application privilege for Reporting.", + "Grant Reporting privileges to users by assigning one of the new roles.", + "Remove the \\"reporting_user\\" role from all users and add the custom role. The affected users are: reportron[my_test_reporting_user].", + ], + }, + "deprecationType": "feature", + "documentationUrl": "https://www.elastic.co/guide/en/kibana/branch/kibana-privileges.html", + "level": "warning", + "message": "The default mechanism for Reporting privileges will work differently in future versions, and this cluster has users who have a deprecated role for this privilege. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", + "title": "The \\"reporting_user\\" role is deprecated: check user roles", + }, +] +`; + +exports[`users assigned to a deprecated role logs a deprecation when a user was found with a deprecated reporting_user role 1`] = ` +Array [ + Object { + "correctiveActions": Object { + "manualSteps": Array [ + "Go to Management > Security > Roles to create one or more roles that grant the Kibana application privilege for Reporting.", + "Grant Reporting privileges to users by assigning one of the new roles.", + "Remove the \\"reporting_user\\" role from all users and add the custom role. The affected users are: reportron[reporting_user].", + ], + }, + "deprecationType": "feature", + "documentationUrl": "https://www.elastic.co/guide/en/kibana/branch/kibana-privileges.html", + "level": "warning", + "message": "The default mechanism for Reporting privileges will work differently in future versions, and this cluster has users who have a deprecated role for this privilege. Set \\"xpack.reporting.roles.enabled\\" to \\"false\\" to adopt the future behavior before upgrading.", + "title": "The \\"reporting_user\\" role is deprecated: check user roles", + }, +] +`; diff --git a/x-pack/platform/plugins/private/reporting/server/deprecations/index.ts b/x-pack/platform/plugins/private/reporting/server/deprecations/index.ts index e8742175a7087..bca439532b3b0 100644 --- a/x-pack/platform/plugins/private/reporting/server/deprecations/index.ts +++ b/x-pack/platform/plugins/private/reporting/server/deprecations/index.ts @@ -8,6 +8,7 @@ import { CoreSetup } from '@kbn/core/server'; import { ReportingCore } from '../core'; import { getDeprecationsInfo as getIlmPolicyDeprecationsInfo } from './migrate_existing_indices_ilm_policy'; +import { getDeprecationsInfo as getReportingRoleDeprecationsInfo } from './reporting_role'; export const registerDeprecations = ({ core, @@ -18,7 +19,10 @@ export const registerDeprecations = ({ }) => { core.deprecations.registerDeprecations({ getDeprecations: async (ctx) => { - return [...(await getIlmPolicyDeprecationsInfo(ctx))]; + return [ + ...(await getIlmPolicyDeprecationsInfo(ctx)), + ...(await getReportingRoleDeprecationsInfo(ctx, { reportingCore })), + ]; }, }); }; diff --git a/x-pack/platform/plugins/private/reporting/server/deprecations/reporting_role.test.ts b/x-pack/platform/plugins/private/reporting/server/deprecations/reporting_role.test.ts new file mode 100644 index 0000000000000..4f58767e78b06 --- /dev/null +++ b/x-pack/platform/plugins/private/reporting/server/deprecations/reporting_role.test.ts @@ -0,0 +1,177 @@ +/* + * 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. + */ + +import { GetDeprecationsContext, IScopedClusterClient } from '@kbn/core/server'; +import { elasticsearchServiceMock } from '@kbn/core/server/mocks'; +import { createMockConfigSchema } from '@kbn/reporting-mocks-server'; +import { ReportingCore } from '..'; +import { createMockPluginSetup, createMockReportingCore } from '../test_helpers'; +import { getDeprecationsInfo } from './reporting_role'; + +let reportingCore: ReportingCore; +let context: GetDeprecationsContext; +let esClient: jest.Mocked; + +beforeEach(async () => { + reportingCore = await createMockReportingCore( + createMockConfigSchema({ roles: { enabled: false } }) + ); + + esClient = elasticsearchServiceMock.createScopedClusterClient(); + esClient.asCurrentUser.security.getUser = jest.fn().mockResolvedValue({ + xyz: { username: 'normal_user', roles: ['data_analyst'] }, + }); + esClient.asCurrentUser.security.getRoleMapping = jest.fn().mockResolvedValue({}); + + context = { esClient } as unknown as GetDeprecationsContext; +}); + +test('logs no deprecations when setup has no issues', async () => { + expect(await getDeprecationsInfo(context, { reportingCore })).toMatchInlineSnapshot(`Array []`); +}); + +describe('users assigned to a deprecated role', () => { + test('logs a deprecation when a user was found with a deprecated reporting_user role', async () => { + esClient.asCurrentUser.security.getUser = jest.fn().mockResolvedValue({ + reportron: { + username: 'reportron', + roles: ['kibana_admin', 'reporting_user'], + }, + }); + + reportingCore = await createMockReportingCore(createMockConfigSchema()); + + expect(await getDeprecationsInfo(context, { reportingCore })).toMatchSnapshot(); + }); + + test('logs a deprecation when a user was found with a deprecated custom role from the roles.allow setting', async () => { + reportingCore = await createMockReportingCore( + createMockConfigSchema({ roles: { allow: ['my_test_reporting_user'] } }) + ); + esClient.asCurrentUser.security.getUser = jest.fn().mockResolvedValue({ + reportron: { username: 'reportron', roles: ['kibana_admin', 'my_test_reporting_user'] }, + }); + + expect(await getDeprecationsInfo(context, { reportingCore })).toMatchSnapshot(); + }); + + test('includes steps to remove the incompatible config, when applicable', async () => { + esClient.asCurrentUser.security.getUser = jest.fn().mockResolvedValue({ + reportron: { + username: 'reportron', + roles: ['kibana_admin', 'reporting_user'], + }, + }); + + reportingCore = await createMockReportingCore( + createMockConfigSchema({ roles: { enabled: true } }) + ); + + expect(await getDeprecationsInfo(context, { reportingCore })).toMatchSnapshot(); + }); +}); + +describe('roles mapped to a deprecated role', () => { + test('logs a deprecation when a role was found that maps to the deprecated reporting_user role', async () => { + esClient.asCurrentUser.security.getRoleMapping = jest + .fn() + .mockResolvedValue({ dungeon_master: { roles: ['reporting_user'] } }); + + reportingCore = await createMockReportingCore(createMockConfigSchema()); + + expect(await getDeprecationsInfo(context, { reportingCore })).toMatchSnapshot(); + }); + + test('logs a deprecation when a role was found that maps to a deprecated custom role from the roles.allow setting', async () => { + reportingCore = await createMockReportingCore( + createMockConfigSchema({ roles: { allow: ['my_test_reporting_user'] } }) + ); + esClient.asCurrentUser.security.getRoleMapping = jest + .fn() + .mockResolvedValue({ dungeon_master: { roles: ['my_test_reporting_user'] } }); + + expect(await getDeprecationsInfo(context, { reportingCore })).toMatchSnapshot(); + }); + + test('includes steps to remove the incompatible config, when applicable', async () => { + esClient.asCurrentUser.security.getUser = jest.fn().mockResolvedValue({ + reportron: { + username: 'reportron', + roles: ['kibana_admin', 'reporting_user'], + }, + }); + + reportingCore = await createMockReportingCore( + createMockConfigSchema({ roles: { enabled: true } }) + ); + + expect(await getDeprecationsInfo(context, { reportingCore })).toMatchSnapshot(); + }); +}); + +describe('check deprecations when security is disabled', () => { + test('logs no deprecations: roles not enabled', async () => { + reportingCore = await createMockReportingCore( + createMockConfigSchema({ roles: { enabled: false } }), + createMockPluginSetup({ security: null }) + ); + expect(await getDeprecationsInfo(context, { reportingCore })).toMatchInlineSnapshot(`Array []`); + }); + + test('logs no deprecations: roles enabled', async () => { + const mockReportingConfig = createMockConfigSchema(); // roles.enabled: true is default in 7.x / 8.0 + reportingCore = await createMockReportingCore( + mockReportingConfig, + createMockPluginSetup({ security: null }) + ); + + expect(await getDeprecationsInfo(context, { reportingCore })).toMatchInlineSnapshot(`Array []`); + }); + + test('logs no deprecations on serverless', async () => { + reportingCore = await createMockReportingCore( + createMockConfigSchema({ statefulSettings: { enabled: false } }) + ); + expect(await getDeprecationsInfo(context, { reportingCore })).toMatchInlineSnapshot(`Array []`); + }); +}); + +it('insufficient permissions', async () => { + const permissionsError = new Error('you shall not pass'); + (permissionsError as unknown as { statusCode: number }).statusCode = 403; + esClient.asCurrentUser.security.getUser = jest.fn().mockRejectedValue(permissionsError); + esClient.asCurrentUser.security.getRoleMapping = jest.fn().mockRejectedValue(permissionsError); + + expect(await getDeprecationsInfo(context, { reportingCore })).toMatchInlineSnapshot(` + Array [ + Object { + "correctiveActions": Object { + "manualSteps": Array [ + "Make sure you have a \\"manage_security\\" cluster privilege assigned.", + ], + }, + "deprecationType": "feature", + "documentationUrl": "https://www.elastic.co/guide/en/kibana/test-branch/xpack-security.html#_required_permissions_7", + "level": "fetch_error", + "message": "You do not have enough permissions to fix this deprecation.", + "title": "The \\"reporting_user\\" role is deprecated: check user roles", + }, + Object { + "correctiveActions": Object { + "manualSteps": Array [ + "Make sure you have a \\"manage_security\\" cluster privilege assigned.", + ], + }, + "deprecationType": "feature", + "documentationUrl": "https://www.elastic.co/guide/en/kibana/test-branch/xpack-security.html#_required_permissions_7", + "level": "fetch_error", + "message": "You do not have enough permissions to fix this deprecation.", + "title": "The \\"reporting_user\\" role is deprecated: check role mappings", + }, + ] + `); +}); diff --git a/x-pack/platform/plugins/private/reporting/server/deprecations/reporting_role.ts b/x-pack/platform/plugins/private/reporting/server/deprecations/reporting_role.ts new file mode 100644 index 0000000000000..31633760aeb84 --- /dev/null +++ b/x-pack/platform/plugins/private/reporting/server/deprecations/reporting_role.ts @@ -0,0 +1,239 @@ +/* + * 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. + */ + +import { + SecurityGetRoleMappingResponse, + SecurityGetUserResponse, +} from '@elastic/elasticsearch/lib/api/types'; +import { i18n } from '@kbn/i18n'; +import type { + DeprecationsDetails, + DocLinksServiceSetup, + ElasticsearchClient, + GetDeprecationsContext, +} from '@kbn/core/server'; +import { ReportingCore } from '..'; +import { deprecations } from '../lib/deprecations'; + +const REPORTING_USER_ROLE_NAME = 'reporting_user'; +const getDocumentationUrl = (branch: string) => { + // TODO: remove when docs support "main" + const docBranch = branch === 'main' ? 'master' : branch; + return `https://www.elastic.co/guide/en/kibana/${docBranch}/kibana-privileges.html`; +}; + +interface ExtraDependencies { + reportingCore: ReportingCore; +} + +export async function getDeprecationsInfo( + { esClient }: GetDeprecationsContext, + { reportingCore }: ExtraDependencies +): Promise { + const client = esClient.asCurrentUser; + const { security, docLinks } = reportingCore.getPluginSetupDeps(); + + // Nothing to do if security is disabled + if (!security?.license.isEnabled()) { + return []; + } + + const config = reportingCore.getConfig(); + const deprecatedRoles = config.roles.allow || ['reporting_user']; + + return [ + ...(await getUsersDeprecations(client, reportingCore, deprecatedRoles, docLinks)), + ...(await getRoleMappingsDeprecations(client, reportingCore, deprecatedRoles, docLinks)), + ]; +} + +async function getUsersDeprecations( + client: ElasticsearchClient, + reportingCore: ReportingCore, + deprecatedRoles: string[], + docLinks: DocLinksServiceSetup +): Promise { + const usingDeprecatedConfig = !reportingCore.getContract().usesUiCapabilities(); + const strings = { + title: i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.title', { + defaultMessage: `The "{reportingUserRoleName}" role is deprecated: check user roles`, + values: { reportingUserRoleName: REPORTING_USER_ROLE_NAME }, + }), + message: i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.description', { + defaultMessage: + `The default mechanism for Reporting privileges will work differently in future versions, and` + + ` this cluster has users who have a deprecated role for this privilege.` + + ` Set "xpack.reporting.roles.enabled" to "false" to adopt the future behavior before upgrading.`, + }), + manualSteps: (usersRoles: string) => [ + ...(usingDeprecatedConfig + ? [ + i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.manualStepOne', { + defaultMessage: `Set "xpack.reporting.roles.enabled" to "false" in kibana.yml.`, + }), + i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.manualStepTwo', { + defaultMessage: `Remove "xpack.reporting.roles.allow" in kibana.yml, if present.`, + }), + ] + : []), + + i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.manualStepThree', { + defaultMessage: + `Go to Management > Security > Roles to create one or more roles that grant` + + ` the Kibana application privilege for Reporting.`, + }), + i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.manualStepFour', { + defaultMessage: `Grant Reporting privileges to users by assigning one of the new roles.`, + }), + i18n.translate('xpack.reporting.deprecations.reportingRoleUsers.manualStepFive', { + defaultMessage: + `Remove the "reporting_user" role from all users and add the custom role.` + + ` The affected users are: {usersRoles}.`, + values: { usersRoles }, + }), + ], + }; + + let users: SecurityGetUserResponse; + try { + users = await client.security.getUser(); + } catch (err) { + const { logger } = reportingCore.getPluginSetupDeps(); + if (deprecations.getErrorStatusCode(err) === 403) { + logger.warn( + `Failed to retrieve users when checking for deprecations:` + + ` the "manage_security" cluster privilege is required.` + ); + } else { + logger.error( + `Failed to retrieve users when checking for deprecations,` + + ` unexpected error: ${deprecations.getDetailedErrorMessage(err)}.` + ); + } + return deprecations.deprecationError(strings.title, err, docLinks); + } + + const reportingUsers = Object.entries(users).reduce((userSet, current) => { + const [userName, user] = current; + const foundRole = user.roles.find((role) => deprecatedRoles.includes(role)); + if (foundRole) { + userSet.push(`${userName}[${foundRole}]`); + } + return userSet; + }, [] as string[]); + + if (reportingUsers.length === 0) { + return []; + } + + return [ + { + title: strings.title, + message: strings.message, + correctiveActions: { manualSteps: strings.manualSteps(reportingUsers.join(', ')) }, + level: 'warning', + deprecationType: 'feature', + documentationUrl: getDocumentationUrl(reportingCore.getKibanaPackageInfo().branch), + }, + ]; +} + +async function getRoleMappingsDeprecations( + client: ElasticsearchClient, + reportingCore: ReportingCore, + deprecatedRoles: string[], + docLinks: DocLinksServiceSetup +): Promise { + const usingDeprecatedConfig = !reportingCore.getContract().usesUiCapabilities(); + const strings = { + title: i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.title', { + defaultMessage: `The "{reportingUserRoleName}" role is deprecated: check role mappings`, + values: { reportingUserRoleName: REPORTING_USER_ROLE_NAME }, + }), + message: i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.description', { + defaultMessage: + `The default mechanism for Reporting privileges will work differently in future versions, and` + + ` this cluster has role mappings that are mapped to a deprecated role for this privilege.` + + ` Set "xpack.reporting.roles.enabled" to "false" to adopt the future behavior before upgrading.`, + }), + manualSteps: (roleMappings: string) => [ + ...(usingDeprecatedConfig + ? [ + i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.manualStepOne', { + defaultMessage: `Set "xpack.reporting.roles.enabled" to "false" in kibana.yml.`, + }), + i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.manualStepTwo', { + defaultMessage: `Remove "xpack.reporting.roles.allow" in kibana.yml, if present.`, + }), + ] + : []), + + i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.manualStepThree', { + defaultMessage: + `Go to Management > Security > Roles to create one or more roles that grant` + + ` the Kibana application privilege for Reporting.`, + }), + i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.manualStepFour', { + defaultMessage: `Grant Reporting privileges to users by assigning one of the new roles.`, + }), + i18n.translate('xpack.reporting.deprecations.reportingRoleMappings.manualStepFive', { + defaultMessage: + `Remove the "reporting_user" role from all role mappings and add the custom role.` + + ` The affected role mappings are: {roleMappings}.`, + values: { roleMappings }, + }), + ], + }; + + let roleMappings: SecurityGetRoleMappingResponse; + try { + roleMappings = await client.security.getRoleMapping(); + } catch (err) { + const { logger } = reportingCore.getPluginSetupDeps(); + if (deprecations.getErrorStatusCode(err) === 403) { + logger.warn( + `Failed to retrieve role mappings when checking for deprecations:` + + ` the "manage_security" cluster privilege is required.` + ); + } else { + logger.error( + `Failed to retrieve role mappings when checking for deprecations,` + + ` unexpected error: ${deprecations.getDetailedErrorMessage(err)}.` + ); + } + return deprecations.deprecationError(strings.title, err, docLinks); + } + + const roleMappingsWithReportingRole: string[] = Object.entries(roleMappings).reduce( + (roleSet, current) => { + const [roleName, role] = current; + const foundMapping = role.roles?.find((roll) => deprecatedRoles.includes(roll)); + if (foundMapping) { + roleSet.push(`${roleName}[${foundMapping}]`); + } + return roleSet; + }, + [] as string[] + ); + + if (roleMappingsWithReportingRole.length === 0) { + return []; + } + + return [ + { + title: strings.title, + message: strings.message, + correctiveActions: { + manualSteps: strings.manualSteps(roleMappingsWithReportingRole.join(', ')), + }, + level: 'warning', + deprecationType: 'feature', + documentationUrl: getDocumentationUrl(reportingCore.getKibanaPackageInfo().branch), + }, + ]; +} diff --git a/x-pack/platform/plugins/private/reporting/tsconfig.json b/x-pack/platform/plugins/private/reporting/tsconfig.json index f0b105990b7a1..72af93e2a1029 100644 --- a/x-pack/platform/plugins/private/reporting/tsconfig.json +++ b/x-pack/platform/plugins/private/reporting/tsconfig.json @@ -30,6 +30,7 @@ "@kbn/test-jest-helpers", "@kbn/rison", "@kbn/task-manager-plugin", + "@kbn/config", "@kbn/core-http-server", "@kbn/core-test-helpers-test-utils", "@kbn/safer-lodash-set", diff --git a/x-pack/platform/plugins/private/translations/translations/fr-FR.json b/x-pack/platform/plugins/private/translations/translations/fr-FR.json index a980d56d11d05..2e5b6580be979 100644 --- a/x-pack/platform/plugins/private/translations/translations/fr-FR.json +++ b/x-pack/platform/plugins/private/translations/translations/fr-FR.json @@ -35238,12 +35238,26 @@ "xpack.reporting.deprecations.reportingRole.forbiddenErrorMessage": "Vous n’avez pas les autorisations requises pour remédier à ce déclassement.", "xpack.reporting.deprecations.reportingRole.unknownErrorCorrectiveAction": "Pour plus d'informations, veuillez consulter les logs Kibana.", "xpack.reporting.deprecations.reportingRole.unknownErrorMessage": "Impossible d'exécuter la vérification de déclassement. Pour plus d'informations, veuillez consulter les logs Kibana.", + "xpack.reporting.deprecations.reportingRoleMappings.description": "Le mécanisme par défaut pour les privilèges de Reporting fonctionnera différemment dans les versions futures, et ce cluster a des mappings de rôle associés à un rôle déclassé pour ces privilèges. Définissez \"xpack.reporting.roles.enabled\" sur \"false\" pour adopter le comportement futur avant la mise à niveau.", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepFive": "Supprimez le rôle \"reporting_user\" pour tous les mappings de rôle et ajoutez le rôle personnalisé. Les mappings de rôle concernés sont les suivants : {roleMappings}.", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepFour": "Accordez les privilèges de Reporting aux utilisateurs en leur affectant l’un des nouveaux rôles.", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepOne": "Définissez \"xpack.reporting.roles.enabled\" sur \"false\" dans le fichier kibana.yml.", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepThree": "Sous Gestion > Sécurité > Rôles, créez un ou plusieurs rôles permettant d'accorder le privilège de l'application Kibana à Reporting.", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepTwo": "Supprimez le paramètre \"xpack.reporting.roles.allow\" du fichier kibana.yml, le cas échéant.", + "xpack.reporting.deprecations.reportingRoleMappings.title": "Le rôle \"{reportingUserRoleName}\" est déclassé : vérifiez les mappings de rôle.", "xpack.reporting.deprecations.reportingRoles.description": "Le mécanisme par défaut pour les privilèges de Reporting fonctionnera différemment dans les versions futures, ce qui affectera le comportement de ce cluster. Définissez \"xpack.reporting.roles.enabled\" sur \"false\" pour adopter le comportement futur avant la mise à niveau.", "xpack.reporting.deprecations.reportingRoles.manualStepFour": "Accordez les privilèges de Reporting aux utilisateurs en leur affectant l’un des nouveaux rôles.", "xpack.reporting.deprecations.reportingRoles.manualStepOne": "Définissez \"xpack.reporting.roles.enabled\" sur \"false\" dans le fichier kibana.yml.", "xpack.reporting.deprecations.reportingRoles.manualStepThree": "Sous Gestion > Sécurité > Rôles, créez un ou plusieurs rôles permettant d'accorder le privilège de l'application Kibana à Reporting.", "xpack.reporting.deprecations.reportingRoles.manualStepTwo": "Supprimez le paramètre \"xpack.reporting.roles.allow\" du fichier kibana.yml, le cas échéant.", "xpack.reporting.deprecations.reportingRoles.title": "Le paramètre \"{fromPath}.roles\" est déclassé.", + "xpack.reporting.deprecations.reportingRoleUsers.description": "Le mécanisme par défaut pour les privilèges de Reporting fonctionnera différemment dans les versions futures, et ce cluster a des utilisateurs associés à un rôle déclassé pour ces privilèges. Définissez \"xpack.reporting.roles.enabled\" sur \"false\" pour adopter le comportement futur avant la mise à niveau.", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepFive": "Supprimez le rôle \"reporting_user\" pour tous les utilisateurs et ajoutez le rôle personnalisé. Les utilisateurs concernés sont les suivants : {usersRoles}.", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepFour": "Accordez les privilèges de Reporting aux utilisateurs en leur affectant l’un des nouveaux rôles.", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepOne": "Définissez \"xpack.reporting.roles.enabled\" sur \"false\" dans le fichier kibana.yml.", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepThree": "Sous Gestion > Sécurité > Rôles, créez un ou plusieurs rôles permettant d'accorder le privilège de l'application Kibana à Reporting.", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepTwo": "Supprimez le paramètre \"xpack.reporting.roles.allow\" du fichier kibana.yml, le cas échéant.", + "xpack.reporting.deprecations.reportingRoleUsers.title": "Le rôle \"{reportingUserRoleName}\" est déclassé : vérifiez les rôles utilisateur.", "xpack.reporting.diagnostic.browserMissingDependency": "Le navigateur n'a pas pu démarrer correctement en raison de dépendances système manquantes. Veuillez consulter {url}", "xpack.reporting.diagnostic.browserMissingFonts": "Le navigateur n'a pas réussi à localiser de police par défaut. Consultez {url} pour corriger le problème.", "xpack.reporting.diagnostic.fontconfigError": "Le navigateur n'a pas pu démarrer correctement en raison de dépendances de polices système manquantes. Veuillez consulter {url}", diff --git a/x-pack/platform/plugins/private/translations/translations/ja-JP.json b/x-pack/platform/plugins/private/translations/translations/ja-JP.json index 2aaa920d560b7..925fddcd444b7 100644 --- a/x-pack/platform/plugins/private/translations/translations/ja-JP.json +++ b/x-pack/platform/plugins/private/translations/translations/ja-JP.json @@ -35097,6 +35097,12 @@ "xpack.reporting.deprecations.reportingRole.forbiddenErrorMessage": "この廃止予定を修正する十分な権限がありません。", "xpack.reporting.deprecations.reportingRole.unknownErrorCorrectiveAction": "詳細については、Kibanaログを確認してください。", "xpack.reporting.deprecations.reportingRole.unknownErrorMessage": "廃止予定チェックを実行できませんでした。詳細については、Kibanaログを確認してください。", + "xpack.reporting.deprecations.reportingRoleMappings.description": "将来のバージョンでは、レポート権限のデフォルトメカニズムの動作が変更されます。また、このクラスターには、この権限の廃止予定のロールにマッピングされたロールマッピングが存在します。「xpack.reporting.roles.enabled」を「false」に設定すると、アップグレード前に将来の動作を導入できます。", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepFive": "すべてのロールマッピングから\"reporting_user\"ロールを削除し、カスタムロールを追加します。影響を受けるロールマッピング:{roleMappings}。", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepFour": "新しいロールのいずれかを割り当てて、レポート権限をユーザーに付与します。", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepOne": "kibana.ymlで「xpack.reporting.roles.enabled」をfalseに設定します。", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepThree": "[管理]>[セキュリティ]>[ロール]から、レポートのKibanaアプリケーション権限を付与する1つ以上のロールを作成します。", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepTwo": "存在する場合は、kibana.ymlで「xpack.reporting.roles.allow」を削除します。", "xpack.reporting.deprecations.reportingRoleMappings.title": "\"{reportingUserRoleName}\"ロールは廃止予定です。ロールマッピングを確認してください", "xpack.reporting.deprecations.reportingRoles.description": "将来のバージョンでは、レポート権限のデフォルトメカニズムが変更されます。これはこのクラスターの動作に影響します。「xpack.reporting.roles.enabled」を「false」に設定すると、アップグレード前に将来の動作を導入できます。", "xpack.reporting.deprecations.reportingRoles.manualStepFour": "新しいロールのいずれかを割り当てて、レポート権限をユーザーに付与します。", @@ -35104,6 +35110,13 @@ "xpack.reporting.deprecations.reportingRoles.manualStepThree": "[管理]>[セキュリティ]>[ロール]から、レポートのKibanaアプリケーション権限を付与する1つ以上のロールを作成します。", "xpack.reporting.deprecations.reportingRoles.manualStepTwo": "存在する場合は、kibana.ymlで「xpack.reporting.roles.allow」を削除します。", "xpack.reporting.deprecations.reportingRoles.title": "\"{fromPath}.roles\"設定は廃止予定です", + "xpack.reporting.deprecations.reportingRoleUsers.description": "将来のバージョンでは、レポート権限のデフォルトメカニズムの動作が変更されます。また、このクラスターには、この権限の廃止予定のロールが割り当てられたユーザーが存在します。「xpack.reporting.roles.enabled」を「false」に設定すると、アップグレード前に将来の動作を導入できます。", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepFive": "すべてのユーザーから「reporting_user」ロールを削除し、カスタムロールを追加します。影響を受けるユーザー:{usersRoles}。", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepFour": "新しいロールのいずれかを割り当てて、レポート権限をユーザーに付与します。", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepOne": "kibana.ymlで「xpack.reporting.roles.enabled」をfalseに設定します。", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepThree": "[管理]>[セキュリティ]>[ロール]から、レポートのKibanaアプリケーション権限を付与する1つ以上のロールを作成します。", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepTwo": "存在する場合は、kibana.ymlで「xpack.reporting.roles.allow」を削除します。", + "xpack.reporting.deprecations.reportingRoleUsers.title": "\"{reportingUserRoleName}\"ロールは廃止予定です。ユーザーロールを確認してください", "xpack.reporting.diagnostic.browserMissingDependency": "システム依存関係が不足しているため、ブラウザーを正常に起動できませんでした。{url}を参照してください", "xpack.reporting.diagnostic.browserMissingFonts": "ブラウザーはデフォルトフォントを検索できませんでした。この問題を修正するには、{url}を参照してください。", "xpack.reporting.diagnostic.fontconfigError": "システムフォント依存関係が不足しているため、ブラウザーを正常に起動できませんでした。{url}を参照してください", diff --git a/x-pack/platform/plugins/private/translations/translations/zh-CN.json b/x-pack/platform/plugins/private/translations/translations/zh-CN.json index 7fe0a01ca4d84..5ae09ee569d5d 100644 --- a/x-pack/platform/plugins/private/translations/translations/zh-CN.json +++ b/x-pack/platform/plugins/private/translations/translations/zh-CN.json @@ -35191,12 +35191,26 @@ "xpack.reporting.deprecations.reportingRole.forbiddenErrorMessage": "您没有足够的权限来修复此弃用。", "xpack.reporting.deprecations.reportingRole.unknownErrorCorrectiveAction": "请检查 Kibana 日志了解更多详情。", "xpack.reporting.deprecations.reportingRole.unknownErrorMessage": "无法执行弃用检查。请检查 Kibana 日志了解更多详情。", + "xpack.reporting.deprecations.reportingRoleMappings.description": "在未来版本中,报告权限的默认工作机制会有所不同,并且此集群具有映射到该权限的过时角色的角色映射。在升级之前,请将“xpack.reporting.roles.enabled”设置为“false”以采用未来的行为。", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepFive": "从所有角色映射中移除“reporting_user”角色,然后添加定制角色。受影响的角色映射为:{roleMappings}。", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepFour": "通过分配新角色之一向用户授予报告权限。", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepOne": "在 kibana.yml 中将“xpack.reporting.roles.enabled”设置为“false”。", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepThree": "前往“管理”>“安全性”>“角色”以创建一个或多个针对 Reporting 授予 Kibana 应用程序权限的角色。", + "xpack.reporting.deprecations.reportingRoleMappings.manualStepTwo": "移除 kibana.yml 中的“xpack.reporting.roles.allow”(如果存在)。", + "xpack.reporting.deprecations.reportingRoleMappings.title": "“{reportingUserRoleName}”角色已过时:检查角色映射", "xpack.reporting.deprecations.reportingRoles.description": "在未来版本中,报告权限的默认工作机制会有所不同,这将影响此集群的行为。在升级之前,请将“xpack.reporting.roles.enabled”设置为“false”以采用未来的行为。", "xpack.reporting.deprecations.reportingRoles.manualStepFour": "通过分配新角色之一向用户授予报告权限。", "xpack.reporting.deprecations.reportingRoles.manualStepOne": "在 kibana.yml 中将“xpack.reporting.roles.enabled”设置为“false”。", "xpack.reporting.deprecations.reportingRoles.manualStepThree": "前往“管理”>“安全性”>“角色”以创建一个或多个针对 Reporting 授予 Kibana 应用程序权限的角色。", "xpack.reporting.deprecations.reportingRoles.manualStepTwo": "移除 kibana.yml 中的“xpack.reporting.roles.allow”(如果存在)。", "xpack.reporting.deprecations.reportingRoles.title": "“{fromPath}.roles”设置已过时", + "xpack.reporting.deprecations.reportingRoleUsers.description": "在未来版本中,报告权限的默认工作机制会有所不同,并且此集群的用户具有用于该权限的过时角色。在升级之前,请将“xpack.reporting.roles.enabled”设置为“false”以采用未来的行为。", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepFive": "从所有用户中移除“reporting_user”角色,然后添加定制角色。受影响的用户为:{usersRoles}。", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepFour": "通过分配新角色之一向用户授予报告权限。", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepOne": "在 kibana.yml 中将“xpack.reporting.roles.enabled”设置为“false”。", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepThree": "前往“管理”>“安全性”>“角色”以创建一个或多个针对 Reporting 授予 Kibana 应用程序权限的角色。", + "xpack.reporting.deprecations.reportingRoleUsers.manualStepTwo": "移除 kibana.yml 中的“xpack.reporting.roles.allow”(如果存在)。", + "xpack.reporting.deprecations.reportingRoleUsers.title": "“{reportingUserRoleName}”角色已过时:检查用户角色", "xpack.reporting.diagnostic.browserMissingDependency": "由于缺少系统依赖项,浏览器无法正常启动。请参见 {url}", "xpack.reporting.diagnostic.browserMissingFonts": "浏览器找不到默认字体。请参见 {url} 以解决此问题。", "xpack.reporting.diagnostic.fontconfigError": "由于缺少系统字体依赖项,浏览器无法正常启动。请参见 {url}", From ccaa831a1517a852a42b87c46b0c189368e0de4a Mon Sep 17 00:00:00 2001 From: Timothy Sullivan Date: Sun, 5 Jan 2025 11:09:06 -0700 Subject: [PATCH 7/7] Update removals from src/platform/plugins/shared/telemetry/schema/oss_plugins.json --- .../shared/telemetry/schema/oss_plugins.json | 105 ------------------ 1 file changed, 105 deletions(-) diff --git a/src/platform/plugins/shared/telemetry/schema/oss_plugins.json b/src/platform/plugins/shared/telemetry/schema/oss_plugins.json index b21cd1f9332d0..d25e9a0b9302c 100644 --- a/src/platform/plugins/shared/telemetry/schema/oss_plugins.json +++ b/src/platform/plugins/shared/telemetry/schema/oss_plugins.json @@ -1,82 +1,5 @@ { "properties": { - "files": { - "properties": { - "countByExtension": { - "type": "array", - "items": { - "properties": { - "extension": { - "type": "keyword" - }, - "count": { - "type": "long" - } - } - } - }, - "countByStatus": { - "properties": { - "AWAITING_UPLOAD": { - "type": "long", - "_meta": { - "description": "Number of files awaiting upload" - } - }, - "DELETED": { - "type": "long", - "_meta": { - "description": "Number of files that are marked as deleted" - } - }, - "READY": { - "type": "long", - "_meta": { - "description": "Number of files that are ready for download" - } - }, - "UPLOADING": { - "type": "long", - "_meta": { - "description": "Number of files that are currently uploading" - } - }, - "UPLOAD_ERROR": { - "type": "long", - "_meta": { - "description": "Number of files that failed to upload" - } - } - } - }, - "storage": { - "properties": { - "esFixedSizeIndex": { - "properties": { - "capacity": { - "type": "long", - "_meta": { - "description": "Capacity of the fixed size index" - } - }, - "available": { - "type": "long", - "_meta": { - "description": "Available storage in bytes" - } - }, - "used": { - "type": "long", - "_meta": { - "description": "Used storage in bytes" - } - } - } - } - } - } - } - }, "kql": { "properties": { "optInCount": { @@ -90,34 +13,6 @@ } } }, - "sample-data": { - "properties": { - "installed": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "last_install_date": { - "type": "date" - }, - "last_install_set": { - "type": "keyword" - }, - "last_uninstall_date": { - "type": "date" - }, - "last_uninstall_set": { - "type": "keyword" - }, - "uninstalled": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, "search": { "properties": { "successCount": {