From deb570151ee61d705aae7f848fcf8989f875996c Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Tue, 26 Nov 2024 16:12:45 +0100 Subject: [PATCH] Move 10 modules owned by @elastic/kibana-core --- .eslintrc.js | 6 +- .github/CODEOWNERS | 20 +-- .i18nrc.json | 4 +- api_docs/cloud.devdocs.json | 162 +++++++++--------- api_docs/cloud_experiments.devdocs.json | 32 ++-- api_docs/kbn_analytics.devdocs.json | 146 ++++++++-------- api_docs/kbn_analytics_client.devdocs.json | 20 +-- ...bn_analytics_collection_utils.devdocs.json | 2 +- api_docs/kbn_apm_config_loader.devdocs.json | 36 ++-- api_docs/kbn_config.devdocs.json | 158 ++++++++--------- .../kbn_core_analytics_browser.devdocs.json | 20 +-- .../kbn_core_analytics_server.devdocs.json | 20 +-- api_docs/kbn_core_http_server.devdocs.json | 8 +- ..._helpers_deprecations_getters.devdocs.json | 4 +- ...e_ui_settings_server_internal.devdocs.json | 2 +- api_docs/kbn_ebt.devdocs.json | 20 +-- ..._security_plugin_types_public.devdocs.json | 2 +- api_docs/observability_shared.devdocs.json | 2 +- docs/developer/plugin-list.asciidoc | 10 +- package.json | 20 +-- packages/kbn-ui-shared-deps-src/BUILD.bazel | 2 +- src/dev/storybook/aliases.ts | 2 +- .../analytics_collection_utils/README.md | 0 .../utils/analytics_collection_utils/index.ts | 0 .../jest.config.js | 4 +- .../analytics_collection_utils/kibana.jsonc | 0 .../analytics_collection_utils/package.json | 0 .../analytics_collection_utils/src/index.ts | 0 .../src/is_synthetics_monitor.test.ts | 0 .../src/is_synthetics_monitor.ts | 0 .../analytics_collection_utils/tsconfig.json | 2 +- .../private}/kbn-apm-config-loader/README.md | 0 .../private}/kbn-apm-config-loader/index.ts | 0 .../kbn-apm-config-loader}/jest.config.js | 4 +- .../kbn-apm-config-loader/kibana.jsonc | 0 .../kbn-apm-config-loader/package.json | 0 .../src/__fixtures__/config.yml | 0 .../src/__fixtures__/config_flat.yml | 0 .../src/__fixtures__/en_var_ref_config.yml | 0 .../src/__fixtures__/one.yml | 0 .../src/__fixtures__/two.yml | 0 .../kbn-apm-config-loader/src/apm_config.ts | 0 .../src/config.test.mocks.ts | 0 .../kbn-apm-config-loader/src/config.test.ts | 0 .../kbn-apm-config-loader/src/config.ts | 0 .../src/config_loader.test.mocks.ts | 0 .../src/config_loader.test.ts | 0 .../src/config_loader.ts | 0 .../src/init_apm.test.mocks.ts | 0 .../src/init_apm.test.ts | 0 .../kbn-apm-config-loader/src/init_apm.ts | 0 .../src/rum_agent_configuration.test.ts | 0 .../src/rum_agent_configuration.ts | 0 .../__snapshots__/read_config.test.ts.snap | 0 .../src/utils/apply_config_overrides.test.ts | 0 .../src/utils/apply_config_overrides.ts | 0 .../src/utils/get_config_file_paths.test.ts | 0 .../src/utils/get_config_file_paths.ts | 0 .../kbn-apm-config-loader/src/utils/index.ts | 0 .../src/utils/read_argv.test.ts | 0 .../src/utils/read_argv.ts | 0 .../src/utils/read_config.test.ts | 0 .../src/utils/read_config.ts | 0 .../kbn-apm-config-loader/tsconfig.json | 2 +- .../packages/shared}/cloud/.storybook/main.js | 0 .../platform/packages/shared}/cloud/README.md | 0 .../copy_input/copy_input.stories.tsx | 0 .../components/copy_input/copy_input.tsx | 0 .../components/copy_input/index.ts | 0 .../fancy_select/fancy_select.stories.tsx | 0 .../components/fancy_select/fancy_select.tsx | 0 .../components/fancy_select/index.ts | 0 .../components/fancy_select/types.ts | 0 .../components/spa_no_router_link/index.ts | 0 .../spa_no_router_link/spa_no_router_link.tsx | 0 .../connection_details.stories.tsx | 0 .../connection_details/connection_details.tsx | 0 ...nection_details_flyout_content.stories.tsx | 0 .../connection_details_flyout_content.tsx | 0 .../cloud/connection_details/context/index.ts | 0 .../connection_details/context/options.tsx | 0 .../connection_details/context/service.tsx | 0 .../hooks/use_async_memo.ts | 0 .../hooks/use_behavior_subject.ts | 0 .../shared}/cloud/connection_details/index.ts | 0 .../cloud/connection_details/kibana/global.ts | 0 .../cloud/connection_details/kibana/index.ts | 0 .../kibana_connection_details_provider.tsx | 0 ...bana_wired_connection_details_provider.tsx | 0 .../kibana/open_connection_details.tsx | 0 .../kibana/open_wired_connection_details.tsx | 0 .../cloud/connection_details/service.ts | 0 .../cloud/connection_details/stories.tsx | 0 .../shared}/cloud/connection_details/tabs.tsx | 0 .../api_keys_tab/api_keys_tab.stories.tsx | 0 .../tabs/api_keys_tab/api_keys_tab.tsx | 0 .../components/manage_keys_link.tsx | 0 .../tabs/api_keys_tab/index.ts | 0 .../configuration_form/configuration_form.tsx | 0 .../configuration_form_controlled.tsx | 0 .../views/configuration_form/index.tsx | 0 .../views/missing_permissions_panel.tsx | 0 .../views/success_form/format_select.tsx | 0 .../api_keys_tab/views/success_form/index.tsx | 0 .../views/success_form/success_form.tsx | 0 .../success_form_controlled.stories.tsx | 0 .../success_form/success_form_controlled.tsx | 0 .../api_keys_tab/views/success_form/types.tsx | 0 .../endpoints_tab/endpoint_tab.stories.tsx | 0 .../tabs/endpoints_tab/endpoints_tab.tsx | 0 .../tabs/endpoints_tab/index.ts | 0 .../rows/cloud_id_row/cloud_id_row.tsx | 0 .../endpoints_tab/rows/cloud_id_row/index.ts | 0 .../endpoints_tab/rows/cloud_id_row/label.tsx | 0 .../endpoints_tab/rows/endpoints_url_row.tsx | 0 .../shared}/cloud/connection_details/types.ts | 0 .../deployment_details/deployment_details.tsx | 0 .../deployment_details_cloudid_input.tsx | 0 .../deployment_details_es_input.tsx | 0 .../deployment_details_modal.tsx | 0 .../shared}/cloud/deployment_details/index.ts | 0 .../cloud/deployment_details/services.tsx | 0 .../packages/shared/cloud}/jest.config.js | 4 +- .../packages/shared}/cloud/kibana.jsonc | 0 .../packages/shared}/cloud/package.json | 0 .../packages/shared}/cloud/tsconfig.json | 2 +- .../shared}/kbn-analytics/BUILD.bazel | 0 .../packages/shared}/kbn-analytics/README.md | 7 +- .../packages/shared}/kbn-analytics/index.ts | 0 .../shared}/kbn-analytics/kibana.jsonc | 0 .../shared}/kbn-analytics/package.json | 0 .../src/application_usage_tracker.ts | 0 .../src/metrics/application_usage.ts | 0 .../kbn-analytics/src/metrics/index.ts | 0 .../kbn-analytics/src/metrics/ui_counter.ts | 0 .../kbn-analytics/src/metrics/user_agent.ts | 0 .../shared}/kbn-analytics/src/report.ts | 0 .../shared}/kbn-analytics/src/reporter.ts | 0 .../shared}/kbn-analytics/src/storage.ts | 0 .../shared}/kbn-analytics/src/util.ts | 0 .../shared}/kbn-analytics/tsconfig.json | 2 +- .../packages/shared}/kbn-config/README.md | 0 .../packages/shared}/kbn-config/index.ts | 0 .../shared/kbn-config}/jest.config.js | 4 +- .../packages/shared}/kbn-config/kibana.jsonc | 0 .../packages/shared}/kbn-config/package.json | 0 .../kbn-config/src/__fixtures__/config.yml | 0 .../src/__fixtures__/config_flat.yml | 0 .../src/__fixtures__/en_var_ref_config.yml | 0 .../__fixtures__/en_var_ref_config_nested.yml | 0 .../src/__fixtures__/en_var_with_defaults.yml | 0 .../src/__fixtures__/forbidden_1.yml | 0 .../src/__fixtures__/forbidden_2.yml | 0 .../kbn-config/src/__fixtures__/merge_1.yml | 0 .../kbn-config/src/__fixtures__/merge_2.yml | 0 .../kbn-config/src/__fixtures__/one.yml | 0 .../kbn-config/src/__fixtures__/two.yml | 0 .../src/__fixtures__/unsplittable_1.yml | 0 .../src/__fixtures__/unsplittable_2.yml | 1 - .../src/__fixtures__/unsplittable_3.yml | 1 - .../__snapshots__/config_service.test.ts.snap | 0 .../src/__snapshots__/env.test.ts.snap | 0 .../shared}/kbn-config/src/apply_argv.test.ts | 0 .../shared}/kbn-config/src/config.test.ts | 0 .../packages/shared}/kbn-config/src/config.ts | 0 .../src/config_service.test.mocks.ts | 2 +- .../kbn-config/src/config_service.test.ts | 0 .../shared}/kbn-config/src/config_service.ts | 0 .../deprecation/apply_deprecations.test.ts | 0 .../src/deprecation/apply_deprecations.ts | 0 .../deprecation/deprecation_factory.test.ts | 0 .../src/deprecation/deprecation_factory.ts | 0 .../kbn-config/src/deprecation/index.ts | 0 .../kbn-config/src/deprecation/types.ts | 0 .../unset_and_clean_empty_parent.test.ts | 0 .../unset_and_clean_empty_parent.ts | 0 .../shared}/kbn-config/src/env.test.mocks.ts | 0 .../shared}/kbn-config/src/env.test.ts | 0 .../packages/shared}/kbn-config/src/env.ts | 0 .../shared}/kbn-config/src/internal_mocks.ts | 0 .../src/object_to_config_adapter.test.ts | 0 .../src/object_to_config_adapter.ts | 0 .../__snapshots__/read_config.test.ts.snap | 0 .../shared}/kbn-config/src/raw/index.ts | 0 .../src/raw/raw_config_service.test.mocks.ts | 0 .../src/raw/raw_config_service.test.ts | 0 .../kbn-config/src/raw/raw_config_service.ts | 0 .../kbn-config/src/raw/read_config.test.ts | 0 .../shared}/kbn-config/src/raw/read_config.ts | 0 .../shared}/kbn-config/src/raw/utils.test.ts | 0 .../shared}/kbn-config/src/raw/utils.ts | 0 .../packages/shared}/kbn-config/src/types.ts | 0 .../packages/shared}/kbn-config/tsconfig.json | 2 +- tsconfig.base.json | 40 ++--- x-pack/.i18nrc.json | 4 +- .../cloud_integrations/cloud_chat/README.md | 0 .../cloud_chat/kibana.jsonc | 0 .../cloud_chat/server/config.ts | 0 .../cloud_chat/server/index.ts | 0 .../cloud_chat/tsconfig.json | 4 +- .../cloud_full_story/.i18nrc.json | 0 .../cloud_full_story/README.md | 0 .../cloud_full_story/jest.config.js | 8 +- .../cloud_full_story/kibana.jsonc | 0 .../cloud_full_story/public/index.ts | 0 .../cloud_full_story/public/plugin.test.ts | 0 .../cloud_full_story/public/plugin.ts | 0 .../server/assets/fullstory_library.js | 0 .../cloud_full_story/server/config.test.ts | 0 .../cloud_full_story/server/config.ts | 0 .../cloud_full_story/server/index.ts | 0 .../server/plugin.test.mock.ts | 0 .../cloud_full_story/server/plugin.test.ts | 0 .../cloud_full_story/server/plugin.ts | 0 .../server/routes/fullstory.test.ts | 0 .../server/routes/fullstory.ts | 0 .../cloud_full_story/server/routes/index.ts | 0 .../cloud_full_story/tsconfig.json | 4 +- .../cloud_integrations/cloud_links/README.md | 0 .../cloud_links}/jest.config.js | 8 +- .../cloud_links/kibana.jsonc | 0 .../cloud_links/public/index.ts | 0 .../maybe_add_cloud_links.test.ts.snap | 0 .../connection_details_modal.tsx | 0 .../maybe_add_cloud_links/help_menu_links.tsx | 0 .../public/maybe_add_cloud_links/index.ts | 0 .../maybe_add_cloud_links.test.ts | 0 .../maybe_add_cloud_links.ts | 0 .../theme_darkmode_hook.ts | 0 .../theme_darkmode_toggle.test.tsx | 0 .../theme_darkmode_toggle.tsx | 0 .../maybe_add_cloud_links/user_menu_links.tsx | 0 .../cloud_links/public/plugin.test.mocks.ts | 0 .../cloud_links/public/plugin.test.ts | 0 .../cloud_links/public/plugin.tsx | 0 .../cloud_links/tsconfig.json | 4 +- .../plugins/shared}/cloud/README.md | 0 .../plugins/shared}/cloud/common/constants.ts | 0 .../cloud/common/decode_cloud_id.test.ts | 0 .../shared}/cloud/common/decode_cloud_id.ts | 0 .../cloud/common/is_cloud_enabled.test.ts | 0 .../shared}/cloud/common/is_cloud_enabled.ts | 0 ..._deployment_id_from_deployment_url.test.ts | 0 ...parse_deployment_id_from_deployment_url.ts | 0 .../parse_onboarding_default_solution.test.ts | 0 .../parse_onboarding_default_solution.ts | 0 ...ud_deployment_id_analytics_context.test.ts | 0 ...r_cloud_deployment_id_analytics_context.ts | 0 .../plugins/shared}/cloud/common/types.ts | 0 .../plugins/shared}/cloud/common/utils.ts | 0 .../plugins/shared}/cloud/jest.config.js | 8 +- .../plugins/shared}/cloud/kibana.jsonc | 0 .../plugins/shared}/cloud/public/index.ts | 0 .../plugins/shared}/cloud/public/mocks.tsx | 0 .../shared}/cloud/public/plugin.test.mocks.ts | 0 .../shared}/cloud/public/plugin.test.ts | 0 .../plugins/shared}/cloud/public/plugin.tsx | 0 .../plugins/shared}/cloud/public/types.ts | 0 .../plugins/shared}/cloud/public/utils.ts | 0 .../server/__snapshots__/plugin.test.ts.snap | 0 .../collectors/cloud_usage_collector.test.ts | 0 .../collectors/cloud_usage_collector.ts | 0 .../shared}/cloud/server/collectors/index.ts | 0 .../shared}/cloud/server/config.test.ts | 0 .../plugins/shared}/cloud/server/config.ts | 0 .../plugins/shared}/cloud/server/env.ts | 0 .../plugins/shared}/cloud/server/index.ts | 0 .../plugins/shared}/cloud/server/mocks.ts | 0 .../shared}/cloud/server/plugin.test.mocks.ts | 0 .../shared}/cloud/server/plugin.test.ts | 0 .../plugins/shared}/cloud/server/plugin.ts | 0 .../shared}/cloud/server/routes/constants.ts | 0 .../server/routes/elasticsearch_route.ts | 0 .../server/routes/get_cloud_data_route.ts | 0 .../shared}/cloud/server/routes/index.ts | 0 .../routes/set_cloud_data_route.test.ts | 0 .../server/routes/set_cloud_data_route.ts | 0 .../shared}/cloud/server/routes/types.ts | 0 .../cloud/server/saved_objects/index.ts | 0 .../cloud_data_model_versions.ts | 0 .../saved_objects/model_versions/index.ts | 0 .../plugins/shared}/cloud/tsconfig.json | 4 +- .../cloud_experiments/README.mdx | 4 +- .../common/metadata_service/index.ts | 0 .../metadata_service/initialize_metadata.ts | 0 .../metadata_service/metadata_service.test.ts | 0 .../metadata_service/metadata_service.ts | 0 .../metadata_service/remove_undefined.ts | 0 .../cloud_experiments}/jest.config.js | 8 +- .../cloud_experiments/kibana.jsonc | 0 .../cloud_experiments/public/index.ts | 0 .../cloud_experiments/public/plugin.test.ts | 0 .../cloud_experiments/public/plugin.ts | 0 .../cloud_experiments/server/config.test.ts | 0 .../cloud_experiments/server/config.ts | 0 .../cloud_experiments/server/index.ts | 0 .../cloud_experiments/server/plugin.test.ts | 0 .../cloud_experiments/server/plugin.ts | 0 .../cloud_experiments/server/usage/index.ts | 0 .../usage/register_usage_collector.test.ts | 0 .../server/usage/register_usage_collector.ts | 0 .../cloud_experiments/tsconfig.json | 4 +- .../schema/xpack_plugins.json | 83 --------- yarn.lock | 20 +-- 304 files changed, 426 insertions(+), 512 deletions(-) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/README.md (100%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/index.ts (100%) rename {packages/kbn-config => src/platform/packages/private/analytics/utils/analytics_collection_utils}/jest.config.js (79%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/package.json (100%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/src/index.ts (100%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.test.ts (100%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.ts (100%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/tsconfig.json (80%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/README.md (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/index.ts (100%) rename {packages/analytics/utils/analytics_collection_utils => src/platform/packages/private/kbn-apm-config-loader}/jest.config.js (83%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/package.json (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/__fixtures__/config.yml (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/__fixtures__/config_flat.yml (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/__fixtures__/en_var_ref_config.yml (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/__fixtures__/one.yml (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/__fixtures__/two.yml (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/apm_config.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/config.test.mocks.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/config.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/config.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/config_loader.test.mocks.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/config_loader.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/config_loader.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/init_apm.test.mocks.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/init_apm.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/init_apm.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/rum_agent_configuration.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/rum_agent_configuration.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/__snapshots__/read_config.test.ts.snap (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/apply_config_overrides.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/apply_config_overrides.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/get_config_file_paths.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/get_config_file_paths.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/read_argv.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/read_argv.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/read_config.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/read_config.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/tsconfig.json (85%) rename {packages => src/platform/packages/shared}/cloud/.storybook/main.js (100%) rename {packages => src/platform/packages/shared}/cloud/README.md (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/copy_input/copy_input.stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/copy_input/copy_input.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/copy_input/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/fancy_select/fancy_select.stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/fancy_select/fancy_select.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/fancy_select/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/fancy_select/types.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/spa_no_router_link/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/spa_no_router_link/spa_no_router_link.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/connection_details.stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/connection_details.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/connection_details_flyout_content.stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/connection_details_flyout_content.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/context/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/context/options.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/context/service.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/hooks/use_async_memo.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/hooks/use_behavior_subject.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/kibana/global.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/kibana/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/kibana/kibana_connection_details_provider.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/kibana/kibana_wired_connection_details_provider.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/kibana/open_connection_details.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/kibana/open_wired_connection_details.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/service.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/components/manage_keys_link.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form_controlled.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/index.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/missing_permissions_panel.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/success_form/format_select.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/success_form/index.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/success_form/types.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/endpoints_tab/endpoint_tab.stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/endpoints_tab/endpoints_tab.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/endpoints_tab/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/cloud_id_row.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/label.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/endpoints_tab/rows/endpoints_url_row.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/types.ts (100%) rename {packages => src/platform/packages/shared}/cloud/deployment_details/deployment_details.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/deployment_details/deployment_details_cloudid_input.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/deployment_details/deployment_details_es_input.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/deployment_details/deployment_details_modal.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/deployment_details/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/deployment_details/services.tsx (100%) rename {packages/kbn-apm-config-loader => src/platform/packages/shared/cloud}/jest.config.js (85%) rename {packages => src/platform/packages/shared}/cloud/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/cloud/package.json (100%) rename {packages => src/platform/packages/shared}/cloud/tsconfig.json (89%) rename {packages => src/platform/packages/shared}/kbn-analytics/BUILD.bazel (100%) rename {packages => src/platform/packages/shared}/kbn-analytics/README.md (87%) rename {packages => src/platform/packages/shared}/kbn-analytics/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-analytics/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-analytics/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-analytics/src/application_usage_tracker.ts (100%) rename {packages => src/platform/packages/shared}/kbn-analytics/src/metrics/application_usage.ts (100%) rename {packages => src/platform/packages/shared}/kbn-analytics/src/metrics/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-analytics/src/metrics/ui_counter.ts (100%) rename {packages => src/platform/packages/shared}/kbn-analytics/src/metrics/user_agent.ts (100%) rename {packages => src/platform/packages/shared}/kbn-analytics/src/report.ts (100%) rename {packages => src/platform/packages/shared}/kbn-analytics/src/reporter.ts (100%) rename {packages => src/platform/packages/shared}/kbn-analytics/src/storage.ts (100%) rename {packages => src/platform/packages/shared}/kbn-analytics/src/util.ts (100%) rename {packages => src/platform/packages/shared}/kbn-analytics/tsconfig.json (82%) rename {packages => src/platform/packages/shared}/kbn-config/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-config/index.ts (100%) rename {packages/cloud => src/platform/packages/shared/kbn-config}/jest.config.js (84%) rename {packages => src/platform/packages/shared}/kbn-config/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-config/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/config.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/config_flat.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/en_var_ref_config.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/en_var_ref_config_nested.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/en_var_with_defaults.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/forbidden_1.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/forbidden_2.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/merge_1.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/merge_2.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/one.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/two.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/unsplittable_1.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/unsplittable_2.yml (98%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/unsplittable_3.yml (99%) rename {packages => src/platform/packages/shared}/kbn-config/src/__snapshots__/config_service.test.ts.snap (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__snapshots__/env.test.ts.snap (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/apply_argv.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/config.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/config.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/config_service.test.mocks.ts (95%) rename {packages => src/platform/packages/shared}/kbn-config/src/config_service.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/config_service.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/deprecation/apply_deprecations.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/deprecation/apply_deprecations.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/deprecation/deprecation_factory.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/deprecation/deprecation_factory.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/deprecation/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/deprecation/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/deprecation/unset_and_clean_empty_parent.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/deprecation/unset_and_clean_empty_parent.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/env.test.mocks.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/env.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/env.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/internal_mocks.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/object_to_config_adapter.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/object_to_config_adapter.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/raw/__snapshots__/read_config.test.ts.snap (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/raw/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/raw/raw_config_service.test.mocks.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/raw/raw_config_service.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/raw/raw_config_service.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/raw/read_config.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/raw/read_config.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/raw/utils.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/raw/utils.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/tsconfig.json (89%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_chat/README.md (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_chat/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_chat/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_chat/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_chat/tsconfig.json (77%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/.i18nrc.json (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/README.md (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/jest.config.js (51%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/assets/fullstory_library.js (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/plugin.test.mock.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/routes/fullstory.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/routes/fullstory.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/tsconfig.json (77%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/README.md (100%) rename x-pack/{plugins/cloud_integrations/cloud_experiments => platform/plugins/private/cloud_integrations/cloud_links}/jest.config.js (52%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/__snapshots__/maybe_add_cloud_links.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/connection_details_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/help_menu_links.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_hook.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/user_menu_links.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/plugin.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/tsconfig.json (87%) rename x-pack/{plugins => platform/plugins/shared}/cloud/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/decode_cloud_id.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/decode_cloud_id.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/is_cloud_enabled.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/is_cloud_enabled.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/parse_deployment_id_from_deployment_url.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/parse_deployment_id_from_deployment_url.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/parse_onboarding_default_solution.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/parse_onboarding_default_solution.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/register_cloud_deployment_id_analytics_context.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/register_cloud_deployment_id_analytics_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/jest.config.js (62%) rename x-pack/{plugins => platform/plugins/shared}/cloud/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/public/mocks.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/public/plugin.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/public/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/public/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/__snapshots__/plugin.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/collectors/cloud_usage_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/collectors/cloud_usage_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/collectors/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/env.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/plugin.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/routes/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/routes/elasticsearch_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/routes/get_cloud_data_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/routes/set_cloud_data_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/routes/set_cloud_data_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/routes/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/saved_objects/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/saved_objects/model_versions/cloud_data_model_versions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/saved_objects/model_versions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/tsconfig.json (82%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/README.mdx (97%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/common/metadata_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/common/metadata_service/initialize_metadata.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/common/metadata_service/metadata_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/common/metadata_service/metadata_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/common/metadata_service/remove_undefined.ts (100%) rename x-pack/{plugins/cloud_integrations/cloud_links => platform/plugins/shared/cloud_integrations/cloud_experiments}/jest.config.js (51%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/usage/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/tsconfig.json (86%) diff --git a/.eslintrc.js b/.eslintrc.js index 7ff37b0c9fd98..8df932a24f04e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1891,7 +1891,7 @@ module.exports = { */ { files: [ - 'packages/kbn-analytics/**', + 'src/platform/packages/shared/kbn-analytics/**', // 'packages/kbn-telemetry-tools/**', 'src/plugins/kibana_usage_collection/**', 'src/plugins/usage_collection/**', @@ -1911,11 +1911,11 @@ module.exports = { 'x-pack/plugins/features/**', 'x-pack/plugins/licensing/**', 'x-pack/plugins/global_search/**', - 'x-pack/plugins/cloud/**', + 'x-pack/platform/plugins/shared/cloud/**', 'packages/kbn-config-schema', 'src/plugins/status_page/**', 'src/plugins/saved_objects_management/**', - 'packages/kbn-analytics/**', + 'src/platform/packages/shared/kbn-analytics/**', 'packages/kbn-telemetry-tools/**', 'src/plugins/kibana_usage_collection/**', 'src/plugins/usage_collection/**', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 18c0d17dad25b..7573fd481e396 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -42,8 +42,6 @@ examples/unified_doc_viewer @elastic/kibana-core examples/unified_field_list_examples @elastic/kibana-data-discovery examples/user_profile_examples @elastic/kibana-security examples/v8_profiler_examples @elastic/response-ops -packages/analytics/utils/analytics_collection_utils @elastic/kibana-core -packages/cloud @elastic/kibana-core packages/content-management/content_editor @elastic/appex-sharedux packages/content-management/content_insights/content_insights_public @elastic/appex-sharedux packages/content-management/content_insights/content_insights_server @elastic/appex-sharedux @@ -286,8 +284,6 @@ packages/kbn-ambient-common-types @elastic/kibana-operations packages/kbn-ambient-ftr-types @elastic/kibana-operations @elastic/appex-qa packages/kbn-ambient-storybook-types @elastic/kibana-operations packages/kbn-ambient-ui-types @elastic/kibana-operations -packages/kbn-analytics @elastic/kibana-core -packages/kbn-apm-config-loader @elastic/kibana-core @vigneshshanmugam packages/kbn-apm-data-view @elastic/obs-ux-infra_services-team packages/kbn-apm-synthtrace @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team packages/kbn-apm-synthtrace-client @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team @@ -316,7 +312,6 @@ packages/kbn-ci-stats-shipper-cli @elastic/kibana-operations packages/kbn-cli-dev-mode @elastic/kibana-operations packages/kbn-code-owners @elastic/appex-qa packages/kbn-coloring @elastic/kibana-visualizations -packages/kbn-config @elastic/kibana-core packages/kbn-config-mocks @elastic/kibana-core packages/kbn-config-schema @elastic/kibana-core packages/kbn-content-management-utils @elastic/kibana-data-discovery @@ -618,6 +613,11 @@ packages/shared-ux/storybook/config @elastic/appex-sharedux packages/shared-ux/storybook/mock @elastic/appex-sharedux packages/shared-ux/table_persist @elastic/appex-sharedux src/core @elastic/kibana-core +src/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core +src/platform/packages/private/kbn-apm-config-loader @elastic/kibana-core @vigneshshanmugam +src/platform/packages/shared/cloud @elastic/kibana-core +src/platform/packages/shared/kbn-analytics @elastic/kibana-core +src/platform/packages/shared/kbn-config @elastic/kibana-core src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/ai_assistant_management/selection @elastic/obs-knowledge-team src/plugins/bfetch @elastic/appex-sharedux @@ -859,6 +859,11 @@ 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/plugins/private/cloud_integrations/cloud_chat @elastic/kibana-core +x-pack/platform/plugins/private/cloud_integrations/cloud_full_story @elastic/kibana-core +x-pack/platform/plugins/private/cloud_integrations/cloud_links @elastic/kibana-core +x-pack/platform/plugins/shared/cloud @elastic/kibana-core +x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments @elastic/kibana-core x-pack/plugins/actions @elastic/response-ops x-pack/plugins/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/plugins/ai_infra/product_doc_base @elastic/appex-ai-infra @@ -867,13 +872,8 @@ x-pack/plugins/alerting @elastic/response-ops x-pack/plugins/banners @elastic/appex-sharedux x-pack/plugins/canvas @elastic/kibana-presentation x-pack/plugins/cases @elastic/response-ops -x-pack/plugins/cloud @elastic/kibana-core x-pack/plugins/cloud_defend @elastic/kibana-cloud-security-posture -x-pack/plugins/cloud_integrations/cloud_chat @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_data_migration @elastic/kibana-management -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/cloud_security_posture @elastic/kibana-cloud-security-posture x-pack/plugins/cross_cluster_replication @elastic/kibana-management x-pack/plugins/custom_branding @elastic/appex-sharedux diff --git a/.i18nrc.json b/.i18nrc.json index 5c7642e6283eb..b3ec08106e6a8 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -19,7 +19,7 @@ "customIntegrations": "src/plugins/custom_integrations", "customIntegrationsPackage": "packages/kbn-custom-integrations", "dashboard": "src/plugins/dashboard", - "cloud": "packages/cloud", + "cloud": "src/platform/packages/shared/cloud", "domDragDrop": "packages/kbn-dom-drag-drop", "controls": "src/plugins/controls", "data": "src/plugins/data", @@ -77,7 +77,7 @@ "imageEmbeddable": "src/plugins/image_embeddable", "kbn": "src/legacy/core_plugins/kibana", "kbn-esql-validation-autocomplete": "packages/kbn-esql-validation-autocomplete/src", - "kbnConfig": "packages/kbn-config/src", + "kbnConfig": "src/platform/packages/shared/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", diff --git a/api_docs/cloud.devdocs.json b/api_docs/cloud.devdocs.json index 354f3b99d8c05..90d4943bc48f1 100644 --- a/api_docs/cloud.devdocs.json +++ b/api_docs/cloud.devdocs.json @@ -11,7 +11,7 @@ "tags": [], "label": "CloudConfigType", "description": [], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -25,7 +25,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -39,7 +39,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -53,7 +53,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -67,7 +67,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -81,7 +81,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -95,7 +95,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -109,7 +109,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -123,7 +123,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -137,7 +137,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -151,7 +151,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -165,7 +165,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -179,7 +179,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -193,7 +193,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -207,7 +207,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -221,7 +221,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -235,7 +235,7 @@ "signature": [ "{ default_solution?: string | undefined; } | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -249,7 +249,7 @@ "signature": [ "{ project_id: string; project_name?: string | undefined; project_type?: string | undefined; orchestrator_target?: string | undefined; } | undefined" ], - "path": "x-pack/plugins/cloud/public/plugin.tsx", + "path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx", "deprecated": false, "trackAdoption": false } @@ -263,7 +263,7 @@ "tags": [], "label": "CloudStart", "description": [], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -279,7 +279,7 @@ "signature": [ "React.FunctionComponent<{ children?: React.ReactNode; }>" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -323,7 +323,7 @@ "description": [ "\n`true` when Kibana is running on Elastic Cloud." ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -339,7 +339,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -355,7 +355,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -371,7 +371,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -387,7 +387,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -403,7 +403,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -419,7 +419,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -435,7 +435,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -451,7 +451,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -467,7 +467,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -485,7 +485,7 @@ "PublicElasticsearchConfigType", ">" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -503,7 +503,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -516,7 +516,7 @@ "description": [ "\n`true` when running on Serverless Elastic Cloud\nNote that `isCloudEnabled` will always be true when `isServerlessEnabled` is." ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -532,7 +532,7 @@ "signature": [ "{ projectId?: string | undefined; projectName?: string | undefined; projectType?: string | undefined; }" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -550,7 +550,7 @@ "tags": [], "label": "CloudSetup", "description": [], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -566,7 +566,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -582,7 +582,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -598,7 +598,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -614,7 +614,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -632,7 +632,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -648,7 +648,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -664,7 +664,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -680,7 +680,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -696,7 +696,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -712,7 +712,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -728,7 +728,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -746,7 +746,7 @@ "PublicElasticsearchConfigType", ">" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -764,7 +764,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -780,7 +780,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -796,7 +796,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -809,7 +809,7 @@ "description": [ "\n`true` when Kibana is running on Elastic Cloud." ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -825,7 +825,7 @@ "signature": [ "Date | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -841,7 +841,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -857,7 +857,7 @@ "signature": [ "(contextProvider: React.FC<{}>) => void" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -873,7 +873,7 @@ "signature": [ "React.FC<{}>" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -901,7 +901,7 @@ }, " | undefined; }" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -914,7 +914,7 @@ "description": [ "\n`true` when running on Serverless Elastic Cloud\nNote that `isCloudEnabled` will always be true when `isServerlessEnabled` is." ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -930,7 +930,7 @@ "signature": [ "{ projectId?: string | undefined; projectName?: string | undefined; projectType?: string | undefined; orchestratorTarget?: string | undefined; }" ], - "path": "x-pack/plugins/cloud/public/types.ts", + "path": "x-pack/platform/plugins/shared/cloud/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -955,7 +955,7 @@ "description": [ "\nSetup contract" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -973,7 +973,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -991,7 +991,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1007,7 +1007,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1023,7 +1023,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1039,7 +1039,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1055,7 +1055,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1071,7 +1071,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1087,7 +1087,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1103,7 +1103,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1119,7 +1119,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1132,7 +1132,7 @@ "description": [ "\nThis is set to `true` for both ESS and ECE deployments." ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1148,7 +1148,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1164,7 +1164,7 @@ "signature": [ "Date | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1180,7 +1180,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1196,7 +1196,7 @@ "signature": [ "{ url?: string | undefined; secretToken?: string | undefined; }" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1220,7 +1220,7 @@ }, " | undefined; }" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1233,7 +1233,7 @@ "description": [ "\n`true` when running on Serverless Elastic Cloud\nNote that `isCloudEnabled` will always be true when `isServerlessEnabled` is." ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1251,7 +1251,7 @@ "signature": [ "{ projectId?: string | undefined; projectName?: string | undefined; projectType?: string | undefined; orchestratorTarget?: string | undefined; }" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -1268,7 +1268,7 @@ "description": [ "\nStart contract" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1281,7 +1281,7 @@ "description": [ "\nThis is set to `true` for both ESS and ECE deployments." ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1297,7 +1297,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1313,7 +1313,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cloud/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/cloud_experiments.devdocs.json b/api_docs/cloud_experiments.devdocs.json index 015acb06998c8..c9dced5dd15b6 100644 --- a/api_docs/cloud_experiments.devdocs.json +++ b/api_docs/cloud_experiments.devdocs.json @@ -39,7 +39,7 @@ }, "" ], - "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", + "path": "x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -55,7 +55,7 @@ "signature": [ "never" ], - "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", + "path": "x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -71,7 +71,7 @@ "signature": [ "Data | undefined" ], - "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", + "path": "x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -87,7 +87,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", + "path": "x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -105,7 +105,7 @@ "description": [ "\nThe contract of the start lifecycle method\n" ], - "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", + "path": "x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/types.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -119,11 +119,11 @@ }, { "plugin": "cloudChat", - "path": "x-pack/plugins/cloud_integrations/cloud_chat/server/plugin.ts" + "path": "x-pack/platform/plugins/private/cloud_integrations/cloud_chat/server/plugin.ts" }, { "plugin": "cloudChat", - "path": "x-pack/plugins/cloud_integrations/cloud_chat/server/plugin.ts" + "path": "x-pack/platform/plugins/private/cloud_integrations/cloud_chat/server/plugin.ts" }, { "plugin": "observabilityOnboarding", @@ -149,17 +149,17 @@ "signature": [ "(featureFlagName: \"security-solutions.add-integrations-url\" | \"cloud-chat.enabled\" | \"cloud-chat.chat-variant\" | \"observability_onboarding.experimental_onboarding_flow_enabled\", defaultValue: Data) => Promise" ], - "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", + "path": "x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/types.ts", "deprecated": true, "trackAdoption": false, "references": [ { "plugin": "cloudChat", - "path": "x-pack/plugins/cloud_integrations/cloud_chat/server/plugin.ts" + "path": "x-pack/platform/plugins/private/cloud_integrations/cloud_chat/server/plugin.ts" }, { "plugin": "cloudChat", - "path": "x-pack/plugins/cloud_integrations/cloud_chat/server/plugin.ts" + "path": "x-pack/platform/plugins/private/cloud_integrations/cloud_chat/server/plugin.ts" } ], "children": [ @@ -175,7 +175,7 @@ "signature": [ "\"security-solutions.add-integrations-url\" | \"cloud-chat.enabled\" | \"cloud-chat.chat-variant\" | \"observability_onboarding.experimental_onboarding_flow_enabled\"" ], - "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", + "path": "x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -192,7 +192,7 @@ "signature": [ "Data" ], - "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", + "path": "x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -222,7 +222,7 @@ }, ") => void" ], - "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", + "path": "x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/types.ts", "deprecated": true, "trackAdoption": false, "references": [], @@ -246,7 +246,7 @@ }, "" ], - "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", + "path": "x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -272,7 +272,7 @@ "signature": [ "\"security-solutions.add-integrations-url\" | \"cloud-chat.enabled\" | \"cloud-chat.chat-variant\" | \"observability_onboarding.experimental_onboarding_flow_enabled\"" ], - "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", + "path": "x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -289,7 +289,7 @@ "signature": [ "never" ], - "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", + "path": "x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_analytics.devdocs.json b/api_docs/kbn_analytics.devdocs.json index 84f8e914f812f..6c5566c4b3a7d 100644 --- a/api_docs/kbn_analytics.devdocs.json +++ b/api_docs/kbn_analytics.devdocs.json @@ -25,7 +25,7 @@ "tags": [], "label": "ApplicationUsageTracker", "description": [], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39,7 +39,7 @@ "signature": [ "any" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -59,7 +59,7 @@ "text": "Reporter" } ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -77,7 +77,7 @@ "signature": [ "({ appId, viewId }: ApplicationKey) => string" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -91,7 +91,7 @@ "signature": [ "ApplicationKey" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -109,7 +109,7 @@ "signature": [ "(viewId: string) => void" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -123,7 +123,7 @@ "signature": [ "string" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -141,7 +141,7 @@ "signature": [ "() => void" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -157,7 +157,7 @@ "signature": [ "() => void" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -173,7 +173,7 @@ "signature": [ "(appId: string) => void" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -187,7 +187,7 @@ "signature": [ "string" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -205,7 +205,7 @@ "signature": [ "(viewId: string) => void" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -219,7 +219,7 @@ "signature": [ "string" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -237,7 +237,7 @@ "signature": [ "() => void" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -253,7 +253,7 @@ "signature": [ "() => void" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -269,7 +269,7 @@ "signature": [ "(viewId: string) => void" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -283,7 +283,7 @@ "signature": [ "string" ], - "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -301,7 +301,7 @@ "tags": [], "label": "Reporter", "description": [], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -312,7 +312,7 @@ "tags": [], "label": "checkInterval", "description": [], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false }, @@ -326,7 +326,7 @@ "signature": [ "any" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -346,7 +346,7 @@ "text": "ReporterConfig" } ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -364,7 +364,7 @@ "signature": [ "() => void" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -380,7 +380,7 @@ "signature": [ "(appName: string, type: string, eventNames: string | string[], count?: number | undefined) => void" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -394,7 +394,7 @@ "signature": [ "string" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -409,7 +409,7 @@ "signature": [ "string" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -424,7 +424,7 @@ "signature": [ "string | string[]" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -439,7 +439,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -457,7 +457,7 @@ "signature": [ "(appName: string) => void" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -471,7 +471,7 @@ "signature": [ "string" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -491,7 +491,7 @@ "ApplicationUsageMetric", ") => void" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -505,7 +505,7 @@ "signature": [ "ApplicationUsageMetric" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -523,7 +523,7 @@ "signature": [ "() => Promise" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -539,7 +539,7 @@ "tags": [], "label": "ReportManager", "description": [], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -550,7 +550,7 @@ "tags": [], "label": "REPORT_VERSION", "description": [], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false }, @@ -570,7 +570,7 @@ "text": "Report" } ], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false }, @@ -584,7 +584,7 @@ "signature": [ "any" ], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -605,7 +605,7 @@ }, " | undefined" ], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -630,7 +630,7 @@ "text": "Report" } ], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -646,7 +646,7 @@ "signature": [ "() => void" ], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -662,7 +662,7 @@ "signature": [ "() => boolean" ], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -690,7 +690,7 @@ }, "; }" ], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -707,7 +707,7 @@ "Metric", "[]" ], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -727,7 +727,7 @@ "Metric", ") => string" ], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -741,7 +741,7 @@ "signature": [ "Metric" ], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -762,7 +762,7 @@ "tags": [], "label": "Report", "description": [], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -776,7 +776,7 @@ "signature": [ "3" ], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false }, @@ -790,7 +790,7 @@ "signature": [ "Record | undefined" ], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false }, @@ -812,7 +812,7 @@ }, ".USER_AGENT; appName: string; }> | undefined" ], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false }, @@ -826,7 +826,7 @@ "signature": [ "Record | undefined" ], - "path": "packages/kbn-analytics/src/report.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/report.ts", "deprecated": false, "trackAdoption": false } @@ -840,7 +840,7 @@ "tags": [], "label": "ReporterConfig", "description": [], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -862,7 +862,7 @@ }, ") => Promise" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -883,7 +883,7 @@ "text": "Report" } ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false } @@ -905,7 +905,7 @@ "text": "Logger" } ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false }, @@ -934,7 +934,7 @@ }, ", void> | undefined" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false }, @@ -948,7 +948,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false }, @@ -962,7 +962,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false } @@ -986,7 +986,7 @@ }, "" ], - "path": "packages/kbn-analytics/src/storage.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1000,7 +1000,7 @@ "signature": [ "(key: string) => T | undefined" ], - "path": "packages/kbn-analytics/src/storage.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1014,7 +1014,7 @@ "signature": [ "string" ], - "path": "packages/kbn-analytics/src/storage.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1032,7 +1032,7 @@ "signature": [ "(key: string, value: T) => S" ], - "path": "packages/kbn-analytics/src/storage.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1046,7 +1046,7 @@ "signature": [ "string" ], - "path": "packages/kbn-analytics/src/storage.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1061,7 +1061,7 @@ "signature": [ "T" ], - "path": "packages/kbn-analytics/src/storage.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1079,7 +1079,7 @@ "signature": [ "(key: string) => T | undefined" ], - "path": "packages/kbn-analytics/src/storage.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1093,7 +1093,7 @@ "signature": [ "string" ], - "path": "packages/kbn-analytics/src/storage.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1111,7 +1111,7 @@ "signature": [ "() => void" ], - "path": "packages/kbn-analytics/src/storage.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/storage.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1127,7 +1127,7 @@ "tags": [], "label": "UserAgentMetric", "description": [], - "path": "packages/kbn-analytics/src/metrics/user_agent.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/metrics/user_agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1148,7 +1148,7 @@ }, ".USER_AGENT" ], - "path": "packages/kbn-analytics/src/metrics/user_agent.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/metrics/user_agent.ts", "deprecated": false, "trackAdoption": false }, @@ -1159,7 +1159,7 @@ "tags": [], "label": "appName", "description": [], - "path": "packages/kbn-analytics/src/metrics/user_agent.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/metrics/user_agent.ts", "deprecated": false, "trackAdoption": false }, @@ -1170,7 +1170,7 @@ "tags": [], "label": "userAgent", "description": [], - "path": "packages/kbn-analytics/src/metrics/user_agent.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/metrics/user_agent.ts", "deprecated": false, "trackAdoption": false } @@ -1186,7 +1186,7 @@ "tags": [], "label": "METRIC_TYPE", "description": [], - "path": "packages/kbn-analytics/src/metrics/index.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/metrics/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1211,7 +1211,7 @@ }, ") => Promise" ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1232,7 +1232,7 @@ "text": "Report" } ], - "path": "packages/kbn-analytics/src/reporter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/reporter.ts", "deprecated": false, "trackAdoption": false } @@ -1249,7 +1249,7 @@ "signature": [ "string" ], - "path": "packages/kbn-analytics/src/metrics/ui_counter.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/metrics/ui_counter.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_analytics_client.devdocs.json b/api_docs/kbn_analytics_client.devdocs.json index d5245aeb10e6b..e55365e06bf55 100644 --- a/api_docs/kbn_analytics_client.devdocs.json +++ b/api_docs/kbn_analytics_client.devdocs.json @@ -712,39 +712,39 @@ }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "dashboard", @@ -1610,7 +1610,7 @@ }, { "plugin": "cloud", - "path": "x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts" + "path": "x-pack/platform/plugins/shared/cloud/common/register_cloud_deployment_id_analytics_context.ts" }, { "plugin": "security", diff --git a/api_docs/kbn_analytics_collection_utils.devdocs.json b/api_docs/kbn_analytics_collection_utils.devdocs.json index 3a3a34e764e58..ccfcc00529de9 100644 --- a/api_docs/kbn_analytics_collection_utils.devdocs.json +++ b/api_docs/kbn_analytics_collection_utils.devdocs.json @@ -31,7 +31,7 @@ "signature": [ "() => boolean" ], - "path": "packages/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.ts", + "path": "src/platform/packages/private/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.ts", "deprecated": false, "trackAdoption": false, "children": [], diff --git a/api_docs/kbn_apm_config_loader.devdocs.json b/api_docs/kbn_apm_config_loader.devdocs.json index 3af68277a32ea..75a40d0838292 100644 --- a/api_docs/kbn_apm_config_loader.devdocs.json +++ b/api_docs/kbn_apm_config_loader.devdocs.json @@ -17,7 +17,7 @@ "tags": [], "label": "ApmConfiguration", "description": [], - "path": "packages/kbn-apm-config-loader/src/config.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31,7 +31,7 @@ "signature": [ "any" ], - "path": "packages/kbn-apm-config-loader/src/config.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45,7 +45,7 @@ "signature": [ "string" ], - "path": "packages/kbn-apm-config-loader/src/config.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/config.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -60,7 +60,7 @@ "signature": [ "KibanaRawConfig" ], - "path": "packages/kbn-apm-config-loader/src/config.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/config.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -75,7 +75,7 @@ "signature": [ "boolean" ], - "path": "packages/kbn-apm-config-loader/src/config.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/config.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -94,7 +94,7 @@ "(serviceName: string) => ", "AgentConfigOptions" ], - "path": "packages/kbn-apm-config-loader/src/config.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -108,7 +108,7 @@ "signature": [ "string" ], - "path": "packages/kbn-apm-config-loader/src/config.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/config.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -126,7 +126,7 @@ "signature": [ "() => boolean" ], - "path": "packages/kbn-apm-config-loader/src/config.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/config.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -149,7 +149,7 @@ "AgentConfigOptions", " | undefined" ], - "path": "packages/kbn-apm-config-loader/src/config_loader.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/config_loader.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -163,7 +163,7 @@ "signature": [ "string" ], - "path": "packages/kbn-apm-config-loader/src/config_loader.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/config_loader.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -182,7 +182,7 @@ "signature": [ "(argv: string[], rootDir: string, isDistributable: boolean, serviceName: string) => void" ], - "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/init_apm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -196,7 +196,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/init_apm.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -211,7 +211,7 @@ "signature": [ "string" ], - "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/init_apm.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -226,7 +226,7 @@ "signature": [ "boolean" ], - "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/init_apm.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -241,7 +241,7 @@ "signature": [ "string" ], - "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/init_apm.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -262,7 +262,7 @@ "AgentConfigOptions", " | undefined) => boolean" ], - "path": "packages/kbn-apm-config-loader/src/rum_agent_configuration.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/rum_agent_configuration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -277,7 +277,7 @@ "AgentConfigOptions", " | undefined" ], - "path": "packages/kbn-apm-config-loader/src/rum_agent_configuration.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/rum_agent_configuration.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -372,7 +372,7 @@ }, "; }>>" ], - "path": "packages/kbn-apm-config-loader/src/apm_config.ts", + "path": "src/platform/packages/private/kbn-apm-config-loader/src/apm_config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_config.devdocs.json b/api_docs/kbn_config.devdocs.json index ed8e98d30c968..5990acdee00be 100644 --- a/api_docs/kbn_config.devdocs.json +++ b/api_docs/kbn_config.devdocs.json @@ -17,7 +17,7 @@ "tags": [], "label": "Env", "description": [], - "path": "packages/kbn-config/src/env.ts", + "path": "src/platform/packages/shared/kbn-config/src/env.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41,7 +41,7 @@ }, "; readonly dist: boolean; }" ], - "path": "packages/kbn-config/src/env.ts", + "path": "src/platform/packages/shared/kbn-config/src/env.ts", "deprecated": false, "trackAdoption": false }, @@ -57,7 +57,7 @@ "signature": [ "{ readonly name: \"production\" | \"development\"; readonly dev: boolean; readonly prod: boolean; }" ], - "path": "packages/kbn-config/src/env.ts", + "path": "src/platform/packages/shared/kbn-config/src/env.ts", "deprecated": false, "trackAdoption": false } @@ -76,7 +76,7 @@ "signature": [ "(configFiles: readonly string[]) => Record" ], - "path": "packages/kbn-config/src/raw/read_config.ts", + "path": "src/platform/packages/shared/kbn-config/src/raw/read_config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -90,7 +90,7 @@ "signature": [ "readonly string[]" ], - "path": "packages/kbn-config/src/raw/read_config.ts", + "path": "src/platform/packages/shared/kbn-config/src/raw/read_config.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -109,7 +109,7 @@ "signature": [ "(leafPath: string, rootPath: string) => boolean" ], - "path": "packages/kbn-config/src/config.ts", + "path": "src/platform/packages/shared/kbn-config/src/config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -123,7 +123,7 @@ "signature": [ "string" ], - "path": "packages/kbn-config/src/config.ts", + "path": "src/platform/packages/shared/kbn-config/src/config.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -138,7 +138,7 @@ "signature": [ "string" ], - "path": "packages/kbn-config/src/config.ts", + "path": "src/platform/packages/shared/kbn-config/src/config.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -159,7 +159,7 @@ "signature": [ "(value: unknown) => boolean" ], - "path": "packages/kbn-config/src/config.ts", + "path": "src/platform/packages/shared/kbn-config/src/config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -175,7 +175,7 @@ "signature": [ "unknown" ], - "path": "packages/kbn-config/src/config.ts", + "path": "src/platform/packages/shared/kbn-config/src/config.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -195,7 +195,7 @@ "description": [ "\nList of config paths changed during deprecation.\n" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -209,7 +209,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -223,7 +223,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -239,7 +239,7 @@ "description": [ "\nOutcome of deprecation operation. Allows mutating config values in a declarative way.\n" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -253,7 +253,7 @@ "signature": [ "{ path: string; value: any; }[] | undefined" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -267,7 +267,7 @@ "signature": [ "{ path: string; }[] | undefined" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -283,7 +283,7 @@ "description": [ "\nDeprecation context provided to {@link ConfigDeprecation | config deprecations}\n" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -296,7 +296,7 @@ "description": [ "The current Kibana version, e.g `7.16.1`, `8.0.0`" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -309,7 +309,7 @@ "description": [ "The current Kibana branch, e.g `7.x`, `7.16`, `master`" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -331,7 +331,7 @@ "text": "DocLinks" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -347,7 +347,7 @@ "description": [ "\nProvides helpers to generates the most commonly used {@link ConfigDeprecation}\nwhen invoking a {@link ConfigDeprecationProvider}.\n\nSee methods documentation for more detailed examples.\n" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -372,7 +372,7 @@ "text": "ConfigDeprecation" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -386,7 +386,7 @@ "signature": [ "string" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -401,7 +401,7 @@ "signature": [ "string" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -416,7 +416,7 @@ "signature": [ "FactoryConfigDeprecationDetails" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -445,7 +445,7 @@ "text": "ConfigDeprecation" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -459,7 +459,7 @@ "signature": [ "string" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -474,7 +474,7 @@ "signature": [ "string" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -489,7 +489,7 @@ "signature": [ "FactoryConfigDeprecationDetails" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -518,7 +518,7 @@ "text": "ConfigDeprecation" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -532,7 +532,7 @@ "signature": [ "string" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -547,7 +547,7 @@ "signature": [ "string" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -562,7 +562,7 @@ "signature": [ "FactoryConfigDeprecationDetails" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -591,7 +591,7 @@ "text": "ConfigDeprecation" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -605,7 +605,7 @@ "signature": [ "string" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -620,7 +620,7 @@ "signature": [ "string" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -635,7 +635,7 @@ "signature": [ "FactoryConfigDeprecationDetails" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -664,7 +664,7 @@ "text": "ConfigDeprecation" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -678,7 +678,7 @@ "signature": [ "string" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -693,7 +693,7 @@ "signature": [ "FactoryConfigDeprecationDetails" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -722,7 +722,7 @@ "text": "ConfigDeprecation" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -736,7 +736,7 @@ "signature": [ "string" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -751,7 +751,7 @@ "signature": [ "FactoryConfigDeprecationDetails" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -771,7 +771,7 @@ "description": [ "\nDeprecated Config Details\n" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -784,7 +784,7 @@ "description": [ "The path of the deprecated config setting" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -800,7 +800,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -813,7 +813,7 @@ "description": [ "The message to be displayed for the deprecation." ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -829,7 +829,7 @@ "signature": [ "\"warning\" | \"critical\"" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -845,7 +845,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -861,7 +861,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -877,7 +877,7 @@ "signature": [ "{ manualSteps: string[]; }" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -891,7 +891,7 @@ "tags": [], "label": "EnvironmentMode", "description": [], - "path": "packages/kbn-config/src/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -905,7 +905,7 @@ "signature": [ "\"production\" | \"development\"" ], - "path": "packages/kbn-config/src/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -916,7 +916,7 @@ "tags": [], "label": "dev", "description": [], - "path": "packages/kbn-config/src/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -927,7 +927,7 @@ "tags": [], "label": "prod", "description": [], - "path": "packages/kbn-config/src/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -941,7 +941,7 @@ "tags": [], "label": "PackageInfo", "description": [], - "path": "packages/kbn-config/src/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -952,7 +952,7 @@ "tags": [], "label": "version", "description": [], - "path": "packages/kbn-config/src/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -963,7 +963,7 @@ "tags": [], "label": "branch", "description": [], - "path": "packages/kbn-config/src/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -974,7 +974,7 @@ "tags": [], "label": "buildNum", "description": [], - "path": "packages/kbn-config/src/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -985,7 +985,7 @@ "tags": [], "label": "buildSha", "description": [], - "path": "packages/kbn-config/src/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -996,7 +996,7 @@ "tags": [], "label": "buildShaShort", "description": [], - "path": "packages/kbn-config/src/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1010,7 +1010,7 @@ "signature": [ "Date" ], - "path": "packages/kbn-config/src/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1024,7 +1024,7 @@ "signature": [ "\"serverless\" | \"traditional\"" ], - "path": "packages/kbn-config/src/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1035,7 +1035,7 @@ "tags": [], "label": "dist", "description": [], - "path": "packages/kbn-config/src/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1065,7 +1065,7 @@ }, ") => void" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1086,7 +1086,7 @@ "text": "DeprecatedConfigDetails" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -1103,7 +1103,7 @@ "signature": [ "\"serverless\" | \"traditional\"" ], - "path": "packages/kbn-config/src/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1143,7 +1143,7 @@ "text": "ConfigDeprecationCommand" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1160,7 +1160,7 @@ "signature": [ "{ readonly [x: string]: any; }" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1171,7 +1171,7 @@ "tags": [], "label": "fromPath", "description": [], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1193,7 +1193,7 @@ }, ") => void" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1214,7 +1214,7 @@ "text": "DeprecatedConfigDetails" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -1236,7 +1236,7 @@ "text": "ConfigDeprecationContext" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -1271,7 +1271,7 @@ }, "[]" ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1292,7 +1292,7 @@ "text": "ConfigDeprecationFactory" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -1309,7 +1309,7 @@ "signature": [ "string | string[]" ], - "path": "packages/kbn-config/src/config.ts", + "path": "src/platform/packages/shared/kbn-config/src/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1324,7 +1324,7 @@ "signature": [ "(rawConfig: Record) => Record" ], - "path": "packages/kbn-config/src/raw/raw_config_service.ts", + "path": "src/platform/packages/shared/kbn-config/src/raw/raw_config_service.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1339,7 +1339,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "packages/kbn-config/src/raw/raw_config_service.ts", + "path": "src/platform/packages/shared/kbn-config/src/raw/raw_config_service.ts", "deprecated": false, "trackAdoption": false } @@ -1358,7 +1358,7 @@ "Observable", ">; }" ], - "path": "packages/kbn-config/src/raw/raw_config_service.ts", + "path": "src/platform/packages/shared/kbn-config/src/raw/raw_config_service.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_analytics_browser.devdocs.json b/api_docs/kbn_core_analytics_browser.devdocs.json index 2f2c5fc3f3d9f..3f249cad6ba1b 100644 --- a/api_docs/kbn_core_analytics_browser.devdocs.json +++ b/api_docs/kbn_core_analytics_browser.devdocs.json @@ -576,39 +576,39 @@ }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/shared-ux-chrome-navigation", @@ -1798,7 +1798,7 @@ }, { "plugin": "cloud", - "path": "x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts" + "path": "x-pack/platform/plugins/shared/cloud/common/register_cloud_deployment_id_analytics_context.ts" }, { "plugin": "spaces", diff --git a/api_docs/kbn_core_analytics_server.devdocs.json b/api_docs/kbn_core_analytics_server.devdocs.json index fe50bcb0679dd..94596602e803c 100644 --- a/api_docs/kbn_core_analytics_server.devdocs.json +++ b/api_docs/kbn_core_analytics_server.devdocs.json @@ -584,39 +584,39 @@ }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/shared-ux-chrome-navigation", @@ -1806,7 +1806,7 @@ }, { "plugin": "cloud", - "path": "x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts" + "path": "x-pack/platform/plugins/shared/cloud/common/register_cloud_deployment_id_analytics_context.ts" }, { "plugin": "spaces", diff --git a/api_docs/kbn_core_http_server.devdocs.json b/api_docs/kbn_core_http_server.devdocs.json index 9516368c46188..407cdd6df69c5 100644 --- a/api_docs/kbn_core_http_server.devdocs.json +++ b/api_docs/kbn_core_http_server.devdocs.json @@ -15179,11 +15179,11 @@ }, { "plugin": "cloud", - "path": "x-pack/plugins/cloud/server/routes/elasticsearch_route.ts" + "path": "x-pack/platform/plugins/shared/cloud/server/routes/elasticsearch_route.ts" }, { "plugin": "cloud", - "path": "x-pack/plugins/cloud/server/routes/get_cloud_data_route.ts" + "path": "x-pack/platform/plugins/shared/cloud/server/routes/get_cloud_data_route.ts" }, { "plugin": "dataViews", @@ -16701,7 +16701,7 @@ "references": [ { "plugin": "cloud", - "path": "x-pack/plugins/cloud/server/routes/set_cloud_data_route.ts" + "path": "x-pack/platform/plugins/shared/cloud/server/routes/set_cloud_data_route.ts" }, { "plugin": "dataViews", @@ -17761,7 +17761,7 @@ }, { "plugin": "cloud", - "path": "x-pack/plugins/cloud/server/routes/set_cloud_data_route.test.ts" + "path": "x-pack/platform/plugins/shared/cloud/server/routes/set_cloud_data_route.test.ts" }, { "plugin": "ecsDataQualityDashboard", diff --git a/api_docs/kbn_core_test_helpers_deprecations_getters.devdocs.json b/api_docs/kbn_core_test_helpers_deprecations_getters.devdocs.json index 3205388600f03..f4df5b62925af 100644 --- a/api_docs/kbn_core_test_helpers_deprecations_getters.devdocs.json +++ b/api_docs/kbn_core_test_helpers_deprecations_getters.devdocs.json @@ -99,7 +99,7 @@ "text": "ConfigDeprecationFactory" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -216,7 +216,7 @@ "text": "ConfigDeprecationFactory" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_core_ui_settings_server_internal.devdocs.json b/api_docs/kbn_core_ui_settings_server_internal.devdocs.json index 81c2046948901..89ec32066a118 100644 --- a/api_docs/kbn_core_ui_settings_server_internal.devdocs.json +++ b/api_docs/kbn_core_ui_settings_server_internal.devdocs.json @@ -386,7 +386,7 @@ "text": "ConfigDeprecationFactory" } ], - "path": "packages/kbn-config/src/deprecation/types.ts", + "path": "src/platform/packages/shared/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_ebt.devdocs.json b/api_docs/kbn_ebt.devdocs.json index 4bb27aac011b9..26278764b8dd4 100644 --- a/api_docs/kbn_ebt.devdocs.json +++ b/api_docs/kbn_ebt.devdocs.json @@ -1792,39 +1792,39 @@ }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "@kbn/cloud", - "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" + "path": "src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" }, { "plugin": "observabilityAIAssistant", @@ -2850,7 +2850,7 @@ }, { "plugin": "cloud", - "path": "x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts" + "path": "x-pack/platform/plugins/shared/cloud/common/register_cloud_deployment_id_analytics_context.ts" }, { "plugin": "licensing", diff --git a/api_docs/kbn_security_plugin_types_public.devdocs.json b/api_docs/kbn_security_plugin_types_public.devdocs.json index 49fcb4a21570d..c9eeac0736b71 100644 --- a/api_docs/kbn_security_plugin_types_public.devdocs.json +++ b/api_docs/kbn_security_plugin_types_public.devdocs.json @@ -909,7 +909,7 @@ }, { "plugin": "cloudLinks", - "path": "x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts" + "path": "x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts" }, { "plugin": "cases", diff --git a/api_docs/observability_shared.devdocs.json b/api_docs/observability_shared.devdocs.json index 24d7546318454..8280b020ad57c 100644 --- a/api_docs/observability_shared.devdocs.json +++ b/api_docs/observability_shared.devdocs.json @@ -3706,7 +3706,7 @@ "tags": [], "label": "METRIC_TYPE", "description": [], - "path": "packages/kbn-analytics/src/metrics/index.ts", + "path": "src/platform/packages/shared/kbn-analytics/src/metrics/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 8e8ee80ff81be..0bc598c325cdc 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -482,11 +482,11 @@ The plugin exposes the static DefaultEditorController class to consume. |This plugin provides cases management in Kibana -|{kib-repo}blob/{branch}/x-pack/plugins/cloud/README.md[cloud] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/cloud/README.md[cloud] |The cloud plugin exposes Cloud-specific metadata to Kibana. -|{kib-repo}blob/{branch}/x-pack/plugins/cloud_integrations/cloud_chat/README.md[cloudChat] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/cloud_integrations/cloud_chat/README.md[cloudChat] |The plugin was meant to integrate with DriftChat in order to provide live support to our Elastic Cloud users. It was removed, but the plugin was left behind to register no longer used config keys. @@ -499,16 +499,16 @@ It was removed, but the plugin was left behind to register no longer used config |This plugin currently only exists to provide custom fleet policy UX for a set of new BPF LSM features. The first feature being container "drift prevention". -|{kib-repo}blob/{branch}/x-pack/plugins/cloud_integrations/cloud_experiments/README.mdx[cloudExperiments] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/README.mdx[cloudExperiments] |[!NOTE] This plugin no-longer exposes any evaluation APIs. Refer to for more information about how to interact with feature flags. -|{kib-repo}blob/{branch}/x-pack/plugins/cloud_integrations/cloud_full_story/README.md[cloudFullStory] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/README.md[cloudFullStory] |Integrates with FullStory in order to provide better product analytics, so we can understand how our users make use of Kibana. This plugin should only run on Elastic Cloud. -|{kib-repo}blob/{branch}/x-pack/plugins/cloud_integrations/cloud_links/README.md[cloudLinks] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/cloud_integrations/cloud_links/README.md[cloudLinks] |Adds all the links to the Elastic Cloud console. diff --git a/package.json b/package.json index 414fa3a3b9b14..b1a51773fd69f 100644 --- a/package.json +++ b/package.json @@ -179,11 +179,11 @@ "@kbn/alerts-grouping": "link:packages/kbn-alerts-grouping", "@kbn/alerts-restricted-fixtures-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/alerts_restricted", "@kbn/alerts-ui-shared": "link:packages/kbn-alerts-ui-shared", - "@kbn/analytics": "link:packages/kbn-analytics", - "@kbn/analytics-collection-utils": "link:packages/analytics/utils/analytics_collection_utils", + "@kbn/analytics": "link:src/platform/packages/shared/kbn-analytics", + "@kbn/analytics-collection-utils": "link:src/platform/packages/private/analytics/utils/analytics_collection_utils", "@kbn/analytics-ftr-helpers-plugin": "link:test/analytics/plugins/analytics_ftr_helpers", "@kbn/analytics-plugin-a-plugin": "link:test/analytics/plugins/analytics_plugin_a", - "@kbn/apm-config-loader": "link:packages/kbn-apm-config-loader", + "@kbn/apm-config-loader": "link:src/platform/packages/private/kbn-apm-config-loader", "@kbn/apm-data-access-plugin": "link:x-pack/plugins/observability_solution/apm_data_access", "@kbn/apm-data-view": "link:packages/kbn-apm-data-view", "@kbn/apm-plugin": "link:x-pack/plugins/observability_solution/apm", @@ -208,15 +208,15 @@ "@kbn/chart-expressions-common": "link:src/plugins/chart_expressions/common", "@kbn/chart-icons": "link:packages/kbn-chart-icons", "@kbn/charts-plugin": "link:src/plugins/charts", - "@kbn/cloud": "link:packages/cloud", - "@kbn/cloud-chat-plugin": "link:x-pack/plugins/cloud_integrations/cloud_chat", + "@kbn/cloud": "link:src/platform/packages/shared/cloud", + "@kbn/cloud-chat-plugin": "link:x-pack/platform/plugins/private/cloud_integrations/cloud_chat", "@kbn/cloud-data-migration-plugin": "link:x-pack/plugins/cloud_integrations/cloud_data_migration", "@kbn/cloud-defend-plugin": "link:x-pack/plugins/cloud_defend", - "@kbn/cloud-experiments-plugin": "link:x-pack/plugins/cloud_integrations/cloud_experiments", - "@kbn/cloud-full-story-plugin": "link:x-pack/plugins/cloud_integrations/cloud_full_story", + "@kbn/cloud-experiments-plugin": "link:x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments", + "@kbn/cloud-full-story-plugin": "link:x-pack/platform/plugins/private/cloud_integrations/cloud_full_story", "@kbn/cloud-integration-saml-provider-plugin": "link:x-pack/test/cloud_integration/plugins/saml_provider", - "@kbn/cloud-links-plugin": "link:x-pack/plugins/cloud_integrations/cloud_links", - "@kbn/cloud-plugin": "link:x-pack/plugins/cloud", + "@kbn/cloud-links-plugin": "link:x-pack/platform/plugins/private/cloud_integrations/cloud_links", + "@kbn/cloud-plugin": "link:x-pack/platform/plugins/shared/cloud", "@kbn/cloud-security-posture": "link:x-pack/packages/kbn-cloud-security-posture/public", "@kbn/cloud-security-posture-common": "link:x-pack/packages/kbn-cloud-security-posture/common", "@kbn/cloud-security-posture-graph": "link:x-pack/packages/kbn-cloud-security-posture/graph", @@ -224,7 +224,7 @@ "@kbn/code-editor": "link:packages/shared-ux/code_editor/impl", "@kbn/code-editor-mock": "link:packages/shared-ux/code_editor/mocks", "@kbn/coloring": "link:packages/kbn-coloring", - "@kbn/config": "link:packages/kbn-config", + "@kbn/config": "link:src/platform/packages/shared/kbn-config", "@kbn/config-mocks": "link:packages/kbn-config-mocks", "@kbn/config-schema": "link:packages/kbn-config-schema", "@kbn/console-plugin": "link:src/plugins/console", diff --git a/packages/kbn-ui-shared-deps-src/BUILD.bazel b/packages/kbn-ui-shared-deps-src/BUILD.bazel index b0d7bb65843d9..02c06b52dc686 100644 --- a/packages/kbn-ui-shared-deps-src/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-src/BUILD.bazel @@ -28,7 +28,7 @@ webpack_cli( "//packages/kbn-esql-ast", "//packages/kbn-monaco", "//packages/kbn-datemath", - "//packages/kbn-analytics", + "//src/platform/packages/shared/kbn-analytics", "//packages/kbn-crypto-browser", "//packages/kbn-es-query", "//packages/kbn-search-errors", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index cc991d72d23c0..622248559ceff 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -17,7 +17,7 @@ export const storybookAliases = { cases: 'packages/kbn-cases-components/.storybook', cell_actions: 'packages/kbn-cell-actions/.storybook', cloud_security_posture_packages: 'x-pack/packages/kbn-cloud-security-posture/storybook/config', - cloud: 'packages/cloud/.storybook', + cloud: 'src/platform/packages/shared/cloud/.storybook', coloring: 'packages/kbn-coloring/.storybook', language_documentation_popover: 'packages/kbn-language-documentation/.storybook', chart_icons: 'packages/kbn-chart-icons/.storybook', diff --git a/packages/analytics/utils/analytics_collection_utils/README.md b/src/platform/packages/private/analytics/utils/analytics_collection_utils/README.md similarity index 100% rename from packages/analytics/utils/analytics_collection_utils/README.md rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/README.md diff --git a/packages/analytics/utils/analytics_collection_utils/index.ts b/src/platform/packages/private/analytics/utils/analytics_collection_utils/index.ts similarity index 100% rename from packages/analytics/utils/analytics_collection_utils/index.ts rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/index.ts diff --git a/packages/kbn-config/jest.config.js b/src/platform/packages/private/analytics/utils/analytics_collection_utils/jest.config.js similarity index 79% rename from packages/kbn-config/jest.config.js rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/jest.config.js index 09a4d4e774ca8..777a34f7ec5a7 100644 --- a/packages/kbn-config/jest.config.js +++ b/src/platform/packages/private/analytics/utils/analytics_collection_utils/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-config'], + rootDir: '../../../../../../..', + roots: ['/src/platform/packages/private/analytics/utils/analytics_collection_utils'], }; diff --git a/packages/analytics/utils/analytics_collection_utils/kibana.jsonc b/src/platform/packages/private/analytics/utils/analytics_collection_utils/kibana.jsonc similarity index 100% rename from packages/analytics/utils/analytics_collection_utils/kibana.jsonc rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/kibana.jsonc diff --git a/packages/analytics/utils/analytics_collection_utils/package.json b/src/platform/packages/private/analytics/utils/analytics_collection_utils/package.json similarity index 100% rename from packages/analytics/utils/analytics_collection_utils/package.json rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/package.json diff --git a/packages/analytics/utils/analytics_collection_utils/src/index.ts b/src/platform/packages/private/analytics/utils/analytics_collection_utils/src/index.ts similarity index 100% rename from packages/analytics/utils/analytics_collection_utils/src/index.ts rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/src/index.ts diff --git a/packages/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.test.ts b/src/platform/packages/private/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.test.ts similarity index 100% rename from packages/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.test.ts rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.test.ts diff --git a/packages/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.ts b/src/platform/packages/private/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.ts similarity index 100% rename from packages/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.ts rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.ts diff --git a/packages/analytics/utils/analytics_collection_utils/tsconfig.json b/src/platform/packages/private/analytics/utils/analytics_collection_utils/tsconfig.json similarity index 80% rename from packages/analytics/utils/analytics_collection_utils/tsconfig.json rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/tsconfig.json index b05325b824a67..3d8067cec004b 100644 --- a/packages/analytics/utils/analytics_collection_utils/tsconfig.json +++ b/src/platform/packages/private/analytics/utils/analytics_collection_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-apm-config-loader/README.md b/src/platform/packages/private/kbn-apm-config-loader/README.md similarity index 100% rename from packages/kbn-apm-config-loader/README.md rename to src/platform/packages/private/kbn-apm-config-loader/README.md diff --git a/packages/kbn-apm-config-loader/index.ts b/src/platform/packages/private/kbn-apm-config-loader/index.ts similarity index 100% rename from packages/kbn-apm-config-loader/index.ts rename to src/platform/packages/private/kbn-apm-config-loader/index.ts diff --git a/packages/analytics/utils/analytics_collection_utils/jest.config.js b/src/platform/packages/private/kbn-apm-config-loader/jest.config.js similarity index 83% rename from packages/analytics/utils/analytics_collection_utils/jest.config.js rename to src/platform/packages/private/kbn-apm-config-loader/jest.config.js index eb4383bfe99b1..f8ff9a4c535bb 100644 --- a/packages/analytics/utils/analytics_collection_utils/jest.config.js +++ b/src/platform/packages/private/kbn-apm-config-loader/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/analytics/utils/analytics_collection_utils'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/private/kbn-apm-config-loader'], }; diff --git a/packages/kbn-apm-config-loader/kibana.jsonc b/src/platform/packages/private/kbn-apm-config-loader/kibana.jsonc similarity index 100% rename from packages/kbn-apm-config-loader/kibana.jsonc rename to src/platform/packages/private/kbn-apm-config-loader/kibana.jsonc diff --git a/packages/kbn-apm-config-loader/package.json b/src/platform/packages/private/kbn-apm-config-loader/package.json similarity index 100% rename from packages/kbn-apm-config-loader/package.json rename to src/platform/packages/private/kbn-apm-config-loader/package.json diff --git a/packages/kbn-apm-config-loader/src/__fixtures__/config.yml b/src/platform/packages/private/kbn-apm-config-loader/src/__fixtures__/config.yml similarity index 100% rename from packages/kbn-apm-config-loader/src/__fixtures__/config.yml rename to src/platform/packages/private/kbn-apm-config-loader/src/__fixtures__/config.yml diff --git a/packages/kbn-apm-config-loader/src/__fixtures__/config_flat.yml b/src/platform/packages/private/kbn-apm-config-loader/src/__fixtures__/config_flat.yml similarity index 100% rename from packages/kbn-apm-config-loader/src/__fixtures__/config_flat.yml rename to src/platform/packages/private/kbn-apm-config-loader/src/__fixtures__/config_flat.yml diff --git a/packages/kbn-apm-config-loader/src/__fixtures__/en_var_ref_config.yml b/src/platform/packages/private/kbn-apm-config-loader/src/__fixtures__/en_var_ref_config.yml similarity index 100% rename from packages/kbn-apm-config-loader/src/__fixtures__/en_var_ref_config.yml rename to src/platform/packages/private/kbn-apm-config-loader/src/__fixtures__/en_var_ref_config.yml diff --git a/packages/kbn-apm-config-loader/src/__fixtures__/one.yml b/src/platform/packages/private/kbn-apm-config-loader/src/__fixtures__/one.yml similarity index 100% rename from packages/kbn-apm-config-loader/src/__fixtures__/one.yml rename to src/platform/packages/private/kbn-apm-config-loader/src/__fixtures__/one.yml diff --git a/packages/kbn-apm-config-loader/src/__fixtures__/two.yml b/src/platform/packages/private/kbn-apm-config-loader/src/__fixtures__/two.yml similarity index 100% rename from packages/kbn-apm-config-loader/src/__fixtures__/two.yml rename to src/platform/packages/private/kbn-apm-config-loader/src/__fixtures__/two.yml diff --git a/packages/kbn-apm-config-loader/src/apm_config.ts b/src/platform/packages/private/kbn-apm-config-loader/src/apm_config.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/apm_config.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/apm_config.ts diff --git a/packages/kbn-apm-config-loader/src/config.test.mocks.ts b/src/platform/packages/private/kbn-apm-config-loader/src/config.test.mocks.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/config.test.mocks.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/config.test.mocks.ts diff --git a/packages/kbn-apm-config-loader/src/config.test.ts b/src/platform/packages/private/kbn-apm-config-loader/src/config.test.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/config.test.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/config.test.ts diff --git a/packages/kbn-apm-config-loader/src/config.ts b/src/platform/packages/private/kbn-apm-config-loader/src/config.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/config.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/config.ts diff --git a/packages/kbn-apm-config-loader/src/config_loader.test.mocks.ts b/src/platform/packages/private/kbn-apm-config-loader/src/config_loader.test.mocks.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/config_loader.test.mocks.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/config_loader.test.mocks.ts diff --git a/packages/kbn-apm-config-loader/src/config_loader.test.ts b/src/platform/packages/private/kbn-apm-config-loader/src/config_loader.test.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/config_loader.test.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/config_loader.test.ts diff --git a/packages/kbn-apm-config-loader/src/config_loader.ts b/src/platform/packages/private/kbn-apm-config-loader/src/config_loader.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/config_loader.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/config_loader.ts diff --git a/packages/kbn-apm-config-loader/src/init_apm.test.mocks.ts b/src/platform/packages/private/kbn-apm-config-loader/src/init_apm.test.mocks.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/init_apm.test.mocks.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/init_apm.test.mocks.ts diff --git a/packages/kbn-apm-config-loader/src/init_apm.test.ts b/src/platform/packages/private/kbn-apm-config-loader/src/init_apm.test.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/init_apm.test.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/init_apm.test.ts diff --git a/packages/kbn-apm-config-loader/src/init_apm.ts b/src/platform/packages/private/kbn-apm-config-loader/src/init_apm.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/init_apm.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/init_apm.ts diff --git a/packages/kbn-apm-config-loader/src/rum_agent_configuration.test.ts b/src/platform/packages/private/kbn-apm-config-loader/src/rum_agent_configuration.test.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/rum_agent_configuration.test.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/rum_agent_configuration.test.ts diff --git a/packages/kbn-apm-config-loader/src/rum_agent_configuration.ts b/src/platform/packages/private/kbn-apm-config-loader/src/rum_agent_configuration.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/rum_agent_configuration.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/rum_agent_configuration.ts diff --git a/packages/kbn-apm-config-loader/src/utils/__snapshots__/read_config.test.ts.snap b/src/platform/packages/private/kbn-apm-config-loader/src/utils/__snapshots__/read_config.test.ts.snap similarity index 100% rename from packages/kbn-apm-config-loader/src/utils/__snapshots__/read_config.test.ts.snap rename to src/platform/packages/private/kbn-apm-config-loader/src/utils/__snapshots__/read_config.test.ts.snap diff --git a/packages/kbn-apm-config-loader/src/utils/apply_config_overrides.test.ts b/src/platform/packages/private/kbn-apm-config-loader/src/utils/apply_config_overrides.test.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/utils/apply_config_overrides.test.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/utils/apply_config_overrides.test.ts diff --git a/packages/kbn-apm-config-loader/src/utils/apply_config_overrides.ts b/src/platform/packages/private/kbn-apm-config-loader/src/utils/apply_config_overrides.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/utils/apply_config_overrides.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/utils/apply_config_overrides.ts diff --git a/packages/kbn-apm-config-loader/src/utils/get_config_file_paths.test.ts b/src/platform/packages/private/kbn-apm-config-loader/src/utils/get_config_file_paths.test.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/utils/get_config_file_paths.test.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/utils/get_config_file_paths.test.ts diff --git a/packages/kbn-apm-config-loader/src/utils/get_config_file_paths.ts b/src/platform/packages/private/kbn-apm-config-loader/src/utils/get_config_file_paths.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/utils/get_config_file_paths.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/utils/get_config_file_paths.ts diff --git a/packages/kbn-apm-config-loader/src/utils/index.ts b/src/platform/packages/private/kbn-apm-config-loader/src/utils/index.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/utils/index.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/utils/index.ts diff --git a/packages/kbn-apm-config-loader/src/utils/read_argv.test.ts b/src/platform/packages/private/kbn-apm-config-loader/src/utils/read_argv.test.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/utils/read_argv.test.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/utils/read_argv.test.ts diff --git a/packages/kbn-apm-config-loader/src/utils/read_argv.ts b/src/platform/packages/private/kbn-apm-config-loader/src/utils/read_argv.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/utils/read_argv.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/utils/read_argv.ts diff --git a/packages/kbn-apm-config-loader/src/utils/read_config.test.ts b/src/platform/packages/private/kbn-apm-config-loader/src/utils/read_config.test.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/utils/read_config.test.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/utils/read_config.test.ts diff --git a/packages/kbn-apm-config-loader/src/utils/read_config.ts b/src/platform/packages/private/kbn-apm-config-loader/src/utils/read_config.ts similarity index 100% rename from packages/kbn-apm-config-loader/src/utils/read_config.ts rename to src/platform/packages/private/kbn-apm-config-loader/src/utils/read_config.ts diff --git a/packages/kbn-apm-config-loader/tsconfig.json b/src/platform/packages/private/kbn-apm-config-loader/tsconfig.json similarity index 85% rename from packages/kbn-apm-config-loader/tsconfig.json rename to src/platform/packages/private/kbn-apm-config-loader/tsconfig.json index a0134a88755c4..0d39721abbcbf 100644 --- a/packages/kbn-apm-config-loader/tsconfig.json +++ b/src/platform/packages/private/kbn-apm-config-loader/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/cloud/.storybook/main.js b/src/platform/packages/shared/cloud/.storybook/main.js similarity index 100% rename from packages/cloud/.storybook/main.js rename to src/platform/packages/shared/cloud/.storybook/main.js diff --git a/packages/cloud/README.md b/src/platform/packages/shared/cloud/README.md similarity index 100% rename from packages/cloud/README.md rename to src/platform/packages/shared/cloud/README.md diff --git a/packages/cloud/connection_details/components/copy_input/copy_input.stories.tsx b/src/platform/packages/shared/cloud/connection_details/components/copy_input/copy_input.stories.tsx similarity index 100% rename from packages/cloud/connection_details/components/copy_input/copy_input.stories.tsx rename to src/platform/packages/shared/cloud/connection_details/components/copy_input/copy_input.stories.tsx diff --git a/packages/cloud/connection_details/components/copy_input/copy_input.tsx b/src/platform/packages/shared/cloud/connection_details/components/copy_input/copy_input.tsx similarity index 100% rename from packages/cloud/connection_details/components/copy_input/copy_input.tsx rename to src/platform/packages/shared/cloud/connection_details/components/copy_input/copy_input.tsx diff --git a/packages/cloud/connection_details/components/copy_input/index.ts b/src/platform/packages/shared/cloud/connection_details/components/copy_input/index.ts similarity index 100% rename from packages/cloud/connection_details/components/copy_input/index.ts rename to src/platform/packages/shared/cloud/connection_details/components/copy_input/index.ts diff --git a/packages/cloud/connection_details/components/fancy_select/fancy_select.stories.tsx b/src/platform/packages/shared/cloud/connection_details/components/fancy_select/fancy_select.stories.tsx similarity index 100% rename from packages/cloud/connection_details/components/fancy_select/fancy_select.stories.tsx rename to src/platform/packages/shared/cloud/connection_details/components/fancy_select/fancy_select.stories.tsx diff --git a/packages/cloud/connection_details/components/fancy_select/fancy_select.tsx b/src/platform/packages/shared/cloud/connection_details/components/fancy_select/fancy_select.tsx similarity index 100% rename from packages/cloud/connection_details/components/fancy_select/fancy_select.tsx rename to src/platform/packages/shared/cloud/connection_details/components/fancy_select/fancy_select.tsx diff --git a/packages/cloud/connection_details/components/fancy_select/index.ts b/src/platform/packages/shared/cloud/connection_details/components/fancy_select/index.ts similarity index 100% rename from packages/cloud/connection_details/components/fancy_select/index.ts rename to src/platform/packages/shared/cloud/connection_details/components/fancy_select/index.ts diff --git a/packages/cloud/connection_details/components/fancy_select/types.ts b/src/platform/packages/shared/cloud/connection_details/components/fancy_select/types.ts similarity index 100% rename from packages/cloud/connection_details/components/fancy_select/types.ts rename to src/platform/packages/shared/cloud/connection_details/components/fancy_select/types.ts diff --git a/packages/cloud/connection_details/components/spa_no_router_link/index.ts b/src/platform/packages/shared/cloud/connection_details/components/spa_no_router_link/index.ts similarity index 100% rename from packages/cloud/connection_details/components/spa_no_router_link/index.ts rename to src/platform/packages/shared/cloud/connection_details/components/spa_no_router_link/index.ts diff --git a/packages/cloud/connection_details/components/spa_no_router_link/spa_no_router_link.tsx b/src/platform/packages/shared/cloud/connection_details/components/spa_no_router_link/spa_no_router_link.tsx similarity index 100% rename from packages/cloud/connection_details/components/spa_no_router_link/spa_no_router_link.tsx rename to src/platform/packages/shared/cloud/connection_details/components/spa_no_router_link/spa_no_router_link.tsx diff --git a/packages/cloud/connection_details/connection_details.stories.tsx b/src/platform/packages/shared/cloud/connection_details/connection_details.stories.tsx similarity index 100% rename from packages/cloud/connection_details/connection_details.stories.tsx rename to src/platform/packages/shared/cloud/connection_details/connection_details.stories.tsx diff --git a/packages/cloud/connection_details/connection_details.tsx b/src/platform/packages/shared/cloud/connection_details/connection_details.tsx similarity index 100% rename from packages/cloud/connection_details/connection_details.tsx rename to src/platform/packages/shared/cloud/connection_details/connection_details.tsx diff --git a/packages/cloud/connection_details/connection_details_flyout_content.stories.tsx b/src/platform/packages/shared/cloud/connection_details/connection_details_flyout_content.stories.tsx similarity index 100% rename from packages/cloud/connection_details/connection_details_flyout_content.stories.tsx rename to src/platform/packages/shared/cloud/connection_details/connection_details_flyout_content.stories.tsx diff --git a/packages/cloud/connection_details/connection_details_flyout_content.tsx b/src/platform/packages/shared/cloud/connection_details/connection_details_flyout_content.tsx similarity index 100% rename from packages/cloud/connection_details/connection_details_flyout_content.tsx rename to src/platform/packages/shared/cloud/connection_details/connection_details_flyout_content.tsx diff --git a/packages/cloud/connection_details/context/index.ts b/src/platform/packages/shared/cloud/connection_details/context/index.ts similarity index 100% rename from packages/cloud/connection_details/context/index.ts rename to src/platform/packages/shared/cloud/connection_details/context/index.ts diff --git a/packages/cloud/connection_details/context/options.tsx b/src/platform/packages/shared/cloud/connection_details/context/options.tsx similarity index 100% rename from packages/cloud/connection_details/context/options.tsx rename to src/platform/packages/shared/cloud/connection_details/context/options.tsx diff --git a/packages/cloud/connection_details/context/service.tsx b/src/platform/packages/shared/cloud/connection_details/context/service.tsx similarity index 100% rename from packages/cloud/connection_details/context/service.tsx rename to src/platform/packages/shared/cloud/connection_details/context/service.tsx diff --git a/packages/cloud/connection_details/hooks/use_async_memo.ts b/src/platform/packages/shared/cloud/connection_details/hooks/use_async_memo.ts similarity index 100% rename from packages/cloud/connection_details/hooks/use_async_memo.ts rename to src/platform/packages/shared/cloud/connection_details/hooks/use_async_memo.ts diff --git a/packages/cloud/connection_details/hooks/use_behavior_subject.ts b/src/platform/packages/shared/cloud/connection_details/hooks/use_behavior_subject.ts similarity index 100% rename from packages/cloud/connection_details/hooks/use_behavior_subject.ts rename to src/platform/packages/shared/cloud/connection_details/hooks/use_behavior_subject.ts diff --git a/packages/cloud/connection_details/index.ts b/src/platform/packages/shared/cloud/connection_details/index.ts similarity index 100% rename from packages/cloud/connection_details/index.ts rename to src/platform/packages/shared/cloud/connection_details/index.ts diff --git a/packages/cloud/connection_details/kibana/global.ts b/src/platform/packages/shared/cloud/connection_details/kibana/global.ts similarity index 100% rename from packages/cloud/connection_details/kibana/global.ts rename to src/platform/packages/shared/cloud/connection_details/kibana/global.ts diff --git a/packages/cloud/connection_details/kibana/index.ts b/src/platform/packages/shared/cloud/connection_details/kibana/index.ts similarity index 100% rename from packages/cloud/connection_details/kibana/index.ts rename to src/platform/packages/shared/cloud/connection_details/kibana/index.ts diff --git a/packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx b/src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx similarity index 100% rename from packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx rename to src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx diff --git a/packages/cloud/connection_details/kibana/kibana_wired_connection_details_provider.tsx b/src/platform/packages/shared/cloud/connection_details/kibana/kibana_wired_connection_details_provider.tsx similarity index 100% rename from packages/cloud/connection_details/kibana/kibana_wired_connection_details_provider.tsx rename to src/platform/packages/shared/cloud/connection_details/kibana/kibana_wired_connection_details_provider.tsx diff --git a/packages/cloud/connection_details/kibana/open_connection_details.tsx b/src/platform/packages/shared/cloud/connection_details/kibana/open_connection_details.tsx similarity index 100% rename from packages/cloud/connection_details/kibana/open_connection_details.tsx rename to src/platform/packages/shared/cloud/connection_details/kibana/open_connection_details.tsx diff --git a/packages/cloud/connection_details/kibana/open_wired_connection_details.tsx b/src/platform/packages/shared/cloud/connection_details/kibana/open_wired_connection_details.tsx similarity index 100% rename from packages/cloud/connection_details/kibana/open_wired_connection_details.tsx rename to src/platform/packages/shared/cloud/connection_details/kibana/open_wired_connection_details.tsx diff --git a/packages/cloud/connection_details/service.ts b/src/platform/packages/shared/cloud/connection_details/service.ts similarity index 100% rename from packages/cloud/connection_details/service.ts rename to src/platform/packages/shared/cloud/connection_details/service.ts diff --git a/packages/cloud/connection_details/stories.tsx b/src/platform/packages/shared/cloud/connection_details/stories.tsx similarity index 100% rename from packages/cloud/connection_details/stories.tsx rename to src/platform/packages/shared/cloud/connection_details/stories.tsx diff --git a/packages/cloud/connection_details/tabs.tsx b/src/platform/packages/shared/cloud/connection_details/tabs.tsx similarity index 100% rename from packages/cloud/connection_details/tabs.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.stories.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.stories.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.stories.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.stories.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/components/manage_keys_link.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/components/manage_keys_link.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/components/manage_keys_link.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/components/manage_keys_link.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/index.ts b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/index.ts similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/index.ts rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/index.ts diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form_controlled.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form_controlled.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form_controlled.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form_controlled.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/index.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/index.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/index.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/index.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/missing_permissions_panel.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/missing_permissions_panel.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/missing_permissions_panel.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/missing_permissions_panel.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/format_select.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/format_select.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/format_select.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/format_select.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/index.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/index.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/index.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/index.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.stories.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.stories.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.stories.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.stories.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/types.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/types.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/types.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/types.tsx diff --git a/packages/cloud/connection_details/tabs/endpoints_tab/endpoint_tab.stories.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/endpoint_tab.stories.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/endpoints_tab/endpoint_tab.stories.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/endpoint_tab.stories.tsx diff --git a/packages/cloud/connection_details/tabs/endpoints_tab/endpoints_tab.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/endpoints_tab.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/endpoints_tab/endpoints_tab.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/endpoints_tab.tsx diff --git a/packages/cloud/connection_details/tabs/endpoints_tab/index.ts b/src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/index.ts similarity index 100% rename from packages/cloud/connection_details/tabs/endpoints_tab/index.ts rename to src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/index.ts diff --git a/packages/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/cloud_id_row.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/cloud_id_row.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/cloud_id_row.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/cloud_id_row.tsx diff --git a/packages/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/index.ts b/src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/index.ts similarity index 100% rename from packages/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/index.ts rename to src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/index.ts diff --git a/packages/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/label.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/label.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/label.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/label.tsx diff --git a/packages/cloud/connection_details/tabs/endpoints_tab/rows/endpoints_url_row.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/endpoints_url_row.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/endpoints_tab/rows/endpoints_url_row.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/endpoints_url_row.tsx diff --git a/packages/cloud/connection_details/types.ts b/src/platform/packages/shared/cloud/connection_details/types.ts similarity index 100% rename from packages/cloud/connection_details/types.ts rename to src/platform/packages/shared/cloud/connection_details/types.ts diff --git a/packages/cloud/deployment_details/deployment_details.tsx b/src/platform/packages/shared/cloud/deployment_details/deployment_details.tsx similarity index 100% rename from packages/cloud/deployment_details/deployment_details.tsx rename to src/platform/packages/shared/cloud/deployment_details/deployment_details.tsx diff --git a/packages/cloud/deployment_details/deployment_details_cloudid_input.tsx b/src/platform/packages/shared/cloud/deployment_details/deployment_details_cloudid_input.tsx similarity index 100% rename from packages/cloud/deployment_details/deployment_details_cloudid_input.tsx rename to src/platform/packages/shared/cloud/deployment_details/deployment_details_cloudid_input.tsx diff --git a/packages/cloud/deployment_details/deployment_details_es_input.tsx b/src/platform/packages/shared/cloud/deployment_details/deployment_details_es_input.tsx similarity index 100% rename from packages/cloud/deployment_details/deployment_details_es_input.tsx rename to src/platform/packages/shared/cloud/deployment_details/deployment_details_es_input.tsx diff --git a/packages/cloud/deployment_details/deployment_details_modal.tsx b/src/platform/packages/shared/cloud/deployment_details/deployment_details_modal.tsx similarity index 100% rename from packages/cloud/deployment_details/deployment_details_modal.tsx rename to src/platform/packages/shared/cloud/deployment_details/deployment_details_modal.tsx diff --git a/packages/cloud/deployment_details/index.ts b/src/platform/packages/shared/cloud/deployment_details/index.ts similarity index 100% rename from packages/cloud/deployment_details/index.ts rename to src/platform/packages/shared/cloud/deployment_details/index.ts diff --git a/packages/cloud/deployment_details/services.tsx b/src/platform/packages/shared/cloud/deployment_details/services.tsx similarity index 100% rename from packages/cloud/deployment_details/services.tsx rename to src/platform/packages/shared/cloud/deployment_details/services.tsx diff --git a/packages/kbn-apm-config-loader/jest.config.js b/src/platform/packages/shared/cloud/jest.config.js similarity index 85% rename from packages/kbn-apm-config-loader/jest.config.js rename to src/platform/packages/shared/cloud/jest.config.js index 5b4bf2b997ad6..8b33a82725496 100644 --- a/packages/kbn-apm-config-loader/jest.config.js +++ b/src/platform/packages/shared/cloud/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-apm-config-loader'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/cloud'], }; diff --git a/packages/cloud/kibana.jsonc b/src/platform/packages/shared/cloud/kibana.jsonc similarity index 100% rename from packages/cloud/kibana.jsonc rename to src/platform/packages/shared/cloud/kibana.jsonc diff --git a/packages/cloud/package.json b/src/platform/packages/shared/cloud/package.json similarity index 100% rename from packages/cloud/package.json rename to src/platform/packages/shared/cloud/package.json diff --git a/packages/cloud/tsconfig.json b/src/platform/packages/shared/cloud/tsconfig.json similarity index 89% rename from packages/cloud/tsconfig.json rename to src/platform/packages/shared/cloud/tsconfig.json index 63d6c281f8199..1dd9258760043 100644 --- a/packages/cloud/tsconfig.json +++ b/src/platform/packages/shared/cloud/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-analytics/BUILD.bazel b/src/platform/packages/shared/kbn-analytics/BUILD.bazel similarity index 100% rename from packages/kbn-analytics/BUILD.bazel rename to src/platform/packages/shared/kbn-analytics/BUILD.bazel diff --git a/packages/kbn-analytics/README.md b/src/platform/packages/shared/kbn-analytics/README.md similarity index 87% rename from packages/kbn-analytics/README.md rename to src/platform/packages/shared/kbn-analytics/README.md index 7cd705ea223fd..6cf3760773ba4 100644 --- a/packages/kbn-analytics/README.md +++ b/src/platform/packages/shared/kbn-analytics/README.md @@ -1,12 +1,11 @@ # `@kbn/analytics` -> [!NOTE] +> [!NOTE] > The term _analytics_ here refers to _Usage Analytics_, and should not be confused with the Kibana (Data) Analytics tools. -> [!IMPORTANT] +> [!IMPORTANT] > This package is exclusively used by the plugin `usage_collection` and it's not expected to be used elsewhere. > If you are still here for _Usage Analytics_, you might be looking for [core-analytics](../core/analytics), the [EBT packages](../analytics). -This package implements the report that batches updates from Application Usage, UI Counters, and User Agent. +This package implements the report that batches updates from Application Usage, UI Counters, and User Agent. It defines the contract of the report, and the strategy to ship it to the server. - diff --git a/packages/kbn-analytics/index.ts b/src/platform/packages/shared/kbn-analytics/index.ts similarity index 100% rename from packages/kbn-analytics/index.ts rename to src/platform/packages/shared/kbn-analytics/index.ts diff --git a/packages/kbn-analytics/kibana.jsonc b/src/platform/packages/shared/kbn-analytics/kibana.jsonc similarity index 100% rename from packages/kbn-analytics/kibana.jsonc rename to src/platform/packages/shared/kbn-analytics/kibana.jsonc diff --git a/packages/kbn-analytics/package.json b/src/platform/packages/shared/kbn-analytics/package.json similarity index 100% rename from packages/kbn-analytics/package.json rename to src/platform/packages/shared/kbn-analytics/package.json diff --git a/packages/kbn-analytics/src/application_usage_tracker.ts b/src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts similarity index 100% rename from packages/kbn-analytics/src/application_usage_tracker.ts rename to src/platform/packages/shared/kbn-analytics/src/application_usage_tracker.ts diff --git a/packages/kbn-analytics/src/metrics/application_usage.ts b/src/platform/packages/shared/kbn-analytics/src/metrics/application_usage.ts similarity index 100% rename from packages/kbn-analytics/src/metrics/application_usage.ts rename to src/platform/packages/shared/kbn-analytics/src/metrics/application_usage.ts diff --git a/packages/kbn-analytics/src/metrics/index.ts b/src/platform/packages/shared/kbn-analytics/src/metrics/index.ts similarity index 100% rename from packages/kbn-analytics/src/metrics/index.ts rename to src/platform/packages/shared/kbn-analytics/src/metrics/index.ts diff --git a/packages/kbn-analytics/src/metrics/ui_counter.ts b/src/platform/packages/shared/kbn-analytics/src/metrics/ui_counter.ts similarity index 100% rename from packages/kbn-analytics/src/metrics/ui_counter.ts rename to src/platform/packages/shared/kbn-analytics/src/metrics/ui_counter.ts diff --git a/packages/kbn-analytics/src/metrics/user_agent.ts b/src/platform/packages/shared/kbn-analytics/src/metrics/user_agent.ts similarity index 100% rename from packages/kbn-analytics/src/metrics/user_agent.ts rename to src/platform/packages/shared/kbn-analytics/src/metrics/user_agent.ts diff --git a/packages/kbn-analytics/src/report.ts b/src/platform/packages/shared/kbn-analytics/src/report.ts similarity index 100% rename from packages/kbn-analytics/src/report.ts rename to src/platform/packages/shared/kbn-analytics/src/report.ts diff --git a/packages/kbn-analytics/src/reporter.ts b/src/platform/packages/shared/kbn-analytics/src/reporter.ts similarity index 100% rename from packages/kbn-analytics/src/reporter.ts rename to src/platform/packages/shared/kbn-analytics/src/reporter.ts diff --git a/packages/kbn-analytics/src/storage.ts b/src/platform/packages/shared/kbn-analytics/src/storage.ts similarity index 100% rename from packages/kbn-analytics/src/storage.ts rename to src/platform/packages/shared/kbn-analytics/src/storage.ts diff --git a/packages/kbn-analytics/src/util.ts b/src/platform/packages/shared/kbn-analytics/src/util.ts similarity index 100% rename from packages/kbn-analytics/src/util.ts rename to src/platform/packages/shared/kbn-analytics/src/util.ts diff --git a/packages/kbn-analytics/tsconfig.json b/src/platform/packages/shared/kbn-analytics/tsconfig.json similarity index 82% rename from packages/kbn-analytics/tsconfig.json rename to src/platform/packages/shared/kbn-analytics/tsconfig.json index 1ff22d007ea78..480400eac6e35 100644 --- a/packages/kbn-analytics/tsconfig.json +++ b/src/platform/packages/shared/kbn-analytics/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "isolatedModules": true, "outDir": "target/types", diff --git a/packages/kbn-config/README.md b/src/platform/packages/shared/kbn-config/README.md similarity index 100% rename from packages/kbn-config/README.md rename to src/platform/packages/shared/kbn-config/README.md diff --git a/packages/kbn-config/index.ts b/src/platform/packages/shared/kbn-config/index.ts similarity index 100% rename from packages/kbn-config/index.ts rename to src/platform/packages/shared/kbn-config/index.ts diff --git a/packages/cloud/jest.config.js b/src/platform/packages/shared/kbn-config/jest.config.js similarity index 84% rename from packages/cloud/jest.config.js rename to src/platform/packages/shared/kbn-config/jest.config.js index f1d60eda4027a..12d831e0b3d24 100644 --- a/packages/cloud/jest.config.js +++ b/src/platform/packages/shared/kbn-config/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/cloud'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-config'], }; diff --git a/packages/kbn-config/kibana.jsonc b/src/platform/packages/shared/kbn-config/kibana.jsonc similarity index 100% rename from packages/kbn-config/kibana.jsonc rename to src/platform/packages/shared/kbn-config/kibana.jsonc diff --git a/packages/kbn-config/package.json b/src/platform/packages/shared/kbn-config/package.json similarity index 100% rename from packages/kbn-config/package.json rename to src/platform/packages/shared/kbn-config/package.json diff --git a/packages/kbn-config/src/__fixtures__/config.yml b/src/platform/packages/shared/kbn-config/src/__fixtures__/config.yml similarity index 100% rename from packages/kbn-config/src/__fixtures__/config.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/config.yml diff --git a/packages/kbn-config/src/__fixtures__/config_flat.yml b/src/platform/packages/shared/kbn-config/src/__fixtures__/config_flat.yml similarity index 100% rename from packages/kbn-config/src/__fixtures__/config_flat.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/config_flat.yml diff --git a/packages/kbn-config/src/__fixtures__/en_var_ref_config.yml b/src/platform/packages/shared/kbn-config/src/__fixtures__/en_var_ref_config.yml similarity index 100% rename from packages/kbn-config/src/__fixtures__/en_var_ref_config.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/en_var_ref_config.yml diff --git a/packages/kbn-config/src/__fixtures__/en_var_ref_config_nested.yml b/src/platform/packages/shared/kbn-config/src/__fixtures__/en_var_ref_config_nested.yml similarity index 100% rename from packages/kbn-config/src/__fixtures__/en_var_ref_config_nested.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/en_var_ref_config_nested.yml diff --git a/packages/kbn-config/src/__fixtures__/en_var_with_defaults.yml b/src/platform/packages/shared/kbn-config/src/__fixtures__/en_var_with_defaults.yml similarity index 100% rename from packages/kbn-config/src/__fixtures__/en_var_with_defaults.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/en_var_with_defaults.yml diff --git a/packages/kbn-config/src/__fixtures__/forbidden_1.yml b/src/platform/packages/shared/kbn-config/src/__fixtures__/forbidden_1.yml similarity index 100% rename from packages/kbn-config/src/__fixtures__/forbidden_1.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/forbidden_1.yml diff --git a/packages/kbn-config/src/__fixtures__/forbidden_2.yml b/src/platform/packages/shared/kbn-config/src/__fixtures__/forbidden_2.yml similarity index 100% rename from packages/kbn-config/src/__fixtures__/forbidden_2.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/forbidden_2.yml diff --git a/packages/kbn-config/src/__fixtures__/merge_1.yml b/src/platform/packages/shared/kbn-config/src/__fixtures__/merge_1.yml similarity index 100% rename from packages/kbn-config/src/__fixtures__/merge_1.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/merge_1.yml diff --git a/packages/kbn-config/src/__fixtures__/merge_2.yml b/src/platform/packages/shared/kbn-config/src/__fixtures__/merge_2.yml similarity index 100% rename from packages/kbn-config/src/__fixtures__/merge_2.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/merge_2.yml diff --git a/packages/kbn-config/src/__fixtures__/one.yml b/src/platform/packages/shared/kbn-config/src/__fixtures__/one.yml similarity index 100% rename from packages/kbn-config/src/__fixtures__/one.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/one.yml diff --git a/packages/kbn-config/src/__fixtures__/two.yml b/src/platform/packages/shared/kbn-config/src/__fixtures__/two.yml similarity index 100% rename from packages/kbn-config/src/__fixtures__/two.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/two.yml diff --git a/packages/kbn-config/src/__fixtures__/unsplittable_1.yml b/src/platform/packages/shared/kbn-config/src/__fixtures__/unsplittable_1.yml similarity index 100% rename from packages/kbn-config/src/__fixtures__/unsplittable_1.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/unsplittable_1.yml diff --git a/packages/kbn-config/src/__fixtures__/unsplittable_2.yml b/src/platform/packages/shared/kbn-config/src/__fixtures__/unsplittable_2.yml similarity index 98% rename from packages/kbn-config/src/__fixtures__/unsplittable_2.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/unsplittable_2.yml index df84542aa2da2..1404947ecb8b4 100644 --- a/packages/kbn-config/src/__fixtures__/unsplittable_2.yml +++ b/src/platform/packages/shared/kbn-config/src/__fixtures__/unsplittable_2.yml @@ -3,4 +3,3 @@ list: - id: "id1" '[a.b]': ['foo', 'bar'] - diff --git a/packages/kbn-config/src/__fixtures__/unsplittable_3.yml b/src/platform/packages/shared/kbn-config/src/__fixtures__/unsplittable_3.yml similarity index 99% rename from packages/kbn-config/src/__fixtures__/unsplittable_3.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/unsplittable_3.yml index 8e206af4b0228..f44698a808145 100644 --- a/packages/kbn-config/src/__fixtures__/unsplittable_3.yml +++ b/src/platform/packages/shared/kbn-config/src/__fixtures__/unsplittable_3.yml @@ -4,4 +4,3 @@ list: - id: "id1" '[a.b]': ['foo', 'bar'] test.this.out: ['foo', 'bar'] - diff --git a/packages/kbn-config/src/__snapshots__/config_service.test.ts.snap b/src/platform/packages/shared/kbn-config/src/__snapshots__/config_service.test.ts.snap similarity index 100% rename from packages/kbn-config/src/__snapshots__/config_service.test.ts.snap rename to src/platform/packages/shared/kbn-config/src/__snapshots__/config_service.test.ts.snap diff --git a/packages/kbn-config/src/__snapshots__/env.test.ts.snap b/src/platform/packages/shared/kbn-config/src/__snapshots__/env.test.ts.snap similarity index 100% rename from packages/kbn-config/src/__snapshots__/env.test.ts.snap rename to src/platform/packages/shared/kbn-config/src/__snapshots__/env.test.ts.snap diff --git a/packages/kbn-config/src/apply_argv.test.ts b/src/platform/packages/shared/kbn-config/src/apply_argv.test.ts similarity index 100% rename from packages/kbn-config/src/apply_argv.test.ts rename to src/platform/packages/shared/kbn-config/src/apply_argv.test.ts diff --git a/packages/kbn-config/src/config.test.ts b/src/platform/packages/shared/kbn-config/src/config.test.ts similarity index 100% rename from packages/kbn-config/src/config.test.ts rename to src/platform/packages/shared/kbn-config/src/config.test.ts diff --git a/packages/kbn-config/src/config.ts b/src/platform/packages/shared/kbn-config/src/config.ts similarity index 100% rename from packages/kbn-config/src/config.ts rename to src/platform/packages/shared/kbn-config/src/config.ts diff --git a/packages/kbn-config/src/config_service.test.mocks.ts b/src/platform/packages/shared/kbn-config/src/config_service.test.mocks.ts similarity index 95% rename from packages/kbn-config/src/config_service.test.mocks.ts rename to src/platform/packages/shared/kbn-config/src/config_service.test.mocks.ts index d242b0d4e0ce0..912f208d5225c 100644 --- a/packages/kbn-config/src/config_service.test.mocks.ts +++ b/src/platform/packages/shared/kbn-config/src/config_service.test.mocks.ts @@ -12,7 +12,7 @@ import type { DocLinks } from '@kbn/doc-links'; export const mockPackage = new Proxy({ raw: {} as any }, { get: (obj, prop) => obj.raw[prop] }); import type { applyDeprecations } from './deprecation/apply_deprecations'; -jest.mock('../../../package.json', () => mockPackage); +jest.mock('../../../../../../package.json', () => mockPackage); const changedPaths = { set: ['foo'], diff --git a/packages/kbn-config/src/config_service.test.ts b/src/platform/packages/shared/kbn-config/src/config_service.test.ts similarity index 100% rename from packages/kbn-config/src/config_service.test.ts rename to src/platform/packages/shared/kbn-config/src/config_service.test.ts diff --git a/packages/kbn-config/src/config_service.ts b/src/platform/packages/shared/kbn-config/src/config_service.ts similarity index 100% rename from packages/kbn-config/src/config_service.ts rename to src/platform/packages/shared/kbn-config/src/config_service.ts diff --git a/packages/kbn-config/src/deprecation/apply_deprecations.test.ts b/src/platform/packages/shared/kbn-config/src/deprecation/apply_deprecations.test.ts similarity index 100% rename from packages/kbn-config/src/deprecation/apply_deprecations.test.ts rename to src/platform/packages/shared/kbn-config/src/deprecation/apply_deprecations.test.ts diff --git a/packages/kbn-config/src/deprecation/apply_deprecations.ts b/src/platform/packages/shared/kbn-config/src/deprecation/apply_deprecations.ts similarity index 100% rename from packages/kbn-config/src/deprecation/apply_deprecations.ts rename to src/platform/packages/shared/kbn-config/src/deprecation/apply_deprecations.ts diff --git a/packages/kbn-config/src/deprecation/deprecation_factory.test.ts b/src/platform/packages/shared/kbn-config/src/deprecation/deprecation_factory.test.ts similarity index 100% rename from packages/kbn-config/src/deprecation/deprecation_factory.test.ts rename to src/platform/packages/shared/kbn-config/src/deprecation/deprecation_factory.test.ts diff --git a/packages/kbn-config/src/deprecation/deprecation_factory.ts b/src/platform/packages/shared/kbn-config/src/deprecation/deprecation_factory.ts similarity index 100% rename from packages/kbn-config/src/deprecation/deprecation_factory.ts rename to src/platform/packages/shared/kbn-config/src/deprecation/deprecation_factory.ts diff --git a/packages/kbn-config/src/deprecation/index.ts b/src/platform/packages/shared/kbn-config/src/deprecation/index.ts similarity index 100% rename from packages/kbn-config/src/deprecation/index.ts rename to src/platform/packages/shared/kbn-config/src/deprecation/index.ts diff --git a/packages/kbn-config/src/deprecation/types.ts b/src/platform/packages/shared/kbn-config/src/deprecation/types.ts similarity index 100% rename from packages/kbn-config/src/deprecation/types.ts rename to src/platform/packages/shared/kbn-config/src/deprecation/types.ts diff --git a/packages/kbn-config/src/deprecation/unset_and_clean_empty_parent.test.ts b/src/platform/packages/shared/kbn-config/src/deprecation/unset_and_clean_empty_parent.test.ts similarity index 100% rename from packages/kbn-config/src/deprecation/unset_and_clean_empty_parent.test.ts rename to src/platform/packages/shared/kbn-config/src/deprecation/unset_and_clean_empty_parent.test.ts diff --git a/packages/kbn-config/src/deprecation/unset_and_clean_empty_parent.ts b/src/platform/packages/shared/kbn-config/src/deprecation/unset_and_clean_empty_parent.ts similarity index 100% rename from packages/kbn-config/src/deprecation/unset_and_clean_empty_parent.ts rename to src/platform/packages/shared/kbn-config/src/deprecation/unset_and_clean_empty_parent.ts diff --git a/packages/kbn-config/src/env.test.mocks.ts b/src/platform/packages/shared/kbn-config/src/env.test.mocks.ts similarity index 100% rename from packages/kbn-config/src/env.test.mocks.ts rename to src/platform/packages/shared/kbn-config/src/env.test.mocks.ts diff --git a/packages/kbn-config/src/env.test.ts b/src/platform/packages/shared/kbn-config/src/env.test.ts similarity index 100% rename from packages/kbn-config/src/env.test.ts rename to src/platform/packages/shared/kbn-config/src/env.test.ts diff --git a/packages/kbn-config/src/env.ts b/src/platform/packages/shared/kbn-config/src/env.ts similarity index 100% rename from packages/kbn-config/src/env.ts rename to src/platform/packages/shared/kbn-config/src/env.ts diff --git a/packages/kbn-config/src/internal_mocks.ts b/src/platform/packages/shared/kbn-config/src/internal_mocks.ts similarity index 100% rename from packages/kbn-config/src/internal_mocks.ts rename to src/platform/packages/shared/kbn-config/src/internal_mocks.ts diff --git a/packages/kbn-config/src/object_to_config_adapter.test.ts b/src/platform/packages/shared/kbn-config/src/object_to_config_adapter.test.ts similarity index 100% rename from packages/kbn-config/src/object_to_config_adapter.test.ts rename to src/platform/packages/shared/kbn-config/src/object_to_config_adapter.test.ts diff --git a/packages/kbn-config/src/object_to_config_adapter.ts b/src/platform/packages/shared/kbn-config/src/object_to_config_adapter.ts similarity index 100% rename from packages/kbn-config/src/object_to_config_adapter.ts rename to src/platform/packages/shared/kbn-config/src/object_to_config_adapter.ts diff --git a/packages/kbn-config/src/raw/__snapshots__/read_config.test.ts.snap b/src/platform/packages/shared/kbn-config/src/raw/__snapshots__/read_config.test.ts.snap similarity index 100% rename from packages/kbn-config/src/raw/__snapshots__/read_config.test.ts.snap rename to src/platform/packages/shared/kbn-config/src/raw/__snapshots__/read_config.test.ts.snap diff --git a/packages/kbn-config/src/raw/index.ts b/src/platform/packages/shared/kbn-config/src/raw/index.ts similarity index 100% rename from packages/kbn-config/src/raw/index.ts rename to src/platform/packages/shared/kbn-config/src/raw/index.ts diff --git a/packages/kbn-config/src/raw/raw_config_service.test.mocks.ts b/src/platform/packages/shared/kbn-config/src/raw/raw_config_service.test.mocks.ts similarity index 100% rename from packages/kbn-config/src/raw/raw_config_service.test.mocks.ts rename to src/platform/packages/shared/kbn-config/src/raw/raw_config_service.test.mocks.ts diff --git a/packages/kbn-config/src/raw/raw_config_service.test.ts b/src/platform/packages/shared/kbn-config/src/raw/raw_config_service.test.ts similarity index 100% rename from packages/kbn-config/src/raw/raw_config_service.test.ts rename to src/platform/packages/shared/kbn-config/src/raw/raw_config_service.test.ts diff --git a/packages/kbn-config/src/raw/raw_config_service.ts b/src/platform/packages/shared/kbn-config/src/raw/raw_config_service.ts similarity index 100% rename from packages/kbn-config/src/raw/raw_config_service.ts rename to src/platform/packages/shared/kbn-config/src/raw/raw_config_service.ts diff --git a/packages/kbn-config/src/raw/read_config.test.ts b/src/platform/packages/shared/kbn-config/src/raw/read_config.test.ts similarity index 100% rename from packages/kbn-config/src/raw/read_config.test.ts rename to src/platform/packages/shared/kbn-config/src/raw/read_config.test.ts diff --git a/packages/kbn-config/src/raw/read_config.ts b/src/platform/packages/shared/kbn-config/src/raw/read_config.ts similarity index 100% rename from packages/kbn-config/src/raw/read_config.ts rename to src/platform/packages/shared/kbn-config/src/raw/read_config.ts diff --git a/packages/kbn-config/src/raw/utils.test.ts b/src/platform/packages/shared/kbn-config/src/raw/utils.test.ts similarity index 100% rename from packages/kbn-config/src/raw/utils.test.ts rename to src/platform/packages/shared/kbn-config/src/raw/utils.test.ts diff --git a/packages/kbn-config/src/raw/utils.ts b/src/platform/packages/shared/kbn-config/src/raw/utils.ts similarity index 100% rename from packages/kbn-config/src/raw/utils.ts rename to src/platform/packages/shared/kbn-config/src/raw/utils.ts diff --git a/packages/kbn-config/src/types.ts b/src/platform/packages/shared/kbn-config/src/types.ts similarity index 100% rename from packages/kbn-config/src/types.ts rename to src/platform/packages/shared/kbn-config/src/types.ts diff --git a/packages/kbn-config/tsconfig.json b/src/platform/packages/shared/kbn-config/tsconfig.json similarity index 89% rename from packages/kbn-config/tsconfig.json rename to src/platform/packages/shared/kbn-config/tsconfig.json index e9978b43fa8c8..6dffb3fa8bf0c 100644 --- a/packages/kbn-config/tsconfig.json +++ b/src/platform/packages/shared/kbn-config/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index d8426dfdef123..82b6fd9540310 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -66,16 +66,16 @@ "@kbn/ambient-storybook-types/*": ["packages/kbn-ambient-storybook-types/*"], "@kbn/ambient-ui-types": ["packages/kbn-ambient-ui-types"], "@kbn/ambient-ui-types/*": ["packages/kbn-ambient-ui-types/*"], - "@kbn/analytics": ["packages/kbn-analytics"], - "@kbn/analytics/*": ["packages/kbn-analytics/*"], - "@kbn/analytics-collection-utils": ["packages/analytics/utils/analytics_collection_utils"], - "@kbn/analytics-collection-utils/*": ["packages/analytics/utils/analytics_collection_utils/*"], + "@kbn/analytics": ["src/platform/packages/shared/kbn-analytics"], + "@kbn/analytics/*": ["src/platform/packages/shared/kbn-analytics/*"], + "@kbn/analytics-collection-utils": ["src/platform/packages/private/analytics/utils/analytics_collection_utils"], + "@kbn/analytics-collection-utils/*": ["src/platform/packages/private/analytics/utils/analytics_collection_utils/*"], "@kbn/analytics-ftr-helpers-plugin": ["test/analytics/plugins/analytics_ftr_helpers"], "@kbn/analytics-ftr-helpers-plugin/*": ["test/analytics/plugins/analytics_ftr_helpers/*"], "@kbn/analytics-plugin-a-plugin": ["test/analytics/plugins/analytics_plugin_a"], "@kbn/analytics-plugin-a-plugin/*": ["test/analytics/plugins/analytics_plugin_a/*"], - "@kbn/apm-config-loader": ["packages/kbn-apm-config-loader"], - "@kbn/apm-config-loader/*": ["packages/kbn-apm-config-loader/*"], + "@kbn/apm-config-loader": ["src/platform/packages/private/kbn-apm-config-loader"], + "@kbn/apm-config-loader/*": ["src/platform/packages/private/kbn-apm-config-loader/*"], "@kbn/apm-data-access-plugin": ["x-pack/plugins/observability_solution/apm_data_access"], "@kbn/apm-data-access-plugin/*": ["x-pack/plugins/observability_solution/apm_data_access/*"], "@kbn/apm-data-view": ["packages/kbn-apm-data-view"], @@ -156,24 +156,24 @@ "@kbn/ci-stats-shipper-cli/*": ["packages/kbn-ci-stats-shipper-cli/*"], "@kbn/cli-dev-mode": ["packages/kbn-cli-dev-mode"], "@kbn/cli-dev-mode/*": ["packages/kbn-cli-dev-mode/*"], - "@kbn/cloud": ["packages/cloud"], - "@kbn/cloud/*": ["packages/cloud/*"], - "@kbn/cloud-chat-plugin": ["x-pack/plugins/cloud_integrations/cloud_chat"], - "@kbn/cloud-chat-plugin/*": ["x-pack/plugins/cloud_integrations/cloud_chat/*"], + "@kbn/cloud": ["src/platform/packages/shared/cloud"], + "@kbn/cloud/*": ["src/platform/packages/shared/cloud/*"], + "@kbn/cloud-chat-plugin": ["x-pack/platform/plugins/private/cloud_integrations/cloud_chat"], + "@kbn/cloud-chat-plugin/*": ["x-pack/platform/plugins/private/cloud_integrations/cloud_chat/*"], "@kbn/cloud-data-migration-plugin": ["x-pack/plugins/cloud_integrations/cloud_data_migration"], "@kbn/cloud-data-migration-plugin/*": ["x-pack/plugins/cloud_integrations/cloud_data_migration/*"], "@kbn/cloud-defend-plugin": ["x-pack/plugins/cloud_defend"], "@kbn/cloud-defend-plugin/*": ["x-pack/plugins/cloud_defend/*"], - "@kbn/cloud-experiments-plugin": ["x-pack/plugins/cloud_integrations/cloud_experiments"], - "@kbn/cloud-experiments-plugin/*": ["x-pack/plugins/cloud_integrations/cloud_experiments/*"], - "@kbn/cloud-full-story-plugin": ["x-pack/plugins/cloud_integrations/cloud_full_story"], - "@kbn/cloud-full-story-plugin/*": ["x-pack/plugins/cloud_integrations/cloud_full_story/*"], + "@kbn/cloud-experiments-plugin": ["x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments"], + "@kbn/cloud-experiments-plugin/*": ["x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/*"], + "@kbn/cloud-full-story-plugin": ["x-pack/platform/plugins/private/cloud_integrations/cloud_full_story"], + "@kbn/cloud-full-story-plugin/*": ["x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/*"], "@kbn/cloud-integration-saml-provider-plugin": ["x-pack/test/cloud_integration/plugins/saml_provider"], "@kbn/cloud-integration-saml-provider-plugin/*": ["x-pack/test/cloud_integration/plugins/saml_provider/*"], - "@kbn/cloud-links-plugin": ["x-pack/plugins/cloud_integrations/cloud_links"], - "@kbn/cloud-links-plugin/*": ["x-pack/plugins/cloud_integrations/cloud_links/*"], - "@kbn/cloud-plugin": ["x-pack/plugins/cloud"], - "@kbn/cloud-plugin/*": ["x-pack/plugins/cloud/*"], + "@kbn/cloud-links-plugin": ["x-pack/platform/plugins/private/cloud_integrations/cloud_links"], + "@kbn/cloud-links-plugin/*": ["x-pack/platform/plugins/private/cloud_integrations/cloud_links/*"], + "@kbn/cloud-plugin": ["x-pack/platform/plugins/shared/cloud"], + "@kbn/cloud-plugin/*": ["x-pack/platform/plugins/shared/cloud/*"], "@kbn/cloud-security-posture": ["x-pack/packages/kbn-cloud-security-posture/public"], "@kbn/cloud-security-posture/*": ["x-pack/packages/kbn-cloud-security-posture/public/*"], "@kbn/cloud-security-posture-common": ["x-pack/packages/kbn-cloud-security-posture/common"], @@ -190,8 +190,8 @@ "@kbn/code-owners/*": ["packages/kbn-code-owners/*"], "@kbn/coloring": ["packages/kbn-coloring"], "@kbn/coloring/*": ["packages/kbn-coloring/*"], - "@kbn/config": ["packages/kbn-config"], - "@kbn/config/*": ["packages/kbn-config/*"], + "@kbn/config": ["src/platform/packages/shared/kbn-config"], + "@kbn/config/*": ["src/platform/packages/shared/kbn-config/*"], "@kbn/config-mocks": ["packages/kbn-config-mocks"], "@kbn/config-mocks/*": ["packages/kbn-config-mocks/*"], "@kbn/config-schema": ["packages/kbn-config-schema"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 213c3f06f34aa..7781d15fa874d 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -19,9 +19,9 @@ "xpack.banners": "plugins/banners", "xpack.canvas": "plugins/canvas", "xpack.cases": "plugins/cases", - "xpack.cloud": "plugins/cloud", + "xpack.cloud": "platform/plugins/shared/cloud", "xpack.cloudDefend": "plugins/cloud_defend", - "xpack.cloudLinks": "plugins/cloud_integrations/cloud_links", + "xpack.cloudLinks": "platform/plugins/private/cloud_integrations/cloud_links", "xpack.cloudDataMigration": "plugins/cloud_integrations/cloud_data_migration", "xpack.csp": [ "plugins/cloud_security_posture", diff --git a/x-pack/plugins/cloud_integrations/cloud_chat/README.md b/x-pack/platform/plugins/private/cloud_integrations/cloud_chat/README.md similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_chat/README.md rename to x-pack/platform/plugins/private/cloud_integrations/cloud_chat/README.md diff --git a/x-pack/plugins/cloud_integrations/cloud_chat/kibana.jsonc b/x-pack/platform/plugins/private/cloud_integrations/cloud_chat/kibana.jsonc similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_chat/kibana.jsonc rename to x-pack/platform/plugins/private/cloud_integrations/cloud_chat/kibana.jsonc diff --git a/x-pack/plugins/cloud_integrations/cloud_chat/server/config.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_chat/server/config.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_chat/server/config.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_chat/server/config.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_chat/server/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_chat/server/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_chat/server/index.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_chat/server/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_chat/tsconfig.json b/x-pack/platform/plugins/private/cloud_integrations/cloud_chat/tsconfig.json similarity index 77% rename from x-pack/plugins/cloud_integrations/cloud_chat/tsconfig.json rename to x-pack/platform/plugins/private/cloud_integrations/cloud_chat/tsconfig.json index a20f1dc8a30e6..d6f37cfa542ca 100644 --- a/x-pack/plugins/cloud_integrations/cloud_chat/tsconfig.json +++ b/x-pack/platform/plugins/private/cloud_integrations/cloud_chat/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -8,7 +8,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/.i18nrc.json b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/.i18nrc.json similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/.i18nrc.json rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/.i18nrc.json diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/README.md b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/README.md similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/README.md rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/README.md diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/jest.config.js b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/jest.config.js similarity index 51% rename from x-pack/plugins/cloud_integrations/cloud_full_story/jest.config.js rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/jest.config.js index 2aad10a598754..313623a54f22f 100644 --- a/x-pack/plugins/cloud_integrations/cloud_full_story/jest.config.js +++ b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/jest.config.js @@ -7,12 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../../', - roots: ['/x-pack/plugins/cloud_integrations/cloud_full_story'], + rootDir: '../../../../../../', + roots: ['/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/cloud_integrations/cloud_full_story', + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/cloud_integrations/cloud_full_story/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/kibana.jsonc b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/kibana.jsonc similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/kibana.jsonc rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/kibana.jsonc diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/public/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/public/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/public/index.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/public/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/public/plugin.test.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/public/plugin.test.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/public/plugin.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/public/plugin.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/public/plugin.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/public/plugin.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/public/plugin.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/assets/fullstory_library.js b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/assets/fullstory_library.js similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/assets/fullstory_library.js rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/assets/fullstory_library.js diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/config.test.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/config.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/config.test.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/config.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/config.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/config.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/index.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/plugin.test.mock.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/plugin.test.mock.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/plugin.test.mock.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/plugin.test.mock.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/plugin.test.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/plugin.test.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/plugin.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/plugin.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/plugin.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/plugin.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/plugin.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/routes/fullstory.test.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/routes/fullstory.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/routes/fullstory.test.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/routes/fullstory.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/routes/fullstory.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/routes/fullstory.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/routes/fullstory.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/routes/fullstory.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/routes/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/routes/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/routes/index.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/routes/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/tsconfig.json b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/tsconfig.json similarity index 77% rename from x-pack/plugins/cloud_integrations/cloud_full_story/tsconfig.json rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/tsconfig.json index faaf88812ac42..eff06907a591f 100644 --- a/x-pack/plugins/cloud_integrations/cloud_full_story/tsconfig.json +++ b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -8,7 +8,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/plugins/cloud_integrations/cloud_links/README.md b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/README.md similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/README.md rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/README.md diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/jest.config.js b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/jest.config.js similarity index 52% rename from x-pack/plugins/cloud_integrations/cloud_experiments/jest.config.js rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/jest.config.js index a15dd88e1cb41..1afbabf2387f3 100644 --- a/x-pack/plugins/cloud_integrations/cloud_experiments/jest.config.js +++ b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/jest.config.js @@ -7,12 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../../', - roots: ['/x-pack/plugins/cloud_integrations/cloud_experiments'], + rootDir: '../../../../../../', + roots: ['/x-pack/platform/plugins/private/cloud_integrations/cloud_links'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/cloud_integrations/cloud_experiments', + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/cloud_integrations/cloud_links', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/cloud_integrations/cloud_experiments/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/private/cloud_integrations/cloud_links/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/cloud_integrations/cloud_links/kibana.jsonc b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/kibana.jsonc similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/kibana.jsonc rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/kibana.jsonc diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/index.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/__snapshots__/maybe_add_cloud_links.test.ts.snap b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/__snapshots__/maybe_add_cloud_links.test.ts.snap similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/__snapshots__/maybe_add_cloud_links.test.ts.snap rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/__snapshots__/maybe_add_cloud_links.test.ts.snap diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/connection_details_modal.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/connection_details_modal.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/connection_details_modal.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/connection_details_modal.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/help_menu_links.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/help_menu_links.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/help_menu_links.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/help_menu_links.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/index.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.test.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.test.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_hook.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_hook.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_hook.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_hook.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.test.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.test.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.test.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.test.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/user_menu_links.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/user_menu_links.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/user_menu_links.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/user_menu_links.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/plugin.test.mocks.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/plugin.test.mocks.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/plugin.test.mocks.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/plugin.test.mocks.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/plugin.test.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/plugin.test.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/plugin.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/plugin.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/plugin.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/plugin.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/plugin.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/tsconfig.json b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/tsconfig.json similarity index 87% rename from x-pack/plugins/cloud_integrations/cloud_links/tsconfig.json rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/tsconfig.json index b7759fb7f1c5e..d385b16f7d70d 100644 --- a/x-pack/plugins/cloud_integrations/cloud_links/tsconfig.json +++ b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -8,7 +8,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/plugins/cloud/README.md b/x-pack/platform/plugins/shared/cloud/README.md similarity index 100% rename from x-pack/plugins/cloud/README.md rename to x-pack/platform/plugins/shared/cloud/README.md diff --git a/x-pack/plugins/cloud/common/constants.ts b/x-pack/platform/plugins/shared/cloud/common/constants.ts similarity index 100% rename from x-pack/plugins/cloud/common/constants.ts rename to x-pack/platform/plugins/shared/cloud/common/constants.ts diff --git a/x-pack/plugins/cloud/common/decode_cloud_id.test.ts b/x-pack/platform/plugins/shared/cloud/common/decode_cloud_id.test.ts similarity index 100% rename from x-pack/plugins/cloud/common/decode_cloud_id.test.ts rename to x-pack/platform/plugins/shared/cloud/common/decode_cloud_id.test.ts diff --git a/x-pack/plugins/cloud/common/decode_cloud_id.ts b/x-pack/platform/plugins/shared/cloud/common/decode_cloud_id.ts similarity index 100% rename from x-pack/plugins/cloud/common/decode_cloud_id.ts rename to x-pack/platform/plugins/shared/cloud/common/decode_cloud_id.ts diff --git a/x-pack/plugins/cloud/common/is_cloud_enabled.test.ts b/x-pack/platform/plugins/shared/cloud/common/is_cloud_enabled.test.ts similarity index 100% rename from x-pack/plugins/cloud/common/is_cloud_enabled.test.ts rename to x-pack/platform/plugins/shared/cloud/common/is_cloud_enabled.test.ts diff --git a/x-pack/plugins/cloud/common/is_cloud_enabled.ts b/x-pack/platform/plugins/shared/cloud/common/is_cloud_enabled.ts similarity index 100% rename from x-pack/plugins/cloud/common/is_cloud_enabled.ts rename to x-pack/platform/plugins/shared/cloud/common/is_cloud_enabled.ts diff --git a/x-pack/plugins/cloud/common/parse_deployment_id_from_deployment_url.test.ts b/x-pack/platform/plugins/shared/cloud/common/parse_deployment_id_from_deployment_url.test.ts similarity index 100% rename from x-pack/plugins/cloud/common/parse_deployment_id_from_deployment_url.test.ts rename to x-pack/platform/plugins/shared/cloud/common/parse_deployment_id_from_deployment_url.test.ts diff --git a/x-pack/plugins/cloud/common/parse_deployment_id_from_deployment_url.ts b/x-pack/platform/plugins/shared/cloud/common/parse_deployment_id_from_deployment_url.ts similarity index 100% rename from x-pack/plugins/cloud/common/parse_deployment_id_from_deployment_url.ts rename to x-pack/platform/plugins/shared/cloud/common/parse_deployment_id_from_deployment_url.ts diff --git a/x-pack/plugins/cloud/common/parse_onboarding_default_solution.test.ts b/x-pack/platform/plugins/shared/cloud/common/parse_onboarding_default_solution.test.ts similarity index 100% rename from x-pack/plugins/cloud/common/parse_onboarding_default_solution.test.ts rename to x-pack/platform/plugins/shared/cloud/common/parse_onboarding_default_solution.test.ts diff --git a/x-pack/plugins/cloud/common/parse_onboarding_default_solution.ts b/x-pack/platform/plugins/shared/cloud/common/parse_onboarding_default_solution.ts similarity index 100% rename from x-pack/plugins/cloud/common/parse_onboarding_default_solution.ts rename to x-pack/platform/plugins/shared/cloud/common/parse_onboarding_default_solution.ts diff --git a/x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.test.ts b/x-pack/platform/plugins/shared/cloud/common/register_cloud_deployment_id_analytics_context.test.ts similarity index 100% rename from x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.test.ts rename to x-pack/platform/plugins/shared/cloud/common/register_cloud_deployment_id_analytics_context.test.ts diff --git a/x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts b/x-pack/platform/plugins/shared/cloud/common/register_cloud_deployment_id_analytics_context.ts similarity index 100% rename from x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts rename to x-pack/platform/plugins/shared/cloud/common/register_cloud_deployment_id_analytics_context.ts diff --git a/x-pack/plugins/cloud/common/types.ts b/x-pack/platform/plugins/shared/cloud/common/types.ts similarity index 100% rename from x-pack/plugins/cloud/common/types.ts rename to x-pack/platform/plugins/shared/cloud/common/types.ts diff --git a/x-pack/plugins/cloud/common/utils.ts b/x-pack/platform/plugins/shared/cloud/common/utils.ts similarity index 100% rename from x-pack/plugins/cloud/common/utils.ts rename to x-pack/platform/plugins/shared/cloud/common/utils.ts diff --git a/x-pack/plugins/cloud/jest.config.js b/x-pack/platform/plugins/shared/cloud/jest.config.js similarity index 62% rename from x-pack/plugins/cloud/jest.config.js rename to x-pack/platform/plugins/shared/cloud/jest.config.js index 4235e79e79268..fd20d915bd553 100644 --- a/x-pack/plugins/cloud/jest.config.js +++ b/x-pack/platform/plugins/shared/cloud/jest.config.js @@ -7,9 +7,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/cloud'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/cloud', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/cloud'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/cloud', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/cloud/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: ['/x-pack/platform/plugins/shared/cloud/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/cloud/kibana.jsonc b/x-pack/platform/plugins/shared/cloud/kibana.jsonc similarity index 100% rename from x-pack/plugins/cloud/kibana.jsonc rename to x-pack/platform/plugins/shared/cloud/kibana.jsonc diff --git a/x-pack/plugins/cloud/public/index.ts b/x-pack/platform/plugins/shared/cloud/public/index.ts similarity index 100% rename from x-pack/plugins/cloud/public/index.ts rename to x-pack/platform/plugins/shared/cloud/public/index.ts diff --git a/x-pack/plugins/cloud/public/mocks.tsx b/x-pack/platform/plugins/shared/cloud/public/mocks.tsx similarity index 100% rename from x-pack/plugins/cloud/public/mocks.tsx rename to x-pack/platform/plugins/shared/cloud/public/mocks.tsx diff --git a/x-pack/plugins/cloud/public/plugin.test.mocks.ts b/x-pack/platform/plugins/shared/cloud/public/plugin.test.mocks.ts similarity index 100% rename from x-pack/plugins/cloud/public/plugin.test.mocks.ts rename to x-pack/platform/plugins/shared/cloud/public/plugin.test.mocks.ts diff --git a/x-pack/plugins/cloud/public/plugin.test.ts b/x-pack/platform/plugins/shared/cloud/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud/public/plugin.test.ts rename to x-pack/platform/plugins/shared/cloud/public/plugin.test.ts diff --git a/x-pack/plugins/cloud/public/plugin.tsx b/x-pack/platform/plugins/shared/cloud/public/plugin.tsx similarity index 100% rename from x-pack/plugins/cloud/public/plugin.tsx rename to x-pack/platform/plugins/shared/cloud/public/plugin.tsx diff --git a/x-pack/plugins/cloud/public/types.ts b/x-pack/platform/plugins/shared/cloud/public/types.ts similarity index 100% rename from x-pack/plugins/cloud/public/types.ts rename to x-pack/platform/plugins/shared/cloud/public/types.ts diff --git a/x-pack/plugins/cloud/public/utils.ts b/x-pack/platform/plugins/shared/cloud/public/utils.ts similarity index 100% rename from x-pack/plugins/cloud/public/utils.ts rename to x-pack/platform/plugins/shared/cloud/public/utils.ts diff --git a/x-pack/plugins/cloud/server/__snapshots__/plugin.test.ts.snap b/x-pack/platform/plugins/shared/cloud/server/__snapshots__/plugin.test.ts.snap similarity index 100% rename from x-pack/plugins/cloud/server/__snapshots__/plugin.test.ts.snap rename to x-pack/platform/plugins/shared/cloud/server/__snapshots__/plugin.test.ts.snap diff --git a/x-pack/plugins/cloud/server/collectors/cloud_usage_collector.test.ts b/x-pack/platform/plugins/shared/cloud/server/collectors/cloud_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/cloud/server/collectors/cloud_usage_collector.test.ts rename to x-pack/platform/plugins/shared/cloud/server/collectors/cloud_usage_collector.test.ts diff --git a/x-pack/plugins/cloud/server/collectors/cloud_usage_collector.ts b/x-pack/platform/plugins/shared/cloud/server/collectors/cloud_usage_collector.ts similarity index 100% rename from x-pack/plugins/cloud/server/collectors/cloud_usage_collector.ts rename to x-pack/platform/plugins/shared/cloud/server/collectors/cloud_usage_collector.ts diff --git a/x-pack/plugins/cloud/server/collectors/index.ts b/x-pack/platform/plugins/shared/cloud/server/collectors/index.ts similarity index 100% rename from x-pack/plugins/cloud/server/collectors/index.ts rename to x-pack/platform/plugins/shared/cloud/server/collectors/index.ts diff --git a/x-pack/plugins/cloud/server/config.test.ts b/x-pack/platform/plugins/shared/cloud/server/config.test.ts similarity index 100% rename from x-pack/plugins/cloud/server/config.test.ts rename to x-pack/platform/plugins/shared/cloud/server/config.test.ts diff --git a/x-pack/plugins/cloud/server/config.ts b/x-pack/platform/plugins/shared/cloud/server/config.ts similarity index 100% rename from x-pack/plugins/cloud/server/config.ts rename to x-pack/platform/plugins/shared/cloud/server/config.ts diff --git a/x-pack/plugins/cloud/server/env.ts b/x-pack/platform/plugins/shared/cloud/server/env.ts similarity index 100% rename from x-pack/plugins/cloud/server/env.ts rename to x-pack/platform/plugins/shared/cloud/server/env.ts diff --git a/x-pack/plugins/cloud/server/index.ts b/x-pack/platform/plugins/shared/cloud/server/index.ts similarity index 100% rename from x-pack/plugins/cloud/server/index.ts rename to x-pack/platform/plugins/shared/cloud/server/index.ts diff --git a/x-pack/plugins/cloud/server/mocks.ts b/x-pack/platform/plugins/shared/cloud/server/mocks.ts similarity index 100% rename from x-pack/plugins/cloud/server/mocks.ts rename to x-pack/platform/plugins/shared/cloud/server/mocks.ts diff --git a/x-pack/plugins/cloud/server/plugin.test.mocks.ts b/x-pack/platform/plugins/shared/cloud/server/plugin.test.mocks.ts similarity index 100% rename from x-pack/plugins/cloud/server/plugin.test.mocks.ts rename to x-pack/platform/plugins/shared/cloud/server/plugin.test.mocks.ts diff --git a/x-pack/plugins/cloud/server/plugin.test.ts b/x-pack/platform/plugins/shared/cloud/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud/server/plugin.test.ts rename to x-pack/platform/plugins/shared/cloud/server/plugin.test.ts diff --git a/x-pack/plugins/cloud/server/plugin.ts b/x-pack/platform/plugins/shared/cloud/server/plugin.ts similarity index 100% rename from x-pack/plugins/cloud/server/plugin.ts rename to x-pack/platform/plugins/shared/cloud/server/plugin.ts diff --git a/x-pack/plugins/cloud/server/routes/constants.ts b/x-pack/platform/plugins/shared/cloud/server/routes/constants.ts similarity index 100% rename from x-pack/plugins/cloud/server/routes/constants.ts rename to x-pack/platform/plugins/shared/cloud/server/routes/constants.ts diff --git a/x-pack/plugins/cloud/server/routes/elasticsearch_route.ts b/x-pack/platform/plugins/shared/cloud/server/routes/elasticsearch_route.ts similarity index 100% rename from x-pack/plugins/cloud/server/routes/elasticsearch_route.ts rename to x-pack/platform/plugins/shared/cloud/server/routes/elasticsearch_route.ts diff --git a/x-pack/plugins/cloud/server/routes/get_cloud_data_route.ts b/x-pack/platform/plugins/shared/cloud/server/routes/get_cloud_data_route.ts similarity index 100% rename from x-pack/plugins/cloud/server/routes/get_cloud_data_route.ts rename to x-pack/platform/plugins/shared/cloud/server/routes/get_cloud_data_route.ts diff --git a/x-pack/plugins/cloud/server/routes/index.ts b/x-pack/platform/plugins/shared/cloud/server/routes/index.ts similarity index 100% rename from x-pack/plugins/cloud/server/routes/index.ts rename to x-pack/platform/plugins/shared/cloud/server/routes/index.ts diff --git a/x-pack/plugins/cloud/server/routes/set_cloud_data_route.test.ts b/x-pack/platform/plugins/shared/cloud/server/routes/set_cloud_data_route.test.ts similarity index 100% rename from x-pack/plugins/cloud/server/routes/set_cloud_data_route.test.ts rename to x-pack/platform/plugins/shared/cloud/server/routes/set_cloud_data_route.test.ts diff --git a/x-pack/plugins/cloud/server/routes/set_cloud_data_route.ts b/x-pack/platform/plugins/shared/cloud/server/routes/set_cloud_data_route.ts similarity index 100% rename from x-pack/plugins/cloud/server/routes/set_cloud_data_route.ts rename to x-pack/platform/plugins/shared/cloud/server/routes/set_cloud_data_route.ts diff --git a/x-pack/plugins/cloud/server/routes/types.ts b/x-pack/platform/plugins/shared/cloud/server/routes/types.ts similarity index 100% rename from x-pack/plugins/cloud/server/routes/types.ts rename to x-pack/platform/plugins/shared/cloud/server/routes/types.ts diff --git a/x-pack/plugins/cloud/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/cloud/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/cloud/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/cloud/server/saved_objects/index.ts diff --git a/x-pack/plugins/cloud/server/saved_objects/model_versions/cloud_data_model_versions.ts b/x-pack/platform/plugins/shared/cloud/server/saved_objects/model_versions/cloud_data_model_versions.ts similarity index 100% rename from x-pack/plugins/cloud/server/saved_objects/model_versions/cloud_data_model_versions.ts rename to x-pack/platform/plugins/shared/cloud/server/saved_objects/model_versions/cloud_data_model_versions.ts diff --git a/x-pack/plugins/cloud/server/saved_objects/model_versions/index.ts b/x-pack/platform/plugins/shared/cloud/server/saved_objects/model_versions/index.ts similarity index 100% rename from x-pack/plugins/cloud/server/saved_objects/model_versions/index.ts rename to x-pack/platform/plugins/shared/cloud/server/saved_objects/model_versions/index.ts diff --git a/x-pack/plugins/cloud/tsconfig.json b/x-pack/platform/plugins/shared/cloud/tsconfig.json similarity index 82% rename from x-pack/plugins/cloud/tsconfig.json rename to x-pack/platform/plugins/shared/cloud/tsconfig.json index 37d0b6f4b4de0..fda19d77c8b63 100644 --- a/x-pack/plugins/cloud/tsconfig.json +++ b/x-pack/platform/plugins/shared/cloud/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -8,7 +8,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../typings/**/*" + "../../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/README.mdx b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/README.mdx similarity index 97% rename from x-pack/plugins/cloud_integrations/cloud_experiments/README.mdx rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/README.mdx index 6ef38ba1614af..f238af8c3d358 100755 --- a/x-pack/plugins/cloud_integrations/cloud_experiments/README.mdx +++ b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/README.mdx @@ -9,11 +9,11 @@ tags: ['kibana', 'dev', 'contributor', 'api docs', 'cloud', 'a/b testing', 'expe # Kibana Cloud Experiments Service -> [!NOTE] +> [!NOTE] > This plugin no-longer exposes any evaluation APIs. Refer to for more information about how to interact with feature flags. This plugin takes care of instrumenting the LaunchDarkly feature flags provider, and registering it in the . -It also instantiates the most basic evaluation context that our segmentation rules can rely on. +It also instantiates the most basic evaluation context that our segmentation rules can rely on. The `cloudExperiments` plugin is disabled by default and only enabled on Elastic Cloud deployments. diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/common/metadata_service/index.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/metadata_service/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/common/metadata_service/index.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/metadata_service/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/common/metadata_service/initialize_metadata.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/metadata_service/initialize_metadata.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/common/metadata_service/initialize_metadata.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/metadata_service/initialize_metadata.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/common/metadata_service/metadata_service.test.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/metadata_service/metadata_service.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/common/metadata_service/metadata_service.test.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/metadata_service/metadata_service.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/common/metadata_service/metadata_service.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/metadata_service/metadata_service.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/common/metadata_service/metadata_service.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/metadata_service/metadata_service.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/common/metadata_service/remove_undefined.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/metadata_service/remove_undefined.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/common/metadata_service/remove_undefined.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/common/metadata_service/remove_undefined.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/jest.config.js b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/jest.config.js similarity index 51% rename from x-pack/plugins/cloud_integrations/cloud_links/jest.config.js rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/jest.config.js index 1cec558302f27..1fc309cf45a17 100644 --- a/x-pack/plugins/cloud_integrations/cloud_links/jest.config.js +++ b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/jest.config.js @@ -7,12 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../../', - roots: ['/x-pack/plugins/cloud_integrations/cloud_links'], + rootDir: '../../../../../../', + roots: ['/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/cloud_integrations/cloud_links', + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/cloud_integrations/cloud_links/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/kibana.jsonc b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/kibana.jsonc similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/kibana.jsonc rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/kibana.jsonc diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/public/index.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/public/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/public/index.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/public/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/public/plugin.test.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/public/plugin.test.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/public/plugin.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/public/plugin.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/public/plugin.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/public/plugin.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/public/plugin.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/config.test.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/config.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/config.test.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/config.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/config.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/config.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/config.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/config.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/index.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/index.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/plugin.test.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/plugin.test.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/plugin.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/plugin.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/plugin.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/plugin.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/plugin.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/usage/index.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/usage/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/usage/index.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/usage/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.test.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.test.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/tsconfig.json b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/tsconfig.json similarity index 86% rename from x-pack/plugins/cloud_integrations/cloud_experiments/tsconfig.json rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/tsconfig.json index d47131016228d..c777250f11d5a 100644 --- a/x-pack/plugins/cloud_integrations/cloud_experiments/tsconfig.json +++ b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -8,7 +8,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", 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 257ad9c3af07b..e9071cfd5ff43 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -10872,89 +10872,6 @@ } } }, - "cloud": { - "properties": { - "isCloudEnabled": { - "type": "boolean", - "_meta": { - "description": "Is the deployment running in Elastic Cloud (ESS or Serverless)?" - } - }, - "trialEndDate": { - "type": "date", - "_meta": { - "description": "End of the trial period" - } - }, - "inTrial": { - "type": "boolean", - "_meta": { - "description": "Is the organization during the trial period?" - } - }, - "isElasticStaffOwned": { - "type": "boolean", - "_meta": { - "description": "Is the deploymend owned by an Elastician" - } - }, - "organizationId": { - "type": "keyword", - "_meta": { - "description": "The Elastic Cloud Organization ID that owns the deployment/project" - } - }, - "deploymentId": { - "type": "keyword", - "_meta": { - "description": "The ESS Deployment ID" - } - }, - "projectId": { - "type": "keyword", - "_meta": { - "description": "The Serverless Project ID" - } - }, - "projectType": { - "type": "keyword", - "_meta": { - "description": "The Serverless Project type" - } - }, - "orchestratorTarget": { - "type": "keyword", - "_meta": { - "description": "The Orchestrator Target where it is deployed (canary/non-canary)" - } - } - } - }, - "cloudExperiments": { - "properties": { - "initialized": { - "type": "boolean", - "_meta": { - "description": "Whether the A/B testing client is correctly initialized (identify has been called)" - } - }, - "flags": { - "type": "pass_through", - "_meta": { - "description": "Flags received by the client" - } - }, - "flagNames": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Names of the flags received by the client" - } - } - } - } - }, "cloud_defend": { "properties": { "indices": { diff --git a/yarn.lock b/yarn.lock index 2ed2785b60973..72582448d0ac6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3940,7 +3940,7 @@ version "0.0.0" uid "" -"@kbn/analytics-collection-utils@link:packages/analytics/utils/analytics_collection_utils": +"@kbn/analytics-collection-utils@link:src/platform/packages/private/analytics/utils/analytics_collection_utils": version "0.0.0" uid "" @@ -3952,11 +3952,11 @@ version "0.0.0" uid "" -"@kbn/analytics@link:packages/kbn-analytics": +"@kbn/analytics@link:src/platform/packages/shared/kbn-analytics": version "0.0.0" uid "" -"@kbn/apm-config-loader@link:packages/kbn-apm-config-loader": +"@kbn/apm-config-loader@link:src/platform/packages/private/kbn-apm-config-loader": version "0.0.0" uid "" @@ -4120,7 +4120,7 @@ version "0.0.0" uid "" -"@kbn/cloud-chat-plugin@link:x-pack/plugins/cloud_integrations/cloud_chat": +"@kbn/cloud-chat-plugin@link:x-pack/platform/plugins/private/cloud_integrations/cloud_chat": version "0.0.0" uid "" @@ -4132,11 +4132,11 @@ version "0.0.0" uid "" -"@kbn/cloud-experiments-plugin@link:x-pack/plugins/cloud_integrations/cloud_experiments": +"@kbn/cloud-experiments-plugin@link:x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments": version "0.0.0" uid "" -"@kbn/cloud-full-story-plugin@link:x-pack/plugins/cloud_integrations/cloud_full_story": +"@kbn/cloud-full-story-plugin@link:x-pack/platform/plugins/private/cloud_integrations/cloud_full_story": version "0.0.0" uid "" @@ -4144,11 +4144,11 @@ version "0.0.0" uid "" -"@kbn/cloud-links-plugin@link:x-pack/plugins/cloud_integrations/cloud_links": +"@kbn/cloud-links-plugin@link:x-pack/platform/plugins/private/cloud_integrations/cloud_links": version "0.0.0" uid "" -"@kbn/cloud-plugin@link:x-pack/plugins/cloud": +"@kbn/cloud-plugin@link:x-pack/platform/plugins/shared/cloud": version "0.0.0" uid "" @@ -4168,7 +4168,7 @@ version "0.0.0" uid "" -"@kbn/cloud@link:packages/cloud": +"@kbn/cloud@link:src/platform/packages/shared/cloud": version "0.0.0" uid "" @@ -4196,7 +4196,7 @@ version "0.0.0" uid "" -"@kbn/config@link:packages/kbn-config": +"@kbn/config@link:src/platform/packages/shared/kbn-config": version "0.0.0" uid ""